2025-08-15 16:32:31,810 - INFO - Domain Default found not creating 2025-08-15 16:32:31,942 - INFO - Project ctest-TestBasicPolicy-91370464 not found, creating it 2025-08-15 16:32:32,369 - INFO - Created Project:ctest-TestBasicPolicy-91370464, ID : 1d5fb2e9-94fb-4349-891d-2177233fb424 2025-08-15 16:32:33,766 - INFO - ================================================================================ 2025-08-15 16:32:33,766 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-15 16:32:33,766 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-08-15 16:32:34,016 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-08-15 16:32:34,016 - INFO - Initial checks done. Running the testcase now 2025-08-15 16:32:34,017 - INFO - 2025-08-15 16:32:34,529 - DEBUG - Response for create_network : {'network': {'id': 'fce0a404-e48c-411d-ac87-9a361c93a9bc', 'name': 'ctest-vn-64306309', 'tenant_id': '1d5fb2e994fb4349891d2177233fb424', 'project_id': '1d5fb2e994fb4349891d2177233fb424', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91370464', 'ctest-vn-64306309'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 16:32:34,678 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af70ffd7-d6f3-4914-a72f-698c3d8d28e3', 'name': '', 'tenant_id': '1d5fb2e994fb4349891d2177233fb424', 'network_id': 'fce0a404-e48c-411d-ac87-9a361c93a9bc', 'ip_version': 4, 'cidr': '143.2.202.64/26', 'allocation_pools': [{'start': '143.2.202.66', 'end': '143.2.202.126'}], 'gateway_ip': '143.2.202.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.2.202.66', 'tags': [], 'project_id': '1d5fb2e994fb4349891d2177233fb424'}} 2025-08-15 16:32:34,693 - INFO - Created VN ctest-vn-64306309 2025-08-15 16:32:34,744 - DEBUG - VN ctest-vn-64306309 UUID is fce0a404-e48c-411d-ac87-9a361c93a9bc 2025-08-15 16:32:35,063 - DEBUG - Response for create_network : {'network': {'id': 'ccce1491-5478-4f6f-966e-bed6896dfb33', 'name': 'ctest-vn-22486642', 'tenant_id': '1d5fb2e994fb4349891d2177233fb424', 'project_id': '1d5fb2e994fb4349891d2177233fb424', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91370464', 'ctest-vn-22486642'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 16:32:35,209 - DEBUG - Response for create_subnet : {'subnet': {'id': '06a1fc4b-1704-4149-abf3-bd5218cea3c1', 'name': '', 'tenant_id': '1d5fb2e994fb4349891d2177233fb424', 'network_id': 'ccce1491-5478-4f6f-966e-bed6896dfb33', 'ip_version': 4, 'cidr': '123.143.56.64/26', 'allocation_pools': [{'start': '123.143.56.66', 'end': '123.143.56.126'}], 'gateway_ip': '123.143.56.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.143.56.66', 'tags': [], 'project_id': '1d5fb2e994fb4349891d2177233fb424'}} 2025-08-15 16:32:35,227 - INFO - Created VN ctest-vn-22486642 2025-08-15 16:32:35,280 - DEBUG - VN ctest-vn-22486642 UUID is ccce1491-5478-4f6f-966e-bed6896dfb33 2025-08-15 16:32:35,431 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-91370464:ctest-vn-64306309, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-91370464:ctest-vn-22486642, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-08-15 16:32:35,724 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fce0a404-e48c-411d-ac87-9a361c93a9bc', 'name': 'ctest-vn-64306309', 'tenant_id': '1d5fb2e994fb4349891d2177233fb424', 'project_id': '1d5fb2e994fb4349891d2177233fb424', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['af70ffd7-d6f3-4914-a72f-698c3d8d28e3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91370464', 'ctest-vn-64306309'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91370464', 'ctest-policy-allow-all-28912103']], 'subnet_ipam': [{'subnet_cidr': '143.2.202.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-15 16:32:35,950 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ccce1491-5478-4f6f-966e-bed6896dfb33', 'name': 'ctest-vn-22486642', 'tenant_id': '1d5fb2e994fb4349891d2177233fb424', 'project_id': '1d5fb2e994fb4349891d2177233fb424', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['06a1fc4b-1704-4149-abf3-bd5218cea3c1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91370464', 'ctest-vn-22486642'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91370464', 'ctest-policy-allow-all-28912103']], 'subnet_ipam': [{'subnet_cidr': '123.143.56.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-15 16:32:36,096 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-15 16:32:36,387 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-15 16:32:36,412 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b993eb55-d710-40ef-b0a4-f0f96ac2aec4 2025-08-15 16:32:36,424 - DEBUG - Requesting: http://10.0.0.249:8082/project/1d5fb2e9-94fb-4349-891d-2177233fb424 2025-08-15 16:32:36,494 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fce0a404-e48c-411d-ac87-9a361c93a9bc 2025-08-15 16:32:36,504 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fce0a404-e48c-411d-ac87-9a361c93a9bc 2025-08-15 16:32:36,514 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/76d1c146-10b8-4c93-a21b-bbe65382b298 2025-08-15 16:32:36,521 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/76d1c146-10b8-4c93-a21b-bbe65382b298 2025-08-15 16:32:36,528 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/ab0764f1-a5a5-4db7-a5d7-c8c578020d82 2025-08-15 16:32:36,534 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-15 16:32:36,534 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fce0a404-e48c-411d-ac87-9a361c93a9bc 2025-08-15 16:32:36,543 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/76d1c146-10b8-4c93-a21b-bbe65382b298 2025-08-15 16:32:36,556 - INFO - Verified VN network id 11 for VN fce0a404-e48c-411d-ac87-9a361c93a9bc 2025-08-15 16:32:36,556 - INFO - Verifications in API Server for VN ctest-vn-64306309 passed 2025-08-15 16:32:36,556 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fce0a404-e48c-411d-ac87-9a361c93a9bc 2025-08-15 16:32:36,567 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/76d1c146-10b8-4c93-a21b-bbe65382b298 2025-08-15 16:32:36,574 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/76d1c146-10b8-4c93-a21b-bbe65382b298 2025-08-15 16:32:36,580 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/ab0764f1-a5a5-4db7-a5d7-c8c578020d82 2025-08-15 16:32:36,592 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91370464:ctest-vn-64306309', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91370464', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18221744433262248221', 'uuid-lslong': '12432074853577894332'}, 'enable': 'true', 'created': '2025-08-15T16:32:34', 'last-modified': '2025-08-15T16:32:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.888993'} 2025-08-15 16:32:36,598 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-15 16:32:36,598 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64306309 passed 2025-08-15 16:32:36,598 - DEBUG - ====Verifying policy data for ctest-vn-64306309 in API_Server ====== 2025-08-15 16:32:36,598 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-15 16:32:36,604 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b993eb55-d710-40ef-b0a4-f0f96ac2aec4 2025-08-15 16:32:36,615 - DEBUG - Requesting: http://10.0.0.249:8082/project/1d5fb2e9-94fb-4349-891d-2177233fb424 2025-08-15 16:32:36,686 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fce0a404-e48c-411d-ac87-9a361c93a9bc 2025-08-15 16:32:36,696 - DEBUG - ==>Verifying data for policy with id: e3dca397-4fca-4665-8ac7-687188f66665, fqn: ['default-domain', 'ctest-TestBasicPolicy-91370464', 'ctest-policy-allow-all-28912103'] 2025-08-15 16:32:36,696 - INFO - VN ctest-vn-64306309 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-15 16:32:36,696 - DEBUG - Verifying the vn in opserver 2025-08-15 16:32:36,697 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91370464:ctest-vn-64306309 virtual network link through opserver 10.0.0.249 2025-08-15 16:32:36,697 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-08-15 16:32:36,986 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-08-15 16:32:37,034 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91370464:ctest-vn-64306309', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91370464:ctest-vn-64306309?flat'} 2025-08-15 16:32:37,034 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91370464:ctest-vn-64306309 is found in opserver 2025-08-15 16:32:37,045 - DEBUG - Do not have enough data to verify VN in agent 2025-08-15 16:32:37,050 - DEBUG - VRF ids for VN ctest-vn-64306309: {} 2025-08-15 16:32:37,050 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-15 16:32:37,055 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b993eb55-d710-40ef-b0a4-f0f96ac2aec4 2025-08-15 16:32:37,067 - DEBUG - Requesting: http://10.0.0.249:8082/project/1d5fb2e9-94fb-4349-891d-2177233fb424 2025-08-15 16:32:37,151 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ccce1491-5478-4f6f-966e-bed6896dfb33 2025-08-15 16:32:37,163 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ccce1491-5478-4f6f-966e-bed6896dfb33 2025-08-15 16:32:37,172 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a827a426-2c85-4958-bb80-5b9c7b91959b 2025-08-15 16:32:37,179 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a827a426-2c85-4958-bb80-5b9c7b91959b 2025-08-15 16:32:37,185 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/17b17137-7016-4e56-9850-3dce8ebd8b93 2025-08-15 16:32:37,191 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-15 16:32:37,191 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ccce1491-5478-4f6f-966e-bed6896dfb33 2025-08-15 16:32:37,199 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a827a426-2c85-4958-bb80-5b9c7b91959b 2025-08-15 16:32:37,211 - INFO - Verified VN network id 12 for VN ccce1491-5478-4f6f-966e-bed6896dfb33 2025-08-15 16:32:37,211 - INFO - Verifications in API Server for VN ctest-vn-22486642 passed 2025-08-15 16:32:37,211 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ccce1491-5478-4f6f-966e-bed6896dfb33 2025-08-15 16:32:37,221 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a827a426-2c85-4958-bb80-5b9c7b91959b 2025-08-15 16:32:37,227 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a827a426-2c85-4958-bb80-5b9c7b91959b 2025-08-15 16:32:37,235 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/17b17137-7016-4e56-9850-3dce8ebd8b93 2025-08-15 16:32:37,246 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91370464:ctest-vn-22486642', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91370464', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14757755643359678319', 'uuid-lslong': '10839811181765327667'}, 'enable': 'true', 'created': '2025-08-15T16:32:35', 'last-modified': '2025-08-15T16:32:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.316054'} 2025-08-15 16:32:37,251 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-15 16:32:37,251 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22486642 passed 2025-08-15 16:32:37,252 - DEBUG - ====Verifying policy data for ctest-vn-22486642 in API_Server ====== 2025-08-15 16:32:37,252 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-15 16:32:37,256 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b993eb55-d710-40ef-b0a4-f0f96ac2aec4 2025-08-15 16:32:37,266 - DEBUG - Requesting: http://10.0.0.249:8082/project/1d5fb2e9-94fb-4349-891d-2177233fb424 2025-08-15 16:32:37,337 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ccce1491-5478-4f6f-966e-bed6896dfb33 2025-08-15 16:32:37,348 - DEBUG - ==>Verifying data for policy with id: e3dca397-4fca-4665-8ac7-687188f66665, fqn: ['default-domain', 'ctest-TestBasicPolicy-91370464', 'ctest-policy-allow-all-28912103'] 2025-08-15 16:32:37,348 - INFO - VN ctest-vn-22486642 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-15 16:32:37,348 - DEBUG - Verifying the vn in opserver 2025-08-15 16:32:37,348 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91370464:ctest-vn-22486642 virtual network link through opserver 10.0.0.249 2025-08-15 16:32:37,348 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-08-15 16:32:37,358 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91370464:ctest-vn-22486642', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91370464:ctest-vn-22486642?flat'} 2025-08-15 16:32:37,358 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91370464:ctest-vn-22486642 is found in opserver 2025-08-15 16:32:37,368 - DEBUG - Do not have enough data to verify VN in agent 2025-08-15 16:32:37,372 - DEBUG - VRF ids for VN ctest-vn-22486642: {} 2025-08-15 16:32:37,422 - DEBUG - Services list from nova: [, , ] 2025-08-15 16:32:38,372 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3866-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3866-1) 2025-08-15 16:32:39,456 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3866-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3866-1) 2025-08-15 16:32:39,457 - INFO - Waiting for VM ctest-TestBasicPolicy-91370464-01019864 to be up.. 2025-08-15 16:32:39,526 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-15 16:32:44,592 - DEBUG - VM is in ACTIVE state now 2025-08-15 16:32:44,592 - INFO - VM name : ctest-TestBasicPolicy-91370464-01019864 2025-08-15 16:32:44,657 - DEBUG - VM ctest-TestBasicPolicy-91370464-01019864 ID is e0416046-fc8a-44bd-ae87-ee8c078bce37 2025-08-15 16:32:44,673 - DEBUG - VM ctest-TestBasicPolicy-91370464-01019864 launched on Node cn-jenkins-deploy-platform-ansible-os-3866-1 2025-08-15 16:32:44,738 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/e0416046-fc8a-44bd-ae87-ee8c078bce37 2025-08-15 16:32:44,747 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/b13e6000-9d92-4f93-b0ac-c8feb8297d60 2025-08-15 16:32:48,008 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms') 2025-08-15 16:32:48,009 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91370464-01019864 failed! 2025-08-15 16:32:48,064 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-91370464:ctest-vn-64306309 is 143.2.202.65 and allocation pool is NOT set 2025-08-15 16:32:50,123 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=2.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.11 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.612/2.859/3.106/0.247 ms') 2025-08-15 16:32:50,124 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91370464-01019864 passed 2025-08-15 16:32:50,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 16:32:50,272 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91370464-01019864, IP 143.2.202.67, Port 22 2025-08-15 16:32:50,427 - DEBUG - VM ctest-TestBasicPolicy-91370464-01019864 is ready for SSH connections 2025-08-15 16:32:50,427 - INFO - Waiting for VM ctest-TestBasicPolicy-91370464-18124681 to be up.. 2025-08-15 16:32:50,499 - DEBUG - VM is in ACTIVE state now 2025-08-15 16:32:50,499 - INFO - VM name : ctest-TestBasicPolicy-91370464-18124681 2025-08-15 16:32:50,566 - DEBUG - VM ctest-TestBasicPolicy-91370464-18124681 ID is 8015e774-a096-49d3-bb36-71db1132d9a8 2025-08-15 16:32:50,566 - DEBUG - VM ctest-TestBasicPolicy-91370464-18124681 launched on Node cn-jenkins-deploy-platform-ansible-os-3866-1 2025-08-15 16:32:50,633 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/8015e774-a096-49d3-bb36-71db1132d9a8 2025-08-15 16:32:50,641 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e4bad647-4ba7-44d2-bfd5-77ad9eb9e212 2025-08-15 16:32:51,882 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.378 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.378/1.510/2.643/1.132 ms') 2025-08-15 16:32:51,882 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-91370464-18124681 passed 2025-08-15 16:32:52,032 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 16:32:52,032 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91370464-18124681, IP 123.143.56.67, Port 22 2025-08-15 16:32:52,183 - DEBUG - VM ctest-TestBasicPolicy-91370464-18124681 is ready for SSH connections 2025-08-15 16:32:52,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 16:32:52,183 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.143.56.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-15 16:32:52,184 - DEBUG - ping -s 56 -c 3 -W 1 123.143.56.67 2025-08-15 16:32:56,158 - DEBUG - PING 123.143.56.67 (123.143.56.67): 56 data bytes 64 bytes from 123.143.56.67: seq=0 ttl=63 time=3.769 ms 64 bytes from 123.143.56.67: seq=1 ttl=63 time=0.750 ms 64 bytes from 123.143.56.67: seq=2 ttl=63 time=0.819 ms --- 123.143.56.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.750/1.779/3.769 ms 2025-08-15 16:32:56,159 - INFO - Ping to IP 123.143.56.67 from VM ctest-TestBasicPolicy-91370464-01019864 passed 2025-08-15 16:32:56,339 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e3dca397-4fca-4665-8ac7-687188f66665", "href": "http://10.0.0.249:8082/network-policy/e3dca397-4fca-4665-8ac7-687188f66665"}} 2025-08-15 16:32:56,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 16:32:56,340 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.143.56.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-15 16:32:56,340 - DEBUG - ping -s 56 -c 3 -W 1 123.143.56.67 2025-08-15 16:32:59,550 - DEBUG - PING 123.143.56.67 (123.143.56.67): 56 data bytes 64 bytes from 123.143.56.67: seq=0 ttl=63 time=1.287 ms --- 123.143.56.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.287/1.287/1.287 ms 2025-08-15 16:32:59,551 - WARNING - Ping to IP 123.143.56.67 from VM ctest-TestBasicPolicy-91370464-01019864 failed 2025-08-15 16:32:59,551 - INFO - Deleting VM ctest-TestBasicPolicy-91370464-18124681 2025-08-15 16:32:59,609 - INFO - Deleting VM ctest-TestBasicPolicy-91370464-01019864 2025-08-15 16:32:59,970 - INFO - Deleted policy ctest-policy-allow-all-28912103 2025-08-15 16:32:59,970 - INFO - Deleting VN ctest-vn-22486642 2025-08-15 16:33:00,003 - DEBUG - VN ccce1491-5478-4f6f-966e-bed6896dfb33 still in use: Unable to complete operation on network ccce1491-5478-4f6f-966e-bed6896dfb33. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e475fcb6-b712-472a-bc67-90cf94bcca6e'] 2025-08-15 16:33:00,003 - WARNING - Deleting VN ctest-vn-22486642 failed..Will retry 2025-08-15 16:33:02,099 - DEBUG - Response for deleting network () 2025-08-15 16:33:02,099 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a827a426-2c85-4958-bb80-5b9c7b91959b 2025-08-15 16:33:02,104 - DEBUG - Response Code: 404 2025-08-15 16:33:02,104 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-15 16:33:02,113 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b993eb55-d710-40ef-b0a4-f0f96ac2aec4 2025-08-15 16:33:02,169 - DEBUG - Requesting: http://10.0.0.249:8082/project/1d5fb2e9-94fb-4349-891d-2177233fb424 2025-08-15 16:33:02,239 - INFO - Validated that VN ctest-vn-22486642 is not found in API Server 2025-08-15 16:33:02,250 - DEBUG - VN ctest-vn-22486642 is not present in Agent 10.0.0.249 2025-08-15 16:33:02,250 - INFO - Validated that VN ctest-vn-22486642 is not in any agent 2025-08-15 16:33:02,265 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22486642 info 2025-08-15 16:33:02,265 - INFO - Deleting VN ctest-vn-64306309 2025-08-15 16:33:02,370 - DEBUG - Response for deleting network () 2025-08-15 16:33:02,370 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/76d1c146-10b8-4c93-a21b-bbe65382b298 2025-08-15 16:33:02,377 - DEBUG - Response Code: 404 2025-08-15 16:33:02,377 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-15 16:33:02,382 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b993eb55-d710-40ef-b0a4-f0f96ac2aec4 2025-08-15 16:33:02,437 - DEBUG - Requesting: http://10.0.0.249:8082/project/1d5fb2e9-94fb-4349-891d-2177233fb424 2025-08-15 16:33:02,508 - INFO - Validated that VN ctest-vn-64306309 is not found in API Server 2025-08-15 16:33:02,519 - DEBUG - VN ctest-vn-64306309 is not present in Agent 10.0.0.249 2025-08-15 16:33:02,519 - INFO - Validated that VN ctest-vn-64306309 is not in any agent 2025-08-15 16:33:02,533 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64306309 info 2025-08-15 16:33:02,792 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 16:33:02,793 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-08-15 16:33:02,793 - INFO - -------------------------------------------------------------------------------- 2025-08-15 16:33:03,457 - INFO - Deleted project: ctest-TestBasicPolicy-91370464, ID : 1d5fb2e9-94fb-4349-891d-2177233fb424