2026-01-28 19:09:09,279 - INFO - Domain Default found not creating 2026-01-28 19:09:09,441 - INFO - Project ctest-TestBasicPolicy-87391807 not found, creating it 2026-01-28 19:09:09,902 - INFO - Created Project:ctest-TestBasicPolicy-87391807, ID : 51f460a0-d7e7-46f3-9393-89858bfadf69 2026-01-28 19:09:11,418 - INFO - ================================================================================ 2026-01-28 19:09:11,418 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-28 19:09:11,418 - 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-01-28 19:09:11,673 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.17': '0'}} with 2026-01-28 19:09:11,673 - INFO - Initial checks done. Running the testcase now 2026-01-28 19:09:11,673 - INFO - 2026-01-28 19:09:12,215 - DEBUG - Response for create_network : {'network': {'id': '90f43b79-710c-4dc9-8a50-3d6edd98fec8', 'name': 'ctest-vn-45871419', 'tenant_id': '51f460a0d7e746f3939389858bfadf69', 'project_id': '51f460a0d7e746f3939389858bfadf69', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87391807', 'ctest-vn-45871419'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 19:09:12,383 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ba052ab-eb0c-418a-9c84-404c25f20b30', 'name': '', 'tenant_id': '51f460a0d7e746f3939389858bfadf69', 'network_id': '90f43b79-710c-4dc9-8a50-3d6edd98fec8', 'ip_version': 4, 'cidr': '122.214.107.64/26', 'allocation_pools': [{'start': '122.214.107.66', 'end': '122.214.107.126'}], 'gateway_ip': '122.214.107.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.214.107.66', 'tags': [], 'project_id': '51f460a0d7e746f3939389858bfadf69'}} 2026-01-28 19:09:12,402 - INFO - Created VN ctest-vn-45871419 2026-01-28 19:09:12,455 - DEBUG - VN ctest-vn-45871419 UUID is 90f43b79-710c-4dc9-8a50-3d6edd98fec8 2026-01-28 19:09:12,736 - DEBUG - Response for create_network : {'network': {'id': '0c2a74e3-df58-4b90-b224-75efa73696ad', 'name': 'ctest-vn-21139923', 'tenant_id': '51f460a0d7e746f3939389858bfadf69', 'project_id': '51f460a0d7e746f3939389858bfadf69', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87391807', 'ctest-vn-21139923'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 19:09:12,878 - DEBUG - Response for create_subnet : {'subnet': {'id': '8691611f-aa33-4ef8-9abc-9eb6587454c6', 'name': '', 'tenant_id': '51f460a0d7e746f3939389858bfadf69', 'network_id': '0c2a74e3-df58-4b90-b224-75efa73696ad', 'ip_version': 4, 'cidr': '177.88.186.128/26', 'allocation_pools': [{'start': '177.88.186.130', 'end': '177.88.186.190'}], 'gateway_ip': '177.88.186.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.88.186.130', 'tags': [], 'project_id': '51f460a0d7e746f3939389858bfadf69'}} 2026-01-28 19:09:12,896 - INFO - Created VN ctest-vn-21139923 2026-01-28 19:09:12,951 - DEBUG - VN ctest-vn-21139923 UUID is 0c2a74e3-df58-4b90-b224-75efa73696ad 2026-01-28 19:09:13,068 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-87391807:ctest-vn-45871419, 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-87391807:ctest-vn-21139923, 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-01-28 19:09:13,360 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '90f43b79-710c-4dc9-8a50-3d6edd98fec8', 'name': 'ctest-vn-45871419', 'tenant_id': '51f460a0d7e746f3939389858bfadf69', 'project_id': '51f460a0d7e746f3939389858bfadf69', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8ba052ab-eb0c-418a-9c84-404c25f20b30'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87391807', 'ctest-vn-45871419'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87391807', 'ctest-policy-allow-all-60985108']], 'subnet_ipam': [{'subnet_cidr': '122.214.107.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-28 19:09:13,586 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0c2a74e3-df58-4b90-b224-75efa73696ad', 'name': 'ctest-vn-21139923', 'tenant_id': '51f460a0d7e746f3939389858bfadf69', 'project_id': '51f460a0d7e746f3939389858bfadf69', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8691611f-aa33-4ef8-9abc-9eb6587454c6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87391807', 'ctest-vn-21139923'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87391807', 'ctest-policy-allow-all-60985108']], 'subnet_ipam': [{'subnet_cidr': '177.88.186.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-28 19:09:13,739 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-01-28 19:09:14,029 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-01-28 19:09:14,059 - DEBUG - Requesting: http://10.0.0.23:8082/domain/a42f7af0-84fe-44bc-b407-4f8073709127 2026-01-28 19:09:14,071 - DEBUG - Requesting: http://10.0.0.23:8082/project/51f460a0-d7e7-46f3-9393-89858bfadf69 2026-01-28 19:09:14,141 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/90f43b79-710c-4dc9-8a50-3d6edd98fec8 2026-01-28 19:09:14,151 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/90f43b79-710c-4dc9-8a50-3d6edd98fec8 2026-01-28 19:09:14,160 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d5f6ddd0-6ad9-4ca2-a1a6-1f799d4dcfef 2026-01-28 19:09:14,167 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d5f6ddd0-6ad9-4ca2-a1a6-1f799d4dcfef 2026-01-28 19:09:14,173 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/dc134a70-83bf-4cc7-b97d-1b0e5868a1fb 2026-01-28 19:09:14,178 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-28 19:09:14,178 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/90f43b79-710c-4dc9-8a50-3d6edd98fec8 2026-01-28 19:09:14,187 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d5f6ddd0-6ad9-4ca2-a1a6-1f799d4dcfef 2026-01-28 19:09:14,200 - INFO - Verified VN network id 11 for VN 90f43b79-710c-4dc9-8a50-3d6edd98fec8 2026-01-28 19:09:14,200 - INFO - Verifications in API Server for VN ctest-vn-45871419 passed 2026-01-28 19:09:14,200 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/90f43b79-710c-4dc9-8a50-3d6edd98fec8 2026-01-28 19:09:14,210 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d5f6ddd0-6ad9-4ca2-a1a6-1f799d4dcfef 2026-01-28 19:09:14,217 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d5f6ddd0-6ad9-4ca2-a1a6-1f799d4dcfef 2026-01-28 19:09:14,223 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/dc134a70-83bf-4cc7-b97d-1b0e5868a1fb 2026-01-28 19:09:14,234 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87391807:ctest-vn-45871419', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87391807', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10445038828552736201', 'uuid-lslong': '9966533521744395976'}, 'enable': 'true', 'created': '2026-01-28T19:09:12', 'last-modified': '2026-01-28T19:09:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.893025'} 2026-01-28 19:09:14,241 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-28 19:09:14,241 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45871419 passed 2026-01-28 19:09:14,241 - DEBUG - ====Verifying policy data for ctest-vn-45871419 in API_Server ====== 2026-01-28 19:09:14,241 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-01-28 19:09:14,246 - DEBUG - Requesting: http://10.0.0.23:8082/domain/a42f7af0-84fe-44bc-b407-4f8073709127 2026-01-28 19:09:14,256 - DEBUG - Requesting: http://10.0.0.23:8082/project/51f460a0-d7e7-46f3-9393-89858bfadf69 2026-01-28 19:09:14,326 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/90f43b79-710c-4dc9-8a50-3d6edd98fec8 2026-01-28 19:09:14,336 - DEBUG - ==>Verifying data for policy with id: e2369802-9adc-4480-8cea-ac1a5e9980c4, fqn: ['default-domain', 'ctest-TestBasicPolicy-87391807', 'ctest-policy-allow-all-60985108'] 2026-01-28 19:09:14,336 - INFO - VN ctest-vn-45871419 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-28 19:09:14,336 - DEBUG - Verifying the vn in opserver 2026-01-28 19:09:14,336 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87391807:ctest-vn-45871419 virtual network link through opserver 10.0.0.23 2026-01-28 19:09:14,336 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-01-28 19:09:14,625 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-01-28 19:09:14,687 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87391807:ctest-vn-45871419', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87391807:ctest-vn-45871419?flat'} 2026-01-28 19:09:14,687 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87391807:ctest-vn-45871419 is found in opserver 2026-01-28 19:09:14,698 - DEBUG - Do not have enough data to verify VN in agent 2026-01-28 19:09:14,703 - DEBUG - VRF ids for VN ctest-vn-45871419: {} 2026-01-28 19:09:14,703 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-01-28 19:09:14,708 - DEBUG - Requesting: http://10.0.0.23:8082/domain/a42f7af0-84fe-44bc-b407-4f8073709127 2026-01-28 19:09:14,720 - DEBUG - Requesting: http://10.0.0.23:8082/project/51f460a0-d7e7-46f3-9393-89858bfadf69 2026-01-28 19:09:14,787 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/0c2a74e3-df58-4b90-b224-75efa73696ad 2026-01-28 19:09:14,796 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/0c2a74e3-df58-4b90-b224-75efa73696ad 2026-01-28 19:09:14,804 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/30218a79-9580-4b8f-a787-da0979e25c0c 2026-01-28 19:09:14,811 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/30218a79-9580-4b8f-a787-da0979e25c0c 2026-01-28 19:09:14,817 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/1f439a74-ca9f-493a-b230-01b01efe3679 2026-01-28 19:09:14,828 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-28 19:09:14,828 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/0c2a74e3-df58-4b90-b224-75efa73696ad 2026-01-28 19:09:14,836 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/30218a79-9580-4b8f-a787-da0979e25c0c 2026-01-28 19:09:14,849 - INFO - Verified VN network id 12 for VN 0c2a74e3-df58-4b90-b224-75efa73696ad 2026-01-28 19:09:14,849 - INFO - Verifications in API Server for VN ctest-vn-21139923 passed 2026-01-28 19:09:14,849 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/0c2a74e3-df58-4b90-b224-75efa73696ad 2026-01-28 19:09:14,857 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/30218a79-9580-4b8f-a787-da0979e25c0c 2026-01-28 19:09:14,864 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/30218a79-9580-4b8f-a787-da0979e25c0c 2026-01-28 19:09:14,870 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/1f439a74-ca9f-493a-b230-01b01efe3679 2026-01-28 19:09:14,881 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87391807:ctest-vn-21139923', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87391807', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '876641599530486672', 'uuid-lslong': '12836514510075762349'}, 'enable': 'true', 'created': '2026-01-28T19:09:12', 'last-modified': '2026-01-28T19:09:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.317654'} 2026-01-28 19:09:14,889 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-28 19:09:14,890 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21139923 passed 2026-01-28 19:09:14,890 - DEBUG - ====Verifying policy data for ctest-vn-21139923 in API_Server ====== 2026-01-28 19:09:14,890 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-01-28 19:09:14,896 - DEBUG - Requesting: http://10.0.0.23:8082/domain/a42f7af0-84fe-44bc-b407-4f8073709127 2026-01-28 19:09:14,905 - DEBUG - Requesting: http://10.0.0.23:8082/project/51f460a0-d7e7-46f3-9393-89858bfadf69 2026-01-28 19:09:14,974 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/0c2a74e3-df58-4b90-b224-75efa73696ad 2026-01-28 19:09:14,982 - DEBUG - ==>Verifying data for policy with id: e2369802-9adc-4480-8cea-ac1a5e9980c4, fqn: ['default-domain', 'ctest-TestBasicPolicy-87391807', 'ctest-policy-allow-all-60985108'] 2026-01-28 19:09:14,982 - INFO - VN ctest-vn-21139923 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-28 19:09:14,982 - DEBUG - Verifying the vn in opserver 2026-01-28 19:09:14,982 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87391807:ctest-vn-21139923 virtual network link through opserver 10.0.0.23 2026-01-28 19:09:14,982 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-01-28 19:09:14,993 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87391807:ctest-vn-21139923', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87391807:ctest-vn-21139923?flat'} 2026-01-28 19:09:14,993 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87391807:ctest-vn-21139923 is found in opserver 2026-01-28 19:09:15,002 - DEBUG - Do not have enough data to verify VN in agent 2026-01-28 19:09:15,008 - DEBUG - VRF ids for VN ctest-vn-21139923: {} 2026-01-28 19:09:15,062 - DEBUG - Services list from nova: [, , ] 2026-01-28 19:09:16,071 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5100-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5100-1) 2026-01-28 19:09:17,241 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5100-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5100-1) 2026-01-28 19:09:17,241 - INFO - Waiting for VM ctest-TestBasicPolicy-87391807-06973694 to be up.. 2026-01-28 19:09:17,339 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-28 19:09:22,413 - DEBUG - VM is in ACTIVE state now 2026-01-28 19:09:22,413 - INFO - VM name : ctest-TestBasicPolicy-87391807-06973694 2026-01-28 19:09:22,485 - DEBUG - VM ctest-TestBasicPolicy-87391807-06973694 ID is 82b58846-de29-40fb-9aab-ed855faf67bc 2026-01-28 19:09:22,505 - DEBUG - VM ctest-TestBasicPolicy-87391807-06973694 launched on Node cn-jenkins-deploy-platform-ansible-os-5100-1 2026-01-28 19:09:22,578 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/82b58846-de29-40fb-9aab-ed855faf67bc 2026-01-28 19:09:22,586 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/71cf8fb7-30a8-4542-a2f3-b5c13be74270 2026-01-28 19:09:25,842 - 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 1019ms') 2026-01-28 19:09:25,843 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87391807-06973694 failed! 2026-01-28 19:09:25,899 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-87391807:ctest-vn-45871419 is 122.214.107.65 and allocation pool is NOT set 2026-01-28 19:09:27,960 - 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=10.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.90 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.903/5.972/10.041/4.069 ms') 2026-01-28 19:09:27,960 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87391807-06973694 passed 2026-01-28 19:09:28,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 19:09:28,111 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87391807-06973694, IP 122.214.107.67, Port 22 2026-01-28 19:09:28,271 - DEBUG - VM ctest-TestBasicPolicy-87391807-06973694 is ready for SSH connections 2026-01-28 19:09:28,271 - INFO - Waiting for VM ctest-TestBasicPolicy-87391807-22270394 to be up.. 2026-01-28 19:09:28,346 - DEBUG - VM is in ACTIVE state now 2026-01-28 19:09:28,346 - INFO - VM name : ctest-TestBasicPolicy-87391807-22270394 2026-01-28 19:09:28,421 - DEBUG - VM ctest-TestBasicPolicy-87391807-22270394 ID is ffe758aa-c700-488c-a64a-92ae4832d981 2026-01-28 19:09:28,421 - DEBUG - VM ctest-TestBasicPolicy-87391807-22270394 launched on Node cn-jenkins-deploy-platform-ansible-os-5100-1 2026-01-28 19:09:28,500 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/ffe758aa-c700-488c-a64a-92ae4832d981 2026-01-28 19:09:28,509 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/9f51a74c-03b9-4e72-9f19-a0c501ac8bbb 2026-01-28 19:09:29,737 - 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=2.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.579 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.579/1.748/2.917/1.169 ms') 2026-01-28 19:09:29,737 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-87391807-22270394 passed 2026-01-28 19:09:29,895 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 19:09:29,895 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87391807-22270394, IP 177.88.186.131, Port 22 2026-01-28 19:09:30,058 - DEBUG - VM ctest-TestBasicPolicy-87391807-22270394 is ready for SSH connections 2026-01-28 19:09:30,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 19:09:30,059 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.88.186.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-01-28 19:09:30,059 - DEBUG - ping -s 56 -c 3 -W 1 177.88.186.131 2026-01-28 19:09:34,137 - DEBUG - PING 177.88.186.131 (177.88.186.131): 56 data bytes 64 bytes from 177.88.186.131: seq=0 ttl=63 time=3.325 ms 64 bytes from 177.88.186.131: seq=1 ttl=63 time=1.012 ms 64 bytes from 177.88.186.131: seq=2 ttl=63 time=0.806 ms --- 177.88.186.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.806/1.714/3.325 ms 2026-01-28 19:09:34,137 - INFO - Ping to IP 177.88.186.131 from VM ctest-TestBasicPolicy-87391807-06973694 passed 2026-01-28 19:09:34,311 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e2369802-9adc-4480-8cea-ac1a5e9980c4", "href": "http://10.0.0.23:8082/network-policy/e2369802-9adc-4480-8cea-ac1a5e9980c4"}} 2026-01-28 19:09:34,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 19:09:34,311 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.88.186.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-01-28 19:09:34,311 - DEBUG - ping -s 56 -c 3 -W 1 177.88.186.131 2026-01-28 19:09:37,553 - DEBUG - PING 177.88.186.131 (177.88.186.131): 56 data bytes --- 177.88.186.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-28 19:09:37,553 - WARNING - Ping to IP 177.88.186.131 from VM ctest-TestBasicPolicy-87391807-06973694 failed 2026-01-28 19:09:37,553 - INFO - Deleting VM ctest-TestBasicPolicy-87391807-22270394 2026-01-28 19:09:37,625 - INFO - Deleting VM ctest-TestBasicPolicy-87391807-06973694 2026-01-28 19:09:38,055 - INFO - Deleted policy ctest-policy-allow-all-60985108 2026-01-28 19:09:38,055 - INFO - Deleting VN ctest-vn-21139923 2026-01-28 19:09:38,100 - DEBUG - VN 0c2a74e3-df58-4b90-b224-75efa73696ad still in use: Unable to complete operation on network 0c2a74e3-df58-4b90-b224-75efa73696ad. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7d50ade5-5a6b-4763-b5f1-7ca632fb60ed'] 2026-01-28 19:09:38,100 - WARNING - Deleting VN ctest-vn-21139923 failed..Will retry 2026-01-28 19:09:40,207 - DEBUG - Response for deleting network () 2026-01-28 19:09:40,207 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/30218a79-9580-4b8f-a787-da0979e25c0c 2026-01-28 19:09:40,211 - DEBUG - Response Code: 404 2026-01-28 19:09:40,212 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-01-28 19:09:40,216 - DEBUG - Requesting: http://10.0.0.23:8082/domain/a42f7af0-84fe-44bc-b407-4f8073709127 2026-01-28 19:09:40,269 - DEBUG - Requesting: http://10.0.0.23:8082/project/51f460a0-d7e7-46f3-9393-89858bfadf69 2026-01-28 19:09:40,340 - INFO - Validated that VN ctest-vn-21139923 is not found in API Server 2026-01-28 19:09:40,349 - DEBUG - VN ctest-vn-21139923 is not present in Agent 10.0.0.23 2026-01-28 19:09:40,350 - INFO - Validated that VN ctest-vn-21139923 is not in any agent 2026-01-28 19:09:40,363 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21139923 info 2026-01-28 19:09:40,363 - INFO - Deleting VN ctest-vn-45871419 2026-01-28 19:09:40,453 - DEBUG - Response for deleting network () 2026-01-28 19:09:40,453 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d5f6ddd0-6ad9-4ca2-a1a6-1f799d4dcfef 2026-01-28 19:09:40,458 - DEBUG - Response Code: 404 2026-01-28 19:09:40,458 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-01-28 19:09:40,463 - DEBUG - Requesting: http://10.0.0.23:8082/domain/a42f7af0-84fe-44bc-b407-4f8073709127 2026-01-28 19:09:40,516 - DEBUG - Requesting: http://10.0.0.23:8082/project/51f460a0-d7e7-46f3-9393-89858bfadf69 2026-01-28 19:09:40,589 - INFO - Validated that VN ctest-vn-45871419 is not found in API Server 2026-01-28 19:09:40,598 - DEBUG - VN ctest-vn-45871419 is not present in Agent 10.0.0.23 2026-01-28 19:09:40,598 - INFO - Validated that VN ctest-vn-45871419 is not in any agent 2026-01-28 19:09:40,611 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45871419 info 2026-01-28 19:09:40,863 - DEBUG - No XMPP flaps were noticed during the test 2026-01-28 19:09:40,863 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-01-28 19:09:40,863 - INFO - -------------------------------------------------------------------------------- 2026-01-28 19:09:41,532 - INFO - Deleted project: ctest-TestBasicPolicy-87391807, ID : 51f460a0-d7e7-46f3-9393-89858bfadf69