2026-09-07 15:31:18,620 - INFO - Domain Default found not creating 2026-09-07 15:31:18,773 - INFO - Project ctest-TestBasicPolicy-92555932 not found, creating it 2026-09-07 15:31:19,232 - INFO - Created Project:ctest-TestBasicPolicy-92555932, ID : 57cf684d-fd74-4093-9f4f-16fdf0d3f649 2026-09-07 15:31:20,755 - INFO - ================================================================================ 2026-09-07 15:31:20,755 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-07 15:31:20,755 - 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-09-07 15:31:21,032 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with 2026-09-07 15:31:21,032 - INFO - Initial checks done. Running the testcase now 2026-09-07 15:31:21,032 - INFO - 2026-09-07 15:31:21,598 - DEBUG - Response for create_network : {'network': {'id': '6dad2095-8c47-4acf-8fbf-e6e75e5128a0', 'name': 'ctest-vn-70320141', 'tenant_id': '57cf684dfd7440939f4f16fdf0d3f649', 'project_id': '57cf684dfd7440939f4f16fdf0d3f649', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92555932', 'ctest-vn-70320141'], 'port_security_enabled': True, 'description': ''}} 2026-09-07 15:31:21,752 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa1a5709-d7bb-4289-8bcb-25cd98c6b081', 'name': '', 'tenant_id': '57cf684dfd7440939f4f16fdf0d3f649', 'network_id': '6dad2095-8c47-4acf-8fbf-e6e75e5128a0', 'ip_version': 4, 'cidr': '138.157.74.64/26', 'allocation_pools': [{'start': '138.157.74.66', 'end': '138.157.74.126'}], 'gateway_ip': '138.157.74.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.157.74.66', 'tags': [], 'project_id': '57cf684dfd7440939f4f16fdf0d3f649'}} 2026-09-07 15:31:21,768 - INFO - Created VN ctest-vn-70320141 2026-09-07 15:31:21,818 - DEBUG - VN ctest-vn-70320141 UUID is 6dad2095-8c47-4acf-8fbf-e6e75e5128a0 2026-09-07 15:31:22,140 - DEBUG - Response for create_network : {'network': {'id': '85cf4d61-8cd3-4277-8201-8dc8c2597e76', 'name': 'ctest-vn-77515718', 'tenant_id': '57cf684dfd7440939f4f16fdf0d3f649', 'project_id': '57cf684dfd7440939f4f16fdf0d3f649', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92555932', 'ctest-vn-77515718'], 'port_security_enabled': True, 'description': ''}} 2026-09-07 15:31:22,321 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb823b8d-d1d0-421b-bc34-89f81cbe1747', 'name': '', 'tenant_id': '57cf684dfd7440939f4f16fdf0d3f649', 'network_id': '85cf4d61-8cd3-4277-8201-8dc8c2597e76', 'ip_version': 4, 'cidr': '197.167.72.64/26', 'allocation_pools': [{'start': '197.167.72.66', 'end': '197.167.72.126'}], 'gateway_ip': '197.167.72.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.167.72.66', 'tags': [], 'project_id': '57cf684dfd7440939f4f16fdf0d3f649'}} 2026-09-07 15:31:22,346 - INFO - Created VN ctest-vn-77515718 2026-09-07 15:31:22,398 - DEBUG - VN ctest-vn-77515718 UUID is 85cf4d61-8cd3-4277-8201-8dc8c2597e76 2026-09-07 15:31:22,546 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92555932:ctest-vn-70320141, 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-92555932:ctest-vn-77515718, 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-09-07 15:31:22,858 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6dad2095-8c47-4acf-8fbf-e6e75e5128a0', 'name': 'ctest-vn-70320141', 'tenant_id': '57cf684dfd7440939f4f16fdf0d3f649', 'project_id': '57cf684dfd7440939f4f16fdf0d3f649', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['fa1a5709-d7bb-4289-8bcb-25cd98c6b081'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92555932', 'ctest-vn-70320141'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92555932', 'ctest-policy-allow-all-76089369']], 'subnet_ipam': [{'subnet_cidr': '138.157.74.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-07 15:31:23,089 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '85cf4d61-8cd3-4277-8201-8dc8c2597e76', 'name': 'ctest-vn-77515718', 'tenant_id': '57cf684dfd7440939f4f16fdf0d3f649', 'project_id': '57cf684dfd7440939f4f16fdf0d3f649', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['fb823b8d-d1d0-421b-bc34-89f81cbe1747'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92555932', 'ctest-vn-77515718'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92555932', 'ctest-policy-allow-all-76089369']], 'subnet_ipam': [{'subnet_cidr': '197.167.72.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-07 15:31:23,274 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-07 15:31:23,591 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-07 15:31:23,617 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1239ee6e-d52c-4fb3-b772-900935cce62f 2026-09-07 15:31:23,630 - DEBUG - Requesting: http://10.0.0.50:8082/project/57cf684d-fd74-4093-9f4f-16fdf0d3f649 2026-09-07 15:31:23,702 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6dad2095-8c47-4acf-8fbf-e6e75e5128a0 2026-09-07 15:31:23,714 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6dad2095-8c47-4acf-8fbf-e6e75e5128a0 2026-09-07 15:31:23,723 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6867ca9c-7338-443c-b6de-664d53170db4 2026-09-07 15:31:23,729 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6867ca9c-7338-443c-b6de-664d53170db4 2026-09-07 15:31:23,735 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/28b0876b-3262-4220-8445-d18792e15ecc 2026-09-07 15:31:23,741 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-07 15:31:23,741 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6dad2095-8c47-4acf-8fbf-e6e75e5128a0 2026-09-07 15:31:23,749 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6867ca9c-7338-443c-b6de-664d53170db4 2026-09-07 15:31:23,760 - INFO - Verified VN network id 12 for VN 6dad2095-8c47-4acf-8fbf-e6e75e5128a0 2026-09-07 15:31:23,761 - INFO - Verifications in API Server for VN ctest-vn-70320141 passed 2026-09-07 15:31:23,761 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6dad2095-8c47-4acf-8fbf-e6e75e5128a0 2026-09-07 15:31:23,768 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6867ca9c-7338-443c-b6de-664d53170db4 2026-09-07 15:31:23,774 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6867ca9c-7338-443c-b6de-664d53170db4 2026-09-07 15:31:23,779 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/28b0876b-3262-4220-8445-d18792e15ecc 2026-09-07 15:31:23,790 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92555932:ctest-vn-70320141', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92555932', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7903008747780786895', 'uuid-lslong': '10358251549369641120'}, 'enable': 'true', 'created': '2026-09-07T15:31:21', 'last-modified': '2026-09-07T15:31:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.961562'} 2026-09-07 15:31:23,796 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-07 15:31:23,796 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70320141 passed 2026-09-07 15:31:23,796 - DEBUG - ====Verifying policy data for ctest-vn-70320141 in API_Server ====== 2026-09-07 15:31:23,796 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-07 15:31:23,800 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1239ee6e-d52c-4fb3-b772-900935cce62f 2026-09-07 15:31:23,809 - DEBUG - Requesting: http://10.0.0.50:8082/project/57cf684d-fd74-4093-9f4f-16fdf0d3f649 2026-09-07 15:31:23,883 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6dad2095-8c47-4acf-8fbf-e6e75e5128a0 2026-09-07 15:31:23,892 - DEBUG - ==>Verifying data for policy with id: 6811bf37-cc81-4d68-90d3-571a1649df2d, fqn: ['default-domain', 'ctest-TestBasicPolicy-92555932', 'ctest-policy-allow-all-76089369'] 2026-09-07 15:31:23,892 - INFO - VN ctest-vn-70320141 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-07 15:31:23,892 - DEBUG - Verifying the vn in opserver 2026-09-07 15:31:23,892 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92555932:ctest-vn-70320141 virtual network link through opserver 10.0.0.50 2026-09-07 15:31:23,892 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-09-07 15:31:24,217 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-09-07 15:31:24,272 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92555932:ctest-vn-70320141', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92555932:ctest-vn-70320141?flat'} 2026-09-07 15:31:24,272 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92555932:ctest-vn-70320141 is found in opserver 2026-09-07 15:31:24,286 - DEBUG - Do not have enough data to verify VN in agent 2026-09-07 15:31:24,292 - DEBUG - VRF ids for VN ctest-vn-70320141: {} 2026-09-07 15:31:24,292 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-07 15:31:24,298 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1239ee6e-d52c-4fb3-b772-900935cce62f 2026-09-07 15:31:24,309 - DEBUG - Requesting: http://10.0.0.50:8082/project/57cf684d-fd74-4093-9f4f-16fdf0d3f649 2026-09-07 15:31:24,389 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/85cf4d61-8cd3-4277-8201-8dc8c2597e76 2026-09-07 15:31:24,400 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/85cf4d61-8cd3-4277-8201-8dc8c2597e76 2026-09-07 15:31:24,409 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1adec0ff-a1a2-42fe-869f-53e68c0abe4b 2026-09-07 15:31:24,415 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1adec0ff-a1a2-42fe-869f-53e68c0abe4b 2026-09-07 15:31:24,422 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ca7bb318-03f5-4f95-af64-622fb05e10a5 2026-09-07 15:31:24,428 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-07 15:31:24,428 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/85cf4d61-8cd3-4277-8201-8dc8c2597e76 2026-09-07 15:31:24,436 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1adec0ff-a1a2-42fe-869f-53e68c0abe4b 2026-09-07 15:31:24,447 - INFO - Verified VN network id 13 for VN 85cf4d61-8cd3-4277-8201-8dc8c2597e76 2026-09-07 15:31:24,447 - INFO - Verifications in API Server for VN ctest-vn-77515718 passed 2026-09-07 15:31:24,447 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/85cf4d61-8cd3-4277-8201-8dc8c2597e76 2026-09-07 15:31:24,456 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1adec0ff-a1a2-42fe-869f-53e68c0abe4b 2026-09-07 15:31:24,462 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1adec0ff-a1a2-42fe-869f-53e68c0abe4b 2026-09-07 15:31:24,467 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ca7bb318-03f5-4f95-af64-622fb05e10a5 2026-09-07 15:31:24,476 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92555932:ctest-vn-77515718', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92555932', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9642010408593343095', 'uuid-lslong': '9367924593300962934'}, 'enable': 'true', 'created': '2026-09-07T15:31:22', 'last-modified': '2026-09-07T15:31:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.412260'} 2026-09-07 15:31:24,484 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-07 15:31:24,484 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77515718 passed 2026-09-07 15:31:24,484 - DEBUG - ====Verifying policy data for ctest-vn-77515718 in API_Server ====== 2026-09-07 15:31:24,484 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-07 15:31:24,490 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1239ee6e-d52c-4fb3-b772-900935cce62f 2026-09-07 15:31:24,501 - DEBUG - Requesting: http://10.0.0.50:8082/project/57cf684d-fd74-4093-9f4f-16fdf0d3f649 2026-09-07 15:31:24,576 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/85cf4d61-8cd3-4277-8201-8dc8c2597e76 2026-09-07 15:31:24,584 - DEBUG - ==>Verifying data for policy with id: 6811bf37-cc81-4d68-90d3-571a1649df2d, fqn: ['default-domain', 'ctest-TestBasicPolicy-92555932', 'ctest-policy-allow-all-76089369'] 2026-09-07 15:31:24,585 - INFO - VN ctest-vn-77515718 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-07 15:31:24,585 - DEBUG - Verifying the vn in opserver 2026-09-07 15:31:24,585 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92555932:ctest-vn-77515718 virtual network link through opserver 10.0.0.50 2026-09-07 15:31:24,585 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-09-07 15:31:24,595 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92555932:ctest-vn-77515718', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92555932:ctest-vn-77515718?flat'} 2026-09-07 15:31:24,595 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92555932:ctest-vn-77515718 is found in opserver 2026-09-07 15:31:24,606 - DEBUG - Do not have enough data to verify VN in agent 2026-09-07 15:31:24,612 - DEBUG - VRF ids for VN ctest-vn-77515718: {} 2026-09-07 15:31:24,663 - DEBUG - Services list from nova: [, , ] 2026-09-07 15:31:25,047 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6261-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6261-1) 2026-09-07 15:31:25,401 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6261-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6261-1) 2026-09-07 15:31:25,401 - INFO - Waiting for VM ctest-TestBasicPolicy-92555932-29528563 to be up.. 2026-09-07 15:31:25,437 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 15:31:30,515 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 15:31:35,629 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 15:31:40,713 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 15:31:45,786 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 15:31:50,858 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 15:31:55,931 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 15:32:01,007 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 15:32:06,094 - DEBUG - VM is in ACTIVE state now 2026-09-07 15:32:06,094 - INFO - VM name : ctest-TestBasicPolicy-92555932-29528563 2026-09-07 15:32:06,179 - DEBUG - VM ctest-TestBasicPolicy-92555932-29528563 ID is 210b0002-2ecd-46ac-95fb-fb91edad7802 2026-09-07 15:32:06,204 - DEBUG - VM ctest-TestBasicPolicy-92555932-29528563 launched on Node cn-jenkins-deploy-platform-ansible-os-6261-1 2026-09-07 15:32:06,296 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/210b0002-2ecd-46ac-95fb-fb91edad7802 2026-09-07 15:32:06,306 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5d2ca83a-7b31-4cde-b41b-83e17dc7fe4e 2026-09-07 15:32:07,587 - 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=6.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.552 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 = 0.552/3.692/6.833/3.140 ms') 2026-09-07 15:32:07,587 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92555932-29528563 passed 2026-09-07 15:32:07,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 15:32:07,734 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92555932-29528563, IP 138.157.74.67, Port 22 2026-09-07 15:32:07,890 - DEBUG - VM ctest-TestBasicPolicy-92555932-29528563 is ready for SSH connections 2026-09-07 15:32:07,890 - INFO - Waiting for VM ctest-TestBasicPolicy-92555932-36277624 to be up.. 2026-09-07 15:32:07,964 - DEBUG - VM is in ACTIVE state now 2026-09-07 15:32:07,964 - INFO - VM name : ctest-TestBasicPolicy-92555932-36277624 2026-09-07 15:32:08,037 - DEBUG - VM ctest-TestBasicPolicy-92555932-36277624 ID is 73bfc352-5505-4760-9b54-8c1ab63c96c8 2026-09-07 15:32:08,037 - DEBUG - VM ctest-TestBasicPolicy-92555932-36277624 launched on Node cn-jenkins-deploy-platform-ansible-os-6261-1 2026-09-07 15:32:08,106 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/73bfc352-5505-4760-9b54-8c1ab63c96c8 2026-09-07 15:32:08,114 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6576bf72-e209-45b7-b451-247021b186f9 2026-09-07 15:32:11,390 - 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-09-07 15:32:11,390 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-92555932-36277624 failed! 2026-09-07 15:32:11,446 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92555932:ctest-vn-77515718 is 197.167.72.65 and allocation pool is NOT set 2026-09-07 15:32:13,503 - 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=3.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.639 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.639/2.140/3.641/1.501 ms') 2026-09-07 15:32:13,503 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-92555932-36277624 passed 2026-09-07 15:32:13,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 15:32:13,650 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92555932-36277624, IP 197.167.72.67, Port 22 2026-09-07 15:32:13,820 - DEBUG - VM ctest-TestBasicPolicy-92555932-36277624 is ready for SSH connections 2026-09-07 15:32:13,820 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 15:32:13,820 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.167.72.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-09-07 15:32:13,821 - DEBUG - ping -s 56 -c 3 -W 1 197.167.72.67 2026-09-07 15:32:17,737 - DEBUG - PING 197.167.72.67 (197.167.72.67): 56 data bytes 64 bytes from 197.167.72.67: seq=0 ttl=63 time=4.531 ms 64 bytes from 197.167.72.67: seq=1 ttl=63 time=0.930 ms 64 bytes from 197.167.72.67: seq=2 ttl=63 time=1.232 ms --- 197.167.72.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.930/2.231/4.531 ms 2026-09-07 15:32:17,737 - INFO - Ping to IP 197.167.72.67 from VM ctest-TestBasicPolicy-92555932-29528563 passed 2026-09-07 15:32:17,922 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6811bf37-cc81-4d68-90d3-571a1649df2d", "href": "http://10.0.0.50:8082/network-policy/6811bf37-cc81-4d68-90d3-571a1649df2d"}} 2026-09-07 15:32:17,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 15:32:17,922 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.167.72.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-09-07 15:32:17,922 - DEBUG - ping -s 56 -c 3 -W 1 197.167.72.67 2026-09-07 15:32:21,042 - DEBUG - PING 197.167.72.67 (197.167.72.67): 56 data bytes 64 bytes from 197.167.72.67: seq=0 ttl=63 time=1.534 ms --- 197.167.72.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.534/1.534/1.534 ms 2026-09-07 15:32:21,043 - WARNING - Ping to IP 197.167.72.67 from VM ctest-TestBasicPolicy-92555932-29528563 failed 2026-09-07 15:32:21,043 - INFO - Deleting VM ctest-TestBasicPolicy-92555932-36277624 2026-09-07 15:32:21,113 - INFO - Deleting VM ctest-TestBasicPolicy-92555932-29528563 2026-09-07 15:32:21,484 - INFO - Deleted policy ctest-policy-allow-all-76089369 2026-09-07 15:32:21,484 - INFO - Deleting VN ctest-vn-77515718 2026-09-07 15:32:21,516 - DEBUG - VN 85cf4d61-8cd3-4277-8201-8dc8c2597e76 still in use: Unable to complete operation on network 85cf4d61-8cd3-4277-8201-8dc8c2597e76. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-17556eb9-3bf1-4ac5-905d-b44df06a0356'] 2026-09-07 15:32:21,516 - WARNING - Deleting VN ctest-vn-77515718 failed..Will retry 2026-09-07 15:32:23,631 - DEBUG - Response for deleting network () 2026-09-07 15:32:23,632 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1adec0ff-a1a2-42fe-869f-53e68c0abe4b 2026-09-07 15:32:23,643 - DEBUG - Response Code: 404 2026-09-07 15:32:23,644 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-07 15:32:23,650 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1239ee6e-d52c-4fb3-b772-900935cce62f 2026-09-07 15:32:23,704 - DEBUG - Requesting: http://10.0.0.50:8082/project/57cf684d-fd74-4093-9f4f-16fdf0d3f649 2026-09-07 15:32:23,783 - INFO - Validated that VN ctest-vn-77515718 is not found in API Server 2026-09-07 15:32:23,793 - DEBUG - VN ctest-vn-77515718 is not present in Agent 10.0.0.50 2026-09-07 15:32:23,793 - INFO - Validated that VN ctest-vn-77515718 is not in any agent 2026-09-07 15:32:23,808 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77515718 info 2026-09-07 15:32:23,808 - INFO - Deleting VN ctest-vn-70320141 2026-09-07 15:32:23,914 - DEBUG - Response for deleting network () 2026-09-07 15:32:23,914 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6867ca9c-7338-443c-b6de-664d53170db4 2026-09-07 15:32:23,920 - DEBUG - Response Code: 404 2026-09-07 15:32:23,921 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-07 15:32:23,927 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1239ee6e-d52c-4fb3-b772-900935cce62f 2026-09-07 15:32:23,978 - DEBUG - Requesting: http://10.0.0.50:8082/project/57cf684d-fd74-4093-9f4f-16fdf0d3f649 2026-09-07 15:32:24,060 - INFO - Validated that VN ctest-vn-70320141 is not found in API Server 2026-09-07 15:32:24,072 - DEBUG - VN ctest-vn-70320141 is not present in Agent 10.0.0.50 2026-09-07 15:32:24,072 - INFO - Validated that VN ctest-vn-70320141 is not in any agent 2026-09-07 15:32:24,088 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70320141 info 2026-09-07 15:32:24,345 - DEBUG - No XMPP flaps were noticed during the test
2026-09-07 15:32:24,345 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:04]
2026-09-07 15:32:24,345 - INFO - -------------------------------------------------------------------------------- 2026-09-07 15:32:25,043 - INFO - Deleted project: ctest-TestBasicPolicy-92555932, ID : 57cf684d-fd74-4093-9f4f-16fdf0d3f649