2025-09-19 16:31:36,452 - INFO - Domain Default found not creating 2025-09-19 16:31:36,627 - INFO - Project ctest-TestBasicPolicy-91196083 not found, creating it 2025-09-19 16:31:37,473 - INFO - Created Project:ctest-TestBasicPolicy-91196083, ID : 0f7c03fe-5710-4e7a-91ba-3d1302412aaa 2025-09-19 16:31:38,836 - INFO - ================================================================================ 2025-09-19 16:31:38,836 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-19 16:31:38,836 - 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-09-19 16:31:39,094 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-19 16:31:39,094 - INFO - Initial checks done. Running the testcase now 2025-09-19 16:31:39,094 - INFO - 2025-09-19 16:31:39,609 - DEBUG - Response for create_network : {'network': {'id': '9cb08f09-461f-4223-9e9b-17108f0e8698', 'name': 'ctest-vn-31781678', 'tenant_id': '0f7c03fe57104e7a91ba3d1302412aaa', 'project_id': '0f7c03fe57104e7a91ba3d1302412aaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91196083', 'ctest-vn-31781678'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 16:31:39,774 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bed1e346-8986-4f1b-9580-f3f6e074d584', 'name': '', 'tenant_id': '0f7c03fe57104e7a91ba3d1302412aaa', 'network_id': '9cb08f09-461f-4223-9e9b-17108f0e8698', 'ip_version': 4, 'cidr': '221.246.53.128/26', 'allocation_pools': [{'start': '221.246.53.130', 'end': '221.246.53.190'}], 'gateway_ip': '221.246.53.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.246.53.130', 'tags': [], 'project_id': '0f7c03fe57104e7a91ba3d1302412aaa'}} 2025-09-19 16:31:39,790 - INFO - Created VN ctest-vn-31781678 2025-09-19 16:31:39,839 - DEBUG - VN ctest-vn-31781678 UUID is 9cb08f09-461f-4223-9e9b-17108f0e8698 2025-09-19 16:31:40,159 - DEBUG - Response for create_network : {'network': {'id': '21f49223-a20a-4c89-a518-9f04bb3f0f83', 'name': 'ctest-vn-89328844', 'tenant_id': '0f7c03fe57104e7a91ba3d1302412aaa', 'project_id': '0f7c03fe57104e7a91ba3d1302412aaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91196083', 'ctest-vn-89328844'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 16:31:40,340 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd80265d2-b079-432c-86be-060563f1d3fd', 'name': '', 'tenant_id': '0f7c03fe57104e7a91ba3d1302412aaa', 'network_id': '21f49223-a20a-4c89-a518-9f04bb3f0f83', 'ip_version': 4, 'cidr': '25.134.248.64/26', 'allocation_pools': [{'start': '25.134.248.66', 'end': '25.134.248.126'}], 'gateway_ip': '25.134.248.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.134.248.66', 'tags': [], 'project_id': '0f7c03fe57104e7a91ba3d1302412aaa'}} 2025-09-19 16:31:40,355 - INFO - Created VN ctest-vn-89328844 2025-09-19 16:31:40,407 - DEBUG - VN ctest-vn-89328844 UUID is 21f49223-a20a-4c89-a518-9f04bb3f0f83 2025-09-19 16:31:40,555 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-91196083:ctest-vn-31781678, 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-91196083:ctest-vn-89328844, 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-09-19 16:31:40,838 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9cb08f09-461f-4223-9e9b-17108f0e8698', 'name': 'ctest-vn-31781678', 'tenant_id': '0f7c03fe57104e7a91ba3d1302412aaa', 'project_id': '0f7c03fe57104e7a91ba3d1302412aaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bed1e346-8986-4f1b-9580-f3f6e074d584'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91196083', 'ctest-vn-31781678'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91196083', 'ctest-policy-allow-all-37223172']], 'subnet_ipam': [{'subnet_cidr': '221.246.53.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-19 16:31:41,056 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '21f49223-a20a-4c89-a518-9f04bb3f0f83', 'name': 'ctest-vn-89328844', 'tenant_id': '0f7c03fe57104e7a91ba3d1302412aaa', 'project_id': '0f7c03fe57104e7a91ba3d1302412aaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d80265d2-b079-432c-86be-060563f1d3fd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91196083', 'ctest-vn-89328844'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91196083', 'ctest-policy-allow-all-37223172']], 'subnet_ipam': [{'subnet_cidr': '25.134.248.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-19 16:31:41,219 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-19 16:31:41,513 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-19 16:31:41,816 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8670d522-5f73-427f-aca5-158d7e87971a 2025-09-19 16:31:41,827 - DEBUG - Requesting: http://10.0.0.254:8082/project/0f7c03fe-5710-4e7a-91ba-3d1302412aaa 2025-09-19 16:31:41,897 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9cb08f09-461f-4223-9e9b-17108f0e8698 2025-09-19 16:31:41,907 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9cb08f09-461f-4223-9e9b-17108f0e8698 2025-09-19 16:31:41,915 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/221bb066-29de-410e-b287-1bd57a3d7b71 2025-09-19 16:31:41,921 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/221bb066-29de-410e-b287-1bd57a3d7b71 2025-09-19 16:31:41,927 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/8637a19f-cc07-4c06-b2a7-3a161032b0be 2025-09-19 16:31:41,932 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-19 16:31:41,932 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9cb08f09-461f-4223-9e9b-17108f0e8698 2025-09-19 16:31:41,939 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/221bb066-29de-410e-b287-1bd57a3d7b71 2025-09-19 16:31:41,951 - INFO - Verified VN network id 9 for VN 9cb08f09-461f-4223-9e9b-17108f0e8698 2025-09-19 16:31:41,951 - INFO - Verifications in API Server for VN ctest-vn-31781678 passed 2025-09-19 16:31:41,951 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9cb08f09-461f-4223-9e9b-17108f0e8698 2025-09-19 16:31:41,959 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/221bb066-29de-410e-b287-1bd57a3d7b71 2025-09-19 16:31:41,964 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/221bb066-29de-410e-b287-1bd57a3d7b71 2025-09-19 16:31:41,969 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/8637a19f-cc07-4c06-b2a7-3a161032b0be 2025-09-19 16:31:41,979 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91196083:ctest-vn-31781678', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91196083', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11290681535811764771', 'uuid-lslong': '11428753839269775000'}, 'enable': 'true', 'created': '2025-09-19T16:31:39', 'last-modified': '2025-09-19T16:31:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.166755'} 2025-09-19 16:31:41,984 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-19 16:31:41,984 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31781678 passed 2025-09-19 16:31:41,984 - DEBUG - ====Verifying policy data for ctest-vn-31781678 in API_Server ====== 2025-09-19 16:31:41,984 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-19 16:31:41,991 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8670d522-5f73-427f-aca5-158d7e87971a 2025-09-19 16:31:42,001 - DEBUG - Requesting: http://10.0.0.254:8082/project/0f7c03fe-5710-4e7a-91ba-3d1302412aaa 2025-09-19 16:31:42,073 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9cb08f09-461f-4223-9e9b-17108f0e8698 2025-09-19 16:31:42,081 - DEBUG - ==>Verifying data for policy with id: 5ee2f5f1-17c7-49a6-87f6-e538cbf4a67d, fqn: ['default-domain', 'ctest-TestBasicPolicy-91196083', 'ctest-policy-allow-all-37223172'] 2025-09-19 16:31:42,081 - INFO - VN ctest-vn-31781678 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-19 16:31:42,081 - DEBUG - Verifying the vn in opserver 2025-09-19 16:31:42,081 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91196083:ctest-vn-31781678 virtual network link through opserver 10.0.0.254 2025-09-19 16:31:42,081 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-19 16:31:42,450 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-19 16:31:42,511 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91196083:ctest-vn-31781678', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91196083:ctest-vn-31781678?flat'} 2025-09-19 16:31:42,511 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91196083:ctest-vn-31781678 is found in opserver 2025-09-19 16:31:42,519 - DEBUG - Do not have enough data to verify VN in agent 2025-09-19 16:31:42,523 - DEBUG - VRF ids for VN ctest-vn-31781678: {} 2025-09-19 16:31:42,523 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-19 16:31:42,527 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8670d522-5f73-427f-aca5-158d7e87971a 2025-09-19 16:31:42,536 - DEBUG - Requesting: http://10.0.0.254:8082/project/0f7c03fe-5710-4e7a-91ba-3d1302412aaa 2025-09-19 16:31:42,609 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/21f49223-a20a-4c89-a518-9f04bb3f0f83 2025-09-19 16:31:42,622 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/21f49223-a20a-4c89-a518-9f04bb3f0f83 2025-09-19 16:31:42,633 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d24e304a-bd2c-4a5b-9c23-0ea31cb984e5 2025-09-19 16:31:42,639 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d24e304a-bd2c-4a5b-9c23-0ea31cb984e5 2025-09-19 16:31:42,644 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f9a501bb-45f1-4d9f-bd73-cef6e9be1118 2025-09-19 16:31:42,649 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-19 16:31:42,649 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/21f49223-a20a-4c89-a518-9f04bb3f0f83 2025-09-19 16:31:42,657 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d24e304a-bd2c-4a5b-9c23-0ea31cb984e5 2025-09-19 16:31:42,667 - INFO - Verified VN network id 10 for VN 21f49223-a20a-4c89-a518-9f04bb3f0f83 2025-09-19 16:31:42,667 - INFO - Verifications in API Server for VN ctest-vn-89328844 passed 2025-09-19 16:31:42,667 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/21f49223-a20a-4c89-a518-9f04bb3f0f83 2025-09-19 16:31:42,674 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d24e304a-bd2c-4a5b-9c23-0ea31cb984e5 2025-09-19 16:31:42,679 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d24e304a-bd2c-4a5b-9c23-0ea31cb984e5 2025-09-19 16:31:42,684 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f9a501bb-45f1-4d9f-bd73-cef6e9be1118 2025-09-19 16:31:42,694 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91196083:ctest-vn-89328844', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91196083', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2446741179309116553', 'uuid-lslong': '11896433258369322883'}, 'enable': 'true', 'created': '2025-09-19T16:31:40', 'last-modified': '2025-09-19T16:31:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.661319'} 2025-09-19 16:31:42,703 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-19 16:31:42,703 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89328844 passed 2025-09-19 16:31:42,703 - DEBUG - ====Verifying policy data for ctest-vn-89328844 in API_Server ====== 2025-09-19 16:31:42,703 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-19 16:31:42,708 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8670d522-5f73-427f-aca5-158d7e87971a 2025-09-19 16:31:42,718 - DEBUG - Requesting: http://10.0.0.254:8082/project/0f7c03fe-5710-4e7a-91ba-3d1302412aaa 2025-09-19 16:31:42,789 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/21f49223-a20a-4c89-a518-9f04bb3f0f83 2025-09-19 16:31:42,798 - DEBUG - ==>Verifying data for policy with id: 5ee2f5f1-17c7-49a6-87f6-e538cbf4a67d, fqn: ['default-domain', 'ctest-TestBasicPolicy-91196083', 'ctest-policy-allow-all-37223172'] 2025-09-19 16:31:42,798 - INFO - VN ctest-vn-89328844 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-19 16:31:42,798 - DEBUG - Verifying the vn in opserver 2025-09-19 16:31:42,798 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91196083:ctest-vn-89328844 virtual network link through opserver 10.0.0.254 2025-09-19 16:31:42,798 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-19 16:31:42,806 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91196083:ctest-vn-89328844', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91196083:ctest-vn-89328844?flat'} 2025-09-19 16:31:42,806 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91196083:ctest-vn-89328844 is found in opserver 2025-09-19 16:31:42,814 - DEBUG - Do not have enough data to verify VN in agent 2025-09-19 16:31:42,818 - DEBUG - VRF ids for VN ctest-vn-89328844: {} 2025-09-19 16:31:42,867 - DEBUG - Services list from nova: [, , ] 2025-09-19 16:31:43,826 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4150-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4150-1) 2025-09-19 16:31:44,949 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4150-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4150-1) 2025-09-19 16:31:44,949 - INFO - Waiting for VM ctest-TestBasicPolicy-91196083-16206497 to be up.. 2025-09-19 16:31:45,026 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-19 16:31:50,089 - DEBUG - VM is in ACTIVE state now 2025-09-19 16:31:50,089 - INFO - VM name : ctest-TestBasicPolicy-91196083-16206497 2025-09-19 16:31:50,155 - DEBUG - VM ctest-TestBasicPolicy-91196083-16206497 ID is 75a15918-2737-4a73-aac6-f44e23158ad6 2025-09-19 16:31:50,171 - DEBUG - VM ctest-TestBasicPolicy-91196083-16206497 launched on Node cn-jenkins-deploy-platform-ansible-os-4150-1 2025-09-19 16:31:50,233 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/75a15918-2737-4a73-aac6-f44e23158ad6 2025-09-19 16:31:50,240 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1348def9-ce4f-4765-9d4d-cdc4c34c1ad6 2025-09-19 16:31:53,487 - 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') 2025-09-19 16:31:53,487 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91196083-16206497 failed! 2025-09-19 16:31:53,543 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-91196083:ctest-vn-31781678 is 221.246.53.129 and allocation pool is NOT set 2025-09-19 16:31:55,609 - 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=3.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.561 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.561/2.138/3.715/1.577 ms') 2025-09-19 16:31:55,610 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91196083-16206497 passed 2025-09-19 16:31:55,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 16:31:55,759 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91196083-16206497, IP 221.246.53.131, Port 22 2025-09-19 16:31:55,916 - DEBUG - VM ctest-TestBasicPolicy-91196083-16206497 is ready for SSH connections 2025-09-19 16:31:55,916 - INFO - Waiting for VM ctest-TestBasicPolicy-91196083-15897085 to be up.. 2025-09-19 16:31:55,981 - DEBUG - VM is in ACTIVE state now 2025-09-19 16:31:55,981 - INFO - VM name : ctest-TestBasicPolicy-91196083-15897085 2025-09-19 16:31:56,051 - DEBUG - VM ctest-TestBasicPolicy-91196083-15897085 ID is 77e3ab55-78d5-4ae9-9ebe-588d667f8b9e 2025-09-19 16:31:56,051 - DEBUG - VM ctest-TestBasicPolicy-91196083-15897085 launched on Node cn-jenkins-deploy-platform-ansible-os-4150-1 2025-09-19 16:31:56,119 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/77e3ab55-78d5-4ae9-9ebe-588d667f8b9e 2025-09-19 16:31:56,126 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2fa12203-6d62-4d93-a185-11566c996bf2 2025-09-19 16:31:57,360 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.408 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.408/1.554/2.700/1.146 ms') 2025-09-19 16:31:57,360 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-91196083-15897085 passed 2025-09-19 16:31:57,507 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 16:31:57,507 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91196083-15897085, IP 25.134.248.67, Port 22 2025-09-19 16:31:57,659 - DEBUG - VM ctest-TestBasicPolicy-91196083-15897085 is ready for SSH connections 2025-09-19 16:31:57,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 16:31:57,659 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.134.248.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-19 16:31:57,659 - DEBUG - ping -s 56 -c 3 -W 1 25.134.248.67 2025-09-19 16:32:01,645 - DEBUG - PING 25.134.248.67 (25.134.248.67): 56 data bytes 64 bytes from 25.134.248.67: seq=0 ttl=63 time=3.306 ms 64 bytes from 25.134.248.67: seq=1 ttl=63 time=0.754 ms 64 bytes from 25.134.248.67: seq=2 ttl=63 time=0.767 ms --- 25.134.248.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.754/1.609/3.306 ms 2025-09-19 16:32:01,645 - INFO - Ping to IP 25.134.248.67 from VM ctest-TestBasicPolicy-91196083-16206497 passed 2025-09-19 16:32:01,823 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5ee2f5f1-17c7-49a6-87f6-e538cbf4a67d", "href": "http://10.0.0.254:8082/network-policy/5ee2f5f1-17c7-49a6-87f6-e538cbf4a67d"}} 2025-09-19 16:32:01,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 16:32:01,823 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.134.248.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-19 16:32:01,823 - DEBUG - ping -s 56 -c 3 -W 1 25.134.248.67 2025-09-19 16:32:05,045 - DEBUG - PING 25.134.248.67 (25.134.248.67): 56 data bytes --- 25.134.248.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-19 16:32:05,045 - WARNING - Ping to IP 25.134.248.67 from VM ctest-TestBasicPolicy-91196083-16206497 failed 2025-09-19 16:32:05,045 - INFO - Deleting VM ctest-TestBasicPolicy-91196083-15897085 2025-09-19 16:32:05,106 - INFO - Deleting VM ctest-TestBasicPolicy-91196083-16206497 2025-09-19 16:32:05,452 - INFO - Deleted policy ctest-policy-allow-all-37223172 2025-09-19 16:32:05,453 - INFO - Deleting VN ctest-vn-89328844 2025-09-19 16:32:05,488 - DEBUG - VN 21f49223-a20a-4c89-a518-9f04bb3f0f83 still in use: Unable to complete operation on network 21f49223-a20a-4c89-a518-9f04bb3f0f83. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-af2d54a7-c975-463a-bb10-988820b68515'] 2025-09-19 16:32:05,488 - WARNING - Deleting VN ctest-vn-89328844 failed..Will retry 2025-09-19 16:32:07,578 - DEBUG - Response for deleting network () 2025-09-19 16:32:07,578 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d24e304a-bd2c-4a5b-9c23-0ea31cb984e5 2025-09-19 16:32:07,586 - DEBUG - Response Code: 404 2025-09-19 16:32:07,586 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-19 16:32:07,590 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8670d522-5f73-427f-aca5-158d7e87971a 2025-09-19 16:32:07,643 - DEBUG - Requesting: http://10.0.0.254:8082/project/0f7c03fe-5710-4e7a-91ba-3d1302412aaa 2025-09-19 16:32:07,714 - INFO - Validated that VN ctest-vn-89328844 is not found in API Server 2025-09-19 16:32:07,723 - DEBUG - VN ctest-vn-89328844 is not present in Agent 10.0.0.254 2025-09-19 16:32:07,723 - INFO - Validated that VN ctest-vn-89328844 is not in any agent 2025-09-19 16:32:07,736 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89328844 info 2025-09-19 16:32:07,737 - INFO - Deleting VN ctest-vn-31781678 2025-09-19 16:32:07,833 - DEBUG - Response for deleting network () 2025-09-19 16:32:07,833 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/221bb066-29de-410e-b287-1bd57a3d7b71 2025-09-19 16:32:07,846 - DEBUG - Response Code: 404 2025-09-19 16:32:07,846 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-19 16:32:07,854 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8670d522-5f73-427f-aca5-158d7e87971a 2025-09-19 16:32:07,907 - DEBUG - Requesting: http://10.0.0.254:8082/project/0f7c03fe-5710-4e7a-91ba-3d1302412aaa 2025-09-19 16:32:07,979 - INFO - Validated that VN ctest-vn-31781678 is not found in API Server 2025-09-19 16:32:07,989 - DEBUG - VN ctest-vn-31781678 is not present in Agent 10.0.0.254 2025-09-19 16:32:07,991 - INFO - Validated that VN ctest-vn-31781678 is not in any agent 2025-09-19 16:32:08,006 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31781678 info 2025-09-19 16:32:08,259 - DEBUG - No XMPP flaps were noticed during the test 2025-09-19 16:32:08,259 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-09-19 16:32:08,259 - INFO - -------------------------------------------------------------------------------- 2025-09-19 16:32:08,949 - INFO - Deleted project: ctest-TestBasicPolicy-91196083, ID : 0f7c03fe-5710-4e7a-91ba-3d1302412aaa