2025-08-18 18:00:03,141 - INFO - Domain Default found not creating 2025-08-18 18:00:03,260 - INFO - Project ctest-TestBasicPolicy-17868094 not found, creating it 2025-08-18 18:00:03,753 - INFO - Created Project:ctest-TestBasicPolicy-17868094, ID : da3f7ee0-84bc-4ccf-b428-35d1dc692e14 2025-08-18 18:00:05,117 - INFO - ================================================================================ 2025-08-18 18:00:05,117 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-18 18:00:05,117 - 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-08-18 18:00:05,375 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-18 18:00:05,375 - INFO - Initial checks done. Running the testcase now 2025-08-18 18:00:05,375 - INFO - 2025-08-18 18:00:05,896 - DEBUG - Response for create_network : {'network': {'id': '0b5676d6-b9a0-4305-9485-87d0942f22dd', 'name': 'ctest-vn-20175370', 'tenant_id': 'da3f7ee084bc4ccfb42835d1dc692e14', 'project_id': 'da3f7ee084bc4ccfb42835d1dc692e14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17868094', 'ctest-vn-20175370'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 18:00:06,065 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee0bf40a-1b48-4229-a349-cfc9533482ed', 'name': '', 'tenant_id': 'da3f7ee084bc4ccfb42835d1dc692e14', 'network_id': '0b5676d6-b9a0-4305-9485-87d0942f22dd', 'ip_version': 4, 'cidr': '137.136.133.128/26', 'allocation_pools': [{'start': '137.136.133.130', 'end': '137.136.133.190'}], 'gateway_ip': '137.136.133.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.136.133.130', 'tags': [], 'project_id': 'da3f7ee084bc4ccfb42835d1dc692e14'}} 2025-08-18 18:00:06,081 - INFO - Created VN ctest-vn-20175370 2025-08-18 18:00:06,137 - DEBUG - VN ctest-vn-20175370 UUID is 0b5676d6-b9a0-4305-9485-87d0942f22dd 2025-08-18 18:00:06,440 - DEBUG - Response for create_network : {'network': {'id': 'b8b470b8-14be-4e88-80c8-80047abb568e', 'name': 'ctest-vn-36525881', 'tenant_id': 'da3f7ee084bc4ccfb42835d1dc692e14', 'project_id': 'da3f7ee084bc4ccfb42835d1dc692e14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17868094', 'ctest-vn-36525881'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 18:00:06,595 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a66577f-6717-4d97-9124-adc573d1d42b', 'name': '', 'tenant_id': 'da3f7ee084bc4ccfb42835d1dc692e14', 'network_id': 'b8b470b8-14be-4e88-80c8-80047abb568e', 'ip_version': 4, 'cidr': '77.237.160.0/26', 'allocation_pools': [{'start': '77.237.160.2', 'end': '77.237.160.62'}], 'gateway_ip': '77.237.160.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.237.160.2', 'tags': [], 'project_id': 'da3f7ee084bc4ccfb42835d1dc692e14'}} 2025-08-18 18:00:06,610 - INFO - Created VN ctest-vn-36525881 2025-08-18 18:00:06,661 - DEBUG - VN ctest-vn-36525881 UUID is b8b470b8-14be-4e88-80c8-80047abb568e 2025-08-18 18:00:06,805 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-17868094:ctest-vn-20175370, 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-17868094:ctest-vn-36525881, 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-08-18 18:00:07,095 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0b5676d6-b9a0-4305-9485-87d0942f22dd', 'name': 'ctest-vn-20175370', 'tenant_id': 'da3f7ee084bc4ccfb42835d1dc692e14', 'project_id': 'da3f7ee084bc4ccfb42835d1dc692e14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ee0bf40a-1b48-4229-a349-cfc9533482ed'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17868094', 'ctest-vn-20175370'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17868094', 'ctest-policy-allow-all-46173558']], 'subnet_ipam': [{'subnet_cidr': '137.136.133.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-18 18:00:07,326 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b8b470b8-14be-4e88-80c8-80047abb568e', 'name': 'ctest-vn-36525881', 'tenant_id': 'da3f7ee084bc4ccfb42835d1dc692e14', 'project_id': 'da3f7ee084bc4ccfb42835d1dc692e14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6a66577f-6717-4d97-9124-adc573d1d42b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17868094', 'ctest-vn-36525881'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17868094', 'ctest-policy-allow-all-46173558']], 'subnet_ipam': [{'subnet_cidr': '77.237.160.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-18 18:00:07,477 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-18 18:00:07,776 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-18 18:00:07,809 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6f344721-acc4-4296-a324-03d3dc4be7d1 2025-08-18 18:00:07,821 - DEBUG - Requesting: http://10.0.0.254:8082/project/da3f7ee0-84bc-4ccf-b428-35d1dc692e14 2025-08-18 18:00:07,894 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0b5676d6-b9a0-4305-9485-87d0942f22dd 2025-08-18 18:00:07,905 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0b5676d6-b9a0-4305-9485-87d0942f22dd 2025-08-18 18:00:07,913 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/188367ef-e777-40ea-8def-abcce1da7802 2025-08-18 18:00:07,919 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/188367ef-e777-40ea-8def-abcce1da7802 2025-08-18 18:00:07,925 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d4a72d3a-85bf-4987-b14f-b8385e647cc1 2025-08-18 18:00:07,931 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-18 18:00:07,931 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0b5676d6-b9a0-4305-9485-87d0942f22dd 2025-08-18 18:00:07,939 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/188367ef-e777-40ea-8def-abcce1da7802 2025-08-18 18:00:07,951 - INFO - Verified VN network id 11 for VN 0b5676d6-b9a0-4305-9485-87d0942f22dd 2025-08-18 18:00:07,951 - INFO - Verifications in API Server for VN ctest-vn-20175370 passed 2025-08-18 18:00:07,952 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0b5676d6-b9a0-4305-9485-87d0942f22dd 2025-08-18 18:00:07,960 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/188367ef-e777-40ea-8def-abcce1da7802 2025-08-18 18:00:07,966 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/188367ef-e777-40ea-8def-abcce1da7802 2025-08-18 18:00:07,972 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d4a72d3a-85bf-4987-b14f-b8385e647cc1 2025-08-18 18:00:07,983 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17868094:ctest-vn-20175370', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17868094', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '816971047023690501', 'uuid-lslong': '10702109419424916189'}, 'enable': 'true', 'created': '2025-08-18T18:00:05', 'last-modified': '2025-08-18T18:00:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.917046'} 2025-08-18 18:00:07,989 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-18 18:00:07,990 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20175370 passed 2025-08-18 18:00:07,990 - DEBUG - ====Verifying policy data for ctest-vn-20175370 in API_Server ====== 2025-08-18 18:00:07,990 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-18 18:00:07,995 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6f344721-acc4-4296-a324-03d3dc4be7d1 2025-08-18 18:00:08,006 - DEBUG - Requesting: http://10.0.0.254:8082/project/da3f7ee0-84bc-4ccf-b428-35d1dc692e14 2025-08-18 18:00:08,076 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0b5676d6-b9a0-4305-9485-87d0942f22dd 2025-08-18 18:00:08,085 - DEBUG - ==>Verifying data for policy with id: 7a0b96ff-a584-4ff6-b01c-8f12c7ba1095, fqn: ['default-domain', 'ctest-TestBasicPolicy-17868094', 'ctest-policy-allow-all-46173558'] 2025-08-18 18:00:08,085 - INFO - VN ctest-vn-20175370 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-18 18:00:08,085 - DEBUG - Verifying the vn in opserver 2025-08-18 18:00:08,085 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17868094:ctest-vn-20175370 virtual network link through opserver 10.0.0.254 2025-08-18 18:00:08,085 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-18 18:00:08,372 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-18 18:00:08,426 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17868094:ctest-vn-20175370', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17868094:ctest-vn-20175370?flat'} 2025-08-18 18:00:08,426 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17868094:ctest-vn-20175370 is found in opserver 2025-08-18 18:00:08,436 - DEBUG - Do not have enough data to verify VN in agent 2025-08-18 18:00:08,441 - DEBUG - VRF ids for VN ctest-vn-20175370: {} 2025-08-18 18:00:08,441 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-18 18:00:08,446 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6f344721-acc4-4296-a324-03d3dc4be7d1 2025-08-18 18:00:08,456 - DEBUG - Requesting: http://10.0.0.254:8082/project/da3f7ee0-84bc-4ccf-b428-35d1dc692e14 2025-08-18 18:00:08,527 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b8b470b8-14be-4e88-80c8-80047abb568e 2025-08-18 18:00:08,538 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b8b470b8-14be-4e88-80c8-80047abb568e 2025-08-18 18:00:08,546 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9dc3651f-fa68-4c0d-a4ec-85535f87370c 2025-08-18 18:00:08,552 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9dc3651f-fa68-4c0d-a4ec-85535f87370c 2025-08-18 18:00:08,558 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/28da1390-bb24-444d-b0d1-6553bf8b2f32 2025-08-18 18:00:08,564 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-18 18:00:08,564 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b8b470b8-14be-4e88-80c8-80047abb568e 2025-08-18 18:00:08,572 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9dc3651f-fa68-4c0d-a4ec-85535f87370c 2025-08-18 18:00:08,583 - INFO - Verified VN network id 12 for VN b8b470b8-14be-4e88-80c8-80047abb568e 2025-08-18 18:00:08,583 - INFO - Verifications in API Server for VN ctest-vn-36525881 passed 2025-08-18 18:00:08,583 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b8b470b8-14be-4e88-80c8-80047abb568e 2025-08-18 18:00:08,592 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9dc3651f-fa68-4c0d-a4ec-85535f87370c 2025-08-18 18:00:08,598 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9dc3651f-fa68-4c0d-a4ec-85535f87370c 2025-08-18 18:00:08,603 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/28da1390-bb24-444d-b0d1-6553bf8b2f32 2025-08-18 18:00:08,614 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17868094:ctest-vn-36525881', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17868094', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13309386734710967944', 'uuid-lslong': '9279807788924229262'}, 'enable': 'true', 'created': '2025-08-18T18:00:06', 'last-modified': '2025-08-18T18:00:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.314362'} 2025-08-18 18:00:08,619 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-18 18:00:08,619 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36525881 passed 2025-08-18 18:00:08,620 - DEBUG - ====Verifying policy data for ctest-vn-36525881 in API_Server ====== 2025-08-18 18:00:08,620 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-18 18:00:08,625 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6f344721-acc4-4296-a324-03d3dc4be7d1 2025-08-18 18:00:08,636 - DEBUG - Requesting: http://10.0.0.254:8082/project/da3f7ee0-84bc-4ccf-b428-35d1dc692e14 2025-08-18 18:00:08,707 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b8b470b8-14be-4e88-80c8-80047abb568e 2025-08-18 18:00:08,717 - DEBUG - ==>Verifying data for policy with id: 7a0b96ff-a584-4ff6-b01c-8f12c7ba1095, fqn: ['default-domain', 'ctest-TestBasicPolicy-17868094', 'ctest-policy-allow-all-46173558'] 2025-08-18 18:00:08,717 - INFO - VN ctest-vn-36525881 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-18 18:00:08,717 - DEBUG - Verifying the vn in opserver 2025-08-18 18:00:08,717 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17868094:ctest-vn-36525881 virtual network link through opserver 10.0.0.254 2025-08-18 18:00:08,717 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-18 18:00:08,726 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17868094:ctest-vn-36525881', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17868094:ctest-vn-36525881?flat'} 2025-08-18 18:00:08,726 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17868094:ctest-vn-36525881 is found in opserver 2025-08-18 18:00:08,736 - DEBUG - Do not have enough data to verify VN in agent 2025-08-18 18:00:08,740 - DEBUG - VRF ids for VN ctest-vn-36525881: {} 2025-08-18 18:00:08,789 - DEBUG - Services list from nova: [, , ] 2025-08-18 18:00:09,781 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3879-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3879-1) 2025-08-18 18:00:10,830 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3879-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3879-1) 2025-08-18 18:00:10,830 - INFO - Waiting for VM ctest-TestBasicPolicy-17868094-37110209 to be up.. 2025-08-18 18:00:10,892 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-18 18:00:15,955 - DEBUG - VM is in ACTIVE state now 2025-08-18 18:00:15,956 - INFO - VM name : ctest-TestBasicPolicy-17868094-37110209 2025-08-18 18:00:16,019 - DEBUG - VM ctest-TestBasicPolicy-17868094-37110209 ID is 35ee8ac5-0a1c-4dcd-82c3-6bf0c0d76d28 2025-08-18 18:00:16,038 - DEBUG - VM ctest-TestBasicPolicy-17868094-37110209 launched on Node cn-jenkins-deploy-platform-ansible-os-3879-1 2025-08-18 18:00:16,103 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/35ee8ac5-0a1c-4dcd-82c3-6bf0c0d76d28 2025-08-18 18:00:16,112 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/66ec694f-1ddb-4b8b-9344-33a07152ee5b 2025-08-18 18:00:19,375 - 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 1026ms') 2025-08-18 18:00:19,376 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17868094-37110209 failed! 2025-08-18 18:00:19,433 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17868094:ctest-vn-20175370 is 137.136.133.129 and allocation pool is NOT set 2025-08-18 18:00:21,491 - 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=2.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.325 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.325/1.443/2.561/1.118 ms') 2025-08-18 18:00:21,491 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17868094-37110209 passed 2025-08-18 18:00:21,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 18:00:21,638 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17868094-37110209, IP 137.136.133.131, Port 22 2025-08-18 18:00:21,793 - DEBUG - VM ctest-TestBasicPolicy-17868094-37110209 is ready for SSH connections 2025-08-18 18:00:21,793 - INFO - Waiting for VM ctest-TestBasicPolicy-17868094-38067980 to be up.. 2025-08-18 18:00:21,858 - DEBUG - VM is in ACTIVE state now 2025-08-18 18:00:21,858 - INFO - VM name : ctest-TestBasicPolicy-17868094-38067980 2025-08-18 18:00:21,919 - DEBUG - VM ctest-TestBasicPolicy-17868094-38067980 ID is b4e8f139-6a3b-4177-ab61-40db4b95d6dc 2025-08-18 18:00:21,920 - DEBUG - VM ctest-TestBasicPolicy-17868094-38067980 launched on Node cn-jenkins-deploy-platform-ansible-os-3879-1 2025-08-18 18:00:21,979 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b4e8f139-6a3b-4177-ab61-40db4b95d6dc 2025-08-18 18:00:21,987 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c7d021ec-948b-4015-873d-f8fdccb2b149 2025-08-18 18:00:23,223 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.367 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.367/1.482/2.597/1.115 ms') 2025-08-18 18:00:23,224 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-17868094-38067980 passed 2025-08-18 18:00:23,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 18:00:23,369 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17868094-38067980, IP 77.237.160.3, Port 22 2025-08-18 18:00:23,524 - DEBUG - VM ctest-TestBasicPolicy-17868094-38067980 is ready for SSH connections 2025-08-18 18:00:23,525 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 18:00:23,525 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.237.160.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-18 18:00:23,525 - DEBUG - ping -s 56 -c 3 -W 1 77.237.160.3 2025-08-18 18:00:27,455 - DEBUG - PING 77.237.160.3 (77.237.160.3): 56 data bytes 64 bytes from 77.237.160.3: seq=0 ttl=63 time=2.958 ms 64 bytes from 77.237.160.3: seq=1 ttl=63 time=0.727 ms 64 bytes from 77.237.160.3: seq=2 ttl=63 time=0.663 ms --- 77.237.160.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.663/1.449/2.958 ms 2025-08-18 18:00:27,455 - INFO - Ping to IP 77.237.160.3 from VM ctest-TestBasicPolicy-17868094-37110209 passed 2025-08-18 18:00:27,625 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7a0b96ff-a584-4ff6-b01c-8f12c7ba1095", "href": "http://10.0.0.254:8082/network-policy/7a0b96ff-a584-4ff6-b01c-8f12c7ba1095"}} 2025-08-18 18:00:27,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 18:00:27,625 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.237.160.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-18 18:00:27,626 - DEBUG - ping -s 56 -c 3 -W 1 77.237.160.3 2025-08-18 18:00:30,822 - DEBUG - PING 77.237.160.3 (77.237.160.3): 56 data bytes 64 bytes from 77.237.160.3: seq=0 ttl=63 time=1.256 ms --- 77.237.160.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.256/1.256/1.256 ms 2025-08-18 18:00:30,823 - WARNING - Ping to IP 77.237.160.3 from VM ctest-TestBasicPolicy-17868094-37110209 failed 2025-08-18 18:00:30,823 - INFO - Deleting VM ctest-TestBasicPolicy-17868094-38067980 2025-08-18 18:00:30,881 - INFO - Deleting VM ctest-TestBasicPolicy-17868094-37110209 2025-08-18 18:00:31,226 - INFO - Deleted policy ctest-policy-allow-all-46173558 2025-08-18 18:00:31,226 - INFO - Deleting VN ctest-vn-36525881 2025-08-18 18:00:31,257 - DEBUG - VN b8b470b8-14be-4e88-80c8-80047abb568e still in use: Unable to complete operation on network b8b470b8-14be-4e88-80c8-80047abb568e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3935f8f0-98a5-453b-a5f0-c6499ca182a8'] 2025-08-18 18:00:31,257 - WARNING - Deleting VN ctest-vn-36525881 failed..Will retry 2025-08-18 18:00:33,353 - DEBUG - Response for deleting network () 2025-08-18 18:00:33,354 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9dc3651f-fa68-4c0d-a4ec-85535f87370c 2025-08-18 18:00:33,361 - DEBUG - Response Code: 404 2025-08-18 18:00:33,361 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-18 18:00:33,367 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6f344721-acc4-4296-a324-03d3dc4be7d1 2025-08-18 18:00:33,423 - DEBUG - Requesting: http://10.0.0.254:8082/project/da3f7ee0-84bc-4ccf-b428-35d1dc692e14 2025-08-18 18:00:33,494 - INFO - Validated that VN ctest-vn-36525881 is not found in API Server 2025-08-18 18:00:33,504 - DEBUG - VN ctest-vn-36525881 is not present in Agent 10.0.0.254 2025-08-18 18:00:33,504 - INFO - Validated that VN ctest-vn-36525881 is not in any agent 2025-08-18 18:00:33,518 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36525881 info 2025-08-18 18:00:33,518 - INFO - Deleting VN ctest-vn-20175370 2025-08-18 18:00:33,616 - DEBUG - Response for deleting network () 2025-08-18 18:00:33,616 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/188367ef-e777-40ea-8def-abcce1da7802 2025-08-18 18:00:33,622 - DEBUG - Response Code: 404 2025-08-18 18:00:33,622 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-18 18:00:33,627 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6f344721-acc4-4296-a324-03d3dc4be7d1 2025-08-18 18:00:33,679 - DEBUG - Requesting: http://10.0.0.254:8082/project/da3f7ee0-84bc-4ccf-b428-35d1dc692e14 2025-08-18 18:00:33,751 - INFO - Validated that VN ctest-vn-20175370 is not found in API Server 2025-08-18 18:00:33,762 - DEBUG - VN ctest-vn-20175370 is not present in Agent 10.0.0.254 2025-08-18 18:00:33,762 - INFO - Validated that VN ctest-vn-20175370 is not in any agent 2025-08-18 18:00:33,778 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20175370 info 2025-08-18 18:00:34,031 - DEBUG - No XMPP flaps were noticed during the test 2025-08-18 18:00:34,031 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-18 18:00:34,031 - INFO - -------------------------------------------------------------------------------- 2025-08-18 18:00:34,680 - INFO - Deleted project: ctest-TestBasicPolicy-17868094, ID : da3f7ee0-84bc-4ccf-b428-35d1dc692e14