2026-08-26 09:22:50,718 - INFO - Domain Default found not creating 2026-08-26 09:22:50,897 - INFO - Project ctest-TestBasicPolicy-86294462 not found, creating it 2026-08-26 09:22:51,420 - INFO - Created Project:ctest-TestBasicPolicy-86294462, ID : 3a4b2edc-352d-448b-b70b-e719776c9eb1 2026-08-26 09:22:53,157 - INFO - ================================================================================ 2026-08-26 09:22:53,157 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-26 09:22:53,157 - 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 2026-08-26 09:22:53,432 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.25': '0'}} with 2026-08-26 09:22:53,433 - INFO - Initial checks done. Running the testcase now 2026-08-26 09:22:53,433 - INFO - 2026-08-26 09:22:54,095 - DEBUG - Response for create_network : {'network': {'id': 'e77dd61b-300f-452e-aa39-78fa448bbcaa', 'name': 'ctest-vn-36577436', 'tenant_id': '3a4b2edc352d448bb70be719776c9eb1', 'project_id': '3a4b2edc352d448bb70be719776c9eb1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86294462', 'ctest-vn-36577436'], 'port_security_enabled': True, 'description': ''}} 2026-08-26 09:22:54,331 - DEBUG - Response for create_subnet : {'subnet': {'id': '12bad3fb-f880-4095-b6ef-498ca65d7e7b', 'name': '', 'tenant_id': '3a4b2edc352d448bb70be719776c9eb1', 'network_id': 'e77dd61b-300f-452e-aa39-78fa448bbcaa', 'ip_version': 4, 'cidr': '25.148.134.64/26', 'allocation_pools': [{'start': '25.148.134.66', 'end': '25.148.134.126'}], 'gateway_ip': '25.148.134.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.148.134.66', 'tags': [], 'project_id': '3a4b2edc352d448bb70be719776c9eb1'}} 2026-08-26 09:22:54,352 - INFO - Created VN ctest-vn-36577436 2026-08-26 09:22:54,407 - DEBUG - VN ctest-vn-36577436 UUID is e77dd61b-300f-452e-aa39-78fa448bbcaa 2026-08-26 09:22:54,741 - DEBUG - Response for create_network : {'network': {'id': '21960bd9-3445-4573-a27a-2253149ac988', 'name': 'ctest-vn-55222502', 'tenant_id': '3a4b2edc352d448bb70be719776c9eb1', 'project_id': '3a4b2edc352d448bb70be719776c9eb1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86294462', 'ctest-vn-55222502'], 'port_security_enabled': True, 'description': ''}} 2026-08-26 09:22:54,972 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e81d6eb-a9dd-4bc0-90b5-e87c12d739ce', 'name': '', 'tenant_id': '3a4b2edc352d448bb70be719776c9eb1', 'network_id': '21960bd9-3445-4573-a27a-2253149ac988', 'ip_version': 4, 'cidr': '140.200.99.64/26', 'allocation_pools': [{'start': '140.200.99.66', 'end': '140.200.99.126'}], 'gateway_ip': '140.200.99.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.200.99.66', 'tags': [], 'project_id': '3a4b2edc352d448bb70be719776c9eb1'}} 2026-08-26 09:22:54,990 - INFO - Created VN ctest-vn-55222502 2026-08-26 09:22:55,043 - DEBUG - VN ctest-vn-55222502 UUID is 21960bd9-3445-4573-a27a-2253149ac988 2026-08-26 09:22:55,155 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86294462:ctest-vn-36577436, 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-86294462:ctest-vn-55222502, 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] 2026-08-26 09:22:55,462 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e77dd61b-300f-452e-aa39-78fa448bbcaa', 'name': 'ctest-vn-36577436', 'tenant_id': '3a4b2edc352d448bb70be719776c9eb1', 'project_id': '3a4b2edc352d448bb70be719776c9eb1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['12bad3fb-f880-4095-b6ef-498ca65d7e7b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86294462', 'ctest-vn-36577436'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86294462', 'ctest-policy-allow-all-47884070']], 'subnet_ipam': [{'subnet_cidr': '25.148.134.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-26 09:22:55,723 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '21960bd9-3445-4573-a27a-2253149ac988', 'name': 'ctest-vn-55222502', 'tenant_id': '3a4b2edc352d448bb70be719776c9eb1', 'project_id': '3a4b2edc352d448bb70be719776c9eb1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['8e81d6eb-a9dd-4bc0-90b5-e87c12d739ce'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86294462', 'ctest-vn-55222502'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86294462', 'ctest-policy-allow-all-47884070']], 'subnet_ipam': [{'subnet_cidr': '140.200.99.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-26 09:22:55,887 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-26 09:22:56,264 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-26 09:22:56,300 - DEBUG - Requesting: http://10.0.0.177:8082/domain/261aebf8-950f-457b-9023-feaa2f7b66ec 2026-08-26 09:22:56,314 - DEBUG - Requesting: http://10.0.0.177:8082/project/3a4b2edc-352d-448b-b70b-e719776c9eb1 2026-08-26 09:22:56,398 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/e77dd61b-300f-452e-aa39-78fa448bbcaa 2026-08-26 09:22:56,415 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/e77dd61b-300f-452e-aa39-78fa448bbcaa 2026-08-26 09:22:56,427 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/ce119bae-dea8-4851-909d-84bc99b7f2ef 2026-08-26 09:22:56,435 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/ce119bae-dea8-4851-909d-84bc99b7f2ef 2026-08-26 09:22:56,444 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/848e69a5-2884-49e2-b4ef-492c956eca65 2026-08-26 09:22:56,452 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-26 09:22:56,452 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/e77dd61b-300f-452e-aa39-78fa448bbcaa 2026-08-26 09:22:56,463 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/ce119bae-dea8-4851-909d-84bc99b7f2ef 2026-08-26 09:22:56,483 - INFO - Verified VN network id 12 for VN e77dd61b-300f-452e-aa39-78fa448bbcaa 2026-08-26 09:22:56,484 - INFO - Verifications in API Server for VN ctest-vn-36577436 passed 2026-08-26 09:22:56,484 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/e77dd61b-300f-452e-aa39-78fa448bbcaa 2026-08-26 09:22:56,496 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/ce119bae-dea8-4851-909d-84bc99b7f2ef 2026-08-26 09:22:56,504 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/ce119bae-dea8-4851-909d-84bc99b7f2ef 2026-08-26 09:22:56,512 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/848e69a5-2884-49e2-b4ef-492c956eca65 2026-08-26 09:22:56,526 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86294462:ctest-vn-36577436', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86294462', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16680724007108953390', 'uuid-lslong': '12265968076407422122'}, 'enable': 'true', 'created': '2026-08-26T09:22:54', 'last-modified': '2026-08-26T09:22:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.084958'} 2026-08-26 09:22:56,534 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-26 09:22:56,534 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36577436 passed 2026-08-26 09:22:56,534 - DEBUG - ====Verifying policy data for ctest-vn-36577436 in API_Server ====== 2026-08-26 09:22:56,534 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-26 09:22:56,541 - DEBUG - Requesting: http://10.0.0.177:8082/domain/261aebf8-950f-457b-9023-feaa2f7b66ec 2026-08-26 09:22:56,552 - DEBUG - Requesting: http://10.0.0.177:8082/project/3a4b2edc-352d-448b-b70b-e719776c9eb1 2026-08-26 09:22:56,629 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/e77dd61b-300f-452e-aa39-78fa448bbcaa 2026-08-26 09:22:56,640 - DEBUG - ==>Verifying data for policy with id: 4ed67a3d-fb7b-4a0d-a2a6-48251e8642c1, fqn: ['default-domain', 'ctest-TestBasicPolicy-86294462', 'ctest-policy-allow-all-47884070'] 2026-08-26 09:22:56,640 - INFO - VN ctest-vn-36577436 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-26 09:22:56,640 - DEBUG - Verifying the vn in opserver 2026-08-26 09:22:56,640 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86294462:ctest-vn-36577436 virtual network link through opserver 10.0.0.177 2026-08-26 09:22:56,641 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-26 09:22:57,016 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-26 09:22:57,078 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86294462:ctest-vn-36577436', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86294462:ctest-vn-36577436?flat'} 2026-08-26 09:22:57,078 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86294462:ctest-vn-36577436 is found in opserver 2026-08-26 09:22:57,089 - DEBUG - Do not have enough data to verify VN in agent 2026-08-26 09:22:57,095 - DEBUG - VRF ids for VN ctest-vn-36577436: {} 2026-08-26 09:22:57,095 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-26 09:22:57,101 - DEBUG - Requesting: http://10.0.0.177:8082/domain/261aebf8-950f-457b-9023-feaa2f7b66ec 2026-08-26 09:22:57,114 - DEBUG - Requesting: http://10.0.0.177:8082/project/3a4b2edc-352d-448b-b70b-e719776c9eb1 2026-08-26 09:22:57,195 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/21960bd9-3445-4573-a27a-2253149ac988 2026-08-26 09:22:57,210 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/21960bd9-3445-4573-a27a-2253149ac988 2026-08-26 09:22:57,221 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/664616a1-3770-4763-a75a-914068252e63 2026-08-26 09:22:57,230 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/664616a1-3770-4763-a75a-914068252e63 2026-08-26 09:22:57,238 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/7cb1a961-3afc-4ad0-8332-16ada27959af 2026-08-26 09:22:57,245 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-26 09:22:57,245 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/21960bd9-3445-4573-a27a-2253149ac988 2026-08-26 09:22:57,255 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/664616a1-3770-4763-a75a-914068252e63 2026-08-26 09:22:57,270 - INFO - Verified VN network id 13 for VN 21960bd9-3445-4573-a27a-2253149ac988 2026-08-26 09:22:57,270 - INFO - Verifications in API Server for VN ctest-vn-55222502 passed 2026-08-26 09:22:57,270 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/21960bd9-3445-4573-a27a-2253149ac988 2026-08-26 09:22:57,280 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/664616a1-3770-4763-a75a-914068252e63 2026-08-26 09:22:57,289 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/664616a1-3770-4763-a75a-914068252e63 2026-08-26 09:22:57,299 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/7cb1a961-3afc-4ad0-8332-16ada27959af 2026-08-26 09:22:57,314 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86294462:ctest-vn-55222502', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86294462', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2420134877270984051', 'uuid-lslong': '11707707921526344072'}, 'enable': 'true', 'created': '2026-08-26T09:22:54', 'last-modified': '2026-08-26T09:22:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.623460'} 2026-08-26 09:22:57,322 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-26 09:22:57,322 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55222502 passed 2026-08-26 09:22:57,322 - DEBUG - ====Verifying policy data for ctest-vn-55222502 in API_Server ====== 2026-08-26 09:22:57,322 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-26 09:22:57,329 - DEBUG - Requesting: http://10.0.0.177:8082/domain/261aebf8-950f-457b-9023-feaa2f7b66ec 2026-08-26 09:22:57,341 - DEBUG - Requesting: http://10.0.0.177:8082/project/3a4b2edc-352d-448b-b70b-e719776c9eb1 2026-08-26 09:22:57,422 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/21960bd9-3445-4573-a27a-2253149ac988 2026-08-26 09:22:57,432 - DEBUG - ==>Verifying data for policy with id: 4ed67a3d-fb7b-4a0d-a2a6-48251e8642c1, fqn: ['default-domain', 'ctest-TestBasicPolicy-86294462', 'ctest-policy-allow-all-47884070'] 2026-08-26 09:22:57,432 - INFO - VN ctest-vn-55222502 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-26 09:22:57,432 - DEBUG - Verifying the vn in opserver 2026-08-26 09:22:57,432 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86294462:ctest-vn-55222502 virtual network link through opserver 10.0.0.177 2026-08-26 09:22:57,432 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-26 09:22:57,443 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86294462:ctest-vn-55222502', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86294462:ctest-vn-55222502?flat'} 2026-08-26 09:22:57,443 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86294462:ctest-vn-55222502 is found in opserver 2026-08-26 09:22:57,457 - DEBUG - Do not have enough data to verify VN in agent 2026-08-26 09:22:57,463 - DEBUG - VRF ids for VN ctest-vn-55222502: {} 2026-08-26 09:22:57,527 - DEBUG - Services list from nova: [, , ] 2026-08-26 09:22:58,016 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6232-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6232-1) 2026-08-26 09:22:58,419 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6232-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6232-1) 2026-08-26 09:22:58,419 - INFO - Waiting for VM ctest-TestBasicPolicy-86294462-07884531 to be up.. 2026-08-26 09:22:58,466 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-26 09:23:03,557 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-26 09:23:08,647 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-26 09:23:13,753 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-26 09:23:18,840 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-26 09:23:23,920 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-26 09:23:29,004 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-26 09:23:34,089 - DEBUG - VM is in ACTIVE state now 2026-08-26 09:23:34,089 - INFO - VM name : ctest-TestBasicPolicy-86294462-07884531 2026-08-26 09:23:34,189 - DEBUG - VM ctest-TestBasicPolicy-86294462-07884531 ID is aeff588b-842a-4c00-b628-4fb0c99b202c 2026-08-26 09:23:34,217 - DEBUG - VM ctest-TestBasicPolicy-86294462-07884531 launched on Node cn-jenkins-deploy-platform-ansible-os-6232-1 2026-08-26 09:23:34,301 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/aeff588b-842a-4c00-b628-4fb0c99b202c 2026-08-26 09:23:34,330 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/3111d882-88a5-4bd6-b3af-4d5d3495e923 2026-08-26 09:23:37,606 - 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 1024ms') 2026-08-26 09:23:37,606 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86294462-07884531 failed! 2026-08-26 09:23:37,663 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86294462:ctest-vn-36577436 is 25.148.134.65 and allocation pool is NOT set 2026-08-26 09:23:41,732 - 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=2 ttl=63 time=5.05 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 5.046/5.046/5.046/0.000 ms') 2026-08-26 09:23:41,733 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86294462-07884531 passed 2026-08-26 09:23:41,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-26 09:23:41,888 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86294462-07884531, IP 25.148.134.67, Port 22 2026-08-26 09:23:42,053 - DEBUG - VM ctest-TestBasicPolicy-86294462-07884531 is ready for SSH connections 2026-08-26 09:23:42,053 - INFO - Waiting for VM ctest-TestBasicPolicy-86294462-63826865 to be up.. 2026-08-26 09:23:42,144 - DEBUG - VM is in ACTIVE state now 2026-08-26 09:23:42,144 - INFO - VM name : ctest-TestBasicPolicy-86294462-63826865 2026-08-26 09:23:42,237 - DEBUG - VM ctest-TestBasicPolicy-86294462-63826865 ID is 37c83d42-97c7-48a1-83a4-a6f6d92366aa 2026-08-26 09:23:42,237 - DEBUG - VM ctest-TestBasicPolicy-86294462-63826865 launched on Node cn-jenkins-deploy-platform-ansible-os-6232-1 2026-08-26 09:23:42,324 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/37c83d42-97c7-48a1-83a4-a6f6d92366aa 2026-08-26 09:23:42,335 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/8b3066f7-de5b-472c-8167-ecebbc103f23 2026-08-26 09:23:45,606 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1029ms') 2026-08-26 09:23:45,606 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-86294462-63826865 failed! 2026-08-26 09:23:45,663 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86294462:ctest-vn-55222502 is 140.200.99.65 and allocation pool is NOT set 2026-08-26 09:23:47,729 - 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=4.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.490 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.490/2.572/4.655/2.082 ms') 2026-08-26 09:23:47,729 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-86294462-63826865 passed 2026-08-26 09:23:47,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-26 09:23:47,887 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86294462-63826865, IP 140.200.99.67, Port 22 2026-08-26 09:23:48,053 - DEBUG - VM ctest-TestBasicPolicy-86294462-63826865 is ready for SSH connections 2026-08-26 09:23:48,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-26 09:23:48,053 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.200.99.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-26 09:23:48,053 - DEBUG - ping -s 56 -c 3 -W 1 140.200.99.67 2026-08-26 09:23:52,634 - DEBUG - PING 140.200.99.67 (140.200.99.67): 56 data bytes 64 bytes from 140.200.99.67: seq=0 ttl=63 time=5.065 ms 64 bytes from 140.200.99.67: seq=1 ttl=63 time=1.028 ms 64 bytes from 140.200.99.67: seq=2 ttl=63 time=1.238 ms --- 140.200.99.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.028/2.443/5.065 ms 2026-08-26 09:23:52,634 - INFO - Ping to IP 140.200.99.67 from VM ctest-TestBasicPolicy-86294462-07884531 passed 2026-08-26 09:23:52,823 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4ed67a3d-fb7b-4a0d-a2a6-48251e8642c1", "href": "http://10.0.0.177:8082/network-policy/4ed67a3d-fb7b-4a0d-a2a6-48251e8642c1"}} 2026-08-26 09:23:52,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-26 09:23:52,823 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.200.99.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-26 09:23:52,823 - DEBUG - ping -s 56 -c 3 -W 1 140.200.99.67 2026-08-26 09:23:56,269 - DEBUG - PING 140.200.99.67 (140.200.99.67): 56 data bytes 64 bytes from 140.200.99.67: seq=0 ttl=63 time=3.694 ms --- 140.200.99.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 3.694/3.694/3.694 ms 2026-08-26 09:23:56,269 - WARNING - Ping to IP 140.200.99.67 from VM ctest-TestBasicPolicy-86294462-07884531 failed 2026-08-26 09:23:56,269 - INFO - Deleting VM ctest-TestBasicPolicy-86294462-63826865 2026-08-26 09:23:56,364 - INFO - Deleting VM ctest-TestBasicPolicy-86294462-07884531 2026-08-26 09:23:56,837 - INFO - Deleted policy ctest-policy-allow-all-47884070 2026-08-26 09:23:56,837 - INFO - Deleting VN ctest-vn-55222502 2026-08-26 09:23:56,886 - DEBUG - VN 21960bd9-3445-4573-a27a-2253149ac988 still in use: Unable to complete operation on network 21960bd9-3445-4573-a27a-2253149ac988. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-05ac5514-578b-4892-a3f3-a402f7ced791'] 2026-08-26 09:23:56,886 - WARNING - Deleting VN ctest-vn-55222502 failed..Will retry 2026-08-26 09:23:59,018 - DEBUG - Response for deleting network () 2026-08-26 09:23:59,019 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/664616a1-3770-4763-a75a-914068252e63 2026-08-26 09:23:59,024 - DEBUG - Response Code: 404 2026-08-26 09:23:59,024 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-26 09:23:59,035 - DEBUG - Requesting: http://10.0.0.177:8082/domain/261aebf8-950f-457b-9023-feaa2f7b66ec 2026-08-26 09:23:59,094 - DEBUG - Requesting: http://10.0.0.177:8082/project/3a4b2edc-352d-448b-b70b-e719776c9eb1 2026-08-26 09:23:59,174 - INFO - Validated that VN ctest-vn-55222502 is not found in API Server 2026-08-26 09:23:59,188 - DEBUG - VN ctest-vn-55222502 is not present in Agent 10.0.0.177 2026-08-26 09:23:59,188 - INFO - Validated that VN ctest-vn-55222502 is not in any agent 2026-08-26 09:23:59,209 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55222502 info 2026-08-26 09:23:59,210 - INFO - Deleting VN ctest-vn-36577436 2026-08-26 09:23:59,332 - DEBUG - Response for deleting network () 2026-08-26 09:23:59,333 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/ce119bae-dea8-4851-909d-84bc99b7f2ef 2026-08-26 09:23:59,338 - DEBUG - Response Code: 404 2026-08-26 09:23:59,339 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-26 09:23:59,346 - DEBUG - Requesting: http://10.0.0.177:8082/domain/261aebf8-950f-457b-9023-feaa2f7b66ec 2026-08-26 09:23:59,406 - DEBUG - Requesting: http://10.0.0.177:8082/project/3a4b2edc-352d-448b-b70b-e719776c9eb1 2026-08-26 09:23:59,486 - INFO - Validated that VN ctest-vn-36577436 is not found in API Server 2026-08-26 09:23:59,497 - DEBUG - VN ctest-vn-36577436 is not present in Agent 10.0.0.177 2026-08-26 09:23:59,497 - INFO - Validated that VN ctest-vn-36577436 is not in any agent 2026-08-26 09:23:59,515 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36577436 info 2026-08-26 09:23:59,796 - DEBUG - No XMPP flaps were noticed during the test 2026-08-26 09:23:59,796 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:06] 2026-08-26 09:23:59,797 - INFO - -------------------------------------------------------------------------------- 2026-08-26 09:24:00,633 - INFO - Deleted project: ctest-TestBasicPolicy-86294462, ID : 3a4b2edc-352d-448b-b70b-e719776c9eb1