2025-11-13 12:47:39,208 - INFO - Domain Default found not creating 2025-11-13 12:47:39,372 - INFO - Project ctest-TestBasicPolicy-67869927 not found, creating it 2025-11-13 12:47:39,828 - INFO - Created Project:ctest-TestBasicPolicy-67869927, ID : 204c176e-50ab-4db4-a609-454aa92afbd0 2025-11-13 12:47:41,320 - INFO - ================================================================================ 2025-11-13 12:47:41,320 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-13 12:47:41,320 - 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-11-13 12:47:41,576 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-13 12:47:41,576 - INFO - Initial checks done. Running the testcase now 2025-11-13 12:47:41,576 - INFO - 2025-11-13 12:47:42,138 - DEBUG - Response for create_network : {'network': {'id': 'f796d3a7-62ee-499d-b3f8-06f0b1e06cea', 'name': 'ctest-vn-15517089', 'tenant_id': '204c176e50ab4db4a609454aa92afbd0', 'project_id': '204c176e50ab4db4a609454aa92afbd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67869927', 'ctest-vn-15517089'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 12:47:42,319 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc102a75-f3c7-463c-86fd-7279443dbc76', 'name': '', 'tenant_id': '204c176e50ab4db4a609454aa92afbd0', 'network_id': 'f796d3a7-62ee-499d-b3f8-06f0b1e06cea', 'ip_version': 4, 'cidr': '23.151.184.0/26', 'allocation_pools': [{'start': '23.151.184.2', 'end': '23.151.184.62'}], 'gateway_ip': '23.151.184.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.151.184.2', 'tags': [], 'project_id': '204c176e50ab4db4a609454aa92afbd0'}} 2025-11-13 12:47:42,337 - INFO - Created VN ctest-vn-15517089 2025-11-13 12:47:42,390 - DEBUG - VN ctest-vn-15517089 UUID is f796d3a7-62ee-499d-b3f8-06f0b1e06cea 2025-11-13 12:47:42,675 - DEBUG - Response for create_network : {'network': {'id': '60b7762d-2290-4427-bc7a-a4436ba1b7ad', 'name': 'ctest-vn-41468858', 'tenant_id': '204c176e50ab4db4a609454aa92afbd0', 'project_id': '204c176e50ab4db4a609454aa92afbd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67869927', 'ctest-vn-41468858'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 12:47:42,858 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3bf7314-2530-4fa8-9d90-c43b6f0e798c', 'name': '', 'tenant_id': '204c176e50ab4db4a609454aa92afbd0', 'network_id': '60b7762d-2290-4427-bc7a-a4436ba1b7ad', 'ip_version': 4, 'cidr': '167.159.46.64/26', 'allocation_pools': [{'start': '167.159.46.66', 'end': '167.159.46.126'}], 'gateway_ip': '167.159.46.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.159.46.66', 'tags': [], 'project_id': '204c176e50ab4db4a609454aa92afbd0'}} 2025-11-13 12:47:42,874 - INFO - Created VN ctest-vn-41468858 2025-11-13 12:47:42,926 - DEBUG - VN ctest-vn-41468858 UUID is 60b7762d-2290-4427-bc7a-a4436ba1b7ad 2025-11-13 12:47:43,082 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67869927:ctest-vn-15517089, 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-67869927:ctest-vn-41468858, 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-11-13 12:47:43,370 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f796d3a7-62ee-499d-b3f8-06f0b1e06cea', 'name': 'ctest-vn-15517089', 'tenant_id': '204c176e50ab4db4a609454aa92afbd0', 'project_id': '204c176e50ab4db4a609454aa92afbd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fc102a75-f3c7-463c-86fd-7279443dbc76'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67869927', 'ctest-vn-15517089'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67869927', 'ctest-policy-allow-all-97254219']], 'subnet_ipam': [{'subnet_cidr': '23.151.184.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-13 12:47:43,643 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '60b7762d-2290-4427-bc7a-a4436ba1b7ad', 'name': 'ctest-vn-41468858', 'tenant_id': '204c176e50ab4db4a609454aa92afbd0', 'project_id': '204c176e50ab4db4a609454aa92afbd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a3bf7314-2530-4fa8-9d90-c43b6f0e798c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67869927', 'ctest-vn-41468858'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67869927', 'ctest-policy-allow-all-97254219']], 'subnet_ipam': [{'subnet_cidr': '167.159.46.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-13 12:47:43,802 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-13 12:47:44,099 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-13 12:47:44,130 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cffd1dc8-b619-4051-90c2-fd7f00aedc9a 2025-11-13 12:47:44,142 - DEBUG - Requesting: http://10.0.0.38:8082/project/204c176e-50ab-4db4-a609-454aa92afbd0 2025-11-13 12:47:44,210 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f796d3a7-62ee-499d-b3f8-06f0b1e06cea 2025-11-13 12:47:44,220 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f796d3a7-62ee-499d-b3f8-06f0b1e06cea 2025-11-13 12:47:44,228 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e4f4d051-293b-4297-a641-367c0875d6b0 2025-11-13 12:47:44,234 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e4f4d051-293b-4297-a641-367c0875d6b0 2025-11-13 12:47:44,240 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/12b8b5fc-8f8b-495f-bb2d-43a083020eed 2025-11-13 12:47:44,246 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-13 12:47:44,246 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f796d3a7-62ee-499d-b3f8-06f0b1e06cea 2025-11-13 12:47:44,254 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e4f4d051-293b-4297-a641-367c0875d6b0 2025-11-13 12:47:44,267 - INFO - Verified VN network id 11 for VN f796d3a7-62ee-499d-b3f8-06f0b1e06cea 2025-11-13 12:47:44,267 - INFO - Verifications in API Server for VN ctest-vn-15517089 passed 2025-11-13 12:47:44,267 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f796d3a7-62ee-499d-b3f8-06f0b1e06cea 2025-11-13 12:47:44,275 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e4f4d051-293b-4297-a641-367c0875d6b0 2025-11-13 12:47:44,282 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e4f4d051-293b-4297-a641-367c0875d6b0 2025-11-13 12:47:44,288 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/12b8b5fc-8f8b-495f-bb2d-43a083020eed 2025-11-13 12:47:44,298 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67869927:ctest-vn-15517089', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67869927', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17840679689747581341', 'uuid-lslong': '12968122757859536106'}, 'enable': 'true', 'created': '2025-11-13T12:47:42', 'last-modified': '2025-11-13T12:47:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.949481'} 2025-11-13 12:47:44,304 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-13 12:47:44,304 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15517089 passed 2025-11-13 12:47:44,304 - DEBUG - ====Verifying policy data for ctest-vn-15517089 in API_Server ====== 2025-11-13 12:47:44,304 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-13 12:47:44,308 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cffd1dc8-b619-4051-90c2-fd7f00aedc9a 2025-11-13 12:47:44,318 - DEBUG - Requesting: http://10.0.0.38:8082/project/204c176e-50ab-4db4-a609-454aa92afbd0 2025-11-13 12:47:44,389 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f796d3a7-62ee-499d-b3f8-06f0b1e06cea 2025-11-13 12:47:44,398 - DEBUG - ==>Verifying data for policy with id: 1c224257-b96c-46c8-85ec-4f0191d1adf3, fqn: ['default-domain', 'ctest-TestBasicPolicy-67869927', 'ctest-policy-allow-all-97254219'] 2025-11-13 12:47:44,398 - INFO - VN ctest-vn-15517089 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-13 12:47:44,398 - DEBUG - Verifying the vn in opserver 2025-11-13 12:47:44,398 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67869927:ctest-vn-15517089 virtual network link through opserver 10.0.0.38 2025-11-13 12:47:44,398 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-13 12:47:44,687 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-13 12:47:44,742 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67869927:ctest-vn-15517089', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67869927:ctest-vn-15517089?flat'} 2025-11-13 12:47:44,742 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67869927:ctest-vn-15517089 is found in opserver 2025-11-13 12:47:44,752 - DEBUG - Do not have enough data to verify VN in agent 2025-11-13 12:47:44,756 - DEBUG - VRF ids for VN ctest-vn-15517089: {} 2025-11-13 12:47:44,756 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-13 12:47:44,761 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cffd1dc8-b619-4051-90c2-fd7f00aedc9a 2025-11-13 12:47:44,771 - DEBUG - Requesting: http://10.0.0.38:8082/project/204c176e-50ab-4db4-a609-454aa92afbd0 2025-11-13 12:47:44,841 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/60b7762d-2290-4427-bc7a-a4436ba1b7ad 2025-11-13 12:47:44,852 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/60b7762d-2290-4427-bc7a-a4436ba1b7ad 2025-11-13 12:47:44,861 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/feaa4312-58f9-440c-997f-5b6dc5f696d3 2025-11-13 12:47:44,869 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/feaa4312-58f9-440c-997f-5b6dc5f696d3 2025-11-13 12:47:44,876 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ab75738b-dde1-4f0a-904c-1287f68ec07e 2025-11-13 12:47:44,882 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-13 12:47:44,882 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/60b7762d-2290-4427-bc7a-a4436ba1b7ad 2025-11-13 12:47:44,891 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/feaa4312-58f9-440c-997f-5b6dc5f696d3 2025-11-13 12:47:44,903 - INFO - Verified VN network id 12 for VN 60b7762d-2290-4427-bc7a-a4436ba1b7ad 2025-11-13 12:47:44,903 - INFO - Verifications in API Server for VN ctest-vn-41468858 passed 2025-11-13 12:47:44,903 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/60b7762d-2290-4427-bc7a-a4436ba1b7ad 2025-11-13 12:47:44,914 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/feaa4312-58f9-440c-997f-5b6dc5f696d3 2025-11-13 12:47:44,920 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/feaa4312-58f9-440c-997f-5b6dc5f696d3 2025-11-13 12:47:44,928 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ab75738b-dde1-4f0a-904c-1287f68ec07e 2025-11-13 12:47:44,940 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67869927:ctest-vn-41468858', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67869927', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6969168884604617767', 'uuid-lslong': '13581348235764676525'}, 'enable': 'true', 'created': '2025-11-13T12:47:42', 'last-modified': '2025-11-13T12:47:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.356777'} 2025-11-13 12:47:44,945 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-13 12:47:44,946 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41468858 passed 2025-11-13 12:47:44,946 - DEBUG - ====Verifying policy data for ctest-vn-41468858 in API_Server ====== 2025-11-13 12:47:44,946 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-13 12:47:44,951 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cffd1dc8-b619-4051-90c2-fd7f00aedc9a 2025-11-13 12:47:44,961 - DEBUG - Requesting: http://10.0.0.38:8082/project/204c176e-50ab-4db4-a609-454aa92afbd0 2025-11-13 12:47:45,031 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/60b7762d-2290-4427-bc7a-a4436ba1b7ad 2025-11-13 12:47:45,040 - DEBUG - ==>Verifying data for policy with id: 1c224257-b96c-46c8-85ec-4f0191d1adf3, fqn: ['default-domain', 'ctest-TestBasicPolicy-67869927', 'ctest-policy-allow-all-97254219'] 2025-11-13 12:47:45,040 - INFO - VN ctest-vn-41468858 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-13 12:47:45,040 - DEBUG - Verifying the vn in opserver 2025-11-13 12:47:45,040 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67869927:ctest-vn-41468858 virtual network link through opserver 10.0.0.38 2025-11-13 12:47:45,040 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-13 12:47:45,048 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67869927:ctest-vn-41468858', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67869927:ctest-vn-41468858?flat'} 2025-11-13 12:47:45,049 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67869927:ctest-vn-41468858 is found in opserver 2025-11-13 12:47:45,057 - DEBUG - Do not have enough data to verify VN in agent 2025-11-13 12:47:45,061 - DEBUG - VRF ids for VN ctest-vn-41468858: {} 2025-11-13 12:47:45,116 - DEBUG - Services list from nova: [, , ] 2025-11-13 12:47:46,121 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4721-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4721-1) 2025-11-13 12:47:47,239 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4721-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4721-1) 2025-11-13 12:47:47,239 - INFO - Waiting for VM ctest-TestBasicPolicy-67869927-78447464 to be up.. 2025-11-13 12:47:47,321 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 12:47:52,398 - DEBUG - VM is in ACTIVE state now 2025-11-13 12:47:52,399 - INFO - VM name : ctest-TestBasicPolicy-67869927-78447464 2025-11-13 12:47:52,473 - DEBUG - VM ctest-TestBasicPolicy-67869927-78447464 ID is 6349b15d-86da-4300-8aba-41ddc4ef9d8a 2025-11-13 12:47:52,492 - DEBUG - VM ctest-TestBasicPolicy-67869927-78447464 launched on Node cn-jenkins-deploy-platform-ansible-os-4721-1 2025-11-13 12:47:52,572 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6349b15d-86da-4300-8aba-41ddc4ef9d8a 2025-11-13 12:47:52,580 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3ec6945e-8e73-4f89-afc0-3dd38ae44735 2025-11-13 12:47:55,841 - 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 1014ms') 2025-11-13 12:47:55,841 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67869927-78447464 failed! 2025-11-13 12:47:55,894 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67869927:ctest-vn-15517089 is 23.151.184.1 and allocation pool is NOT set 2025-11-13 12:47:57,955 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.51 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 = 1.512/5.098/8.684/3.586 ms') 2025-11-13 12:47:57,955 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67869927-78447464 passed 2025-11-13 12:47:58,102 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:47:58,102 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67869927-78447464, IP 23.151.184.3, Port 22 2025-11-13 12:47:58,258 - DEBUG - VM ctest-TestBasicPolicy-67869927-78447464 is ready for SSH connections 2025-11-13 12:47:58,258 - INFO - Waiting for VM ctest-TestBasicPolicy-67869927-25712910 to be up.. 2025-11-13 12:47:58,331 - DEBUG - VM is in ACTIVE state now 2025-11-13 12:47:58,332 - INFO - VM name : ctest-TestBasicPolicy-67869927-25712910 2025-11-13 12:47:58,407 - DEBUG - VM ctest-TestBasicPolicy-67869927-25712910 ID is ddbd41c3-e7be-4085-aee0-add5e48c634d 2025-11-13 12:47:58,407 - DEBUG - VM ctest-TestBasicPolicy-67869927-25712910 launched on Node cn-jenkins-deploy-platform-ansible-os-4721-1 2025-11-13 12:47:58,477 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ddbd41c3-e7be-4085-aee0-add5e48c634d 2025-11-13 12:47:58,485 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4029301a-f4e6-4948-a80c-a559048b9e2e 2025-11-13 12:47:59,725 - 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=3.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.547 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.547/2.270/3.993/1.723 ms') 2025-11-13 12:47:59,725 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-67869927-25712910 passed 2025-11-13 12:47:59,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:47:59,878 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67869927-25712910, IP 167.159.46.67, Port 22 2025-11-13 12:48:00,038 - DEBUG - VM ctest-TestBasicPolicy-67869927-25712910 is ready for SSH connections 2025-11-13 12:48:00,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:48:00,038 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.159.46.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-13 12:48:00,038 - DEBUG - ping -s 56 -c 3 -W 1 167.159.46.67 2025-11-13 12:48:03,740 - DEBUG - PING 167.159.46.67 (167.159.46.67): 56 data bytes 64 bytes from 167.159.46.67: seq=0 ttl=63 time=4.081 ms 64 bytes from 167.159.46.67: seq=1 ttl=63 time=0.823 ms 64 bytes from 167.159.46.67: seq=2 ttl=63 time=0.805 ms --- 167.159.46.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.805/1.903/4.081 ms 2025-11-13 12:48:03,740 - INFO - Ping to IP 167.159.46.67 from VM ctest-TestBasicPolicy-67869927-78447464 passed 2025-11-13 12:48:03,914 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1c224257-b96c-46c8-85ec-4f0191d1adf3", "href": "http://10.0.0.38:8082/network-policy/1c224257-b96c-46c8-85ec-4f0191d1adf3"}} 2025-11-13 12:48:03,914 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:48:03,914 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.159.46.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-13 12:48:03,914 - DEBUG - ping -s 56 -c 3 -W 1 167.159.46.67 2025-11-13 12:48:07,119 - DEBUG - PING 167.159.46.67 (167.159.46.67): 56 data bytes --- 167.159.46.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-13 12:48:07,119 - WARNING - Ping to IP 167.159.46.67 from VM ctest-TestBasicPolicy-67869927-78447464 failed 2025-11-13 12:48:07,119 - INFO - Deleting VM ctest-TestBasicPolicy-67869927-25712910 2025-11-13 12:48:07,187 - INFO - Deleting VM ctest-TestBasicPolicy-67869927-78447464 2025-11-13 12:48:07,526 - INFO - Deleted policy ctest-policy-allow-all-97254219 2025-11-13 12:48:07,526 - INFO - Deleting VN ctest-vn-41468858 2025-11-13 12:48:07,573 - DEBUG - VN 60b7762d-2290-4427-bc7a-a4436ba1b7ad still in use: Unable to complete operation on network 60b7762d-2290-4427-bc7a-a4436ba1b7ad. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-be2a103b-8b1c-4166-adf7-86b45906e3ba'] 2025-11-13 12:48:07,573 - WARNING - Deleting VN ctest-vn-41468858 failed..Will retry 2025-11-13 12:48:09,665 - DEBUG - Response for deleting network () 2025-11-13 12:48:09,665 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/feaa4312-58f9-440c-997f-5b6dc5f696d3 2025-11-13 12:48:09,670 - DEBUG - Response Code: 404 2025-11-13 12:48:09,671 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-13 12:48:09,676 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cffd1dc8-b619-4051-90c2-fd7f00aedc9a 2025-11-13 12:48:09,727 - DEBUG - Requesting: http://10.0.0.38:8082/project/204c176e-50ab-4db4-a609-454aa92afbd0 2025-11-13 12:48:09,796 - INFO - Validated that VN ctest-vn-41468858 is not found in API Server 2025-11-13 12:48:09,805 - DEBUG - VN ctest-vn-41468858 is not present in Agent 10.0.0.38 2025-11-13 12:48:09,805 - INFO - Validated that VN ctest-vn-41468858 is not in any agent 2025-11-13 12:48:09,819 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41468858 info 2025-11-13 12:48:09,819 - INFO - Deleting VN ctest-vn-15517089 2025-11-13 12:48:09,919 - DEBUG - Response for deleting network () 2025-11-13 12:48:09,920 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e4f4d051-293b-4297-a641-367c0875d6b0 2025-11-13 12:48:09,926 - DEBUG - Response Code: 404 2025-11-13 12:48:09,926 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-13 12:48:09,931 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cffd1dc8-b619-4051-90c2-fd7f00aedc9a 2025-11-13 12:48:09,983 - DEBUG - Requesting: http://10.0.0.38:8082/project/204c176e-50ab-4db4-a609-454aa92afbd0 2025-11-13 12:48:10,053 - INFO - Validated that VN ctest-vn-15517089 is not found in API Server 2025-11-13 12:48:10,061 - DEBUG - VN ctest-vn-15517089 is not present in Agent 10.0.0.38 2025-11-13 12:48:10,061 - INFO - Validated that VN ctest-vn-15517089 is not in any agent 2025-11-13 12:48:10,074 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15517089 info 2025-11-13 12:48:10,333 - DEBUG - No XMPP flaps were noticed during the test
2025-11-13 12:48:10,333 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-11-13 12:48:10,333 - INFO - -------------------------------------------------------------------------------- 2025-11-13 12:48:11,004 - INFO - Deleted project: ctest-TestBasicPolicy-67869927, ID : 204c176e-50ab-4db4-a609-454aa92afbd0