2025-07-14 02:07:05,427 - INFO - Domain Default found not creating 2025-07-14 02:07:05,567 - INFO - Project ctest-TestBasicPolicy-07296675 not found, creating it 2025-07-14 02:07:06,036 - INFO - Created Project:ctest-TestBasicPolicy-07296675, ID : 4db10916-76f2-44f4-a627-4adb3599a505 2025-07-14 02:07:07,514 - INFO - ================================================================================ 2025-07-14 02:07:07,514 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-14 02:07:07,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-14 02:07:07,779 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.252': '0'}} with 2025-07-14 02:07:07,779 - INFO - Initial checks done. Running the testcase now 2025-07-14 02:07:07,779 - INFO - 2025-07-14 02:07:08,390 - DEBUG - Response for create_network : {'network': {'id': 'f0d0a0b6-122f-42b5-b66a-7ca4f212f494', 'name': 'ctest-vn-00437984', 'tenant_id': '4db1091676f244f4a6274adb3599a505', 'project_id': '4db1091676f244f4a6274adb3599a505', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07296675', 'ctest-vn-00437984'], 'port_security_enabled': True, 'description': ''}} 2025-07-14 02:07:08,540 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef8ba51a-2590-4a84-824f-2dbb50ed1317', 'name': '', 'tenant_id': '4db1091676f244f4a6274adb3599a505', 'network_id': 'f0d0a0b6-122f-42b5-b66a-7ca4f212f494', 'ip_version': 4, 'cidr': '220.219.48.64/26', 'allocation_pools': [{'start': '220.219.48.66', 'end': '220.219.48.126'}], 'gateway_ip': '220.219.48.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.219.48.66', 'tags': [], 'project_id': '4db1091676f244f4a6274adb3599a505'}} 2025-07-14 02:07:08,559 - INFO - Created VN ctest-vn-00437984 2025-07-14 02:07:08,609 - DEBUG - VN ctest-vn-00437984 UUID is f0d0a0b6-122f-42b5-b66a-7ca4f212f494 2025-07-14 02:07:08,918 - DEBUG - Response for create_network : {'network': {'id': 'b184f5b9-d0b0-4162-8fd8-f7fb1338b620', 'name': 'ctest-vn-06508320', 'tenant_id': '4db1091676f244f4a6274adb3599a505', 'project_id': '4db1091676f244f4a6274adb3599a505', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07296675', 'ctest-vn-06508320'], 'port_security_enabled': True, 'description': ''}} 2025-07-14 02:07:09,108 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb7a96d5-2845-424b-aa01-ccd743855a48', 'name': '', 'tenant_id': '4db1091676f244f4a6274adb3599a505', 'network_id': 'b184f5b9-d0b0-4162-8fd8-f7fb1338b620', 'ip_version': 4, 'cidr': '208.222.191.128/26', 'allocation_pools': [{'start': '208.222.191.130', 'end': '208.222.191.190'}], 'gateway_ip': '208.222.191.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.222.191.130', 'tags': [], 'project_id': '4db1091676f244f4a6274adb3599a505'}} 2025-07-14 02:07:09,125 - INFO - Created VN ctest-vn-06508320 2025-07-14 02:07:09,177 - DEBUG - VN ctest-vn-06508320 UUID is b184f5b9-d0b0-4162-8fd8-f7fb1338b620 2025-07-14 02:07:09,299 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07296675:ctest-vn-00437984, 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-07296675:ctest-vn-06508320, 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-14 02:07:09,610 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f0d0a0b6-122f-42b5-b66a-7ca4f212f494', 'name': 'ctest-vn-00437984', 'tenant_id': '4db1091676f244f4a6274adb3599a505', 'project_id': '4db1091676f244f4a6274adb3599a505', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ef8ba51a-2590-4a84-824f-2dbb50ed1317'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07296675', 'ctest-vn-00437984'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07296675', 'ctest-policy-allow-all-31558204']], 'subnet_ipam': [{'subnet_cidr': '220.219.48.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-14 02:07:09,847 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b184f5b9-d0b0-4162-8fd8-f7fb1338b620', 'name': 'ctest-vn-06508320', 'tenant_id': '4db1091676f244f4a6274adb3599a505', 'project_id': '4db1091676f244f4a6274adb3599a505', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cb7a96d5-2845-424b-aa01-ccd743855a48'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07296675', 'ctest-vn-06508320'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07296675', 'ctest-policy-allow-all-31558204']], 'subnet_ipam': [{'subnet_cidr': '208.222.191.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-14 02:07:10,017 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-14 02:07:10,312 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-14 02:07:10,339 - DEBUG - Requesting: http://10.0.0.249:8082/domain/284e0e17-c510-4835-ba29-3ac94defaa9d 2025-07-14 02:07:10,353 - DEBUG - Requesting: http://10.0.0.249:8082/project/4db10916-76f2-44f4-a627-4adb3599a505 2025-07-14 02:07:10,430 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/f0d0a0b6-122f-42b5-b66a-7ca4f212f494 2025-07-14 02:07:10,442 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/f0d0a0b6-122f-42b5-b66a-7ca4f212f494 2025-07-14 02:07:10,453 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0057792e-9ef6-4c07-9c4b-c631b8d95196 2025-07-14 02:07:10,463 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0057792e-9ef6-4c07-9c4b-c631b8d95196 2025-07-14 02:07:10,470 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/81668495-0b2b-4354-9dc3-8a4d5c0a2995 2025-07-14 02:07:10,476 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-14 02:07:10,476 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/f0d0a0b6-122f-42b5-b66a-7ca4f212f494 2025-07-14 02:07:10,485 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0057792e-9ef6-4c07-9c4b-c631b8d95196 2025-07-14 02:07:10,500 - INFO - Verified VN network id 9 for VN f0d0a0b6-122f-42b5-b66a-7ca4f212f494 2025-07-14 02:07:10,501 - INFO - Verifications in API Server for VN ctest-vn-00437984 passed 2025-07-14 02:07:10,501 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/f0d0a0b6-122f-42b5-b66a-7ca4f212f494 2025-07-14 02:07:10,511 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0057792e-9ef6-4c07-9c4b-c631b8d95196 2025-07-14 02:07:10,520 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0057792e-9ef6-4c07-9c4b-c631b8d95196 2025-07-14 02:07:10,528 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/81668495-0b2b-4354-9dc3-8a4d5c0a2995 2025-07-14 02:07:10,541 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07296675:ctest-vn-00437984', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07296675', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17352546068108100277', 'uuid-lslong': '13144455510312023188'}, 'enable': 'true', 'created': '2025-07-14T02:07:08', 'last-modified': '2025-07-14T02:07:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.964150'} 2025-07-14 02:07:10,547 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-14 02:07:10,547 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00437984 passed 2025-07-14 02:07:10,547 - DEBUG - ====Verifying policy data for ctest-vn-00437984 in API_Server ====== 2025-07-14 02:07:10,547 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-14 02:07:10,553 - DEBUG - Requesting: http://10.0.0.249:8082/domain/284e0e17-c510-4835-ba29-3ac94defaa9d 2025-07-14 02:07:10,565 - DEBUG - Requesting: http://10.0.0.249:8082/project/4db10916-76f2-44f4-a627-4adb3599a505 2025-07-14 02:07:10,638 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/f0d0a0b6-122f-42b5-b66a-7ca4f212f494 2025-07-14 02:07:10,648 - DEBUG - ==>Verifying data for policy with id: 16af4a8d-b930-4b07-8cc0-8245cc7926d4, fqn: ['default-domain', 'ctest-TestBasicPolicy-07296675', 'ctest-policy-allow-all-31558204'] 2025-07-14 02:07:10,648 - INFO - VN ctest-vn-00437984 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-14 02:07:10,648 - DEBUG - Verifying the vn in opserver 2025-07-14 02:07:10,648 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07296675:ctest-vn-00437984 virtual network link through opserver 10.0.0.249 2025-07-14 02:07:10,648 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-07-14 02:07:10,949 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-07-14 02:07:11,005 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07296675:ctest-vn-00437984', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07296675:ctest-vn-00437984?flat'} 2025-07-14 02:07:11,005 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07296675:ctest-vn-00437984 is found in opserver 2025-07-14 02:07:11,017 - DEBUG - Do not have enough data to verify VN in agent 2025-07-14 02:07:11,022 - DEBUG - VRF ids for VN ctest-vn-00437984: {} 2025-07-14 02:07:11,022 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-14 02:07:11,028 - DEBUG - Requesting: http://10.0.0.249:8082/domain/284e0e17-c510-4835-ba29-3ac94defaa9d 2025-07-14 02:07:11,040 - DEBUG - Requesting: http://10.0.0.249:8082/project/4db10916-76f2-44f4-a627-4adb3599a505 2025-07-14 02:07:11,113 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b184f5b9-d0b0-4162-8fd8-f7fb1338b620 2025-07-14 02:07:11,126 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b184f5b9-d0b0-4162-8fd8-f7fb1338b620 2025-07-14 02:07:11,135 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0d8d887c-3ae9-4992-b0b6-473b64923cf9 2025-07-14 02:07:11,142 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0d8d887c-3ae9-4992-b0b6-473b64923cf9 2025-07-14 02:07:11,148 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/50a44959-9e05-47b3-b757-2d49ded293b9 2025-07-14 02:07:11,154 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-14 02:07:11,154 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b184f5b9-d0b0-4162-8fd8-f7fb1338b620 2025-07-14 02:07:11,163 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0d8d887c-3ae9-4992-b0b6-473b64923cf9 2025-07-14 02:07:11,176 - INFO - Verified VN network id 10 for VN b184f5b9-d0b0-4162-8fd8-f7fb1338b620 2025-07-14 02:07:11,176 - INFO - Verifications in API Server for VN ctest-vn-06508320 passed 2025-07-14 02:07:11,176 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b184f5b9-d0b0-4162-8fd8-f7fb1338b620 2025-07-14 02:07:11,238 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0d8d887c-3ae9-4992-b0b6-473b64923cf9 2025-07-14 02:07:11,246 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0d8d887c-3ae9-4992-b0b6-473b64923cf9 2025-07-14 02:07:11,253 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/50a44959-9e05-47b3-b757-2d49ded293b9 2025-07-14 02:07:11,265 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07296675:ctest-vn-06508320', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07296675', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12791619020058018146', 'uuid-lslong': '10365307200124532256'}, 'enable': 'true', 'created': '2025-07-14T02:07:08', 'last-modified': '2025-07-14T02:07:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.449139'} 2025-07-14 02:07:11,272 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-14 02:07:11,272 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06508320 passed 2025-07-14 02:07:11,272 - DEBUG - ====Verifying policy data for ctest-vn-06508320 in API_Server ====== 2025-07-14 02:07:11,272 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-14 02:07:11,278 - DEBUG - Requesting: http://10.0.0.249:8082/domain/284e0e17-c510-4835-ba29-3ac94defaa9d 2025-07-14 02:07:11,291 - DEBUG - Requesting: http://10.0.0.249:8082/project/4db10916-76f2-44f4-a627-4adb3599a505 2025-07-14 02:07:11,368 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b184f5b9-d0b0-4162-8fd8-f7fb1338b620 2025-07-14 02:07:11,379 - DEBUG - ==>Verifying data for policy with id: 16af4a8d-b930-4b07-8cc0-8245cc7926d4, fqn: ['default-domain', 'ctest-TestBasicPolicy-07296675', 'ctest-policy-allow-all-31558204'] 2025-07-14 02:07:11,379 - INFO - VN ctest-vn-06508320 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-14 02:07:11,379 - DEBUG - Verifying the vn in opserver 2025-07-14 02:07:11,379 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07296675:ctest-vn-06508320 virtual network link through opserver 10.0.0.249 2025-07-14 02:07:11,379 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-07-14 02:07:11,390 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07296675:ctest-vn-06508320', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07296675:ctest-vn-06508320?flat'} 2025-07-14 02:07:11,391 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07296675:ctest-vn-06508320 is found in opserver 2025-07-14 02:07:11,401 - DEBUG - Do not have enough data to verify VN in agent 2025-07-14 02:07:11,406 - DEBUG - VRF ids for VN ctest-vn-06508320: {} 2025-07-14 02:07:11,471 - DEBUG - Services list from nova: [, , ] 2025-07-14 02:07:12,483 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3637-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3637-1) 2025-07-14 02:07:13,918 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3637-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3637-1) 2025-07-14 02:07:13,918 - INFO - Waiting for VM ctest-TestBasicPolicy-07296675-84735743 to be up.. 2025-07-14 02:07:13,997 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-14 02:07:19,070 - DEBUG - VM is in ACTIVE state now 2025-07-14 02:07:19,070 - INFO - VM name : ctest-TestBasicPolicy-07296675-84735743 2025-07-14 02:07:19,142 - DEBUG - VM ctest-TestBasicPolicy-07296675-84735743 ID is 76716022-fbb7-4f0b-ba23-be11b91def8b 2025-07-14 02:07:19,163 - DEBUG - VM ctest-TestBasicPolicy-07296675-84735743 launched on Node cn-jenkins-deploy-platform-ansible-os-3637-1 2025-07-14 02:07:19,238 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/76716022-fbb7-4f0b-ba23-be11b91def8b 2025-07-14 02:07:19,247 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/d5ff5571-6f24-4033-b12b-5b5e83f4e911 2025-07-14 02:07:22,486 - 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 1003ms') 2025-07-14 02:07:22,486 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07296675-84735743 failed! 2025-07-14 02:07:22,545 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-07296675:ctest-vn-00437984 is 220.219.48.65 and allocation pool is NOT set 2025-07-14 02:07:24,611 - 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=5.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=5.34 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 = 5.190/5.263/5.336/0.073 ms') 2025-07-14 02:07:24,611 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07296675-84735743 passed 2025-07-14 02:07:24,766 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-14 02:07:24,766 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07296675-84735743, IP 220.219.48.67, Port 22 2025-07-14 02:07:24,925 - DEBUG - VM ctest-TestBasicPolicy-07296675-84735743 is ready for SSH connections 2025-07-14 02:07:24,925 - INFO - Waiting for VM ctest-TestBasicPolicy-07296675-31167664 to be up.. 2025-07-14 02:07:24,998 - DEBUG - VM is in ACTIVE state now 2025-07-14 02:07:24,999 - INFO - VM name : ctest-TestBasicPolicy-07296675-31167664 2025-07-14 02:07:25,071 - DEBUG - VM ctest-TestBasicPolicy-07296675-31167664 ID is cccd44f5-f31f-40bc-80d0-da38dbd56014 2025-07-14 02:07:25,071 - DEBUG - VM ctest-TestBasicPolicy-07296675-31167664 launched on Node cn-jenkins-deploy-platform-ansible-os-3637-1 2025-07-14 02:07:25,142 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/cccd44f5-f31f-40bc-80d0-da38dbd56014 2025-07-14 02:07:25,150 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/7febc56e-9186-4219-8ca3-2cbc311f5bfe 2025-07-14 02:07:26,380 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.303 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.303/1.524/2.745/1.221 ms') 2025-07-14 02:07:26,381 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-07296675-31167664 passed 2025-07-14 02:07:26,537 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-14 02:07:26,538 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07296675-31167664, IP 208.222.191.131, Port 22 2025-07-14 02:07:26,697 - DEBUG - VM ctest-TestBasicPolicy-07296675-31167664 is ready for SSH connections 2025-07-14 02:07:26,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-14 02:07:26,697 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.222.191.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-07-14 02:07:26,697 - DEBUG - ping -s 56 -c 3 -W 1 208.222.191.131 2025-07-14 02:07:30,398 - DEBUG - PING 208.222.191.131 (208.222.191.131): 56 data bytes 64 bytes from 208.222.191.131: seq=0 ttl=63 time=3.546 ms 64 bytes from 208.222.191.131: seq=1 ttl=63 time=0.776 ms 64 bytes from 208.222.191.131: seq=2 ttl=63 time=0.805 ms --- 208.222.191.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.776/1.709/3.546 ms 2025-07-14 02:07:30,398 - INFO - Ping to IP 208.222.191.131 from VM ctest-TestBasicPolicy-07296675-84735743 passed 2025-07-14 02:07:30,585 - DEBUG - Policy Update Response {"network-policy": {"uuid": "16af4a8d-b930-4b07-8cc0-8245cc7926d4", "href": "http://10.0.0.249:8082/network-policy/16af4a8d-b930-4b07-8cc0-8245cc7926d4"}} 2025-07-14 02:07:30,585 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-14 02:07:30,585 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.222.191.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-07-14 02:07:30,585 - DEBUG - ping -s 56 -c 3 -W 1 208.222.191.131 2025-07-14 02:07:33,780 - DEBUG - PING 208.222.191.131 (208.222.191.131): 56 data bytes --- 208.222.191.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-14 02:07:33,780 - WARNING - Ping to IP 208.222.191.131 from VM ctest-TestBasicPolicy-07296675-84735743 failed 2025-07-14 02:07:33,780 - INFO - Deleting VM ctest-TestBasicPolicy-07296675-31167664 2025-07-14 02:07:33,846 - INFO - Deleting VM ctest-TestBasicPolicy-07296675-84735743 2025-07-14 02:07:34,246 - INFO - Deleted policy ctest-policy-allow-all-31558204 2025-07-14 02:07:34,247 - INFO - Deleting VN ctest-vn-06508320 2025-07-14 02:07:34,281 - DEBUG - VN b184f5b9-d0b0-4162-8fd8-f7fb1338b620 still in use: Unable to complete operation on network b184f5b9-d0b0-4162-8fd8-f7fb1338b620. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b91b6f57-0531-4a0c-b87b-850a88fdca51'] 2025-07-14 02:07:34,281 - WARNING - Deleting VN ctest-vn-06508320 failed..Will retry 2025-07-14 02:07:36,392 - DEBUG - Response for deleting network () 2025-07-14 02:07:36,392 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0d8d887c-3ae9-4992-b0b6-473b64923cf9 2025-07-14 02:07:36,402 - DEBUG - Response Code: 404 2025-07-14 02:07:36,402 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-14 02:07:36,409 - DEBUG - Requesting: http://10.0.0.249:8082/domain/284e0e17-c510-4835-ba29-3ac94defaa9d 2025-07-14 02:07:36,480 - DEBUG - Requesting: http://10.0.0.249:8082/project/4db10916-76f2-44f4-a627-4adb3599a505 2025-07-14 02:07:36,563 - INFO - Validated that VN ctest-vn-06508320 is not found in API Server 2025-07-14 02:07:36,575 - DEBUG - VN ctest-vn-06508320 is not present in Agent 10.0.0.249 2025-07-14 02:07:36,575 - INFO - Validated that VN ctest-vn-06508320 is not in any agent 2025-07-14 02:07:36,590 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06508320 info 2025-07-14 02:07:36,590 - INFO - Deleting VN ctest-vn-00437984 2025-07-14 02:07:36,711 - DEBUG - Response for deleting network () 2025-07-14 02:07:36,711 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0057792e-9ef6-4c07-9c4b-c631b8d95196 2025-07-14 02:07:36,719 - DEBUG - Response Code: 404 2025-07-14 02:07:36,719 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-14 02:07:36,726 - DEBUG - Requesting: http://10.0.0.249:8082/domain/284e0e17-c510-4835-ba29-3ac94defaa9d 2025-07-14 02:07:36,778 - DEBUG - Requesting: http://10.0.0.249:8082/project/4db10916-76f2-44f4-a627-4adb3599a505 2025-07-14 02:07:36,859 - INFO - Validated that VN ctest-vn-00437984 is not found in API Server 2025-07-14 02:07:36,872 - DEBUG - VN ctest-vn-00437984 is not present in Agent 10.0.0.249 2025-07-14 02:07:36,872 - INFO - Validated that VN ctest-vn-00437984 is not in any agent 2025-07-14 02:07:36,888 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00437984 info 2025-07-14 02:07:37,163 - DEBUG - No XMPP flaps were noticed during the test 2025-07-14 02:07:37,163 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-07-14 02:07:37,163 - INFO - -------------------------------------------------------------------------------- 2025-07-14 02:07:37,886 - INFO - Deleted project: ctest-TestBasicPolicy-07296675, ID : 4db10916-76f2-44f4-a627-4adb3599a505