2026-04-21 16:48:00,065 - INFO - Domain Default found not creating 2026-04-21 16:48:00,259 - INFO - Project ctest-TestBasicPolicy-73784685 not found, creating it 2026-04-21 16:48:00,738 - INFO - Created Project:ctest-TestBasicPolicy-73784685, ID : d000dc5f-74f1-46b4-9a29-89f56ceed68d 2026-04-21 16:48:02,431 - INFO - ================================================================================ 2026-04-21 16:48:02,431 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-21 16:48:02,431 - 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-04-21 16:48:02,703 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-21 16:48:02,703 - INFO - Initial checks done. Running the testcase now 2026-04-21 16:48:02,703 - INFO - 2026-04-21 16:48:03,341 - DEBUG - Response for create_network : {'network': {'id': '82c809c4-7000-4706-8dc2-3d37c4a08ce7', 'name': 'ctest-vn-39731253', 'tenant_id': 'd000dc5f74f146b49a2989f56ceed68d', 'project_id': 'd000dc5f74f146b49a2989f56ceed68d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73784685', 'ctest-vn-39731253'], 'port_security_enabled': True, 'description': ''}} 2026-04-21 16:48:03,561 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cfe9e732-f59a-47b9-8a63-ff95f549601b', 'name': '', 'tenant_id': 'd000dc5f74f146b49a2989f56ceed68d', 'network_id': '82c809c4-7000-4706-8dc2-3d37c4a08ce7', 'ip_version': 4, 'cidr': '79.173.71.0/26', 'allocation_pools': [{'start': '79.173.71.2', 'end': '79.173.71.62'}], 'gateway_ip': '79.173.71.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.173.71.2', 'tags': [], 'project_id': 'd000dc5f74f146b49a2989f56ceed68d'}} 2026-04-21 16:48:03,582 - INFO - Created VN ctest-vn-39731253 2026-04-21 16:48:03,638 - DEBUG - VN ctest-vn-39731253 UUID is 82c809c4-7000-4706-8dc2-3d37c4a08ce7 2026-04-21 16:48:03,960 - DEBUG - Response for create_network : {'network': {'id': 'f2dcf7e0-7f32-4a0b-a1d0-734706d69d96', 'name': 'ctest-vn-31830514', 'tenant_id': 'd000dc5f74f146b49a2989f56ceed68d', 'project_id': 'd000dc5f74f146b49a2989f56ceed68d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73784685', 'ctest-vn-31830514'], 'port_security_enabled': True, 'description': ''}} 2026-04-21 16:48:04,147 - DEBUG - Response for create_subnet : {'subnet': {'id': '63290df8-2bab-4a5a-b589-0e2012e7b688', 'name': '', 'tenant_id': 'd000dc5f74f146b49a2989f56ceed68d', 'network_id': 'f2dcf7e0-7f32-4a0b-a1d0-734706d69d96', 'ip_version': 4, 'cidr': '214.182.96.64/26', 'allocation_pools': [{'start': '214.182.96.66', 'end': '214.182.96.126'}], 'gateway_ip': '214.182.96.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.182.96.66', 'tags': [], 'project_id': 'd000dc5f74f146b49a2989f56ceed68d'}} 2026-04-21 16:48:04,166 - INFO - Created VN ctest-vn-31830514 2026-04-21 16:48:04,218 - DEBUG - VN ctest-vn-31830514 UUID is f2dcf7e0-7f32-4a0b-a1d0-734706d69d96 2026-04-21 16:48:04,337 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73784685:ctest-vn-39731253, 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-73784685:ctest-vn-31830514, 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-04-21 16:48:04,641 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '82c809c4-7000-4706-8dc2-3d37c4a08ce7', 'name': 'ctest-vn-39731253', 'tenant_id': 'd000dc5f74f146b49a2989f56ceed68d', 'project_id': 'd000dc5f74f146b49a2989f56ceed68d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cfe9e732-f59a-47b9-8a63-ff95f549601b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73784685', 'ctest-vn-39731253'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73784685', 'ctest-policy-allow-all-87373320']], 'subnet_ipam': [{'subnet_cidr': '79.173.71.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-21 16:48:04,875 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f2dcf7e0-7f32-4a0b-a1d0-734706d69d96', 'name': 'ctest-vn-31830514', 'tenant_id': 'd000dc5f74f146b49a2989f56ceed68d', 'project_id': 'd000dc5f74f146b49a2989f56ceed68d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['63290df8-2bab-4a5a-b589-0e2012e7b688'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73784685', 'ctest-vn-31830514'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73784685', 'ctest-policy-allow-all-87373320']], 'subnet_ipam': [{'subnet_cidr': '214.182.96.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-21 16:48:05,054 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-21 16:48:05,389 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-21 16:48:05,422 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8d46f45d-e3ab-45ce-9e96-d142eb89fe68 2026-04-21 16:48:05,435 - DEBUG - Requesting: http://10.0.0.50:8082/project/d000dc5f-74f1-46b4-9a29-89f56ceed68d 2026-04-21 16:48:05,512 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/82c809c4-7000-4706-8dc2-3d37c4a08ce7 2026-04-21 16:48:05,524 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/82c809c4-7000-4706-8dc2-3d37c4a08ce7 2026-04-21 16:48:05,535 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3f6bf615-ece4-4d0b-ad8f-1d91cc99ce7e 2026-04-21 16:48:05,542 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3f6bf615-ece4-4d0b-ad8f-1d91cc99ce7e 2026-04-21 16:48:05,549 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1f387b6f-c5cf-4197-95db-9a2f4e31bb28 2026-04-21 16:48:05,556 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-21 16:48:05,556 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/82c809c4-7000-4706-8dc2-3d37c4a08ce7 2026-04-21 16:48:05,565 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3f6bf615-ece4-4d0b-ad8f-1d91cc99ce7e 2026-04-21 16:48:05,580 - INFO - Verified VN network id 12 for VN 82c809c4-7000-4706-8dc2-3d37c4a08ce7 2026-04-21 16:48:05,580 - INFO - Verifications in API Server for VN ctest-vn-39731253 passed 2026-04-21 16:48:05,580 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/82c809c4-7000-4706-8dc2-3d37c4a08ce7 2026-04-21 16:48:05,590 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3f6bf615-ece4-4d0b-ad8f-1d91cc99ce7e 2026-04-21 16:48:05,597 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3f6bf615-ece4-4d0b-ad8f-1d91cc99ce7e 2026-04-21 16:48:05,605 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1f387b6f-c5cf-4197-95db-9a2f4e31bb28 2026-04-21 16:48:05,617 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73784685:ctest-vn-39731253', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73784685', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9423792959570069254', 'uuid-lslong': '10214794214561058023'}, 'enable': 'true', 'created': '2026-04-21T16:48:03', 'last-modified': '2026-04-21T16:48:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.001200'} 2026-04-21 16:48:05,624 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-21 16:48:05,624 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39731253 passed 2026-04-21 16:48:05,625 - DEBUG - ====Verifying policy data for ctest-vn-39731253 in API_Server ====== 2026-04-21 16:48:05,625 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-21 16:48:05,631 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8d46f45d-e3ab-45ce-9e96-d142eb89fe68 2026-04-21 16:48:05,643 - DEBUG - Requesting: http://10.0.0.50:8082/project/d000dc5f-74f1-46b4-9a29-89f56ceed68d 2026-04-21 16:48:05,715 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/82c809c4-7000-4706-8dc2-3d37c4a08ce7 2026-04-21 16:48:05,725 - DEBUG - ==>Verifying data for policy with id: 1fb17d05-0dd0-4a2e-b0a6-38ae3945ef61, fqn: ['default-domain', 'ctest-TestBasicPolicy-73784685', 'ctest-policy-allow-all-87373320'] 2026-04-21 16:48:05,725 - INFO - VN ctest-vn-39731253 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-21 16:48:05,725 - DEBUG - Verifying the vn in opserver 2026-04-21 16:48:05,725 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73784685:ctest-vn-39731253 virtual network link through opserver 10.0.0.50 2026-04-21 16:48:05,725 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-21 16:48:06,059 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-21 16:48:06,124 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73784685:ctest-vn-39731253', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73784685:ctest-vn-39731253?flat'} 2026-04-21 16:48:06,124 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73784685:ctest-vn-39731253 is found in opserver 2026-04-21 16:48:06,134 - DEBUG - Do not have enough data to verify VN in agent 2026-04-21 16:48:06,138 - DEBUG - VRF ids for VN ctest-vn-39731253: {} 2026-04-21 16:48:06,138 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-21 16:48:06,144 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8d46f45d-e3ab-45ce-9e96-d142eb89fe68 2026-04-21 16:48:06,154 - DEBUG - Requesting: http://10.0.0.50:8082/project/d000dc5f-74f1-46b4-9a29-89f56ceed68d 2026-04-21 16:48:06,227 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f2dcf7e0-7f32-4a0b-a1d0-734706d69d96 2026-04-21 16:48:06,239 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f2dcf7e0-7f32-4a0b-a1d0-734706d69d96 2026-04-21 16:48:06,249 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a3bd1e5d-a516-466d-9236-5ae5ac01ff28 2026-04-21 16:48:06,255 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a3bd1e5d-a516-466d-9236-5ae5ac01ff28 2026-04-21 16:48:06,261 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/591f7f5f-ec0d-424c-9523-a105feca7c5c 2026-04-21 16:48:06,267 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-21 16:48:06,267 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f2dcf7e0-7f32-4a0b-a1d0-734706d69d96 2026-04-21 16:48:06,275 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a3bd1e5d-a516-466d-9236-5ae5ac01ff28 2026-04-21 16:48:06,289 - INFO - Verified VN network id 13 for VN f2dcf7e0-7f32-4a0b-a1d0-734706d69d96 2026-04-21 16:48:06,289 - INFO - Verifications in API Server for VN ctest-vn-31830514 passed 2026-04-21 16:48:06,289 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f2dcf7e0-7f32-4a0b-a1d0-734706d69d96 2026-04-21 16:48:06,298 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a3bd1e5d-a516-466d-9236-5ae5ac01ff28 2026-04-21 16:48:06,305 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a3bd1e5d-a516-466d-9236-5ae5ac01ff28 2026-04-21 16:48:06,312 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/591f7f5f-ec0d-424c-9523-a105feca7c5c 2026-04-21 16:48:06,326 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73784685:ctest-vn-31830514', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73784685', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17500134795633641995', 'uuid-lslong': '11659946184156814742'}, 'enable': 'true', 'created': '2026-04-21T16:48:03', 'last-modified': '2026-04-21T16:48:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.470166'} 2026-04-21 16:48:06,333 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-21 16:48:06,333 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31830514 passed 2026-04-21 16:48:06,333 - DEBUG - ====Verifying policy data for ctest-vn-31830514 in API_Server ====== 2026-04-21 16:48:06,333 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-21 16:48:06,339 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8d46f45d-e3ab-45ce-9e96-d142eb89fe68 2026-04-21 16:48:06,355 - DEBUG - Requesting: http://10.0.0.50:8082/project/d000dc5f-74f1-46b4-9a29-89f56ceed68d 2026-04-21 16:48:06,428 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f2dcf7e0-7f32-4a0b-a1d0-734706d69d96 2026-04-21 16:48:06,438 - DEBUG - ==>Verifying data for policy with id: 1fb17d05-0dd0-4a2e-b0a6-38ae3945ef61, fqn: ['default-domain', 'ctest-TestBasicPolicy-73784685', 'ctest-policy-allow-all-87373320'] 2026-04-21 16:48:06,438 - INFO - VN ctest-vn-31830514 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-21 16:48:06,438 - DEBUG - Verifying the vn in opserver 2026-04-21 16:48:06,438 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73784685:ctest-vn-31830514 virtual network link through opserver 10.0.0.50 2026-04-21 16:48:06,438 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-21 16:48:06,449 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73784685:ctest-vn-31830514', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73784685:ctest-vn-31830514?flat'} 2026-04-21 16:48:06,449 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73784685:ctest-vn-31830514 is found in opserver 2026-04-21 16:48:06,458 - DEBUG - Do not have enough data to verify VN in agent 2026-04-21 16:48:06,463 - DEBUG - VRF ids for VN ctest-vn-31830514: {} 2026-04-21 16:48:06,529 - DEBUG - Services list from nova: [, , ] 2026-04-21 16:48:07,677 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5661-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5661-1) 2026-04-21 16:48:09,069 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5661-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5661-1) 2026-04-21 16:48:09,069 - INFO - Waiting for VM ctest-TestBasicPolicy-73784685-77998298 to be up.. 2026-04-21 16:48:09,159 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-21 16:48:14,245 - DEBUG - VM is in ACTIVE state now 2026-04-21 16:48:14,245 - INFO - VM name : ctest-TestBasicPolicy-73784685-77998298 2026-04-21 16:48:14,350 - DEBUG - VM ctest-TestBasicPolicy-73784685-77998298 ID is adc35607-88a4-45ad-b52e-604f69b7e8d1 2026-04-21 16:48:14,372 - DEBUG - VM ctest-TestBasicPolicy-73784685-77998298 launched on Node cn-jenkins-deploy-platform-ansible-os-5661-1 2026-04-21 16:48:14,464 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/adc35607-88a4-45ad-b52e-604f69b7e8d1 2026-04-21 16:48:14,475 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f0310db6-4b2a-4d3e-af6c-7b815849a26f 2026-04-21 16:48:17,747 - 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 1018ms') 2026-04-21 16:48:17,747 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73784685-77998298 failed! 2026-04-21 16:48:17,802 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-73784685:ctest-vn-39731253 is 79.173.71.1 and allocation pool is NOT set 2026-04-21 16:48:19,865 - 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=11.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.62 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.616/6.902/11.189/4.286 ms') 2026-04-21 16:48:19,865 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73784685-77998298 passed 2026-04-21 16:48:20,022 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 16:48:20,022 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73784685-77998298, IP 79.173.71.3, Port 22 2026-04-21 16:48:20,192 - DEBUG - VM ctest-TestBasicPolicy-73784685-77998298 is ready for SSH connections 2026-04-21 16:48:20,192 - INFO - Waiting for VM ctest-TestBasicPolicy-73784685-55755280 to be up.. 2026-04-21 16:48:20,296 - DEBUG - VM is in ACTIVE state now 2026-04-21 16:48:20,296 - INFO - VM name : ctest-TestBasicPolicy-73784685-55755280 2026-04-21 16:48:20,385 - DEBUG - VM ctest-TestBasicPolicy-73784685-55755280 ID is f5ca7806-0b00-461c-b607-891be4c2ebf9 2026-04-21 16:48:20,386 - DEBUG - VM ctest-TestBasicPolicy-73784685-55755280 launched on Node cn-jenkins-deploy-platform-ansible-os-5661-1 2026-04-21 16:48:20,470 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f5ca7806-0b00-461c-b607-891be4c2ebf9 2026-04-21 16:48:20,480 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0630861f-0f59-4a02-ac74-345d7b02fc31 2026-04-21 16:48:21,732 - 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=7.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.27 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 = 3.273/5.384/7.495/2.111 ms') 2026-04-21 16:48:21,732 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-73784685-55755280 passed 2026-04-21 16:48:21,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 16:48:21,882 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73784685-55755280, IP 214.182.96.67, Port 22 2026-04-21 16:48:21,948 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-04-21 16:48:22,031 - DEBUG - VM ctest-TestBasicPolicy-73784685-55755280 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-21 16:48:27,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 16:48:27,032 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73784685-55755280, IP 214.182.96.67, Port 22 2026-04-21 16:48:27,222 - DEBUG - VM ctest-TestBasicPolicy-73784685-55755280 is ready for SSH connections 2026-04-21 16:48:27,222 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 16:48:27,222 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.182.96.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-21 16:48:27,222 - DEBUG - ping -s 56 -c 3 -W 1 214.182.96.67 2026-04-21 16:48:31,426 - DEBUG - PING 214.182.96.67 (214.182.96.67): 56 data bytes 64 bytes from 214.182.96.67: seq=0 ttl=63 time=5.554 ms 64 bytes from 214.182.96.67: seq=1 ttl=63 time=0.972 ms 64 bytes from 214.182.96.67: seq=2 ttl=63 time=0.973 ms --- 214.182.96.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.972/2.499/5.554 ms 2026-04-21 16:48:31,426 - INFO - Ping to IP 214.182.96.67 from VM ctest-TestBasicPolicy-73784685-77998298 passed 2026-04-21 16:48:31,617 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1fb17d05-0dd0-4a2e-b0a6-38ae3945ef61", "href": "http://10.0.0.50:8082/network-policy/1fb17d05-0dd0-4a2e-b0a6-38ae3945ef61"}} 2026-04-21 16:48:31,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 16:48:31,617 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.182.96.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-21 16:48:31,618 - DEBUG - ping -s 56 -c 3 -W 1 214.182.96.67 2026-04-21 16:48:34,844 - DEBUG - PING 214.182.96.67 (214.182.96.67): 56 data bytes --- 214.182.96.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-21 16:48:34,844 - WARNING - Ping to IP 214.182.96.67 from VM ctest-TestBasicPolicy-73784685-77998298 failed 2026-04-21 16:48:34,844 - INFO - Deleting VM ctest-TestBasicPolicy-73784685-55755280 2026-04-21 16:48:34,934 - INFO - Deleting VM ctest-TestBasicPolicy-73784685-77998298 2026-04-21 16:48:35,353 - INFO - Deleted policy ctest-policy-allow-all-87373320 2026-04-21 16:48:35,353 - INFO - Deleting VN ctest-vn-31830514 2026-04-21 16:48:35,390 - DEBUG - VN f2dcf7e0-7f32-4a0b-a1d0-734706d69d96 still in use: Unable to complete operation on network f2dcf7e0-7f32-4a0b-a1d0-734706d69d96. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-de492a9b-0875-4afd-9bdc-075f70520ec0'] 2026-04-21 16:48:35,390 - WARNING - Deleting VN ctest-vn-31830514 failed..Will retry 2026-04-21 16:48:37,497 - DEBUG - Response for deleting network () 2026-04-21 16:48:37,497 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a3bd1e5d-a516-466d-9236-5ae5ac01ff28 2026-04-21 16:48:37,503 - DEBUG - Response Code: 404 2026-04-21 16:48:37,503 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-21 16:48:37,508 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8d46f45d-e3ab-45ce-9e96-d142eb89fe68 2026-04-21 16:48:37,568 - DEBUG - Requesting: http://10.0.0.50:8082/project/d000dc5f-74f1-46b4-9a29-89f56ceed68d 2026-04-21 16:48:37,642 - INFO - Validated that VN ctest-vn-31830514 is not found in API Server 2026-04-21 16:48:37,653 - DEBUG - VN ctest-vn-31830514 is not present in Agent 10.0.0.50 2026-04-21 16:48:37,653 - INFO - Validated that VN ctest-vn-31830514 is not in any agent 2026-04-21 16:48:37,670 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31830514 info 2026-04-21 16:48:37,670 - INFO - Deleting VN ctest-vn-39731253 2026-04-21 16:48:37,773 - DEBUG - Response for deleting network () 2026-04-21 16:48:37,773 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3f6bf615-ece4-4d0b-ad8f-1d91cc99ce7e 2026-04-21 16:48:37,780 - DEBUG - Response Code: 404 2026-04-21 16:48:37,781 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-21 16:48:37,788 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8d46f45d-e3ab-45ce-9e96-d142eb89fe68 2026-04-21 16:48:37,843 - DEBUG - Requesting: http://10.0.0.50:8082/project/d000dc5f-74f1-46b4-9a29-89f56ceed68d 2026-04-21 16:48:37,924 - INFO - Validated that VN ctest-vn-39731253 is not found in API Server 2026-04-21 16:48:37,934 - DEBUG - VN ctest-vn-39731253 is not present in Agent 10.0.0.50 2026-04-21 16:48:37,934 - INFO - Validated that VN ctest-vn-39731253 is not in any agent 2026-04-21 16:48:37,951 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39731253 info 2026-04-21 16:48:38,212 - DEBUG - No XMPP flaps were noticed during the test
2026-04-21 16:48:38,212 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-04-21 16:48:38,212 - INFO - -------------------------------------------------------------------------------- 2026-04-21 16:48:38,962 - INFO - Deleted project: ctest-TestBasicPolicy-73784685, ID : d000dc5f-74f1-46b4-9a29-89f56ceed68d