2025-10-16 09:22:38,418 - INFO - Domain Default found not creating 2025-10-16 09:22:38,570 - INFO - Project ctest-TestBasicPolicy-17938228 not found, creating it 2025-10-16 09:22:39,005 - INFO - Created Project:ctest-TestBasicPolicy-17938228, ID : 9c7f4f0b-10f4-4292-ba83-5f5afdf2a61f 2025-10-16 09:22:40,440 - INFO - ================================================================================ 2025-10-16 09:22:40,440 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-16 09:22:40,440 - 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 2025-10-16 09:22:40,695 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with 2025-10-16 09:22:40,695 - INFO - Initial checks done. Running the testcase now 2025-10-16 09:22:40,695 - INFO - 2025-10-16 09:22:41,209 - DEBUG - Response for create_network : {'network': {'id': '6434a8bd-5914-4ade-a526-d26ba6cb708b', 'name': 'ctest-vn-48294044', 'tenant_id': '9c7f4f0b10f44292ba835f5afdf2a61f', 'project_id': '9c7f4f0b10f44292ba835f5afdf2a61f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17938228', 'ctest-vn-48294044'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 09:22:41,361 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1ae843b-b7f2-40b6-8864-f040b2e23a40', 'name': '', 'tenant_id': '9c7f4f0b10f44292ba835f5afdf2a61f', 'network_id': '6434a8bd-5914-4ade-a526-d26ba6cb708b', 'ip_version': 4, 'cidr': '221.172.163.0/26', 'allocation_pools': [{'start': '221.172.163.2', 'end': '221.172.163.62'}], 'gateway_ip': '221.172.163.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.172.163.2', 'tags': [], 'project_id': '9c7f4f0b10f44292ba835f5afdf2a61f'}} 2025-10-16 09:22:41,376 - INFO - Created VN ctest-vn-48294044 2025-10-16 09:22:41,427 - DEBUG - VN ctest-vn-48294044 UUID is 6434a8bd-5914-4ade-a526-d26ba6cb708b 2025-10-16 09:22:41,795 - DEBUG - Response for create_network : {'network': {'id': 'b504f8aa-cf46-43b7-8ac6-8d03265c2375', 'name': 'ctest-vn-47282047', 'tenant_id': '9c7f4f0b10f44292ba835f5afdf2a61f', 'project_id': '9c7f4f0b10f44292ba835f5afdf2a61f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17938228', 'ctest-vn-47282047'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 09:22:41,971 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a2377e7f-3ac5-4a39-8306-284a6f1def12', 'name': '', 'tenant_id': '9c7f4f0b10f44292ba835f5afdf2a61f', 'network_id': 'b504f8aa-cf46-43b7-8ac6-8d03265c2375', 'ip_version': 4, 'cidr': '116.232.200.192/26', 'allocation_pools': [{'start': '116.232.200.194', 'end': '116.232.200.254'}], 'gateway_ip': '116.232.200.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.232.200.194', 'tags': [], 'project_id': '9c7f4f0b10f44292ba835f5afdf2a61f'}} 2025-10-16 09:22:41,987 - INFO - Created VN ctest-vn-47282047 2025-10-16 09:22:42,043 - DEBUG - VN ctest-vn-47282047 UUID is b504f8aa-cf46-43b7-8ac6-8d03265c2375 2025-10-16 09:22:42,187 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-17938228:ctest-vn-48294044, 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-17938228:ctest-vn-47282047, 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] 2025-10-16 09:22:42,477 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6434a8bd-5914-4ade-a526-d26ba6cb708b', 'name': 'ctest-vn-48294044', 'tenant_id': '9c7f4f0b10f44292ba835f5afdf2a61f', 'project_id': '9c7f4f0b10f44292ba835f5afdf2a61f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c1ae843b-b7f2-40b6-8864-f040b2e23a40'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17938228', 'ctest-vn-48294044'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17938228', 'ctest-policy-allow-all-67459697']], 'subnet_ipam': [{'subnet_cidr': '221.172.163.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-16 09:22:42,743 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b504f8aa-cf46-43b7-8ac6-8d03265c2375', 'name': 'ctest-vn-47282047', 'tenant_id': '9c7f4f0b10f44292ba835f5afdf2a61f', 'project_id': '9c7f4f0b10f44292ba835f5afdf2a61f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a2377e7f-3ac5-4a39-8306-284a6f1def12'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17938228', 'ctest-vn-47282047'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17938228', 'ctest-policy-allow-all-67459697']], 'subnet_ipam': [{'subnet_cidr': '116.232.200.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-16 09:22:42,895 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-16 09:22:43,188 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-16 09:22:43,218 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b53048f0-a7d0-4124-b2a6-87242c09df1e 2025-10-16 09:22:43,230 - DEBUG - Requesting: http://10.0.0.130:8082/project/9c7f4f0b-10f4-4292-ba83-5f5afdf2a61f 2025-10-16 09:22:43,303 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/6434a8bd-5914-4ade-a526-d26ba6cb708b 2025-10-16 09:22:43,314 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/6434a8bd-5914-4ade-a526-d26ba6cb708b 2025-10-16 09:22:43,323 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/080ac8b5-4615-4285-b586-d5fe85a2a68c 2025-10-16 09:22:43,329 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/080ac8b5-4615-4285-b586-d5fe85a2a68c 2025-10-16 09:22:43,335 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/f21f3a9f-ba06-406b-a8ab-367db6393cee 2025-10-16 09:22:43,341 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-16 09:22:43,341 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/6434a8bd-5914-4ade-a526-d26ba6cb708b 2025-10-16 09:22:43,348 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/080ac8b5-4615-4285-b586-d5fe85a2a68c 2025-10-16 09:22:43,360 - INFO - Verified VN network id 9 for VN 6434a8bd-5914-4ade-a526-d26ba6cb708b 2025-10-16 09:22:43,360 - INFO - Verifications in API Server for VN ctest-vn-48294044 passed 2025-10-16 09:22:43,360 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/6434a8bd-5914-4ade-a526-d26ba6cb708b 2025-10-16 09:22:43,369 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/080ac8b5-4615-4285-b586-d5fe85a2a68c 2025-10-16 09:22:43,375 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/080ac8b5-4615-4285-b586-d5fe85a2a68c 2025-10-16 09:22:43,381 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/f21f3a9f-ba06-406b-a8ab-367db6393cee 2025-10-16 09:22:43,391 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17938228:ctest-vn-48294044', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17938228', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7220581633778535134', 'uuid-lslong': '11900430425174798475'}, 'enable': 'true', 'created': '2025-10-16T09:22:41', 'last-modified': '2025-10-16T09:22:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.932834'} 2025-10-16 09:22:43,397 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-16 09:22:43,398 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48294044 passed 2025-10-16 09:22:43,398 - DEBUG - ====Verifying policy data for ctest-vn-48294044 in API_Server ====== 2025-10-16 09:22:43,398 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-16 09:22:43,403 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b53048f0-a7d0-4124-b2a6-87242c09df1e 2025-10-16 09:22:43,412 - DEBUG - Requesting: http://10.0.0.130:8082/project/9c7f4f0b-10f4-4292-ba83-5f5afdf2a61f 2025-10-16 09:22:43,480 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/6434a8bd-5914-4ade-a526-d26ba6cb708b 2025-10-16 09:22:43,488 - DEBUG - ==>Verifying data for policy with id: 5161ed42-c156-4f9e-8751-79e43c5f23d1, fqn: ['default-domain', 'ctest-TestBasicPolicy-17938228', 'ctest-policy-allow-all-67459697'] 2025-10-16 09:22:43,488 - INFO - VN ctest-vn-48294044 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-16 09:22:43,488 - DEBUG - Verifying the vn in opserver 2025-10-16 09:22:43,488 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17938228:ctest-vn-48294044 virtual network link through opserver 10.0.0.130 2025-10-16 09:22:43,488 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-10-16 09:22:43,777 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-10-16 09:22:43,836 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17938228:ctest-vn-48294044', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17938228:ctest-vn-48294044?flat'} 2025-10-16 09:22:43,836 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17938228:ctest-vn-48294044 is found in opserver 2025-10-16 09:22:43,846 - DEBUG - Do not have enough data to verify VN in agent 2025-10-16 09:22:43,850 - DEBUG - VRF ids for VN ctest-vn-48294044: {} 2025-10-16 09:22:43,850 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-16 09:22:43,855 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b53048f0-a7d0-4124-b2a6-87242c09df1e 2025-10-16 09:22:43,866 - DEBUG - Requesting: http://10.0.0.130:8082/project/9c7f4f0b-10f4-4292-ba83-5f5afdf2a61f 2025-10-16 09:22:43,959 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b504f8aa-cf46-43b7-8ac6-8d03265c2375 2025-10-16 09:22:43,969 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b504f8aa-cf46-43b7-8ac6-8d03265c2375 2025-10-16 09:22:43,977 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/509b0f3b-27ad-4e8d-9b2e-b31a90c8d4f3 2025-10-16 09:22:43,982 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/509b0f3b-27ad-4e8d-9b2e-b31a90c8d4f3 2025-10-16 09:22:43,987 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/a44621f9-8a0e-4259-ac6c-27464cde48c5 2025-10-16 09:22:43,993 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-16 09:22:43,993 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b504f8aa-cf46-43b7-8ac6-8d03265c2375 2025-10-16 09:22:44,000 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/509b0f3b-27ad-4e8d-9b2e-b31a90c8d4f3 2025-10-16 09:22:44,013 - INFO - Verified VN network id 10 for VN b504f8aa-cf46-43b7-8ac6-8d03265c2375 2025-10-16 09:22:44,013 - INFO - Verifications in API Server for VN ctest-vn-47282047 passed 2025-10-16 09:22:44,013 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b504f8aa-cf46-43b7-8ac6-8d03265c2375 2025-10-16 09:22:44,022 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/509b0f3b-27ad-4e8d-9b2e-b31a90c8d4f3 2025-10-16 09:22:44,029 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/509b0f3b-27ad-4e8d-9b2e-b31a90c8d4f3 2025-10-16 09:22:44,036 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/a44621f9-8a0e-4259-ac6c-27464cde48c5 2025-10-16 09:22:44,048 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17938228:ctest-vn-47282047', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17938228', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13043823833277416375', 'uuid-lslong': '9999835067290755957'}, 'enable': 'true', 'created': '2025-10-16T09:22:41', 'last-modified': '2025-10-16T09:22:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.368439'} 2025-10-16 09:22:44,054 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-16 09:22:44,055 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47282047 passed 2025-10-16 09:22:44,055 - DEBUG - ====Verifying policy data for ctest-vn-47282047 in API_Server ====== 2025-10-16 09:22:44,055 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-16 09:22:44,060 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b53048f0-a7d0-4124-b2a6-87242c09df1e 2025-10-16 09:22:44,072 - DEBUG - Requesting: http://10.0.0.130:8082/project/9c7f4f0b-10f4-4292-ba83-5f5afdf2a61f 2025-10-16 09:22:44,136 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b504f8aa-cf46-43b7-8ac6-8d03265c2375 2025-10-16 09:22:44,144 - DEBUG - ==>Verifying data for policy with id: 5161ed42-c156-4f9e-8751-79e43c5f23d1, fqn: ['default-domain', 'ctest-TestBasicPolicy-17938228', 'ctest-policy-allow-all-67459697'] 2025-10-16 09:22:44,144 - INFO - VN ctest-vn-47282047 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-16 09:22:44,144 - DEBUG - Verifying the vn in opserver 2025-10-16 09:22:44,144 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17938228:ctest-vn-47282047 virtual network link through opserver 10.0.0.130 2025-10-16 09:22:44,144 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-10-16 09:22:44,153 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17938228:ctest-vn-47282047', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17938228:ctest-vn-47282047?flat'} 2025-10-16 09:22:44,153 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17938228:ctest-vn-47282047 is found in opserver 2025-10-16 09:22:44,163 - DEBUG - Do not have enough data to verify VN in agent 2025-10-16 09:22:44,168 - DEBUG - VRF ids for VN ctest-vn-47282047: {} 2025-10-16 09:22:44,224 - DEBUG - Services list from nova: [, , ] 2025-10-16 09:22:45,312 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4341-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4341-1) 2025-10-16 09:22:46,576 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4341-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4341-1) 2025-10-16 09:22:46,576 - INFO - Waiting for VM ctest-TestBasicPolicy-17938228-08899478 to be up.. 2025-10-16 09:22:46,686 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 09:22:51,759 - DEBUG - VM is in ACTIVE state now 2025-10-16 09:22:51,759 - INFO - VM name : ctest-TestBasicPolicy-17938228-08899478 2025-10-16 09:22:51,828 - DEBUG - VM ctest-TestBasicPolicy-17938228-08899478 ID is 856f9342-f5c0-4b50-8186-0f9bc489321c 2025-10-16 09:22:51,846 - DEBUG - VM ctest-TestBasicPolicy-17938228-08899478 launched on Node cn-jenkins-deploy-platform-ansible-os-4341-1 2025-10-16 09:22:51,923 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/856f9342-f5c0-4b50-8186-0f9bc489321c 2025-10-16 09:22:51,932 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/bea29269-0da9-446c-9710-c5fc1e631ea6 2025-10-16 09:22:55,210 - 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 1027ms') 2025-10-16 09:22:55,211 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17938228-08899478 failed! 2025-10-16 09:22:55,267 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17938228:ctest-vn-48294044 is 221.172.163.1 and allocation pool is NOT set 2025-10-16 09:22:57,333 - 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=2.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.435 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.435/1.655/2.875/1.220 ms') 2025-10-16 09:22:57,333 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17938228-08899478 passed 2025-10-16 09:22:57,487 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 09:22:57,487 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17938228-08899478, IP 221.172.163.3, Port 22 2025-10-16 09:22:57,642 - DEBUG - VM ctest-TestBasicPolicy-17938228-08899478 is ready for SSH connections 2025-10-16 09:22:57,643 - INFO - Waiting for VM ctest-TestBasicPolicy-17938228-69519542 to be up.. 2025-10-16 09:22:57,722 - DEBUG - VM is in ACTIVE state now 2025-10-16 09:22:57,722 - INFO - VM name : ctest-TestBasicPolicy-17938228-69519542 2025-10-16 09:22:57,801 - DEBUG - VM ctest-TestBasicPolicy-17938228-69519542 ID is f55c307a-33aa-4597-99aa-e5e4dc424666 2025-10-16 09:22:57,801 - DEBUG - VM ctest-TestBasicPolicy-17938228-69519542 launched on Node cn-jenkins-deploy-platform-ansible-os-4341-1 2025-10-16 09:22:57,879 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/f55c307a-33aa-4597-99aa-e5e4dc424666 2025-10-16 09:22:57,886 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/b223361f-9134-475f-9582-a2a8a8846a76 2025-10-16 09:22:59,126 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.436 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.436/1.661/2.887/1.225 ms') 2025-10-16 09:22:59,126 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-17938228-69519542 passed 2025-10-16 09:22:59,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 09:22:59,275 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17938228-69519542, IP 116.232.200.195, Port 22 2025-10-16 09:22:59,434 - DEBUG - VM ctest-TestBasicPolicy-17938228-69519542 is ready for SSH connections 2025-10-16 09:22:59,434 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 09:22:59,434 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.232.200.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-16 09:22:59,434 - DEBUG - ping -s 56 -c 3 -W 1 116.232.200.195 2025-10-16 09:23:03,423 - DEBUG - PING 116.232.200.195 (116.232.200.195): 56 data bytes 64 bytes from 116.232.200.195: seq=0 ttl=63 time=3.929 ms 64 bytes from 116.232.200.195: seq=1 ttl=63 time=0.960 ms 64 bytes from 116.232.200.195: seq=2 ttl=63 time=1.072 ms --- 116.232.200.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.960/1.987/3.929 ms 2025-10-16 09:23:03,423 - INFO - Ping to IP 116.232.200.195 from VM ctest-TestBasicPolicy-17938228-08899478 passed 2025-10-16 09:23:03,606 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5161ed42-c156-4f9e-8751-79e43c5f23d1", "href": "http://10.0.0.130:8082/network-policy/5161ed42-c156-4f9e-8751-79e43c5f23d1"}} 2025-10-16 09:23:03,607 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 09:23:03,607 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.232.200.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-16 09:23:03,607 - DEBUG - ping -s 56 -c 3 -W 1 116.232.200.195 2025-10-16 09:23:06,811 - DEBUG - PING 116.232.200.195 (116.232.200.195): 56 data bytes --- 116.232.200.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-16 09:23:06,811 - WARNING - Ping to IP 116.232.200.195 from VM ctest-TestBasicPolicy-17938228-08899478 failed 2025-10-16 09:23:06,811 - INFO - Deleting VM ctest-TestBasicPolicy-17938228-69519542 2025-10-16 09:23:06,875 - INFO - Deleting VM ctest-TestBasicPolicy-17938228-08899478 2025-10-16 09:23:07,259 - INFO - Deleted policy ctest-policy-allow-all-67459697 2025-10-16 09:23:07,259 - INFO - Deleting VN ctest-vn-47282047 2025-10-16 09:23:07,293 - DEBUG - VN b504f8aa-cf46-43b7-8ac6-8d03265c2375 still in use: Unable to complete operation on network b504f8aa-cf46-43b7-8ac6-8d03265c2375. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a9ef0104-663d-4b3c-82c2-69d92da7ae90'] 2025-10-16 09:23:07,293 - WARNING - Deleting VN ctest-vn-47282047 failed..Will retry 2025-10-16 09:23:09,399 - DEBUG - Response for deleting network () 2025-10-16 09:23:09,399 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/509b0f3b-27ad-4e8d-9b2e-b31a90c8d4f3 2025-10-16 09:23:09,405 - DEBUG - Response Code: 404 2025-10-16 09:23:09,405 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-16 09:23:09,410 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b53048f0-a7d0-4124-b2a6-87242c09df1e 2025-10-16 09:23:09,464 - DEBUG - Requesting: http://10.0.0.130:8082/project/9c7f4f0b-10f4-4292-ba83-5f5afdf2a61f 2025-10-16 09:23:09,534 - INFO - Validated that VN ctest-vn-47282047 is not found in API Server 2025-10-16 09:23:09,544 - DEBUG - VN ctest-vn-47282047 is not present in Agent 10.0.0.130 2025-10-16 09:23:09,544 - INFO - Validated that VN ctest-vn-47282047 is not in any agent 2025-10-16 09:23:09,557 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47282047 info 2025-10-16 09:23:09,557 - INFO - Deleting VN ctest-vn-48294044 2025-10-16 09:23:09,656 - DEBUG - Response for deleting network () 2025-10-16 09:23:09,656 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/080ac8b5-4615-4285-b586-d5fe85a2a68c 2025-10-16 09:23:09,663 - DEBUG - Response Code: 404 2025-10-16 09:23:09,663 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-16 09:23:09,672 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b53048f0-a7d0-4124-b2a6-87242c09df1e 2025-10-16 09:23:09,723 - DEBUG - Requesting: http://10.0.0.130:8082/project/9c7f4f0b-10f4-4292-ba83-5f5afdf2a61f 2025-10-16 09:23:09,791 - INFO - Validated that VN ctest-vn-48294044 is not found in API Server 2025-10-16 09:23:09,799 - DEBUG - VN ctest-vn-48294044 is not present in Agent 10.0.0.130 2025-10-16 09:23:09,799 - INFO - Validated that VN ctest-vn-48294044 is not in any agent 2025-10-16 09:23:09,811 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48294044 info 2025-10-16 09:23:10,063 - DEBUG - No XMPP flaps were noticed during the test 2025-10-16 09:23:10,063 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-16 09:23:10,063 - INFO - -------------------------------------------------------------------------------- 2025-10-16 09:23:10,719 - INFO - Deleted project: ctest-TestBasicPolicy-17938228, ID : 9c7f4f0b-10f4-4292-ba83-5f5afdf2a61f