2026-03-10 16:20:38,980 - INFO - Domain Default found not creating 2026-03-10 16:20:39,217 - INFO - Project ctest-TestBasicPolicy-46607857 not found, creating it 2026-03-10 16:20:40,135 - INFO - Created Project:ctest-TestBasicPolicy-46607857, ID : e42c7d52-cfa0-4aad-b54b-66e1f51c1668 2026-03-10 16:20:41,884 - INFO - ================================================================================ 2026-03-10 16:20:41,884 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-10 16:20:41,884 - 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-03-10 16:20:42,146 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2026-03-10 16:20:42,146 - INFO - Initial checks done. Running the testcase now 2026-03-10 16:20:42,146 - INFO - 2026-03-10 16:20:42,866 - DEBUG - Response for create_network : {'network': {'id': '44889e34-9b21-42c1-91a0-2dd6d836e90d', 'name': 'ctest-vn-81865064', 'tenant_id': 'e42c7d52cfa04aadb54b66e1f51c1668', 'project_id': 'e42c7d52cfa04aadb54b66e1f51c1668', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46607857', 'ctest-vn-81865064'], 'port_security_enabled': True, 'description': ''}} 2026-03-10 16:20:43,060 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e5c5c43a-38fe-4614-85ef-0e21bd22a481', 'name': '', 'tenant_id': 'e42c7d52cfa04aadb54b66e1f51c1668', 'network_id': '44889e34-9b21-42c1-91a0-2dd6d836e90d', 'ip_version': 4, 'cidr': '70.208.140.64/26', 'allocation_pools': [{'start': '70.208.140.66', 'end': '70.208.140.126'}], 'gateway_ip': '70.208.140.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.208.140.66', 'tags': [], 'project_id': 'e42c7d52cfa04aadb54b66e1f51c1668'}} 2026-03-10 16:20:43,089 - INFO - Created VN ctest-vn-81865064 2026-03-10 16:20:43,146 - DEBUG - VN ctest-vn-81865064 UUID is 44889e34-9b21-42c1-91a0-2dd6d836e90d 2026-03-10 16:20:43,508 - DEBUG - Response for create_network : {'network': {'id': '3588781c-69ab-45db-82cd-755e151a2d1d', 'name': 'ctest-vn-27970686', 'tenant_id': 'e42c7d52cfa04aadb54b66e1f51c1668', 'project_id': 'e42c7d52cfa04aadb54b66e1f51c1668', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46607857', 'ctest-vn-27970686'], 'port_security_enabled': True, 'description': ''}} 2026-03-10 16:20:43,742 - DEBUG - Response for create_subnet : {'subnet': {'id': '2f9c1484-ede8-41bf-90ef-1dc0e4e95687', 'name': '', 'tenant_id': 'e42c7d52cfa04aadb54b66e1f51c1668', 'network_id': '3588781c-69ab-45db-82cd-755e151a2d1d', 'ip_version': 4, 'cidr': '210.215.244.64/26', 'allocation_pools': [{'start': '210.215.244.66', 'end': '210.215.244.126'}], 'gateway_ip': '210.215.244.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.215.244.66', 'tags': [], 'project_id': 'e42c7d52cfa04aadb54b66e1f51c1668'}} 2026-03-10 16:20:43,763 - INFO - Created VN ctest-vn-27970686 2026-03-10 16:20:43,818 - DEBUG - VN ctest-vn-27970686 UUID is 3588781c-69ab-45db-82cd-755e151a2d1d 2026-03-10 16:20:43,951 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-46607857:ctest-vn-81865064, 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-46607857:ctest-vn-27970686, 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-03-10 16:20:44,306 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '44889e34-9b21-42c1-91a0-2dd6d836e90d', 'name': 'ctest-vn-81865064', 'tenant_id': 'e42c7d52cfa04aadb54b66e1f51c1668', 'project_id': 'e42c7d52cfa04aadb54b66e1f51c1668', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e5c5c43a-38fe-4614-85ef-0e21bd22a481'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46607857', 'ctest-vn-81865064'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46607857', 'ctest-policy-allow-all-03746618']], 'subnet_ipam': [{'subnet_cidr': '70.208.140.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-10 16:20:44,564 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3588781c-69ab-45db-82cd-755e151a2d1d', 'name': 'ctest-vn-27970686', 'tenant_id': 'e42c7d52cfa04aadb54b66e1f51c1668', 'project_id': 'e42c7d52cfa04aadb54b66e1f51c1668', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2f9c1484-ede8-41bf-90ef-1dc0e4e95687'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46607857', 'ctest-vn-27970686'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46607857', 'ctest-policy-allow-all-03746618']], 'subnet_ipam': [{'subnet_cidr': '210.215.244.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-10 16:20:44,742 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-10 16:20:45,054 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-10 16:20:45,095 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2d3fa50d-585e-4028-9b7c-28efb1bdf66c 2026-03-10 16:20:45,109 - DEBUG - Requesting: http://10.0.0.38:8082/project/e42c7d52-cfa0-4aad-b54b-66e1f51c1668 2026-03-10 16:20:45,190 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44889e34-9b21-42c1-91a0-2dd6d836e90d 2026-03-10 16:20:45,206 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44889e34-9b21-42c1-91a0-2dd6d836e90d 2026-03-10 16:20:45,221 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c2c208d-0136-4dbe-bb30-0910c3c54c35 2026-03-10 16:20:45,233 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c2c208d-0136-4dbe-bb30-0910c3c54c35 2026-03-10 16:20:45,244 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/821fb483-a10a-4c57-a4c4-3177629f01ad 2026-03-10 16:20:45,252 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-10 16:20:45,252 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44889e34-9b21-42c1-91a0-2dd6d836e90d 2026-03-10 16:20:45,263 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c2c208d-0136-4dbe-bb30-0910c3c54c35 2026-03-10 16:20:45,282 - INFO - Verified VN network id 11 for VN 44889e34-9b21-42c1-91a0-2dd6d836e90d 2026-03-10 16:20:45,282 - INFO - Verifications in API Server for VN ctest-vn-81865064 passed 2026-03-10 16:20:45,282 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44889e34-9b21-42c1-91a0-2dd6d836e90d 2026-03-10 16:20:45,292 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c2c208d-0136-4dbe-bb30-0910c3c54c35 2026-03-10 16:20:45,301 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c2c208d-0136-4dbe-bb30-0910c3c54c35 2026-03-10 16:20:45,311 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/821fb483-a10a-4c57-a4c4-3177629f01ad 2026-03-10 16:20:45,323 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46607857:ctest-vn-81865064', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46607857', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4938370940189885121', 'uuid-lslong': '10493437532546984205'}, 'enable': 'true', 'created': '2026-03-10T16:20:42', 'last-modified': '2026-03-10T16:20:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.048948'} 2026-03-10 16:20:45,331 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-10 16:20:45,331 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81865064 passed 2026-03-10 16:20:45,332 - DEBUG - ====Verifying policy data for ctest-vn-81865064 in API_Server ====== 2026-03-10 16:20:45,332 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-10 16:20:45,338 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2d3fa50d-585e-4028-9b7c-28efb1bdf66c 2026-03-10 16:20:45,350 - DEBUG - Requesting: http://10.0.0.38:8082/project/e42c7d52-cfa0-4aad-b54b-66e1f51c1668 2026-03-10 16:20:45,419 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44889e34-9b21-42c1-91a0-2dd6d836e90d 2026-03-10 16:20:45,432 - DEBUG - ==>Verifying data for policy with id: 30f083f4-9b67-460c-bf97-8f6f50d9002a, fqn: ['default-domain', 'ctest-TestBasicPolicy-46607857', 'ctest-policy-allow-all-03746618'] 2026-03-10 16:20:45,432 - INFO - VN ctest-vn-81865064 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-10 16:20:45,432 - DEBUG - Verifying the vn in opserver 2026-03-10 16:20:45,432 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46607857:ctest-vn-81865064 virtual network link through opserver 10.0.0.38 2026-03-10 16:20:45,432 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-10 16:20:45,733 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-10 16:20:45,808 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46607857:ctest-vn-81865064', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46607857:ctest-vn-81865064?flat'} 2026-03-10 16:20:45,808 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46607857:ctest-vn-81865064 is found in opserver 2026-03-10 16:20:45,819 - DEBUG - Do not have enough data to verify VN in agent 2026-03-10 16:20:45,825 - DEBUG - VRF ids for VN ctest-vn-81865064: {} 2026-03-10 16:20:45,825 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-10 16:20:45,832 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2d3fa50d-585e-4028-9b7c-28efb1bdf66c 2026-03-10 16:20:45,846 - DEBUG - Requesting: http://10.0.0.38:8082/project/e42c7d52-cfa0-4aad-b54b-66e1f51c1668 2026-03-10 16:20:45,924 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3588781c-69ab-45db-82cd-755e151a2d1d 2026-03-10 16:20:45,937 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3588781c-69ab-45db-82cd-755e151a2d1d 2026-03-10 16:20:45,948 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75468433-6f19-4ea1-9236-2bb5d30d9588 2026-03-10 16:20:45,956 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75468433-6f19-4ea1-9236-2bb5d30d9588 2026-03-10 16:20:45,964 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a656c34c-f57e-4751-a6cc-30107c9d04e6 2026-03-10 16:20:45,972 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-10 16:20:45,972 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3588781c-69ab-45db-82cd-755e151a2d1d 2026-03-10 16:20:45,982 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75468433-6f19-4ea1-9236-2bb5d30d9588 2026-03-10 16:20:45,999 - INFO - Verified VN network id 12 for VN 3588781c-69ab-45db-82cd-755e151a2d1d 2026-03-10 16:20:45,999 - INFO - Verifications in API Server for VN ctest-vn-27970686 passed 2026-03-10 16:20:45,999 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3588781c-69ab-45db-82cd-755e151a2d1d 2026-03-10 16:20:46,010 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75468433-6f19-4ea1-9236-2bb5d30d9588 2026-03-10 16:20:46,019 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75468433-6f19-4ea1-9236-2bb5d30d9588 2026-03-10 16:20:46,029 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a656c34c-f57e-4751-a6cc-30107c9d04e6 2026-03-10 16:20:46,044 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46607857:ctest-vn-27970686', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46607857', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3857465144270079451', 'uuid-lslong': '9425318642097728797'}, 'enable': 'true', 'created': '2026-03-10T16:20:43', 'last-modified': '2026-03-10T16:20:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.499570'} 2026-03-10 16:20:46,051 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-10 16:20:46,051 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27970686 passed 2026-03-10 16:20:46,051 - DEBUG - ====Verifying policy data for ctest-vn-27970686 in API_Server ====== 2026-03-10 16:20:46,051 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-10 16:20:46,058 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2d3fa50d-585e-4028-9b7c-28efb1bdf66c 2026-03-10 16:20:46,072 - DEBUG - Requesting: http://10.0.0.38:8082/project/e42c7d52-cfa0-4aad-b54b-66e1f51c1668 2026-03-10 16:20:46,155 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3588781c-69ab-45db-82cd-755e151a2d1d 2026-03-10 16:20:46,167 - DEBUG - ==>Verifying data for policy with id: 30f083f4-9b67-460c-bf97-8f6f50d9002a, fqn: ['default-domain', 'ctest-TestBasicPolicy-46607857', 'ctest-policy-allow-all-03746618'] 2026-03-10 16:20:46,167 - INFO - VN ctest-vn-27970686 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-10 16:20:46,167 - DEBUG - Verifying the vn in opserver 2026-03-10 16:20:46,167 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46607857:ctest-vn-27970686 virtual network link through opserver 10.0.0.38 2026-03-10 16:20:46,167 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-10 16:20:46,182 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46607857:ctest-vn-27970686', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46607857:ctest-vn-27970686?flat'} 2026-03-10 16:20:46,182 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46607857:ctest-vn-27970686 is found in opserver 2026-03-10 16:20:46,196 - DEBUG - Do not have enough data to verify VN in agent 2026-03-10 16:20:46,202 - DEBUG - VRF ids for VN ctest-vn-27970686: {} 2026-03-10 16:20:46,275 - DEBUG - Services list from nova: [, , ] 2026-03-10 16:20:47,418 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5457-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5457-1) 2026-03-10 16:20:48,775 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5457-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5457-1) 2026-03-10 16:20:48,775 - INFO - Waiting for VM ctest-TestBasicPolicy-46607857-68429619 to be up.. 2026-03-10 16:20:48,913 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-10 16:20:54,017 - DEBUG - VM is in ACTIVE state now 2026-03-10 16:20:54,017 - INFO - VM name : ctest-TestBasicPolicy-46607857-68429619 2026-03-10 16:20:54,121 - DEBUG - VM ctest-TestBasicPolicy-46607857-68429619 ID is 884bbfe8-3990-4a3c-8150-6643c5efdaf2 2026-03-10 16:20:54,142 - DEBUG - VM ctest-TestBasicPolicy-46607857-68429619 launched on Node cn-jenkins-deploy-platform-ansible-os-5457-1 2026-03-10 16:20:54,234 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/884bbfe8-3990-4a3c-8150-6643c5efdaf2 2026-03-10 16:20:54,245 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/78e29690-0cc3-4e54-bc9b-0a40c160bcc7 2026-03-10 16:20:57,471 - 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 1022ms') 2026-03-10 16:20:57,472 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46607857-68429619 failed! 2026-03-10 16:20:57,534 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-46607857:ctest-vn-81865064 is 70.208.140.65 and allocation pool is NOT set 2026-03-10 16:20:59,601 - 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=8.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.30 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 = 1.304/5.088/8.873/3.784 ms') 2026-03-10 16:20:59,601 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46607857-68429619 passed 2026-03-10 16:20:59,758 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-10 16:20:59,758 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46607857-68429619, IP 70.208.140.67, Port 22 2026-03-10 16:20:59,934 - DEBUG - VM ctest-TestBasicPolicy-46607857-68429619 is ready for SSH connections 2026-03-10 16:20:59,934 - INFO - Waiting for VM ctest-TestBasicPolicy-46607857-09355631 to be up.. 2026-03-10 16:21:00,058 - DEBUG - VM is in ACTIVE state now 2026-03-10 16:21:00,058 - INFO - VM name : ctest-TestBasicPolicy-46607857-09355631 2026-03-10 16:21:00,150 - DEBUG - VM ctest-TestBasicPolicy-46607857-09355631 ID is cc60aa64-b581-4e70-a955-88e76317ce06 2026-03-10 16:21:00,150 - DEBUG - VM ctest-TestBasicPolicy-46607857-09355631 launched on Node cn-jenkins-deploy-platform-ansible-os-5457-1 2026-03-10 16:21:00,242 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cc60aa64-b581-4e70-a955-88e76317ce06 2026-03-10 16:21:00,254 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/82729aa0-0749-4c53-8b53-405fda794258 2026-03-10 16:21:01,529 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.81 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 = 2.814/3.908/5.002/1.094 ms') 2026-03-10 16:21:01,529 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-46607857-09355631 passed 2026-03-10 16:21:01,690 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-10 16:21:01,690 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46607857-09355631, IP 210.215.244.67, Port 22 2026-03-10 16:21:01,873 - DEBUG - VM ctest-TestBasicPolicy-46607857-09355631 is ready for SSH connections 2026-03-10 16:21:01,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-10 16:21:01,873 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.215.244.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-10 16:21:01,874 - DEBUG - ping -s 56 -c 3 -W 1 210.215.244.67 2026-03-10 16:21:06,128 - DEBUG - PING 210.215.244.67 (210.215.244.67): 56 data bytes 64 bytes from 210.215.244.67: seq=0 ttl=63 time=4.224 ms 64 bytes from 210.215.244.67: seq=1 ttl=63 time=0.953 ms 64 bytes from 210.215.244.67: seq=2 ttl=63 time=1.110 ms --- 210.215.244.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.953/2.095/4.224 ms 2026-03-10 16:21:06,128 - INFO - Ping to IP 210.215.244.67 from VM ctest-TestBasicPolicy-46607857-68429619 passed 2026-03-10 16:21:06,330 - DEBUG - Policy Update Response {"network-policy": {"uuid": "30f083f4-9b67-460c-bf97-8f6f50d9002a", "href": "http://10.0.0.38:8082/network-policy/30f083f4-9b67-460c-bf97-8f6f50d9002a"}} 2026-03-10 16:21:06,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-10 16:21:06,330 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.215.244.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-10 16:21:06,331 - DEBUG - ping -s 56 -c 3 -W 1 210.215.244.67 2026-03-10 16:21:09,575 - DEBUG - PING 210.215.244.67 (210.215.244.67): 56 data bytes --- 210.215.244.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-10 16:21:09,575 - WARNING - Ping to IP 210.215.244.67 from VM ctest-TestBasicPolicy-46607857-68429619 failed 2026-03-10 16:21:09,575 - INFO - Deleting VM ctest-TestBasicPolicy-46607857-09355631 2026-03-10 16:21:09,676 - INFO - Deleting VM ctest-TestBasicPolicy-46607857-68429619 2026-03-10 16:21:10,188 - INFO - Deleted policy ctest-policy-allow-all-03746618 2026-03-10 16:21:10,189 - INFO - Deleting VN ctest-vn-27970686 2026-03-10 16:21:10,240 - DEBUG - VN 3588781c-69ab-45db-82cd-755e151a2d1d still in use: Unable to complete operation on network 3588781c-69ab-45db-82cd-755e151a2d1d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-77e85f8c-601e-483d-849d-dd4c7afb30fa'] 2026-03-10 16:21:10,240 - WARNING - Deleting VN ctest-vn-27970686 failed..Will retry 2026-03-10 16:21:12,367 - DEBUG - Response for deleting network () 2026-03-10 16:21:12,367 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75468433-6f19-4ea1-9236-2bb5d30d9588 2026-03-10 16:21:12,380 - DEBUG - Response Code: 404 2026-03-10 16:21:12,380 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-10 16:21:12,387 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2d3fa50d-585e-4028-9b7c-28efb1bdf66c 2026-03-10 16:21:12,443 - DEBUG - Requesting: http://10.0.0.38:8082/project/e42c7d52-cfa0-4aad-b54b-66e1f51c1668 2026-03-10 16:21:12,524 - INFO - Validated that VN ctest-vn-27970686 is not found in API Server 2026-03-10 16:21:12,537 - DEBUG - VN ctest-vn-27970686 is not present in Agent 10.0.0.38 2026-03-10 16:21:12,537 - INFO - Validated that VN ctest-vn-27970686 is not in any agent 2026-03-10 16:21:12,555 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27970686 info 2026-03-10 16:21:12,555 - INFO - Deleting VN ctest-vn-81865064 2026-03-10 16:21:12,682 - DEBUG - Response for deleting network () 2026-03-10 16:21:12,682 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c2c208d-0136-4dbe-bb30-0910c3c54c35 2026-03-10 16:21:12,690 - DEBUG - Response Code: 404 2026-03-10 16:21:12,690 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-10 16:21:12,698 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2d3fa50d-585e-4028-9b7c-28efb1bdf66c 2026-03-10 16:21:12,756 - DEBUG - Requesting: http://10.0.0.38:8082/project/e42c7d52-cfa0-4aad-b54b-66e1f51c1668 2026-03-10 16:21:12,842 - INFO - Validated that VN ctest-vn-81865064 is not found in API Server 2026-03-10 16:21:12,855 - DEBUG - VN ctest-vn-81865064 is not present in Agent 10.0.0.38 2026-03-10 16:21:12,855 - INFO - Validated that VN ctest-vn-81865064 is not in any agent 2026-03-10 16:21:12,872 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81865064 info 2026-03-10 16:21:13,153 - DEBUG - No XMPP flaps were noticed during the test 2026-03-10 16:21:13,154 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:32] 2026-03-10 16:21:13,154 - INFO - -------------------------------------------------------------------------------- 2026-03-10 16:21:13,881 - INFO - Deleted project: ctest-TestBasicPolicy-46607857, ID : e42c7d52-cfa0-4aad-b54b-66e1f51c1668