2026-08-20 22:29:52,980 - INFO - Domain Default found not creating 2026-08-20 22:29:53,144 - INFO - Project ctest-TestBasicPolicy-86132148 not found, creating it 2026-08-20 22:29:53,621 - INFO - Created Project:ctest-TestBasicPolicy-86132148, ID : 0a6b1d7e-96da-49bf-974a-d0f37ad38b2a 2026-08-20 22:29:55,209 - INFO - ================================================================================ 2026-08-20 22:29:55,209 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-20 22:29:55,209 - 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-20 22:29:55,480 - DEBUG - Nothing to compare xmpp stats {'10.0.0.163': {'10.20.0.17': '0'}} with 2026-08-20 22:29:55,480 - INFO - Initial checks done. Running the testcase now 2026-08-20 22:29:55,480 - INFO - 2026-08-20 22:29:56,103 - DEBUG - Response for create_network : {'network': {'id': '5121848b-510b-4f81-aa5e-fd3d457d266e', 'name': 'ctest-vn-95056109', 'tenant_id': '0a6b1d7e96da49bf974ad0f37ad38b2a', 'project_id': '0a6b1d7e96da49bf974ad0f37ad38b2a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86132148', 'ctest-vn-95056109'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 22:29:56,300 - DEBUG - Response for create_subnet : {'subnet': {'id': '28213bb4-c2ca-4952-8b8a-7c1473fc77cf', 'name': '', 'tenant_id': '0a6b1d7e96da49bf974ad0f37ad38b2a', 'network_id': '5121848b-510b-4f81-aa5e-fd3d457d266e', 'ip_version': 4, 'cidr': '93.248.106.0/26', 'allocation_pools': [{'start': '93.248.106.2', 'end': '93.248.106.62'}], 'gateway_ip': '93.248.106.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.248.106.2', 'tags': [], 'project_id': '0a6b1d7e96da49bf974ad0f37ad38b2a'}} 2026-08-20 22:29:56,319 - INFO - Created VN ctest-vn-95056109 2026-08-20 22:29:56,375 - DEBUG - VN ctest-vn-95056109 UUID is 5121848b-510b-4f81-aa5e-fd3d457d266e 2026-08-20 22:29:56,923 - DEBUG - Response for create_network : {'network': {'id': 'b54cb439-fb82-4472-95fc-3515492e7d7c', 'name': 'ctest-vn-39816754', 'tenant_id': '0a6b1d7e96da49bf974ad0f37ad38b2a', 'project_id': '0a6b1d7e96da49bf974ad0f37ad38b2a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86132148', 'ctest-vn-39816754'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 22:29:57,117 - DEBUG - Response for create_subnet : {'subnet': {'id': '4c0d548a-4a08-4c54-b6e6-0dcb55c9c4f8', 'name': '', 'tenant_id': '0a6b1d7e96da49bf974ad0f37ad38b2a', 'network_id': 'b54cb439-fb82-4472-95fc-3515492e7d7c', 'ip_version': 4, 'cidr': '210.219.66.0/26', 'allocation_pools': [{'start': '210.219.66.2', 'end': '210.219.66.62'}], 'gateway_ip': '210.219.66.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.219.66.2', 'tags': [], 'project_id': '0a6b1d7e96da49bf974ad0f37ad38b2a'}} 2026-08-20 22:29:57,145 - INFO - Created VN ctest-vn-39816754 2026-08-20 22:29:57,203 - DEBUG - VN ctest-vn-39816754 UUID is b54cb439-fb82-4472-95fc-3515492e7d7c 2026-08-20 22:29:57,319 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86132148:ctest-vn-95056109, 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-86132148:ctest-vn-39816754, 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-20 22:29:57,649 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5121848b-510b-4f81-aa5e-fd3d457d266e', 'name': 'ctest-vn-95056109', 'tenant_id': '0a6b1d7e96da49bf974ad0f37ad38b2a', 'project_id': '0a6b1d7e96da49bf974ad0f37ad38b2a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['28213bb4-c2ca-4952-8b8a-7c1473fc77cf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86132148', 'ctest-vn-95056109'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86132148', 'ctest-policy-allow-all-95160145']], 'subnet_ipam': [{'subnet_cidr': '93.248.106.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-20 22:29:57,904 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b54cb439-fb82-4472-95fc-3515492e7d7c', 'name': 'ctest-vn-39816754', 'tenant_id': '0a6b1d7e96da49bf974ad0f37ad38b2a', 'project_id': '0a6b1d7e96da49bf974ad0f37ad38b2a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4c0d548a-4a08-4c54-b6e6-0dcb55c9c4f8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86132148', 'ctest-vn-39816754'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86132148', 'ctest-policy-allow-all-95160145']], 'subnet_ipam': [{'subnet_cidr': '210.219.66.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-20 22:29:58,079 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-08-20 22:29:58,427 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-08-20 22:29:58,454 - DEBUG - Requesting: http://10.0.0.163:8082/domain/1c62434c-28df-40ec-b6ae-d8351bc23717 2026-08-20 22:29:58,468 - DEBUG - Requesting: http://10.0.0.163:8082/project/0a6b1d7e-96da-49bf-974a-d0f37ad38b2a 2026-08-20 22:29:58,552 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/5121848b-510b-4f81-aa5e-fd3d457d266e 2026-08-20 22:29:58,586 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/5121848b-510b-4f81-aa5e-fd3d457d266e 2026-08-20 22:29:58,598 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/40871594-01f9-4c13-bf87-5f7d186bdc14 2026-08-20 22:29:58,609 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/40871594-01f9-4c13-bf87-5f7d186bdc14 2026-08-20 22:29:58,617 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/e7d89529-6605-4fbc-91de-798c7938f4d4 2026-08-20 22:29:58,627 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-20 22:29:58,627 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/5121848b-510b-4f81-aa5e-fd3d457d266e 2026-08-20 22:29:58,637 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/40871594-01f9-4c13-bf87-5f7d186bdc14 2026-08-20 22:29:58,657 - INFO - Verified VN network id 11 for VN 5121848b-510b-4f81-aa5e-fd3d457d266e 2026-08-20 22:29:58,658 - INFO - Verifications in API Server for VN ctest-vn-95056109 passed 2026-08-20 22:29:58,658 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/5121848b-510b-4f81-aa5e-fd3d457d266e 2026-08-20 22:29:58,670 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/40871594-01f9-4c13-bf87-5f7d186bdc14 2026-08-20 22:29:58,679 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/40871594-01f9-4c13-bf87-5f7d186bdc14 2026-08-20 22:29:58,688 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/e7d89529-6605-4fbc-91de-798c7938f4d4 2026-08-20 22:29:58,706 - DEBUG - Control-node 10.0.0.163 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86132148:ctest-vn-95056109', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86132148', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5846099525198630785', 'uuid-lslong': '12276528073859212910'}, 'enable': 'true', 'created': '2026-08-20T22:29:56', 'last-modified': '2026-08-20T22:29:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.094258'} 2026-08-20 22:29:58,715 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-20 22:29:58,715 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95056109 passed 2026-08-20 22:29:58,716 - DEBUG - ====Verifying policy data for ctest-vn-95056109 in API_Server ====== 2026-08-20 22:29:58,716 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-08-20 22:29:58,723 - DEBUG - Requesting: http://10.0.0.163:8082/domain/1c62434c-28df-40ec-b6ae-d8351bc23717 2026-08-20 22:29:58,740 - DEBUG - Requesting: http://10.0.0.163:8082/project/0a6b1d7e-96da-49bf-974a-d0f37ad38b2a 2026-08-20 22:29:58,845 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/5121848b-510b-4f81-aa5e-fd3d457d266e 2026-08-20 22:29:58,865 - DEBUG - ==>Verifying data for policy with id: ea31e648-dc67-479d-9b96-03b3f7f754d0, fqn: ['default-domain', 'ctest-TestBasicPolicy-86132148', 'ctest-policy-allow-all-95160145'] 2026-08-20 22:29:58,865 - INFO - VN ctest-vn-95056109 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-20 22:29:58,866 - DEBUG - Verifying the vn in opserver 2026-08-20 22:29:58,866 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86132148:ctest-vn-95056109 virtual network link through opserver 10.0.0.163 2026-08-20 22:29:58,866 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-08-20 22:29:59,208 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-08-20 22:29:59,268 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86132148:ctest-vn-95056109', 'href': 'http://10.0.0.163:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86132148:ctest-vn-95056109?flat'} 2026-08-20 22:29:59,268 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86132148:ctest-vn-95056109 is found in opserver 2026-08-20 22:29:59,280 - DEBUG - Do not have enough data to verify VN in agent 2026-08-20 22:29:59,287 - DEBUG - VRF ids for VN ctest-vn-95056109: {} 2026-08-20 22:29:59,287 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-08-20 22:29:59,293 - DEBUG - Requesting: http://10.0.0.163:8082/domain/1c62434c-28df-40ec-b6ae-d8351bc23717 2026-08-20 22:29:59,304 - DEBUG - Requesting: http://10.0.0.163:8082/project/0a6b1d7e-96da-49bf-974a-d0f37ad38b2a 2026-08-20 22:29:59,384 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/b54cb439-fb82-4472-95fc-3515492e7d7c 2026-08-20 22:29:59,398 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/b54cb439-fb82-4472-95fc-3515492e7d7c 2026-08-20 22:29:59,408 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/85ecd710-381e-48a0-8d30-521422d892d8 2026-08-20 22:29:59,416 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/85ecd710-381e-48a0-8d30-521422d892d8 2026-08-20 22:29:59,424 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/c0e61c1a-deb5-4587-a2ec-34c276a1a99d 2026-08-20 22:29:59,430 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-20 22:29:59,430 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/b54cb439-fb82-4472-95fc-3515492e7d7c 2026-08-20 22:29:59,441 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/85ecd710-381e-48a0-8d30-521422d892d8 2026-08-20 22:29:59,460 - INFO - Verified VN network id 12 for VN b54cb439-fb82-4472-95fc-3515492e7d7c 2026-08-20 22:29:59,461 - INFO - Verifications in API Server for VN ctest-vn-39816754 passed 2026-08-20 22:29:59,461 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/b54cb439-fb82-4472-95fc-3515492e7d7c 2026-08-20 22:29:59,473 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/85ecd710-381e-48a0-8d30-521422d892d8 2026-08-20 22:29:59,481 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/85ecd710-381e-48a0-8d30-521422d892d8 2026-08-20 22:29:59,490 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/c0e61c1a-deb5-4587-a2ec-34c276a1a99d 2026-08-20 22:29:59,507 - DEBUG - Control-node 10.0.0.163 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86132148:ctest-vn-39816754', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86132148', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13064014780220720242', 'uuid-lslong': '10807571571320716668'}, 'enable': 'true', 'created': '2026-08-20T22:29:56', 'last-modified': '2026-08-20T22:29:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.634202'} 2026-08-20 22:29:59,514 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-20 22:29:59,514 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39816754 passed 2026-08-20 22:29:59,514 - DEBUG - ====Verifying policy data for ctest-vn-39816754 in API_Server ====== 2026-08-20 22:29:59,514 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-08-20 22:29:59,521 - DEBUG - Requesting: http://10.0.0.163:8082/domain/1c62434c-28df-40ec-b6ae-d8351bc23717 2026-08-20 22:29:59,535 - DEBUG - Requesting: http://10.0.0.163:8082/project/0a6b1d7e-96da-49bf-974a-d0f37ad38b2a 2026-08-20 22:29:59,612 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/b54cb439-fb82-4472-95fc-3515492e7d7c 2026-08-20 22:29:59,629 - DEBUG - ==>Verifying data for policy with id: ea31e648-dc67-479d-9b96-03b3f7f754d0, fqn: ['default-domain', 'ctest-TestBasicPolicy-86132148', 'ctest-policy-allow-all-95160145'] 2026-08-20 22:29:59,629 - INFO - VN ctest-vn-39816754 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-20 22:29:59,629 - DEBUG - Verifying the vn in opserver 2026-08-20 22:29:59,629 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86132148:ctest-vn-39816754 virtual network link through opserver 10.0.0.163 2026-08-20 22:29:59,629 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-08-20 22:29:59,641 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86132148:ctest-vn-39816754', 'href': 'http://10.0.0.163:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86132148:ctest-vn-39816754?flat'} 2026-08-20 22:29:59,641 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86132148:ctest-vn-39816754 is found in opserver 2026-08-20 22:29:59,651 - DEBUG - Do not have enough data to verify VN in agent 2026-08-20 22:29:59,656 - DEBUG - VRF ids for VN ctest-vn-39816754: {} 2026-08-20 22:29:59,719 - DEBUG - Services list from nova: [, , ] 2026-08-20 22:30:00,224 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6196-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6196-1) 2026-08-20 22:30:00,691 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6196-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6196-1) 2026-08-20 22:30:00,691 - INFO - Waiting for VM ctest-TestBasicPolicy-86132148-23291359 to be up.. 2026-08-20 22:30:00,740 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 22:30:05,833 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 22:30:10,929 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 22:30:16,021 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 22:30:21,113 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 22:30:26,199 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 22:30:31,277 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 22:30:36,378 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 22:30:41,478 - DEBUG - VM is in ACTIVE state now 2026-08-20 22:30:41,478 - INFO - VM name : ctest-TestBasicPolicy-86132148-23291359 2026-08-20 22:30:41,586 - DEBUG - VM ctest-TestBasicPolicy-86132148-23291359 ID is c08a23dd-87e8-424f-ba73-8c52bd407128 2026-08-20 22:30:41,611 - DEBUG - VM ctest-TestBasicPolicy-86132148-23291359 launched on Node cn-jenkins-deploy-platform-ansible-os-6196-1 2026-08-20 22:30:41,689 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/c08a23dd-87e8-424f-ba73-8c52bd407128 2026-08-20 22:30:41,699 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/8d69aadc-0f52-4416-86e1-9cbd29df0f65 2026-08-20 22:30:44,959 - 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=11.2 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1005ms\r\nrtt min/avg/max/mdev = 11.241/11.241/11.241/0.000 ms') 2026-08-20 22:30:44,959 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86132148-23291359 passed 2026-08-20 22:30:45,119 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 22:30:45,119 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86132148-23291359, IP 93.248.106.3, Port 22 2026-08-20 22:30:45,291 - DEBUG - VM ctest-TestBasicPolicy-86132148-23291359 is ready for SSH connections 2026-08-20 22:30:45,291 - INFO - Waiting for VM ctest-TestBasicPolicy-86132148-01973768 to be up.. 2026-08-20 22:30:45,377 - DEBUG - VM is in ACTIVE state now 2026-08-20 22:30:45,377 - INFO - VM name : ctest-TestBasicPolicy-86132148-01973768 2026-08-20 22:30:45,468 - DEBUG - VM ctest-TestBasicPolicy-86132148-01973768 ID is dd82eaa3-d661-4399-bc30-6c666189f712 2026-08-20 22:30:45,469 - DEBUG - VM ctest-TestBasicPolicy-86132148-01973768 launched on Node cn-jenkins-deploy-platform-ansible-os-6196-1 2026-08-20 22:30:45,556 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/dd82eaa3-d661-4399-bc30-6c666189f712 2026-08-20 22:30:45,566 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/2693ad0c-a008-4ffd-9ec2-74b5debe2353 2026-08-20 22:30:46,820 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.62 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 = 2.623/3.688/4.753/1.065 ms') 2026-08-20 22:30:46,820 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-86132148-01973768 passed 2026-08-20 22:30:46,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 22:30:46,975 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86132148-01973768, IP 210.219.66.3, Port 22 2026-08-20 22:30:47,041 - 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-08-20 22:30:47,164 - DEBUG - VM ctest-TestBasicPolicy-86132148-01973768 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-20 22:30:52,165 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 22:30:52,165 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86132148-01973768, IP 210.219.66.3, Port 22 2026-08-20 22:30:52,333 - DEBUG - VM ctest-TestBasicPolicy-86132148-01973768 is ready for SSH connections 2026-08-20 22:30:52,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 22:30:52,333 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.219.66.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-08-20 22:30:52,333 - DEBUG - ping -s 56 -c 3 -W 1 210.219.66.3 2026-08-20 22:30:56,261 - DEBUG - PING 210.219.66.3 (210.219.66.3): 56 data bytes 64 bytes from 210.219.66.3: seq=0 ttl=63 time=3.998 ms 64 bytes from 210.219.66.3: seq=1 ttl=63 time=1.427 ms 64 bytes from 210.219.66.3: seq=2 ttl=63 time=0.934 ms --- 210.219.66.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.934/2.119/3.998 ms 2026-08-20 22:30:56,261 - INFO - Ping to IP 210.219.66.3 from VM ctest-TestBasicPolicy-86132148-23291359 passed 2026-08-20 22:30:56,442 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ea31e648-dc67-479d-9b96-03b3f7f754d0", "href": "http://10.0.0.163:8082/network-policy/ea31e648-dc67-479d-9b96-03b3f7f754d0"}} 2026-08-20 22:30:56,443 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 22:30:56,443 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.219.66.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-08-20 22:30:56,443 - DEBUG - ping -s 56 -c 3 -W 1 210.219.66.3 2026-08-20 22:30:59,571 - DEBUG - PING 210.219.66.3 (210.219.66.3): 56 data bytes 64 bytes from 210.219.66.3: seq=0 ttl=63 time=1.803 ms --- 210.219.66.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.803/1.803/1.803 ms 2026-08-20 22:30:59,572 - WARNING - Ping to IP 210.219.66.3 from VM ctest-TestBasicPolicy-86132148-23291359 failed 2026-08-20 22:30:59,572 - INFO - Deleting VM ctest-TestBasicPolicy-86132148-01973768 2026-08-20 22:30:59,643 - INFO - Deleting VM ctest-TestBasicPolicy-86132148-23291359 2026-08-20 22:31:00,055 - INFO - Deleted policy ctest-policy-allow-all-95160145 2026-08-20 22:31:00,055 - INFO - Deleting VN ctest-vn-39816754 2026-08-20 22:31:00,093 - DEBUG - VN b54cb439-fb82-4472-95fc-3515492e7d7c still in use: Unable to complete operation on network b54cb439-fb82-4472-95fc-3515492e7d7c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d90502fa-afd6-4b60-a243-b523ac4fb320'] 2026-08-20 22:31:00,093 - WARNING - Deleting VN ctest-vn-39816754 failed..Will retry 2026-08-20 22:31:02,228 - DEBUG - Response for deleting network () 2026-08-20 22:31:02,228 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/85ecd710-381e-48a0-8d30-521422d892d8 2026-08-20 22:31:02,239 - DEBUG - Response Code: 404 2026-08-20 22:31:02,239 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-08-20 22:31:02,247 - DEBUG - Requesting: http://10.0.0.163:8082/domain/1c62434c-28df-40ec-b6ae-d8351bc23717 2026-08-20 22:31:02,300 - DEBUG - Requesting: http://10.0.0.163:8082/project/0a6b1d7e-96da-49bf-974a-d0f37ad38b2a 2026-08-20 22:31:02,388 - INFO - Validated that VN ctest-vn-39816754 is not found in API Server 2026-08-20 22:31:02,401 - DEBUG - VN ctest-vn-39816754 is not present in Agent 10.0.0.163 2026-08-20 22:31:02,401 - INFO - Validated that VN ctest-vn-39816754 is not in any agent 2026-08-20 22:31:02,419 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39816754 info 2026-08-20 22:31:02,419 - INFO - Deleting VN ctest-vn-95056109 2026-08-20 22:31:02,555 - DEBUG - Response for deleting network () 2026-08-20 22:31:02,555 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/40871594-01f9-4c13-bf87-5f7d186bdc14 2026-08-20 22:31:02,566 - DEBUG - Response Code: 404 2026-08-20 22:31:02,566 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-08-20 22:31:02,574 - DEBUG - Requesting: http://10.0.0.163:8082/domain/1c62434c-28df-40ec-b6ae-d8351bc23717 2026-08-20 22:31:02,633 - DEBUG - Requesting: http://10.0.0.163:8082/project/0a6b1d7e-96da-49bf-974a-d0f37ad38b2a 2026-08-20 22:31:02,714 - INFO - Validated that VN ctest-vn-95056109 is not found in API Server 2026-08-20 22:31:02,725 - DEBUG - VN ctest-vn-95056109 is not present in Agent 10.0.0.163 2026-08-20 22:31:02,725 - INFO - Validated that VN ctest-vn-95056109 is not in any agent 2026-08-20 22:31:02,743 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95056109 info 2026-08-20 22:31:03,008 - DEBUG - No XMPP flaps were noticed during the test 2026-08-20 22:31:03,008 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:08] 2026-08-20 22:31:03,008 - INFO - -------------------------------------------------------------------------------- 2026-08-20 22:31:03,761 - INFO - Deleted project: ctest-TestBasicPolicy-86132148, ID : 0a6b1d7e-96da-49bf-974a-d0f37ad38b2a