2025-07-23 17:20:15,556 - INFO - Domain Default found not creating 2025-07-23 17:20:15,697 - INFO - Project ctest-TestBasicPolicy-15130107 not found, creating it 2025-07-23 17:20:16,148 - INFO - Created Project:ctest-TestBasicPolicy-15130107, ID : 7cccd9e0-fa95-42eb-8447-e426ed2e61d9 2025-07-23 17:20:17,513 - INFO - ================================================================================ 2025-07-23 17:20:17,514 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-23 17:20:17,514 - 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-07-23 17:20:17,776 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.18': '0'}} with 2025-07-23 17:20:17,776 - INFO - Initial checks done. Running the testcase now 2025-07-23 17:20:17,776 - INFO - 2025-07-23 17:20:18,309 - DEBUG - Response for create_network : {'network': {'id': '076c5b2f-46f0-4d41-8a97-20884c5dd9c6', 'name': 'ctest-vn-04746194', 'tenant_id': '7cccd9e0fa9542eb8447e426ed2e61d9', 'project_id': '7cccd9e0fa9542eb8447e426ed2e61d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15130107', 'ctest-vn-04746194'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 17:20:18,531 - DEBUG - Response for create_subnet : {'subnet': {'id': '02cf3275-2bf4-4a71-9bdf-0e03bd309f1e', 'name': '', 'tenant_id': '7cccd9e0fa9542eb8447e426ed2e61d9', 'network_id': '076c5b2f-46f0-4d41-8a97-20884c5dd9c6', 'ip_version': 4, 'cidr': '36.72.24.128/26', 'allocation_pools': [{'start': '36.72.24.130', 'end': '36.72.24.190'}], 'gateway_ip': '36.72.24.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.72.24.130', 'tags': [], 'project_id': '7cccd9e0fa9542eb8447e426ed2e61d9'}} 2025-07-23 17:20:18,551 - INFO - Created VN ctest-vn-04746194 2025-07-23 17:20:18,607 - DEBUG - VN ctest-vn-04746194 UUID is 076c5b2f-46f0-4d41-8a97-20884c5dd9c6 2025-07-23 17:20:18,897 - DEBUG - Response for create_network : {'network': {'id': '7f40af0c-8d58-4d2e-8151-c88731332322', 'name': 'ctest-vn-68511394', 'tenant_id': '7cccd9e0fa9542eb8447e426ed2e61d9', 'project_id': '7cccd9e0fa9542eb8447e426ed2e61d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15130107', 'ctest-vn-68511394'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 17:20:19,079 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3e82363-b5f9-42fa-bc0f-8d892fe9869b', 'name': '', 'tenant_id': '7cccd9e0fa9542eb8447e426ed2e61d9', 'network_id': '7f40af0c-8d58-4d2e-8151-c88731332322', 'ip_version': 4, 'cidr': '110.31.113.128/26', 'allocation_pools': [{'start': '110.31.113.130', 'end': '110.31.113.190'}], 'gateway_ip': '110.31.113.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.31.113.130', 'tags': [], 'project_id': '7cccd9e0fa9542eb8447e426ed2e61d9'}} 2025-07-23 17:20:19,097 - INFO - Created VN ctest-vn-68511394 2025-07-23 17:20:19,151 - DEBUG - VN ctest-vn-68511394 UUID is 7f40af0c-8d58-4d2e-8151-c88731332322 2025-07-23 17:20:19,264 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-15130107:ctest-vn-04746194, 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-15130107:ctest-vn-68511394, 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-07-23 17:20:19,557 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '076c5b2f-46f0-4d41-8a97-20884c5dd9c6', 'name': 'ctest-vn-04746194', 'tenant_id': '7cccd9e0fa9542eb8447e426ed2e61d9', 'project_id': '7cccd9e0fa9542eb8447e426ed2e61d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['02cf3275-2bf4-4a71-9bdf-0e03bd309f1e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15130107', 'ctest-vn-04746194'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15130107', 'ctest-policy-allow-all-40891402']], 'subnet_ipam': [{'subnet_cidr': '36.72.24.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-23 17:20:19,791 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7f40af0c-8d58-4d2e-8151-c88731332322', 'name': 'ctest-vn-68511394', 'tenant_id': '7cccd9e0fa9542eb8447e426ed2e61d9', 'project_id': '7cccd9e0fa9542eb8447e426ed2e61d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a3e82363-b5f9-42fa-bc0f-8d892fe9869b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15130107', 'ctest-vn-68511394'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15130107', 'ctest-policy-allow-all-40891402']], 'subnet_ipam': [{'subnet_cidr': '110.31.113.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-23 17:20:19,939 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-23 17:20:20,236 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-23 17:20:20,263 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6fe0b66b-f81d-48ed-a363-41c33e82bf89 2025-07-23 17:20:20,279 - DEBUG - Requesting: http://10.0.0.254:8082/project/7cccd9e0-fa95-42eb-8447-e426ed2e61d9 2025-07-23 17:20:20,355 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/076c5b2f-46f0-4d41-8a97-20884c5dd9c6 2025-07-23 17:20:20,369 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/076c5b2f-46f0-4d41-8a97-20884c5dd9c6 2025-07-23 17:20:20,380 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4c13a900-c02d-4cd7-8b49-93f4281613cc 2025-07-23 17:20:20,389 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4c13a900-c02d-4cd7-8b49-93f4281613cc 2025-07-23 17:20:20,401 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d775c3bb-74be-42ee-8b34-f76702bb617d 2025-07-23 17:20:20,408 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-23 17:20:20,408 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/076c5b2f-46f0-4d41-8a97-20884c5dd9c6 2025-07-23 17:20:20,418 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4c13a900-c02d-4cd7-8b49-93f4281613cc 2025-07-23 17:20:20,433 - INFO - Verified VN network id 12 for VN 076c5b2f-46f0-4d41-8a97-20884c5dd9c6 2025-07-23 17:20:20,433 - INFO - Verifications in API Server for VN ctest-vn-04746194 passed 2025-07-23 17:20:20,433 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/076c5b2f-46f0-4d41-8a97-20884c5dd9c6 2025-07-23 17:20:20,443 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4c13a900-c02d-4cd7-8b49-93f4281613cc 2025-07-23 17:20:20,450 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4c13a900-c02d-4cd7-8b49-93f4281613cc 2025-07-23 17:20:20,459 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d775c3bb-74be-42ee-8b34-f76702bb617d 2025-07-23 17:20:20,474 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15130107:ctest-vn-04746194', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15130107', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '534902714361990465', 'uuid-lslong': '9986486468486224326'}, 'enable': 'true', 'created': '2025-07-23T17:20:18', 'last-modified': '2025-07-23T17:20:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.934807'} 2025-07-23 17:20:20,484 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-23 17:20:20,484 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04746194 passed 2025-07-23 17:20:20,484 - DEBUG - ====Verifying policy data for ctest-vn-04746194 in API_Server ====== 2025-07-23 17:20:20,484 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-23 17:20:20,492 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6fe0b66b-f81d-48ed-a363-41c33e82bf89 2025-07-23 17:20:20,508 - DEBUG - Requesting: http://10.0.0.254:8082/project/7cccd9e0-fa95-42eb-8447-e426ed2e61d9 2025-07-23 17:20:20,585 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/076c5b2f-46f0-4d41-8a97-20884c5dd9c6 2025-07-23 17:20:20,596 - DEBUG - ==>Verifying data for policy with id: 02706c2d-8c38-4dff-89bf-3d9720ad7cfc, fqn: ['default-domain', 'ctest-TestBasicPolicy-15130107', 'ctest-policy-allow-all-40891402'] 2025-07-23 17:20:20,596 - INFO - VN ctest-vn-04746194 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-23 17:20:20,596 - DEBUG - Verifying the vn in opserver 2025-07-23 17:20:20,596 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15130107:ctest-vn-04746194 virtual network link through opserver 10.0.0.254 2025-07-23 17:20:20,596 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-23 17:20:20,886 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-23 17:20:20,945 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15130107:ctest-vn-04746194', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15130107:ctest-vn-04746194?flat'} 2025-07-23 17:20:20,945 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15130107:ctest-vn-04746194 is found in opserver 2025-07-23 17:20:20,956 - DEBUG - Do not have enough data to verify VN in agent 2025-07-23 17:20:20,961 - DEBUG - VRF ids for VN ctest-vn-04746194: {} 2025-07-23 17:20:20,961 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-23 17:20:20,967 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6fe0b66b-f81d-48ed-a363-41c33e82bf89 2025-07-23 17:20:20,979 - DEBUG - Requesting: http://10.0.0.254:8082/project/7cccd9e0-fa95-42eb-8447-e426ed2e61d9 2025-07-23 17:20:21,051 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7f40af0c-8d58-4d2e-8151-c88731332322 2025-07-23 17:20:21,066 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7f40af0c-8d58-4d2e-8151-c88731332322 2025-07-23 17:20:21,076 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e5575272-4822-4f47-af32-f30c5d5ad765 2025-07-23 17:20:21,084 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e5575272-4822-4f47-af32-f30c5d5ad765 2025-07-23 17:20:21,091 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/41e652c2-1fd6-4586-86df-6d1de1d75358 2025-07-23 17:20:21,098 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-23 17:20:21,098 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7f40af0c-8d58-4d2e-8151-c88731332322 2025-07-23 17:20:21,108 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e5575272-4822-4f47-af32-f30c5d5ad765 2025-07-23 17:20:21,123 - INFO - Verified VN network id 13 for VN 7f40af0c-8d58-4d2e-8151-c88731332322 2025-07-23 17:20:21,123 - INFO - Verifications in API Server for VN ctest-vn-68511394 passed 2025-07-23 17:20:21,123 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7f40af0c-8d58-4d2e-8151-c88731332322 2025-07-23 17:20:21,136 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e5575272-4822-4f47-af32-f30c5d5ad765 2025-07-23 17:20:21,144 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e5575272-4822-4f47-af32-f30c5d5ad765 2025-07-23 17:20:21,152 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/41e652c2-1fd6-4586-86df-6d1de1d75358 2025-07-23 17:20:21,165 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15130107:ctest-vn-68511394', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15130107', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9169521309772172590', 'uuid-lslong': '9318449586977841954'}, 'enable': 'true', 'created': '2025-07-23T17:20:18', 'last-modified': '2025-07-23T17:20:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.395638'} 2025-07-23 17:20:21,173 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-23 17:20:21,173 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68511394 passed 2025-07-23 17:20:21,173 - DEBUG - ====Verifying policy data for ctest-vn-68511394 in API_Server ====== 2025-07-23 17:20:21,174 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-23 17:20:21,180 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6fe0b66b-f81d-48ed-a363-41c33e82bf89 2025-07-23 17:20:21,194 - DEBUG - Requesting: http://10.0.0.254:8082/project/7cccd9e0-fa95-42eb-8447-e426ed2e61d9 2025-07-23 17:20:21,264 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7f40af0c-8d58-4d2e-8151-c88731332322 2025-07-23 17:20:21,274 - DEBUG - ==>Verifying data for policy with id: 02706c2d-8c38-4dff-89bf-3d9720ad7cfc, fqn: ['default-domain', 'ctest-TestBasicPolicy-15130107', 'ctest-policy-allow-all-40891402'] 2025-07-23 17:20:21,274 - INFO - VN ctest-vn-68511394 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-23 17:20:21,274 - DEBUG - Verifying the vn in opserver 2025-07-23 17:20:21,274 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15130107:ctest-vn-68511394 virtual network link through opserver 10.0.0.254 2025-07-23 17:20:21,274 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-23 17:20:21,286 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15130107:ctest-vn-68511394', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15130107:ctest-vn-68511394?flat'} 2025-07-23 17:20:21,286 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15130107:ctest-vn-68511394 is found in opserver 2025-07-23 17:20:21,298 - DEBUG - Do not have enough data to verify VN in agent 2025-07-23 17:20:21,303 - DEBUG - VRF ids for VN ctest-vn-68511394: {} 2025-07-23 17:20:21,362 - DEBUG - Services list from nova: [, , ] 2025-07-23 17:20:22,345 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3708-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3708-1) 2025-07-23 17:20:23,432 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3708-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3708-1) 2025-07-23 17:20:23,432 - INFO - Waiting for VM ctest-TestBasicPolicy-15130107-78240495 to be up.. 2025-07-23 17:20:23,512 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-23 17:20:28,587 - DEBUG - VM is in ACTIVE state now 2025-07-23 17:20:28,587 - INFO - VM name : ctest-TestBasicPolicy-15130107-78240495 2025-07-23 17:20:28,658 - DEBUG - VM ctest-TestBasicPolicy-15130107-78240495 ID is 7b2c1475-3631-4f20-9c47-0fe2def598cc 2025-07-23 17:20:28,676 - DEBUG - VM ctest-TestBasicPolicy-15130107-78240495 launched on Node cn-jenkins-deploy-platform-ansible-os-3708-1 2025-07-23 17:20:28,752 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7b2c1475-3631-4f20-9c47-0fe2def598cc 2025-07-23 17:20:28,762 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5773c97f-1460-4daa-86bf-06fd7d73a11b 2025-07-23 17:20:32,023 - 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') 2025-07-23 17:20:32,023 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15130107-78240495 failed! 2025-07-23 17:20:32,087 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15130107:ctest-vn-04746194 is 36.72.24.129 and allocation pool is NOT set 2025-07-23 17:20:34,152 - 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=9.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.21 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 = 2.209/5.801/9.393/3.592 ms') 2025-07-23 17:20:34,152 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15130107-78240495 passed 2025-07-23 17:20:34,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 17:20:34,307 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15130107-78240495, IP 36.72.24.131, Port 22 2025-07-23 17:20:34,473 - DEBUG - VM ctest-TestBasicPolicy-15130107-78240495 is ready for SSH connections 2025-07-23 17:20:34,473 - INFO - Waiting for VM ctest-TestBasicPolicy-15130107-75052337 to be up.. 2025-07-23 17:20:34,545 - DEBUG - VM is in ACTIVE state now 2025-07-23 17:20:34,545 - INFO - VM name : ctest-TestBasicPolicy-15130107-75052337 2025-07-23 17:20:34,622 - DEBUG - VM ctest-TestBasicPolicy-15130107-75052337 ID is 7aa04f14-68f5-407e-8e5a-02a73db69be0 2025-07-23 17:20:34,622 - DEBUG - VM ctest-TestBasicPolicy-15130107-75052337 launched on Node cn-jenkins-deploy-platform-ansible-os-3708-1 2025-07-23 17:20:34,691 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7aa04f14-68f5-407e-8e5a-02a73db69be0 2025-07-23 17:20:34,702 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/193a17c4-0e73-45a2-99dd-fac6bcc01d85 2025-07-23 17:20:35,953 - 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=4.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.434 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.434/2.604/4.775/2.170 ms') 2025-07-23 17:20:35,954 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-15130107-75052337 passed 2025-07-23 17:20:36,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 17:20:36,103 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15130107-75052337, IP 110.31.113.131, Port 22 2025-07-23 17:20:36,269 - DEBUG - VM ctest-TestBasicPolicy-15130107-75052337 is ready for SSH connections 2025-07-23 17:20:36,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 17:20:36,270 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.31.113.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-23 17:20:36,270 - DEBUG - ping -s 56 -c 3 -W 1 110.31.113.131 2025-07-23 17:20:39,924 - DEBUG - PING 110.31.113.131 (110.31.113.131): 56 data bytes 64 bytes from 110.31.113.131: seq=0 ttl=63 time=3.405 ms 64 bytes from 110.31.113.131: seq=1 ttl=63 time=0.964 ms 64 bytes from 110.31.113.131: seq=2 ttl=63 time=0.882 ms --- 110.31.113.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.882/1.750/3.405 ms 2025-07-23 17:20:39,924 - INFO - Ping to IP 110.31.113.131 from VM ctest-TestBasicPolicy-15130107-78240495 passed 2025-07-23 17:20:40,106 - DEBUG - Policy Update Response {"network-policy": {"uuid": "02706c2d-8c38-4dff-89bf-3d9720ad7cfc", "href": "http://10.0.0.254:8082/network-policy/02706c2d-8c38-4dff-89bf-3d9720ad7cfc"}} 2025-07-23 17:20:40,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 17:20:40,107 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.31.113.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-23 17:20:40,107 - DEBUG - ping -s 56 -c 3 -W 1 110.31.113.131 2025-07-23 17:20:43,315 - DEBUG - PING 110.31.113.131 (110.31.113.131): 56 data bytes --- 110.31.113.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-23 17:20:43,315 - WARNING - Ping to IP 110.31.113.131 from VM ctest-TestBasicPolicy-15130107-78240495 failed 2025-07-23 17:20:43,316 - INFO - Deleting VM ctest-TestBasicPolicy-15130107-75052337 2025-07-23 17:20:43,390 - INFO - Deleting VM ctest-TestBasicPolicy-15130107-78240495 2025-07-23 17:20:43,789 - INFO - Deleted policy ctest-policy-allow-all-40891402 2025-07-23 17:20:43,789 - INFO - Deleting VN ctest-vn-68511394 2025-07-23 17:20:43,838 - DEBUG - VN 7f40af0c-8d58-4d2e-8151-c88731332322 still in use: Unable to complete operation on network 7f40af0c-8d58-4d2e-8151-c88731332322. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5ffa7b25-f1d1-4248-9ab3-e78bfb9e035b'] 2025-07-23 17:20:43,838 - WARNING - Deleting VN ctest-vn-68511394 failed..Will retry 2025-07-23 17:20:45,938 - DEBUG - Response for deleting network () 2025-07-23 17:20:45,938 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e5575272-4822-4f47-af32-f30c5d5ad765 2025-07-23 17:20:45,956 - DEBUG - Response Code: 404 2025-07-23 17:20:45,956 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-23 17:20:45,962 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6fe0b66b-f81d-48ed-a363-41c33e82bf89 2025-07-23 17:20:46,017 - DEBUG - Requesting: http://10.0.0.254:8082/project/7cccd9e0-fa95-42eb-8447-e426ed2e61d9 2025-07-23 17:20:46,087 - INFO - Validated that VN ctest-vn-68511394 is not found in API Server 2025-07-23 17:20:46,099 - DEBUG - VN ctest-vn-68511394 is not present in Agent 10.0.0.254 2025-07-23 17:20:46,099 - INFO - Validated that VN ctest-vn-68511394 is not in any agent 2025-07-23 17:20:46,114 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68511394 info 2025-07-23 17:20:46,114 - INFO - Deleting VN ctest-vn-04746194 2025-07-23 17:20:46,218 - DEBUG - Response for deleting network () 2025-07-23 17:20:46,219 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4c13a900-c02d-4cd7-8b49-93f4281613cc 2025-07-23 17:20:46,226 - DEBUG - Response Code: 404 2025-07-23 17:20:46,226 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-23 17:20:46,232 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6fe0b66b-f81d-48ed-a363-41c33e82bf89 2025-07-23 17:20:46,289 - DEBUG - Requesting: http://10.0.0.254:8082/project/7cccd9e0-fa95-42eb-8447-e426ed2e61d9 2025-07-23 17:20:46,365 - INFO - Validated that VN ctest-vn-04746194 is not found in API Server 2025-07-23 17:20:46,377 - DEBUG - VN ctest-vn-04746194 is not present in Agent 10.0.0.254 2025-07-23 17:20:46,377 - INFO - Validated that VN ctest-vn-04746194 is not in any agent 2025-07-23 17:20:46,394 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04746194 info 2025-07-23 17:20:46,652 - DEBUG - No XMPP flaps were noticed during the test 2025-07-23 17:20:46,653 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-07-23 17:20:46,653 - INFO - -------------------------------------------------------------------------------- 2025-07-23 17:20:47,356 - INFO - Deleted project: ctest-TestBasicPolicy-15130107, ID : 7cccd9e0-fa95-42eb-8447-e426ed2e61d9