2026-09-30 13:30:06,635 - INFO - Domain Default found not creating 2026-09-30 13:30:06,822 - INFO - Project ctest-TestBasicPolicy-73718847 not found, creating it 2026-09-30 13:30:07,334 - INFO - Created Project:ctest-TestBasicPolicy-73718847, ID : aada08b1-eca3-4ad5-af96-33e83228dc81 2026-09-30 13:30:09,111 - INFO - ================================================================================ 2026-09-30 13:30:09,112 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-30 13:30:09,112 - 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-30 13:30:09,389 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.25': '0'}} with 2026-09-30 13:30:09,389 - INFO - Initial checks done. Running the testcase now 2026-09-30 13:30:09,389 - INFO - 2026-09-30 13:30:10,067 - DEBUG - Response for create_network : {'network': {'id': '75edcddd-258a-4dc1-b131-90c9e1054a4e', 'name': 'ctest-vn-12577318', 'tenant_id': 'aada08b1eca34ad5af9633e83228dc81', 'project_id': 'aada08b1eca34ad5af9633e83228dc81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73718847', 'ctest-vn-12577318'], 'port_security_enabled': True, 'description': ''}} 2026-09-30 13:30:10,278 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd11e2f4d-05e2-4af1-8570-271f339b97c1', 'name': '', 'tenant_id': 'aada08b1eca34ad5af9633e83228dc81', 'network_id': '75edcddd-258a-4dc1-b131-90c9e1054a4e', 'ip_version': 4, 'cidr': '19.134.147.192/26', 'allocation_pools': [{'start': '19.134.147.194', 'end': '19.134.147.254'}], 'gateway_ip': '19.134.147.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.134.147.194', 'tags': [], 'project_id': 'aada08b1eca34ad5af9633e83228dc81'}} 2026-09-30 13:30:10,298 - INFO - Created VN ctest-vn-12577318 2026-09-30 13:30:10,355 - DEBUG - VN ctest-vn-12577318 UUID is 75edcddd-258a-4dc1-b131-90c9e1054a4e 2026-09-30 13:30:10,697 - DEBUG - Response for create_network : {'network': {'id': '7cfb5423-3f15-4525-8dbc-ea6d85a13afb', 'name': 'ctest-vn-31884344', 'tenant_id': 'aada08b1eca34ad5af9633e83228dc81', 'project_id': 'aada08b1eca34ad5af9633e83228dc81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73718847', 'ctest-vn-31884344'], 'port_security_enabled': True, 'description': ''}} 2026-09-30 13:30:10,895 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e5428485-9ba0-4330-9b42-ccc81beaebcb', 'name': '', 'tenant_id': 'aada08b1eca34ad5af9633e83228dc81', 'network_id': '7cfb5423-3f15-4525-8dbc-ea6d85a13afb', 'ip_version': 4, 'cidr': '75.159.177.128/26', 'allocation_pools': [{'start': '75.159.177.130', 'end': '75.159.177.190'}], 'gateway_ip': '75.159.177.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.159.177.130', 'tags': [], 'project_id': 'aada08b1eca34ad5af9633e83228dc81'}} 2026-09-30 13:30:10,914 - INFO - Created VN ctest-vn-31884344 2026-09-30 13:30:10,971 - DEBUG - VN ctest-vn-31884344 UUID is 7cfb5423-3f15-4525-8dbc-ea6d85a13afb 2026-09-30 13:30:11,093 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73718847:ctest-vn-12577318, 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-73718847:ctest-vn-31884344, 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-30 13:30:11,433 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '75edcddd-258a-4dc1-b131-90c9e1054a4e', 'name': 'ctest-vn-12577318', 'tenant_id': 'aada08b1eca34ad5af9633e83228dc81', 'project_id': 'aada08b1eca34ad5af9633e83228dc81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['d11e2f4d-05e2-4af1-8570-271f339b97c1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73718847', 'ctest-vn-12577318'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73718847', 'ctest-policy-allow-all-38608740']], 'subnet_ipam': [{'subnet_cidr': '19.134.147.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-30 13:30:11,675 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7cfb5423-3f15-4525-8dbc-ea6d85a13afb', 'name': 'ctest-vn-31884344', 'tenant_id': 'aada08b1eca34ad5af9633e83228dc81', 'project_id': 'aada08b1eca34ad5af9633e83228dc81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e5428485-9ba0-4330-9b42-ccc81beaebcb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73718847', 'ctest-vn-31884344'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73718847', 'ctest-policy-allow-all-38608740']], 'subnet_ipam': [{'subnet_cidr': '75.159.177.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-30 13:30:11,843 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-09-30 13:30:12,214 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-09-30 13:30:12,248 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0431b643-207a-45d3-8ba3-28f8daa797b9 2026-09-30 13:30:12,264 - DEBUG - Requesting: http://10.0.0.33:8082/project/aada08b1-eca3-4ad5-af96-33e83228dc81 2026-09-30 13:30:12,396 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/75edcddd-258a-4dc1-b131-90c9e1054a4e 2026-09-30 13:30:12,412 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/75edcddd-258a-4dc1-b131-90c9e1054a4e 2026-09-30 13:30:12,423 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/28a16d43-cb13-4f77-9146-77bb13d4111a 2026-09-30 13:30:12,433 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/28a16d43-cb13-4f77-9146-77bb13d4111a 2026-09-30 13:30:12,442 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2ef8e61e-fa1d-4595-bd1c-62f21a620e3e 2026-09-30 13:30:12,450 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-30 13:30:12,450 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/75edcddd-258a-4dc1-b131-90c9e1054a4e 2026-09-30 13:30:12,460 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/28a16d43-cb13-4f77-9146-77bb13d4111a 2026-09-30 13:30:12,477 - INFO - Verified VN network id 12 for VN 75edcddd-258a-4dc1-b131-90c9e1054a4e 2026-09-30 13:30:12,477 - INFO - Verifications in API Server for VN ctest-vn-12577318 passed 2026-09-30 13:30:12,477 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/75edcddd-258a-4dc1-b131-90c9e1054a4e 2026-09-30 13:30:12,488 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/28a16d43-cb13-4f77-9146-77bb13d4111a 2026-09-30 13:30:12,496 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/28a16d43-cb13-4f77-9146-77bb13d4111a 2026-09-30 13:30:12,504 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2ef8e61e-fa1d-4595-bd1c-62f21a620e3e 2026-09-30 13:30:12,518 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73718847:ctest-vn-12577318', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73718847', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8497674421619281345', 'uuid-lslong': '12768145615310113358'}, 'enable': 'true', 'created': '2026-09-30T13:30:10', 'last-modified': '2026-09-30T13:30:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.112837'} 2026-09-30 13:30:12,526 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-30 13:30:12,526 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12577318 passed 2026-09-30 13:30:12,527 - DEBUG - ====Verifying policy data for ctest-vn-12577318 in API_Server ====== 2026-09-30 13:30:12,527 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-09-30 13:30:12,533 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0431b643-207a-45d3-8ba3-28f8daa797b9 2026-09-30 13:30:12,546 - DEBUG - Requesting: http://10.0.0.33:8082/project/aada08b1-eca3-4ad5-af96-33e83228dc81 2026-09-30 13:30:12,624 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/75edcddd-258a-4dc1-b131-90c9e1054a4e 2026-09-30 13:30:12,635 - DEBUG - ==>Verifying data for policy with id: e086920b-d93d-4c47-8434-287987a4c45c, fqn: ['default-domain', 'ctest-TestBasicPolicy-73718847', 'ctest-policy-allow-all-38608740'] 2026-09-30 13:30:12,635 - INFO - VN ctest-vn-12577318 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-30 13:30:12,635 - DEBUG - Verifying the vn in opserver 2026-09-30 13:30:12,635 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73718847:ctest-vn-12577318 virtual network link through opserver 10.0.0.33 2026-09-30 13:30:12,635 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-09-30 13:30:13,001 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-09-30 13:30:13,068 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73718847:ctest-vn-12577318', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73718847:ctest-vn-12577318?flat'} 2026-09-30 13:30:13,068 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73718847:ctest-vn-12577318 is found in opserver 2026-09-30 13:30:13,082 - DEBUG - Do not have enough data to verify VN in agent 2026-09-30 13:30:13,088 - DEBUG - VRF ids for VN ctest-vn-12577318: {} 2026-09-30 13:30:13,088 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-09-30 13:30:13,095 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0431b643-207a-45d3-8ba3-28f8daa797b9 2026-09-30 13:30:13,109 - DEBUG - Requesting: http://10.0.0.33:8082/project/aada08b1-eca3-4ad5-af96-33e83228dc81 2026-09-30 13:30:13,192 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7cfb5423-3f15-4525-8dbc-ea6d85a13afb 2026-09-30 13:30:13,206 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7cfb5423-3f15-4525-8dbc-ea6d85a13afb 2026-09-30 13:30:13,218 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/67d74744-ef9b-4999-81b0-80b11cacaade 2026-09-30 13:30:13,228 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/67d74744-ef9b-4999-81b0-80b11cacaade 2026-09-30 13:30:13,238 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/223109c8-5610-441b-8a86-1388ed94197e 2026-09-30 13:30:13,248 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-30 13:30:13,248 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7cfb5423-3f15-4525-8dbc-ea6d85a13afb 2026-09-30 13:30:13,260 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/67d74744-ef9b-4999-81b0-80b11cacaade 2026-09-30 13:30:13,280 - INFO - Verified VN network id 13 for VN 7cfb5423-3f15-4525-8dbc-ea6d85a13afb 2026-09-30 13:30:13,281 - INFO - Verifications in API Server for VN ctest-vn-31884344 passed 2026-09-30 13:30:13,281 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7cfb5423-3f15-4525-8dbc-ea6d85a13afb 2026-09-30 13:30:13,296 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/67d74744-ef9b-4999-81b0-80b11cacaade 2026-09-30 13:30:13,306 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/67d74744-ef9b-4999-81b0-80b11cacaade 2026-09-30 13:30:13,315 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/223109c8-5610-441b-8a86-1388ed94197e 2026-09-30 13:30:13,330 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73718847:ctest-vn-31884344', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73718847', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9005884390216385829', 'uuid-lslong': '10213295811083713275'}, 'enable': 'true', 'created': '2026-09-30T13:30:10', 'last-modified': '2026-09-30T13:30:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.686145'} 2026-09-30 13:30:13,337 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-30 13:30:13,337 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31884344 passed 2026-09-30 13:30:13,337 - DEBUG - ====Verifying policy data for ctest-vn-31884344 in API_Server ====== 2026-09-30 13:30:13,338 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-09-30 13:30:13,345 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0431b643-207a-45d3-8ba3-28f8daa797b9 2026-09-30 13:30:13,357 - DEBUG - Requesting: http://10.0.0.33:8082/project/aada08b1-eca3-4ad5-af96-33e83228dc81 2026-09-30 13:30:13,441 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7cfb5423-3f15-4525-8dbc-ea6d85a13afb 2026-09-30 13:30:13,455 - DEBUG - ==>Verifying data for policy with id: e086920b-d93d-4c47-8434-287987a4c45c, fqn: ['default-domain', 'ctest-TestBasicPolicy-73718847', 'ctest-policy-allow-all-38608740'] 2026-09-30 13:30:13,455 - INFO - VN ctest-vn-31884344 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-30 13:30:13,455 - DEBUG - Verifying the vn in opserver 2026-09-30 13:30:13,455 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73718847:ctest-vn-31884344 virtual network link through opserver 10.0.0.33 2026-09-30 13:30:13,455 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-09-30 13:30:13,467 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73718847:ctest-vn-31884344', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73718847:ctest-vn-31884344?flat'} 2026-09-30 13:30:13,467 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73718847:ctest-vn-31884344 is found in opserver 2026-09-30 13:30:13,479 - DEBUG - Do not have enough data to verify VN in agent 2026-09-30 13:30:13,485 - DEBUG - VRF ids for VN ctest-vn-31884344: {} 2026-09-30 13:30:13,555 - DEBUG - Services list from nova: [, , ] 2026-09-30 13:30:14,044 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6332-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6332-1) 2026-09-30 13:30:14,484 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6332-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6332-1) 2026-09-30 13:30:14,485 - INFO - Waiting for VM ctest-TestBasicPolicy-73718847-50895757 to be up.. 2026-09-30 13:30:14,528 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 13:30:19,617 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 13:30:24,703 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 13:30:29,802 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 13:30:34,900 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 13:30:39,993 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 13:30:45,079 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 13:30:50,175 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 13:30:55,300 - DEBUG - VM is in ACTIVE state now 2026-09-30 13:30:55,300 - INFO - VM name : ctest-TestBasicPolicy-73718847-50895757 2026-09-30 13:30:55,396 - DEBUG - VM ctest-TestBasicPolicy-73718847-50895757 ID is e9f179b4-b34a-427b-9885-9fd22fd4fbb3 2026-09-30 13:30:55,425 - DEBUG - VM ctest-TestBasicPolicy-73718847-50895757 launched on Node cn-jenkins-deploy-platform-ansible-os-6332-1 2026-09-30 13:30:55,517 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e9f179b4-b34a-427b-9885-9fd22fd4fbb3 2026-09-30 13:30:55,528 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b7f8db63-bee8-4d95-90f4-afdee1754367 2026-09-30 13:30:58,792 - 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=9.38 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 = 9.376/9.376/9.376/0.000 ms') 2026-09-30 13:30:58,792 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73718847-50895757 passed 2026-09-30 13:30:58,943 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-30 13:30:58,943 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73718847-50895757, IP 19.134.147.195, Port 22 2026-09-30 13:30:59,113 - DEBUG - VM ctest-TestBasicPolicy-73718847-50895757 is ready for SSH connections 2026-09-30 13:30:59,113 - INFO - Waiting for VM ctest-TestBasicPolicy-73718847-48182778 to be up.. 2026-09-30 13:30:59,197 - DEBUG - VM is in ACTIVE state now 2026-09-30 13:30:59,197 - INFO - VM name : ctest-TestBasicPolicy-73718847-48182778 2026-09-30 13:30:59,294 - DEBUG - VM ctest-TestBasicPolicy-73718847-48182778 ID is ea00d586-5725-4974-acb6-b99fce43ede5 2026-09-30 13:30:59,294 - DEBUG - VM ctest-TestBasicPolicy-73718847-48182778 launched on Node cn-jenkins-deploy-platform-ansible-os-6332-1 2026-09-30 13:30:59,394 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ea00d586-5725-4974-acb6-b99fce43ede5 2026-09-30 13:30:59,407 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2376aabe-a9b8-4e89-8a02-140ebb0d11b3 2026-09-30 13:31:02,664 - 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 1009ms') 2026-09-30 13:31:02,664 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-73718847-48182778 failed! 2026-09-30 13:31:02,727 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-73718847:ctest-vn-31884344 is 75.159.177.129 and allocation pool is NOT set 2026-09-30 13:31:04,794 - 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=5.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.32 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.318/4.438/5.558/1.120 ms') 2026-09-30 13:31:04,794 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-73718847-48182778 passed 2026-09-30 13:31:04,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-30 13:31:04,947 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73718847-48182778, IP 75.159.177.131, Port 22 2026-09-30 13:31:05,013 - 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-09-30 13:31:05,108 - DEBUG - VM ctest-TestBasicPolicy-73718847-48182778 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-30 13:31:10,108 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-30 13:31:10,108 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73718847-48182778, IP 75.159.177.131, Port 22 2026-09-30 13:31:10,278 - DEBUG - VM ctest-TestBasicPolicy-73718847-48182778 is ready for SSH connections 2026-09-30 13:31:10,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-30 13:31:10,279 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.159.177.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-09-30 13:31:10,279 - DEBUG - ping -s 56 -c 3 -W 1 75.159.177.131 2026-09-30 13:31:14,332 - DEBUG - PING 75.159.177.131 (75.159.177.131): 56 data bytes 64 bytes from 75.159.177.131: seq=0 ttl=63 time=4.252 ms 64 bytes from 75.159.177.131: seq=1 ttl=63 time=1.225 ms 64 bytes from 75.159.177.131: seq=2 ttl=63 time=1.009 ms --- 75.159.177.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.009/2.162/4.252 ms 2026-09-30 13:31:14,332 - INFO - Ping to IP 75.159.177.131 from VM ctest-TestBasicPolicy-73718847-50895757 passed 2026-09-30 13:31:14,523 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e086920b-d93d-4c47-8434-287987a4c45c", "href": "http://10.0.0.33:8082/network-policy/e086920b-d93d-4c47-8434-287987a4c45c"}} 2026-09-30 13:31:14,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-30 13:31:14,523 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.159.177.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-09-30 13:31:14,523 - DEBUG - ping -s 56 -c 3 -W 1 75.159.177.131 2026-09-30 13:31:17,686 - DEBUG - PING 75.159.177.131 (75.159.177.131): 56 data bytes 64 bytes from 75.159.177.131: seq=0 ttl=63 time=1.779 ms --- 75.159.177.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.779/1.779/1.779 ms 2026-09-30 13:31:17,687 - WARNING - Ping to IP 75.159.177.131 from VM ctest-TestBasicPolicy-73718847-50895757 failed 2026-09-30 13:31:17,687 - INFO - Deleting VM ctest-TestBasicPolicy-73718847-48182778 2026-09-30 13:31:17,778 - INFO - Deleting VM ctest-TestBasicPolicy-73718847-50895757 2026-09-30 13:31:18,206 - INFO - Deleted policy ctest-policy-allow-all-38608740 2026-09-30 13:31:18,206 - INFO - Deleting VN ctest-vn-31884344 2026-09-30 13:31:18,247 - DEBUG - VN 7cfb5423-3f15-4525-8dbc-ea6d85a13afb still in use: Unable to complete operation on network 7cfb5423-3f15-4525-8dbc-ea6d85a13afb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-34fa129a-7f13-4efb-aa50-550b9f1f236c'] 2026-09-30 13:31:18,247 - WARNING - Deleting VN ctest-vn-31884344 failed..Will retry 2026-09-30 13:31:20,395 - DEBUG - Response for deleting network () 2026-09-30 13:31:20,395 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/67d74744-ef9b-4999-81b0-80b11cacaade 2026-09-30 13:31:20,404 - DEBUG - Response Code: 404 2026-09-30 13:31:20,404 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-09-30 13:31:20,410 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0431b643-207a-45d3-8ba3-28f8daa797b9 2026-09-30 13:31:20,474 - DEBUG - Requesting: http://10.0.0.33:8082/project/aada08b1-eca3-4ad5-af96-33e83228dc81 2026-09-30 13:31:20,564 - INFO - Validated that VN ctest-vn-31884344 is not found in API Server 2026-09-30 13:31:20,577 - DEBUG - VN ctest-vn-31884344 is not present in Agent 10.0.0.33 2026-09-30 13:31:20,577 - INFO - Validated that VN ctest-vn-31884344 is not in any agent 2026-09-30 13:31:20,597 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31884344 info 2026-09-30 13:31:20,597 - INFO - Deleting VN ctest-vn-12577318 2026-09-30 13:31:20,726 - DEBUG - Response for deleting network () 2026-09-30 13:31:20,726 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/28a16d43-cb13-4f77-9146-77bb13d4111a 2026-09-30 13:31:20,732 - DEBUG - Response Code: 404 2026-09-30 13:31:20,733 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-09-30 13:31:20,748 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0431b643-207a-45d3-8ba3-28f8daa797b9 2026-09-30 13:31:20,805 - DEBUG - Requesting: http://10.0.0.33:8082/project/aada08b1-eca3-4ad5-af96-33e83228dc81 2026-09-30 13:31:20,888 - INFO - Validated that VN ctest-vn-12577318 is not found in API Server 2026-09-30 13:31:20,901 - DEBUG - VN ctest-vn-12577318 is not present in Agent 10.0.0.33 2026-09-30 13:31:20,901 - INFO - Validated that VN ctest-vn-12577318 is not in any agent 2026-09-30 13:31:20,918 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12577318 info 2026-09-30 13:31:21,191 - DEBUG - No XMPP flaps were noticed during the test
2026-09-30 13:31:21,191 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:12]
2026-09-30 13:31:21,191 - INFO - -------------------------------------------------------------------------------- 2026-09-30 13:31:21,990 - INFO - Deleted project: ctest-TestBasicPolicy-73718847, ID : aada08b1-eca3-4ad5-af96-33e83228dc81