2025-10-30 21:45:38,977 - INFO - Domain Default found not creating 2025-10-30 21:45:39,107 - INFO - Project ctest-TestBasicPolicy-68790838 not found, creating it 2025-10-30 21:45:39,538 - INFO - Created Project:ctest-TestBasicPolicy-68790838, ID : e0ce7aa4-29a4-4ee0-bd25-bad09f0a9295 2025-10-30 21:45:40,944 - INFO - ================================================================================ 2025-10-30 21:45:40,944 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-30 21:45:40,944 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-10-30 21:45:41,205 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.241': '0'}} with 2025-10-30 21:45:41,205 - INFO - Initial checks done. Running the testcase now 2025-10-30 21:45:41,206 - INFO - 2025-10-30 21:45:41,740 - DEBUG - Response for create_network : {'network': {'id': '4615fbe9-e8e2-436f-a187-980b30bb7c2e', 'name': 'ctest-vn-33954487', 'tenant_id': 'e0ce7aa429a44ee0bd25bad09f0a9295', 'project_id': 'e0ce7aa429a44ee0bd25bad09f0a9295', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68790838', 'ctest-vn-33954487'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:45:41,902 - DEBUG - Response for create_subnet : {'subnet': {'id': '6db0a7a7-0b15-4e6b-a6dc-82b02ad055d3', 'name': '', 'tenant_id': 'e0ce7aa429a44ee0bd25bad09f0a9295', 'network_id': '4615fbe9-e8e2-436f-a187-980b30bb7c2e', 'ip_version': 4, 'cidr': '11.226.222.128/26', 'allocation_pools': [{'start': '11.226.222.130', 'end': '11.226.222.190'}], 'gateway_ip': '11.226.222.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.226.222.130', 'tags': [], 'project_id': 'e0ce7aa429a44ee0bd25bad09f0a9295'}} 2025-10-30 21:45:41,918 - INFO - Created VN ctest-vn-33954487 2025-10-30 21:45:41,969 - DEBUG - VN ctest-vn-33954487 UUID is 4615fbe9-e8e2-436f-a187-980b30bb7c2e 2025-10-30 21:45:42,260 - DEBUG - Response for create_network : {'network': {'id': 'fa1f6c02-d85f-4b9b-afa0-3296137ca8b4', 'name': 'ctest-vn-15763663', 'tenant_id': 'e0ce7aa429a44ee0bd25bad09f0a9295', 'project_id': 'e0ce7aa429a44ee0bd25bad09f0a9295', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68790838', 'ctest-vn-15763663'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:45:42,446 - DEBUG - Response for create_subnet : {'subnet': {'id': '4946644b-4458-4daa-b274-1538a17116f3', 'name': '', 'tenant_id': 'e0ce7aa429a44ee0bd25bad09f0a9295', 'network_id': 'fa1f6c02-d85f-4b9b-afa0-3296137ca8b4', 'ip_version': 4, 'cidr': '63.147.76.128/26', 'allocation_pools': [{'start': '63.147.76.130', 'end': '63.147.76.190'}], 'gateway_ip': '63.147.76.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.147.76.130', 'tags': [], 'project_id': 'e0ce7aa429a44ee0bd25bad09f0a9295'}} 2025-10-30 21:45:42,463 - INFO - Created VN ctest-vn-15763663 2025-10-30 21:45:42,517 - DEBUG - VN ctest-vn-15763663 UUID is fa1f6c02-d85f-4b9b-afa0-3296137ca8b4 2025-10-30 21:45:42,665 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-68790838:ctest-vn-33954487, 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-68790838:ctest-vn-15763663, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-10-30 21:45:42,948 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4615fbe9-e8e2-436f-a187-980b30bb7c2e', 'name': 'ctest-vn-33954487', 'tenant_id': 'e0ce7aa429a44ee0bd25bad09f0a9295', 'project_id': 'e0ce7aa429a44ee0bd25bad09f0a9295', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6db0a7a7-0b15-4e6b-a6dc-82b02ad055d3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68790838', 'ctest-vn-33954487'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68790838', 'ctest-policy-allow-all-49628668']], 'subnet_ipam': [{'subnet_cidr': '11.226.222.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:45:43,226 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fa1f6c02-d85f-4b9b-afa0-3296137ca8b4', 'name': 'ctest-vn-15763663', 'tenant_id': 'e0ce7aa429a44ee0bd25bad09f0a9295', 'project_id': 'e0ce7aa429a44ee0bd25bad09f0a9295', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4946644b-4458-4daa-b274-1538a17116f3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68790838', 'ctest-vn-15763663'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68790838', 'ctest-policy-allow-all-49628668']], 'subnet_ipam': [{'subnet_cidr': '63.147.76.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:45:43,369 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-10-30 21:45:43,665 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-10-30 21:45:43,691 - DEBUG - Requesting: http://10.0.0.23:8082/domain/735c0676-dff1-49c0-a214-101b496e4037 2025-10-30 21:45:43,701 - DEBUG - Requesting: http://10.0.0.23:8082/project/e0ce7aa4-29a4-4ee0-bd25-bad09f0a9295 2025-10-30 21:45:43,772 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/4615fbe9-e8e2-436f-a187-980b30bb7c2e 2025-10-30 21:45:43,781 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/4615fbe9-e8e2-436f-a187-980b30bb7c2e 2025-10-30 21:45:43,788 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f7be8af4-cde3-48c0-9a42-2cbf3bf8223b 2025-10-30 21:45:43,793 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f7be8af4-cde3-48c0-9a42-2cbf3bf8223b 2025-10-30 21:45:43,798 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/824237a2-5eb2-4cc5-a85d-d18979abdfa8 2025-10-30 21:45:43,802 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 21:45:43,802 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/4615fbe9-e8e2-436f-a187-980b30bb7c2e 2025-10-30 21:45:43,811 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f7be8af4-cde3-48c0-9a42-2cbf3bf8223b 2025-10-30 21:45:43,823 - INFO - Verified VN network id 9 for VN 4615fbe9-e8e2-436f-a187-980b30bb7c2e 2025-10-30 21:45:43,824 - INFO - Verifications in API Server for VN ctest-vn-33954487 passed 2025-10-30 21:45:43,824 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/4615fbe9-e8e2-436f-a187-980b30bb7c2e 2025-10-30 21:45:43,831 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f7be8af4-cde3-48c0-9a42-2cbf3bf8223b 2025-10-30 21:45:43,836 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f7be8af4-cde3-48c0-9a42-2cbf3bf8223b 2025-10-30 21:45:43,841 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/824237a2-5eb2-4cc5-a85d-d18979abdfa8 2025-10-30 21:45:43,851 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68790838:ctest-vn-33954487', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68790838', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5050219539218973551', 'uuid-lslong': '11639438935791991854'}, 'enable': 'true', 'created': '2025-10-30T21:45:41', 'last-modified': '2025-10-30T21:45:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.920900'} 2025-10-30 21:45:43,857 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 21:45:43,857 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33954487 passed 2025-10-30 21:45:43,857 - DEBUG - ====Verifying policy data for ctest-vn-33954487 in API_Server ====== 2025-10-30 21:45:43,857 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-10-30 21:45:43,861 - DEBUG - Requesting: http://10.0.0.23:8082/domain/735c0676-dff1-49c0-a214-101b496e4037 2025-10-30 21:45:43,871 - DEBUG - Requesting: http://10.0.0.23:8082/project/e0ce7aa4-29a4-4ee0-bd25-bad09f0a9295 2025-10-30 21:45:43,945 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/4615fbe9-e8e2-436f-a187-980b30bb7c2e 2025-10-30 21:45:43,954 - DEBUG - ==>Verifying data for policy with id: c0a030bc-afb3-4ab3-aa2f-6633c09b313c, fqn: ['default-domain', 'ctest-TestBasicPolicy-68790838', 'ctest-policy-allow-all-49628668'] 2025-10-30 21:45:43,954 - INFO - VN ctest-vn-33954487 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 21:45:43,954 - DEBUG - Verifying the vn in opserver 2025-10-30 21:45:43,954 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68790838:ctest-vn-33954487 virtual network link through opserver 10.0.0.23 2025-10-30 21:45:43,954 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-10-30 21:45:44,251 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-10-30 21:45:44,305 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68790838:ctest-vn-33954487', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68790838:ctest-vn-33954487?flat'} 2025-10-30 21:45:44,305 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68790838:ctest-vn-33954487 is found in opserver 2025-10-30 21:45:44,316 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 21:45:44,322 - DEBUG - VRF ids for VN ctest-vn-33954487: {} 2025-10-30 21:45:44,322 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-10-30 21:45:44,329 - DEBUG - Requesting: http://10.0.0.23:8082/domain/735c0676-dff1-49c0-a214-101b496e4037 2025-10-30 21:45:44,340 - DEBUG - Requesting: http://10.0.0.23:8082/project/e0ce7aa4-29a4-4ee0-bd25-bad09f0a9295 2025-10-30 21:45:44,412 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/fa1f6c02-d85f-4b9b-afa0-3296137ca8b4 2025-10-30 21:45:44,423 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/fa1f6c02-d85f-4b9b-afa0-3296137ca8b4 2025-10-30 21:45:44,434 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/50727aa3-cc84-4fb0-af38-9b0eb11b3b2f 2025-10-30 21:45:44,440 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/50727aa3-cc84-4fb0-af38-9b0eb11b3b2f 2025-10-30 21:45:44,446 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/a679dd93-9450-4a78-b72a-ba6f54ec42fd 2025-10-30 21:45:44,453 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 21:45:44,453 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/fa1f6c02-d85f-4b9b-afa0-3296137ca8b4 2025-10-30 21:45:44,463 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/50727aa3-cc84-4fb0-af38-9b0eb11b3b2f 2025-10-30 21:45:44,477 - INFO - Verified VN network id 10 for VN fa1f6c02-d85f-4b9b-afa0-3296137ca8b4 2025-10-30 21:45:44,477 - INFO - Verifications in API Server for VN ctest-vn-15763663 passed 2025-10-30 21:45:44,477 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/fa1f6c02-d85f-4b9b-afa0-3296137ca8b4 2025-10-30 21:45:44,486 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/50727aa3-cc84-4fb0-af38-9b0eb11b3b2f 2025-10-30 21:45:44,492 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/50727aa3-cc84-4fb0-af38-9b0eb11b3b2f 2025-10-30 21:45:44,499 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/a679dd93-9450-4a78-b72a-ba6f54ec42fd 2025-10-30 21:45:44,509 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68790838:ctest-vn-15763663', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68790838', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18023242993235872667', 'uuid-lslong': '12655170573064513716'}, 'enable': 'true', 'created': '2025-10-30T21:45:42', 'last-modified': '2025-10-30T21:45:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.351562'} 2025-10-30 21:45:44,513 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 21:45:44,513 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15763663 passed 2025-10-30 21:45:44,514 - DEBUG - ====Verifying policy data for ctest-vn-15763663 in API_Server ====== 2025-10-30 21:45:44,514 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-10-30 21:45:44,519 - DEBUG - Requesting: http://10.0.0.23:8082/domain/735c0676-dff1-49c0-a214-101b496e4037 2025-10-30 21:45:44,530 - DEBUG - Requesting: http://10.0.0.23:8082/project/e0ce7aa4-29a4-4ee0-bd25-bad09f0a9295 2025-10-30 21:45:44,600 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/fa1f6c02-d85f-4b9b-afa0-3296137ca8b4 2025-10-30 21:45:44,612 - DEBUG - ==>Verifying data for policy with id: c0a030bc-afb3-4ab3-aa2f-6633c09b313c, fqn: ['default-domain', 'ctest-TestBasicPolicy-68790838', 'ctest-policy-allow-all-49628668'] 2025-10-30 21:45:44,612 - INFO - VN ctest-vn-15763663 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 21:45:44,612 - DEBUG - Verifying the vn in opserver 2025-10-30 21:45:44,612 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68790838:ctest-vn-15763663 virtual network link through opserver 10.0.0.23 2025-10-30 21:45:44,612 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-10-30 21:45:44,622 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68790838:ctest-vn-15763663', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68790838:ctest-vn-15763663?flat'} 2025-10-30 21:45:44,622 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68790838:ctest-vn-15763663 is found in opserver 2025-10-30 21:45:44,630 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 21:45:44,634 - DEBUG - VRF ids for VN ctest-vn-15763663: {} 2025-10-30 21:45:44,699 - DEBUG - Services list from nova: [, , ] 2025-10-30 21:45:45,712 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4556-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4556-1) 2025-10-30 21:45:46,801 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4556-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4556-1) 2025-10-30 21:45:46,802 - INFO - Waiting for VM ctest-TestBasicPolicy-68790838-58014088 to be up.. 2025-10-30 21:45:46,878 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 21:45:51,954 - DEBUG - VM is in ACTIVE state now 2025-10-30 21:45:51,954 - INFO - VM name : ctest-TestBasicPolicy-68790838-58014088 2025-10-30 21:45:52,026 - DEBUG - VM ctest-TestBasicPolicy-68790838-58014088 ID is 68a5b785-3ebd-403e-abe8-c0442d9dea75 2025-10-30 21:45:52,045 - DEBUG - VM ctest-TestBasicPolicy-68790838-58014088 launched on Node cn-jenkins-deploy-platform-ansible-os-4556-1 2025-10-30 21:45:52,109 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/68a5b785-3ebd-403e-abe8-c0442d9dea75 2025-10-30 21:45:52,116 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/7b4e5f2e-df7d-40b6-8eed-7a38657f3df0 2025-10-30 21:45:55,357 - 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 1010ms') 2025-10-30 21:45:55,357 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68790838-58014088 failed! 2025-10-30 21:45:55,409 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-68790838:ctest-vn-33954487 is 11.226.222.129 and allocation pool is NOT set 2025-10-30 21:45:57,471 - 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=4.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.413 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 = 0.413/2.370/4.327/1.957 ms') 2025-10-30 21:45:57,471 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68790838-58014088 passed 2025-10-30 21:45:57,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:45:57,617 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68790838-58014088, IP 11.226.222.131, Port 22 2025-10-30 21:45:57,777 - DEBUG - VM ctest-TestBasicPolicy-68790838-58014088 is ready for SSH connections 2025-10-30 21:45:57,777 - INFO - Waiting for VM ctest-TestBasicPolicy-68790838-95967315 to be up.. 2025-10-30 21:45:57,845 - DEBUG - VM is in ACTIVE state now 2025-10-30 21:45:57,845 - INFO - VM name : ctest-TestBasicPolicy-68790838-95967315 2025-10-30 21:45:57,909 - DEBUG - VM ctest-TestBasicPolicy-68790838-95967315 ID is 955bd636-61dd-4620-9dfd-e84a059416eb 2025-10-30 21:45:57,909 - DEBUG - VM ctest-TestBasicPolicy-68790838-95967315 launched on Node cn-jenkins-deploy-platform-ansible-os-4556-1 2025-10-30 21:45:57,979 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/955bd636-61dd-4620-9dfd-e84a059416eb 2025-10-30 21:45:57,986 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/6222be38-e4cf-48ae-83a8-c3c320558c29 2025-10-30 21:45:59,214 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.41 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 = 1.410/2.778/4.147/1.368 ms') 2025-10-30 21:45:59,214 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-68790838-95967315 passed 2025-10-30 21:45:59,365 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:45:59,365 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68790838-95967315, IP 63.147.76.131, Port 22 2025-10-30 21:45:59,521 - DEBUG - VM ctest-TestBasicPolicy-68790838-95967315 is ready for SSH connections 2025-10-30 21:45:59,522 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:45:59,522 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.147.76.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-10-30 21:45:59,522 - DEBUG - ping -s 56 -c 3 -W 1 63.147.76.131 2025-10-30 21:46:03,511 - DEBUG - PING 63.147.76.131 (63.147.76.131): 56 data bytes 64 bytes from 63.147.76.131: seq=0 ttl=63 time=3.988 ms 64 bytes from 63.147.76.131: seq=1 ttl=63 time=2.004 ms 64 bytes from 63.147.76.131: seq=2 ttl=63 time=1.365 ms --- 63.147.76.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.365/2.452/3.988 ms 2025-10-30 21:46:03,511 - INFO - Ping to IP 63.147.76.131 from VM ctest-TestBasicPolicy-68790838-58014088 passed 2025-10-30 21:46:03,685 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c0a030bc-afb3-4ab3-aa2f-6633c09b313c", "href": "http://10.0.0.23:8082/network-policy/c0a030bc-afb3-4ab3-aa2f-6633c09b313c"}} 2025-10-30 21:46:03,685 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:46:03,685 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.147.76.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-10-30 21:46:03,685 - DEBUG - ping -s 56 -c 3 -W 1 63.147.76.131 2025-10-30 21:46:07,212 - DEBUG - PING 63.147.76.131 (63.147.76.131): 56 data bytes --- 63.147.76.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 21:46:07,212 - WARNING - Ping to IP 63.147.76.131 from VM ctest-TestBasicPolicy-68790838-58014088 failed 2025-10-30 21:46:07,212 - INFO - Deleting VM ctest-TestBasicPolicy-68790838-95967315 2025-10-30 21:46:07,275 - INFO - Deleting VM ctest-TestBasicPolicy-68790838-58014088 2025-10-30 21:46:07,631 - INFO - Deleted policy ctest-policy-allow-all-49628668 2025-10-30 21:46:07,631 - INFO - Deleting VN ctest-vn-15763663 2025-10-30 21:46:07,673 - DEBUG - VN fa1f6c02-d85f-4b9b-afa0-3296137ca8b4 still in use: Unable to complete operation on network fa1f6c02-d85f-4b9b-afa0-3296137ca8b4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6edd5c83-51d9-4e22-bc4c-607a4c2a75dc'] 2025-10-30 21:46:07,673 - WARNING - Deleting VN ctest-vn-15763663 failed..Will retry 2025-10-30 21:46:09,767 - DEBUG - Response for deleting network () 2025-10-30 21:46:09,767 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/50727aa3-cc84-4fb0-af38-9b0eb11b3b2f 2025-10-30 21:46:09,773 - DEBUG - Response Code: 404 2025-10-30 21:46:09,773 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-10-30 21:46:09,778 - DEBUG - Requesting: http://10.0.0.23:8082/domain/735c0676-dff1-49c0-a214-101b496e4037 2025-10-30 21:46:09,831 - DEBUG - Requesting: http://10.0.0.23:8082/project/e0ce7aa4-29a4-4ee0-bd25-bad09f0a9295 2025-10-30 21:46:09,900 - INFO - Validated that VN ctest-vn-15763663 is not found in API Server 2025-10-30 21:46:09,909 - DEBUG - VN ctest-vn-15763663 is not present in Agent 10.0.0.23 2025-10-30 21:46:09,910 - INFO - Validated that VN ctest-vn-15763663 is not in any agent 2025-10-30 21:46:09,922 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15763663 info 2025-10-30 21:46:09,922 - INFO - Deleting VN ctest-vn-33954487 2025-10-30 21:46:10,025 - DEBUG - Response for deleting network () 2025-10-30 21:46:10,025 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f7be8af4-cde3-48c0-9a42-2cbf3bf8223b 2025-10-30 21:46:10,029 - DEBUG - Response Code: 404 2025-10-30 21:46:10,029 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-10-30 21:46:10,037 - DEBUG - Requesting: http://10.0.0.23:8082/domain/735c0676-dff1-49c0-a214-101b496e4037 2025-10-30 21:46:10,095 - DEBUG - Requesting: http://10.0.0.23:8082/project/e0ce7aa4-29a4-4ee0-bd25-bad09f0a9295 2025-10-30 21:46:10,161 - INFO - Validated that VN ctest-vn-33954487 is not found in API Server 2025-10-30 21:46:10,169 - DEBUG - VN ctest-vn-33954487 is not present in Agent 10.0.0.23 2025-10-30 21:46:10,169 - INFO - Validated that VN ctest-vn-33954487 is not in any agent 2025-10-30 21:46:10,181 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33954487 info 2025-10-30 21:46:10,434 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 21:46:10,434 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-30 21:46:10,434 - INFO - -------------------------------------------------------------------------------- 2025-10-30 21:46:11,075 - INFO - Deleted project: ctest-TestBasicPolicy-68790838, ID : e0ce7aa4-29a4-4ee0-bd25-bad09f0a9295