2025-07-19 07:47:08,753 - INFO - Domain Default found not creating 2025-07-19 07:47:09,121 - INFO - Project ctest-TestBasicPolicy-84614533 not found, creating it 2025-07-19 07:47:09,875 - INFO - Created Project:ctest-TestBasicPolicy-84614533, ID : ead05a5d-917d-4d5e-9fcd-1bf515e5f003 2025-07-19 07:47:12,200 - INFO - ================================================================================ 2025-07-19 07:47:12,201 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-19 07:47:12,201 - 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-19 07:47:12,526 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-07-19 07:47:12,526 - INFO - Initial checks done. Running the testcase now 2025-07-19 07:47:12,527 - INFO - 2025-07-19 07:47:13,148 - DEBUG - Response for create_network : {'network': {'id': '092a884d-0086-4d5e-8c09-a94d55525bd6', 'name': 'ctest-vn-88210294', 'tenant_id': 'ead05a5d917d4d5e9fcd1bf515e5f003', 'project_id': 'ead05a5d917d4d5e9fcd1bf515e5f003', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84614533', 'ctest-vn-88210294'], 'port_security_enabled': True, 'description': ''}} 2025-07-19 07:47:13,299 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b6eed83-f15b-47b7-a946-bb822f61d28a', 'name': '', 'tenant_id': 'ead05a5d917d4d5e9fcd1bf515e5f003', 'network_id': '092a884d-0086-4d5e-8c09-a94d55525bd6', 'ip_version': 4, 'cidr': '121.58.97.192/26', 'allocation_pools': [{'start': '121.58.97.194', 'end': '121.58.97.254'}], 'gateway_ip': '121.58.97.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.58.97.194', 'tags': [], 'project_id': 'ead05a5d917d4d5e9fcd1bf515e5f003'}} 2025-07-19 07:47:13,316 - INFO - Created VN ctest-vn-88210294 2025-07-19 07:47:13,371 - DEBUG - VN ctest-vn-88210294 UUID is 092a884d-0086-4d5e-8c09-a94d55525bd6 2025-07-19 07:47:13,889 - DEBUG - Response for create_network : {'network': {'id': 'b538ab77-1efe-4ce6-96a8-4c86d3a57880', 'name': 'ctest-vn-08887918', 'tenant_id': 'ead05a5d917d4d5e9fcd1bf515e5f003', 'project_id': 'ead05a5d917d4d5e9fcd1bf515e5f003', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84614533', 'ctest-vn-08887918'], 'port_security_enabled': True, 'description': ''}} 2025-07-19 07:47:14,088 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7d0a481-ddc5-47f1-a6c0-879df4885207', 'name': '', 'tenant_id': 'ead05a5d917d4d5e9fcd1bf515e5f003', 'network_id': 'b538ab77-1efe-4ce6-96a8-4c86d3a57880', 'ip_version': 4, 'cidr': '190.129.149.0/26', 'allocation_pools': [{'start': '190.129.149.2', 'end': '190.129.149.62'}], 'gateway_ip': '190.129.149.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.129.149.2', 'tags': [], 'project_id': 'ead05a5d917d4d5e9fcd1bf515e5f003'}} 2025-07-19 07:47:14,107 - INFO - Created VN ctest-vn-08887918 2025-07-19 07:47:14,163 - DEBUG - VN ctest-vn-08887918 UUID is b538ab77-1efe-4ce6-96a8-4c86d3a57880 2025-07-19 07:47:14,365 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-84614533:ctest-vn-88210294, 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-84614533:ctest-vn-08887918, 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-19 07:47:14,826 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '092a884d-0086-4d5e-8c09-a94d55525bd6', 'name': 'ctest-vn-88210294', 'tenant_id': 'ead05a5d917d4d5e9fcd1bf515e5f003', 'project_id': 'ead05a5d917d4d5e9fcd1bf515e5f003', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5b6eed83-f15b-47b7-a946-bb822f61d28a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84614533', 'ctest-vn-88210294'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84614533', 'ctest-policy-allow-all-55221158']], 'subnet_ipam': [{'subnet_cidr': '121.58.97.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-19 07:47:15,193 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b538ab77-1efe-4ce6-96a8-4c86d3a57880', 'name': 'ctest-vn-08887918', 'tenant_id': 'ead05a5d917d4d5e9fcd1bf515e5f003', 'project_id': 'ead05a5d917d4d5e9fcd1bf515e5f003', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f7d0a481-ddc5-47f1-a6c0-879df4885207'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84614533', 'ctest-vn-08887918'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84614533', 'ctest-policy-allow-all-55221158']], 'subnet_ipam': [{'subnet_cidr': '190.129.149.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-19 07:47:15,467 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-07-19 07:47:15,805 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-07-19 07:47:15,850 - DEBUG - Requesting: http://10.0.0.242:8082/domain/18106ce5-efc6-4dbb-850a-c5d1d293c1a1 2025-07-19 07:47:15,873 - DEBUG - Requesting: http://10.0.0.242:8082/project/ead05a5d-917d-4d5e-9fcd-1bf515e5f003 2025-07-19 07:47:15,970 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/092a884d-0086-4d5e-8c09-a94d55525bd6 2025-07-19 07:47:15,984 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/092a884d-0086-4d5e-8c09-a94d55525bd6 2025-07-19 07:47:15,995 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/18481634-a29a-4a1e-993a-e410c0b9a6f4 2025-07-19 07:47:16,004 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/18481634-a29a-4a1e-993a-e410c0b9a6f4 2025-07-19 07:47:16,014 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/3ebb5dd2-a28b-4ed2-91d7-fc53a8045824 2025-07-19 07:47:16,026 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-19 07:47:16,026 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/092a884d-0086-4d5e-8c09-a94d55525bd6 2025-07-19 07:47:16,037 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/18481634-a29a-4a1e-993a-e410c0b9a6f4 2025-07-19 07:47:16,053 - INFO - Verified VN network id 9 for VN 092a884d-0086-4d5e-8c09-a94d55525bd6 2025-07-19 07:47:16,053 - INFO - Verifications in API Server for VN ctest-vn-88210294 passed 2025-07-19 07:47:16,053 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/092a884d-0086-4d5e-8c09-a94d55525bd6 2025-07-19 07:47:16,064 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/18481634-a29a-4a1e-993a-e410c0b9a6f4 2025-07-19 07:47:16,072 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/18481634-a29a-4a1e-993a-e410c0b9a6f4 2025-07-19 07:47:16,080 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/3ebb5dd2-a28b-4ed2-91d7-fc53a8045824 2025-07-19 07:47:16,093 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84614533:ctest-vn-88210294', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84614533', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '660490159665859934', 'uuid-lslong': '10090782589709343702'}, 'enable': 'true', 'created': '2025-07-19T07:47:13', 'last-modified': '2025-07-19T07:47:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.315367'} 2025-07-19 07:47:16,099 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-19 07:47:16,099 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88210294 passed 2025-07-19 07:47:16,099 - DEBUG - ====Verifying policy data for ctest-vn-88210294 in API_Server ====== 2025-07-19 07:47:16,099 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-07-19 07:47:16,104 - DEBUG - Requesting: http://10.0.0.242:8082/domain/18106ce5-efc6-4dbb-850a-c5d1d293c1a1 2025-07-19 07:47:16,116 - DEBUG - Requesting: http://10.0.0.242:8082/project/ead05a5d-917d-4d5e-9fcd-1bf515e5f003 2025-07-19 07:47:16,197 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/092a884d-0086-4d5e-8c09-a94d55525bd6 2025-07-19 07:47:16,206 - DEBUG - ==>Verifying data for policy with id: edc4b126-84a6-485d-8d3b-7e15d0809f04, fqn: ['default-domain', 'ctest-TestBasicPolicy-84614533', 'ctest-policy-allow-all-55221158'] 2025-07-19 07:47:16,206 - INFO - VN ctest-vn-88210294 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-19 07:47:16,206 - DEBUG - Verifying the vn in opserver 2025-07-19 07:47:16,206 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84614533:ctest-vn-88210294 virtual network link through opserver 10.0.0.242 2025-07-19 07:47:16,207 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-07-19 07:47:16,497 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-07-19 07:47:16,571 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84614533:ctest-vn-88210294', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84614533:ctest-vn-88210294?flat'} 2025-07-19 07:47:16,571 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84614533:ctest-vn-88210294 is found in opserver 2025-07-19 07:47:16,599 - DEBUG - Do not have enough data to verify VN in agent 2025-07-19 07:47:16,612 - DEBUG - VRF ids for VN ctest-vn-88210294: {} 2025-07-19 07:47:16,612 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-07-19 07:47:16,623 - DEBUG - Requesting: http://10.0.0.242:8082/domain/18106ce5-efc6-4dbb-850a-c5d1d293c1a1 2025-07-19 07:47:16,656 - DEBUG - Requesting: http://10.0.0.242:8082/project/ead05a5d-917d-4d5e-9fcd-1bf515e5f003 2025-07-19 07:47:16,771 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/b538ab77-1efe-4ce6-96a8-4c86d3a57880 2025-07-19 07:47:16,801 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/b538ab77-1efe-4ce6-96a8-4c86d3a57880 2025-07-19 07:47:16,824 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/149d38d5-a23a-4839-a16e-4e7bb9beaf6e 2025-07-19 07:47:16,842 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/149d38d5-a23a-4839-a16e-4e7bb9beaf6e 2025-07-19 07:47:16,862 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/ca22dca2-7f55-406b-93a3-14e0f8d15de0 2025-07-19 07:47:16,880 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-19 07:47:16,880 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/b538ab77-1efe-4ce6-96a8-4c86d3a57880 2025-07-19 07:47:16,910 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/149d38d5-a23a-4839-a16e-4e7bb9beaf6e 2025-07-19 07:47:16,954 - INFO - Verified VN network id 10 for VN b538ab77-1efe-4ce6-96a8-4c86d3a57880 2025-07-19 07:47:16,955 - INFO - Verifications in API Server for VN ctest-vn-08887918 passed 2025-07-19 07:47:16,956 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/b538ab77-1efe-4ce6-96a8-4c86d3a57880 2025-07-19 07:47:16,984 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/149d38d5-a23a-4839-a16e-4e7bb9beaf6e 2025-07-19 07:47:16,999 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/149d38d5-a23a-4839-a16e-4e7bb9beaf6e 2025-07-19 07:47:17,020 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/ca22dca2-7f55-406b-93a3-14e0f8d15de0 2025-07-19 07:47:17,057 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84614533:ctest-vn-08887918', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84614533', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13058375647670193382', 'uuid-lslong': '10856011043736746112'}, 'enable': 'true', 'created': '2025-07-19T07:47:13', 'last-modified': '2025-07-19T07:47:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.950281'} 2025-07-19 07:47:17,077 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-19 07:47:17,077 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08887918 passed 2025-07-19 07:47:17,078 - DEBUG - ====Verifying policy data for ctest-vn-08887918 in API_Server ====== 2025-07-19 07:47:17,078 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-07-19 07:47:17,095 - DEBUG - Requesting: http://10.0.0.242:8082/domain/18106ce5-efc6-4dbb-850a-c5d1d293c1a1 2025-07-19 07:47:17,133 - DEBUG - Requesting: http://10.0.0.242:8082/project/ead05a5d-917d-4d5e-9fcd-1bf515e5f003 2025-07-19 07:47:17,272 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/b538ab77-1efe-4ce6-96a8-4c86d3a57880 2025-07-19 07:47:17,299 - DEBUG - ==>Verifying data for policy with id: edc4b126-84a6-485d-8d3b-7e15d0809f04, fqn: ['default-domain', 'ctest-TestBasicPolicy-84614533', 'ctest-policy-allow-all-55221158'] 2025-07-19 07:47:17,299 - INFO - VN ctest-vn-08887918 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-19 07:47:17,300 - DEBUG - Verifying the vn in opserver 2025-07-19 07:47:17,300 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84614533:ctest-vn-08887918 virtual network link through opserver 10.0.0.242 2025-07-19 07:47:17,300 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-07-19 07:47:17,325 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84614533:ctest-vn-08887918', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84614533:ctest-vn-08887918?flat'} 2025-07-19 07:47:17,325 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84614533:ctest-vn-08887918 is found in opserver 2025-07-19 07:47:17,359 - DEBUG - Do not have enough data to verify VN in agent 2025-07-19 07:47:17,375 - DEBUG - VRF ids for VN ctest-vn-08887918: {} 2025-07-19 07:47:17,510 - DEBUG - Services list from nova: [, , ] 2025-07-19 07:47:18,945 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3667-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3667-1) 2025-07-19 07:47:20,451 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3667-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3667-1) 2025-07-19 07:47:20,451 - INFO - Waiting for VM ctest-TestBasicPolicy-84614533-28425995 to be up.. 2025-07-19 07:47:20,573 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-19 07:47:25,757 - DEBUG - VM is in ACTIVE state now 2025-07-19 07:47:25,757 - INFO - VM name : ctest-TestBasicPolicy-84614533-28425995 2025-07-19 07:47:25,896 - DEBUG - VM ctest-TestBasicPolicy-84614533-28425995 ID is d260eed9-6e20-430c-9886-74aa4425ee91 2025-07-19 07:47:25,929 - DEBUG - VM ctest-TestBasicPolicy-84614533-28425995 launched on Node cn-jenkins-deploy-platform-ansible-os-3667-1 2025-07-19 07:47:26,033 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/d260eed9-6e20-430c-9886-74aa4425ee91 2025-07-19 07:47:26,043 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/f314295f-e827-4376-badd-6e4848eceb39 2025-07-19 07:47:29,331 - 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 1018ms') 2025-07-19 07:47:29,332 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84614533-28425995 failed! 2025-07-19 07:47:29,404 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-84614533:ctest-vn-88210294 is 121.58.97.193 and allocation pool is NOT set 2025-07-19 07:47:31,489 - 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=8.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.753 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.753/4.686/8.619/3.933 ms') 2025-07-19 07:47:31,490 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84614533-28425995 passed 2025-07-19 07:47:31,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-19 07:47:31,656 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84614533-28425995, IP 121.58.97.195, Port 22 2025-07-19 07:47:31,858 - DEBUG - VM ctest-TestBasicPolicy-84614533-28425995 is ready for SSH connections 2025-07-19 07:47:31,858 - INFO - Waiting for VM ctest-TestBasicPolicy-84614533-39375071 to be up.. 2025-07-19 07:47:32,051 - DEBUG - VM is in ACTIVE state now 2025-07-19 07:47:32,051 - INFO - VM name : ctest-TestBasicPolicy-84614533-39375071 2025-07-19 07:47:32,241 - DEBUG - VM ctest-TestBasicPolicy-84614533-39375071 ID is 388a3c26-36c4-402d-beec-345658193585 2025-07-19 07:47:32,242 - DEBUG - VM ctest-TestBasicPolicy-84614533-39375071 launched on Node cn-jenkins-deploy-platform-ansible-os-3667-1 2025-07-19 07:47:32,399 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/388a3c26-36c4-402d-beec-345658193585 2025-07-19 07:47:32,424 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/20232e96-a0e9-4100-a7cb-7bb2499efbfc 2025-07-19 07:47:33,783 - 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=5.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.45 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 = 2.453/4.164/5.875/1.711 ms') 2025-07-19 07:47:33,784 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-84614533-39375071 passed 2025-07-19 07:47:33,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-19 07:47:33,976 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84614533-39375071, IP 190.129.149.3, Port 22 2025-07-19 07:47:34,186 - DEBUG - VM ctest-TestBasicPolicy-84614533-39375071 is ready for SSH connections 2025-07-19 07:47:34,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-19 07:47:34,187 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.129.149.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-07-19 07:47:34,187 - DEBUG - ping -s 56 -c 3 -W 1 190.129.149.3 2025-07-19 07:47:38,954 - DEBUG - PING 190.129.149.3 (190.129.149.3): 56 data bytes 64 bytes from 190.129.149.3: seq=0 ttl=63 time=5.542 ms 64 bytes from 190.129.149.3: seq=1 ttl=63 time=1.382 ms 64 bytes from 190.129.149.3: seq=2 ttl=63 time=1.504 ms --- 190.129.149.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.382/2.809/5.542 ms 2025-07-19 07:47:38,954 - INFO - Ping to IP 190.129.149.3 from VM ctest-TestBasicPolicy-84614533-28425995 passed 2025-07-19 07:47:39,215 - DEBUG - Policy Update Response {"network-policy": {"uuid": "edc4b126-84a6-485d-8d3b-7e15d0809f04", "href": "http://10.0.0.242:8082/network-policy/edc4b126-84a6-485d-8d3b-7e15d0809f04"}} 2025-07-19 07:47:39,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-19 07:47:39,216 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.129.149.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-07-19 07:47:39,216 - DEBUG - ping -s 56 -c 3 -W 1 190.129.149.3 2025-07-19 07:47:42,504 - DEBUG - PING 190.129.149.3 (190.129.149.3): 56 data bytes --- 190.129.149.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-19 07:47:42,504 - WARNING - Ping to IP 190.129.149.3 from VM ctest-TestBasicPolicy-84614533-28425995 failed 2025-07-19 07:47:42,504 - INFO - Deleting VM ctest-TestBasicPolicy-84614533-39375071 2025-07-19 07:47:42,593 - INFO - Deleting VM ctest-TestBasicPolicy-84614533-28425995 2025-07-19 07:47:43,184 - INFO - Deleted policy ctest-policy-allow-all-55221158 2025-07-19 07:47:43,184 - INFO - Deleting VN ctest-vn-08887918 2025-07-19 07:47:43,229 - DEBUG - VN b538ab77-1efe-4ce6-96a8-4c86d3a57880 still in use: Unable to complete operation on network b538ab77-1efe-4ce6-96a8-4c86d3a57880. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6fcce377-120e-40e3-af92-d1613d6b81dc'] 2025-07-19 07:47:43,229 - WARNING - Deleting VN ctest-vn-08887918 failed..Will retry 2025-07-19 07:47:45,485 - DEBUG - Response for deleting network () 2025-07-19 07:47:45,485 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/149d38d5-a23a-4839-a16e-4e7bb9beaf6e 2025-07-19 07:47:45,495 - DEBUG - Response Code: 404 2025-07-19 07:47:45,496 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-07-19 07:47:45,502 - DEBUG - Requesting: http://10.0.0.242:8082/domain/18106ce5-efc6-4dbb-850a-c5d1d293c1a1 2025-07-19 07:47:45,561 - DEBUG - Requesting: http://10.0.0.242:8082/project/ead05a5d-917d-4d5e-9fcd-1bf515e5f003 2025-07-19 07:47:45,645 - INFO - Validated that VN ctest-vn-08887918 is not found in API Server 2025-07-19 07:47:45,658 - DEBUG - VN ctest-vn-08887918 is not present in Agent 10.0.0.242 2025-07-19 07:47:45,659 - INFO - Validated that VN ctest-vn-08887918 is not in any agent 2025-07-19 07:47:45,677 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08887918 info 2025-07-19 07:47:45,677 - INFO - Deleting VN ctest-vn-88210294 2025-07-19 07:47:45,795 - DEBUG - Response for deleting network () 2025-07-19 07:47:45,795 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/18481634-a29a-4a1e-993a-e410c0b9a6f4 2025-07-19 07:47:45,803 - DEBUG - Response Code: 404 2025-07-19 07:47:45,803 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-07-19 07:47:45,814 - DEBUG - Requesting: http://10.0.0.242:8082/domain/18106ce5-efc6-4dbb-850a-c5d1d293c1a1 2025-07-19 07:47:45,869 - DEBUG - Requesting: http://10.0.0.242:8082/project/ead05a5d-917d-4d5e-9fcd-1bf515e5f003 2025-07-19 07:47:45,955 - INFO - Validated that VN ctest-vn-88210294 is not found in API Server 2025-07-19 07:47:45,975 - DEBUG - VN ctest-vn-88210294 is not present in Agent 10.0.0.242 2025-07-19 07:47:45,975 - INFO - Validated that VN ctest-vn-88210294 is not in any agent 2025-07-19 07:47:46,004 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88210294 info 2025-07-19 07:47:46,309 - DEBUG - No XMPP flaps were noticed during the test 2025-07-19 07:47:46,309 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2025-07-19 07:47:46,309 - INFO - -------------------------------------------------------------------------------- 2025-07-19 07:47:47,104 - INFO - Deleted project: ctest-TestBasicPolicy-84614533, ID : ead05a5d-917d-4d5e-9fcd-1bf515e5f003