2026-06-20 01:23:58,558 - INFO - Domain Default found not creating 2026-06-20 01:23:58,688 - INFO - Project ctest-TestBasicPolicy-72114084 not found, creating it 2026-06-20 01:23:59,151 - INFO - Created Project:ctest-TestBasicPolicy-72114084, ID : d2af5210-44b6-4372-8799-477ac65caf80 2026-06-20 01:24:00,558 - INFO - ================================================================================ 2026-06-20 01:24:00,558 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-20 01:24:00,558 - 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-06-20 01:24:00,811 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with 2026-06-20 01:24:00,811 - INFO - Initial checks done. Running the testcase now 2026-06-20 01:24:00,811 - INFO - 2026-06-20 01:24:01,345 - DEBUG - Response for create_network : {'network': {'id': 'e3f06510-62a2-4ce7-9d50-7fcc88d3f6af', 'name': 'ctest-vn-81361611', 'tenant_id': 'd2af521044b643728799477ac65caf80', 'project_id': 'd2af521044b643728799477ac65caf80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72114084', 'ctest-vn-81361611'], 'port_security_enabled': True, 'description': ''}} 2026-06-20 01:24:01,490 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8b8df8a-7bf5-456d-88f8-66d24456eafe', 'name': '', 'tenant_id': 'd2af521044b643728799477ac65caf80', 'network_id': 'e3f06510-62a2-4ce7-9d50-7fcc88d3f6af', 'ip_version': 4, 'cidr': '121.159.47.128/26', 'allocation_pools': [{'start': '121.159.47.130', 'end': '121.159.47.190'}], 'gateway_ip': '121.159.47.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.159.47.130', 'tags': [], 'project_id': 'd2af521044b643728799477ac65caf80'}} 2026-06-20 01:24:01,504 - INFO - Created VN ctest-vn-81361611 2026-06-20 01:24:01,553 - DEBUG - VN ctest-vn-81361611 UUID is e3f06510-62a2-4ce7-9d50-7fcc88d3f6af 2026-06-20 01:24:01,857 - DEBUG - Response for create_network : {'network': {'id': 'd0deff0e-b718-4a6d-8b62-21ffea5b9a3b', 'name': 'ctest-vn-35186344', 'tenant_id': 'd2af521044b643728799477ac65caf80', 'project_id': 'd2af521044b643728799477ac65caf80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72114084', 'ctest-vn-35186344'], 'port_security_enabled': True, 'description': ''}} 2026-06-20 01:24:02,066 - DEBUG - Response for create_subnet : {'subnet': {'id': '341267b8-bdad-480f-a1c4-3ccb480b4ebf', 'name': '', 'tenant_id': 'd2af521044b643728799477ac65caf80', 'network_id': 'd0deff0e-b718-4a6d-8b62-21ffea5b9a3b', 'ip_version': 4, 'cidr': '222.44.231.0/26', 'allocation_pools': [{'start': '222.44.231.2', 'end': '222.44.231.62'}], 'gateway_ip': '222.44.231.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.44.231.2', 'tags': [], 'project_id': 'd2af521044b643728799477ac65caf80'}} 2026-06-20 01:24:02,080 - INFO - Created VN ctest-vn-35186344 2026-06-20 01:24:02,129 - DEBUG - VN ctest-vn-35186344 UUID is d0deff0e-b718-4a6d-8b62-21ffea5b9a3b 2026-06-20 01:24:02,265 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-72114084:ctest-vn-81361611, 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-72114084:ctest-vn-35186344, 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-06-20 01:24:02,541 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e3f06510-62a2-4ce7-9d50-7fcc88d3f6af', 'name': 'ctest-vn-81361611', 'tenant_id': 'd2af521044b643728799477ac65caf80', 'project_id': 'd2af521044b643728799477ac65caf80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f8b8df8a-7bf5-456d-88f8-66d24456eafe'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72114084', 'ctest-vn-81361611'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72114084', 'ctest-policy-allow-all-06396777']], 'subnet_ipam': [{'subnet_cidr': '121.159.47.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-20 01:24:02,746 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd0deff0e-b718-4a6d-8b62-21ffea5b9a3b', 'name': 'ctest-vn-35186344', 'tenant_id': 'd2af521044b643728799477ac65caf80', 'project_id': 'd2af521044b643728799477ac65caf80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['341267b8-bdad-480f-a1c4-3ccb480b4ebf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72114084', 'ctest-vn-35186344'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72114084', 'ctest-policy-allow-all-06396777']], 'subnet_ipam': [{'subnet_cidr': '222.44.231.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-20 01:24:02,909 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-20 01:24:03,225 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-20 01:24:03,247 - DEBUG - Requesting: http://10.0.0.19:8082/domain/ffeb8130-d1cb-4e59-98ba-1731818c45d2 2026-06-20 01:24:03,258 - DEBUG - Requesting: http://10.0.0.19:8082/project/d2af5210-44b6-4372-8799-477ac65caf80 2026-06-20 01:24:03,327 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e3f06510-62a2-4ce7-9d50-7fcc88d3f6af 2026-06-20 01:24:03,338 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e3f06510-62a2-4ce7-9d50-7fcc88d3f6af 2026-06-20 01:24:03,347 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/107f0ea2-1b84-49d6-8ae2-078fee2e9fe0 2026-06-20 01:24:03,353 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/107f0ea2-1b84-49d6-8ae2-078fee2e9fe0 2026-06-20 01:24:03,359 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/647fad0b-fedb-4311-9825-8bc27f2611b2 2026-06-20 01:24:03,365 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-20 01:24:03,365 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e3f06510-62a2-4ce7-9d50-7fcc88d3f6af 2026-06-20 01:24:03,372 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/107f0ea2-1b84-49d6-8ae2-078fee2e9fe0 2026-06-20 01:24:03,383 - INFO - Verified VN network id 11 for VN e3f06510-62a2-4ce7-9d50-7fcc88d3f6af 2026-06-20 01:24:03,383 - INFO - Verifications in API Server for VN ctest-vn-81361611 passed 2026-06-20 01:24:03,383 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e3f06510-62a2-4ce7-9d50-7fcc88d3f6af 2026-06-20 01:24:03,390 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/107f0ea2-1b84-49d6-8ae2-078fee2e9fe0 2026-06-20 01:24:03,395 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/107f0ea2-1b84-49d6-8ae2-078fee2e9fe0 2026-06-20 01:24:03,401 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/647fad0b-fedb-4311-9825-8bc27f2611b2 2026-06-20 01:24:03,410 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72114084:ctest-vn-81361611', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72114084', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16424738962068884711', 'uuid-lslong': '11335700778537186991'}, 'enable': 'true', 'created': '2026-06-20T01:24:01', 'last-modified': '2026-06-20T01:24:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.885351'} 2026-06-20 01:24:03,415 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-20 01:24:03,415 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81361611 passed 2026-06-20 01:24:03,415 - DEBUG - ====Verifying policy data for ctest-vn-81361611 in API_Server ====== 2026-06-20 01:24:03,415 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-20 01:24:03,419 - DEBUG - Requesting: http://10.0.0.19:8082/domain/ffeb8130-d1cb-4e59-98ba-1731818c45d2 2026-06-20 01:24:03,428 - DEBUG - Requesting: http://10.0.0.19:8082/project/d2af5210-44b6-4372-8799-477ac65caf80 2026-06-20 01:24:03,494 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e3f06510-62a2-4ce7-9d50-7fcc88d3f6af 2026-06-20 01:24:03,503 - DEBUG - ==>Verifying data for policy with id: d350f1c8-43ba-4204-ad6b-4e7031e1ba36, fqn: ['default-domain', 'ctest-TestBasicPolicy-72114084', 'ctest-policy-allow-all-06396777'] 2026-06-20 01:24:03,503 - INFO - VN ctest-vn-81361611 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-20 01:24:03,503 - DEBUG - Verifying the vn in opserver 2026-06-20 01:24:03,503 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72114084:ctest-vn-81361611 virtual network link through opserver 10.0.0.19 2026-06-20 01:24:03,503 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-06-20 01:24:03,823 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-06-20 01:24:03,873 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72114084:ctest-vn-81361611', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72114084:ctest-vn-81361611?flat'} 2026-06-20 01:24:03,873 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72114084:ctest-vn-81361611 is found in opserver 2026-06-20 01:24:03,882 - DEBUG - Do not have enough data to verify VN in agent 2026-06-20 01:24:03,885 - DEBUG - VRF ids for VN ctest-vn-81361611: {} 2026-06-20 01:24:03,885 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-20 01:24:03,890 - DEBUG - Requesting: http://10.0.0.19:8082/domain/ffeb8130-d1cb-4e59-98ba-1731818c45d2 2026-06-20 01:24:03,900 - DEBUG - Requesting: http://10.0.0.19:8082/project/d2af5210-44b6-4372-8799-477ac65caf80 2026-06-20 01:24:03,968 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d0deff0e-b718-4a6d-8b62-21ffea5b9a3b 2026-06-20 01:24:03,978 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d0deff0e-b718-4a6d-8b62-21ffea5b9a3b 2026-06-20 01:24:03,986 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/715a2ea7-5254-4717-8cdc-530f2238d7f0 2026-06-20 01:24:03,992 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/715a2ea7-5254-4717-8cdc-530f2238d7f0 2026-06-20 01:24:03,999 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/9f678df5-c0c6-4944-b66e-d984b743274d 2026-06-20 01:24:04,005 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-20 01:24:04,005 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d0deff0e-b718-4a6d-8b62-21ffea5b9a3b 2026-06-20 01:24:04,014 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/715a2ea7-5254-4717-8cdc-530f2238d7f0 2026-06-20 01:24:04,027 - INFO - Verified VN network id 12 for VN d0deff0e-b718-4a6d-8b62-21ffea5b9a3b 2026-06-20 01:24:04,027 - INFO - Verifications in API Server for VN ctest-vn-35186344 passed 2026-06-20 01:24:04,027 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d0deff0e-b718-4a6d-8b62-21ffea5b9a3b 2026-06-20 01:24:04,035 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/715a2ea7-5254-4717-8cdc-530f2238d7f0 2026-06-20 01:24:04,042 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/715a2ea7-5254-4717-8cdc-530f2238d7f0 2026-06-20 01:24:04,049 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/9f678df5-c0c6-4944-b66e-d984b743274d 2026-06-20 01:24:04,058 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72114084:ctest-vn-35186344', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72114084', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15050747443385223789', 'uuid-lslong': '10043627502021876283'}, 'enable': 'true', 'created': '2026-06-20T01:24:01', 'last-modified': '2026-06-20T01:24:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.331660'} 2026-06-20 01:24:04,065 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-20 01:24:04,065 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35186344 passed 2026-06-20 01:24:04,065 - DEBUG - ====Verifying policy data for ctest-vn-35186344 in API_Server ====== 2026-06-20 01:24:04,065 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-20 01:24:04,070 - DEBUG - Requesting: http://10.0.0.19:8082/domain/ffeb8130-d1cb-4e59-98ba-1731818c45d2 2026-06-20 01:24:04,080 - DEBUG - Requesting: http://10.0.0.19:8082/project/d2af5210-44b6-4372-8799-477ac65caf80 2026-06-20 01:24:04,148 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d0deff0e-b718-4a6d-8b62-21ffea5b9a3b 2026-06-20 01:24:04,156 - DEBUG - ==>Verifying data for policy with id: d350f1c8-43ba-4204-ad6b-4e7031e1ba36, fqn: ['default-domain', 'ctest-TestBasicPolicy-72114084', 'ctest-policy-allow-all-06396777'] 2026-06-20 01:24:04,156 - INFO - VN ctest-vn-35186344 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-20 01:24:04,156 - DEBUG - Verifying the vn in opserver 2026-06-20 01:24:04,156 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72114084:ctest-vn-35186344 virtual network link through opserver 10.0.0.19 2026-06-20 01:24:04,156 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-06-20 01:24:04,164 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72114084:ctest-vn-35186344', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72114084:ctest-vn-35186344?flat'} 2026-06-20 01:24:04,164 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72114084:ctest-vn-35186344 is found in opserver 2026-06-20 01:24:04,172 - DEBUG - Do not have enough data to verify VN in agent 2026-06-20 01:24:04,175 - DEBUG - VRF ids for VN ctest-vn-35186344: {} 2026-06-20 01:24:04,222 - DEBUG - Services list from nova: [, , ] 2026-06-20 01:24:05,221 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6010-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6010-1) 2026-06-20 01:24:06,247 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6010-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6010-1) 2026-06-20 01:24:06,248 - INFO - Waiting for VM ctest-TestBasicPolicy-72114084-84244640 to be up.. 2026-06-20 01:24:06,298 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-20 01:24:11,364 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-20 01:24:16,461 - DEBUG - VM is in ACTIVE state now 2026-06-20 01:24:16,461 - INFO - VM name : ctest-TestBasicPolicy-72114084-84244640 2026-06-20 01:24:16,529 - DEBUG - VM ctest-TestBasicPolicy-72114084-84244640 ID is c17f8437-6374-4b88-8569-c30322655d5e 2026-06-20 01:24:16,548 - DEBUG - VM ctest-TestBasicPolicy-72114084-84244640 launched on Node cn-jenkins-deploy-platform-ansible-os-6010-1 2026-06-20 01:24:16,612 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/c17f8437-6374-4b88-8569-c30322655d5e 2026-06-20 01:24:16,619 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/c2c02855-9203-4c74-8bec-43dfe00529bf 2026-06-20 01:24:19,895 - 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 1024ms') 2026-06-20 01:24:19,895 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72114084-84244640 failed! 2026-06-20 01:24:19,949 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72114084:ctest-vn-81361611 is 121.159.47.129 and allocation pool is NOT set 2026-06-20 01:24:22,007 - 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=4.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.422 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 = 0.422/2.337/4.252/1.915 ms') 2026-06-20 01:24:22,007 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72114084-84244640 passed 2026-06-20 01:24:22,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-20 01:24:22,154 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72114084-84244640, IP 121.159.47.131, Port 22 2026-06-20 01:24:22,309 - DEBUG - VM ctest-TestBasicPolicy-72114084-84244640 is ready for SSH connections 2026-06-20 01:24:22,309 - INFO - Waiting for VM ctest-TestBasicPolicy-72114084-94905609 to be up.. 2026-06-20 01:24:22,377 - DEBUG - VM is in ACTIVE state now 2026-06-20 01:24:22,377 - INFO - VM name : ctest-TestBasicPolicy-72114084-94905609 2026-06-20 01:24:22,448 - DEBUG - VM ctest-TestBasicPolicy-72114084-94905609 ID is 6b4ecfca-7f6a-46a5-a409-c08c2c92a442 2026-06-20 01:24:22,448 - DEBUG - VM ctest-TestBasicPolicy-72114084-94905609 launched on Node cn-jenkins-deploy-platform-ansible-os-6010-1 2026-06-20 01:24:22,509 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/6b4ecfca-7f6a-46a5-a409-c08c2c92a442 2026-06-20 01:24:22,517 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/979c7918-7c2f-4609-8e1f-544878152c5b 2026-06-20 01:24:23,752 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.371 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 = 0.371/1.930/3.490/1.559 ms') 2026-06-20 01:24:23,753 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-72114084-94905609 passed 2026-06-20 01:24:23,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-20 01:24:23,897 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72114084-94905609, IP 222.44.231.3, Port 22 2026-06-20 01:24:24,053 - DEBUG - VM ctest-TestBasicPolicy-72114084-94905609 is ready for SSH connections 2026-06-20 01:24:24,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-20 01:24:24,053 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.44.231.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-20 01:24:24,053 - DEBUG - ping -s 56 -c 3 -W 1 222.44.231.3 2026-06-20 01:24:27,928 - DEBUG - PING 222.44.231.3 (222.44.231.3): 56 data bytes 64 bytes from 222.44.231.3: seq=0 ttl=63 time=3.393 ms 64 bytes from 222.44.231.3: seq=1 ttl=63 time=0.971 ms 64 bytes from 222.44.231.3: seq=2 ttl=63 time=0.870 ms --- 222.44.231.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.870/1.744/3.393 ms 2026-06-20 01:24:27,928 - INFO - Ping to IP 222.44.231.3 from VM ctest-TestBasicPolicy-72114084-84244640 passed 2026-06-20 01:24:28,101 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d350f1c8-43ba-4204-ad6b-4e7031e1ba36", "href": "http://10.0.0.19:8082/network-policy/d350f1c8-43ba-4204-ad6b-4e7031e1ba36"}} 2026-06-20 01:24:28,101 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-20 01:24:28,101 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.44.231.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-20 01:24:28,102 - DEBUG - ping -s 56 -c 3 -W 1 222.44.231.3 2026-06-20 01:24:31,223 - DEBUG - PING 222.44.231.3 (222.44.231.3): 56 data bytes --- 222.44.231.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-20 01:24:31,223 - WARNING - Ping to IP 222.44.231.3 from VM ctest-TestBasicPolicy-72114084-84244640 failed 2026-06-20 01:24:31,224 - INFO - Deleting VM ctest-TestBasicPolicy-72114084-94905609 2026-06-20 01:24:31,290 - INFO - Deleting VM ctest-TestBasicPolicy-72114084-84244640 2026-06-20 01:24:31,574 - INFO - Deleted policy ctest-policy-allow-all-06396777 2026-06-20 01:24:31,574 - INFO - Deleting VN ctest-vn-35186344 2026-06-20 01:24:31,599 - DEBUG - VN d0deff0e-b718-4a6d-8b62-21ffea5b9a3b still in use: Unable to complete operation on network d0deff0e-b718-4a6d-8b62-21ffea5b9a3b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-26aa4cda-f331-481b-a8b5-39d7e70edfa6'] 2026-06-20 01:24:31,599 - WARNING - Deleting VN ctest-vn-35186344 failed..Will retry 2026-06-20 01:24:33,692 - DEBUG - Response for deleting network () 2026-06-20 01:24:33,692 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/715a2ea7-5254-4717-8cdc-530f2238d7f0 2026-06-20 01:24:33,697 - DEBUG - Response Code: 404 2026-06-20 01:24:33,699 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-20 01:24:33,704 - DEBUG - Requesting: http://10.0.0.19:8082/domain/ffeb8130-d1cb-4e59-98ba-1731818c45d2 2026-06-20 01:24:33,759 - DEBUG - Requesting: http://10.0.0.19:8082/project/d2af5210-44b6-4372-8799-477ac65caf80 2026-06-20 01:24:33,828 - INFO - Validated that VN ctest-vn-35186344 is not found in API Server 2026-06-20 01:24:33,838 - DEBUG - VN ctest-vn-35186344 is not present in Agent 10.0.0.19 2026-06-20 01:24:33,838 - INFO - Validated that VN ctest-vn-35186344 is not in any agent 2026-06-20 01:24:33,850 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35186344 info 2026-06-20 01:24:33,850 - INFO - Deleting VN ctest-vn-81361611 2026-06-20 01:24:33,939 - DEBUG - Response for deleting network () 2026-06-20 01:24:33,939 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/107f0ea2-1b84-49d6-8ae2-078fee2e9fe0 2026-06-20 01:24:33,943 - DEBUG - Response Code: 404 2026-06-20 01:24:33,943 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-20 01:24:33,950 - DEBUG - Requesting: http://10.0.0.19:8082/domain/ffeb8130-d1cb-4e59-98ba-1731818c45d2 2026-06-20 01:24:34,002 - DEBUG - Requesting: http://10.0.0.19:8082/project/d2af5210-44b6-4372-8799-477ac65caf80 2026-06-20 01:24:34,074 - INFO - Validated that VN ctest-vn-81361611 is not found in API Server 2026-06-20 01:24:34,082 - DEBUG - VN ctest-vn-81361611 is not present in Agent 10.0.0.19 2026-06-20 01:24:34,082 - INFO - Validated that VN ctest-vn-81361611 is not in any agent 2026-06-20 01:24:34,094 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81361611 info 2026-06-20 01:24:34,345 - DEBUG - No XMPP flaps were noticed during the test
2026-06-20 01:24:34,346 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2026-06-20 01:24:34,346 - INFO - -------------------------------------------------------------------------------- 2026-06-20 01:24:35,033 - INFO - Deleted project: ctest-TestBasicPolicy-72114084, ID : d2af5210-44b6-4372-8799-477ac65caf80