2025-06-27 03:40:40,566 - INFO - Domain Default found not creating 2025-06-27 03:40:40,707 - INFO - Project ctest-TestBasicPolicy-38722532 not found, creating it 2025-06-27 03:40:41,225 - INFO - Created Project:ctest-TestBasicPolicy-38722532, ID : 22891ee7-703b-484f-9ea7-4e5631e4254c 2025-06-27 03:40:42,661 - INFO - ================================================================================ 2025-06-27 03:40:42,661 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-27 03:40:42,661 - 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-06-27 03:40:42,921 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-27 03:40:42,921 - INFO - Initial checks done. Running the testcase now 2025-06-27 03:40:42,921 - INFO - 2025-06-27 03:40:43,467 - DEBUG - Response for create_network : {'network': {'id': '960b1a88-d207-41e7-ad93-0ab0ebf3590c', 'name': 'ctest-vn-14760340', 'tenant_id': '22891ee7703b484f9ea74e5631e4254c', 'project_id': '22891ee7703b484f9ea74e5631e4254c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38722532', 'ctest-vn-14760340'], 'port_security_enabled': True, 'description': ''}} 2025-06-27 03:40:43,703 - DEBUG - Response for create_subnet : {'subnet': {'id': '147ac304-f522-4b56-8ef9-8d0f8ab9f99a', 'name': '', 'tenant_id': '22891ee7703b484f9ea74e5631e4254c', 'network_id': '960b1a88-d207-41e7-ad93-0ab0ebf3590c', 'ip_version': 4, 'cidr': '120.106.231.0/26', 'allocation_pools': [{'start': '120.106.231.2', 'end': '120.106.231.62'}], 'gateway_ip': '120.106.231.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.106.231.2', 'tags': [], 'project_id': '22891ee7703b484f9ea74e5631e4254c'}} 2025-06-27 03:40:43,722 - INFO - Created VN ctest-vn-14760340 2025-06-27 03:40:43,775 - DEBUG - VN ctest-vn-14760340 UUID is 960b1a88-d207-41e7-ad93-0ab0ebf3590c 2025-06-27 03:40:44,233 - DEBUG - Response for create_network : {'network': {'id': '7400293a-dfe0-4f36-b06d-5e72b2c0886d', 'name': 'ctest-vn-70100867', 'tenant_id': '22891ee7703b484f9ea74e5631e4254c', 'project_id': '22891ee7703b484f9ea74e5631e4254c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38722532', 'ctest-vn-70100867'], 'port_security_enabled': True, 'description': ''}} 2025-06-27 03:40:44,438 - DEBUG - Response for create_subnet : {'subnet': {'id': '2ea97668-02f7-44f6-81a8-92f9dff3eed8', 'name': '', 'tenant_id': '22891ee7703b484f9ea74e5631e4254c', 'network_id': '7400293a-dfe0-4f36-b06d-5e72b2c0886d', 'ip_version': 4, 'cidr': '118.105.98.192/26', 'allocation_pools': [{'start': '118.105.98.194', 'end': '118.105.98.254'}], 'gateway_ip': '118.105.98.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.105.98.194', 'tags': [], 'project_id': '22891ee7703b484f9ea74e5631e4254c'}} 2025-06-27 03:40:44,457 - INFO - Created VN ctest-vn-70100867 2025-06-27 03:40:44,511 - DEBUG - VN ctest-vn-70100867 UUID is 7400293a-dfe0-4f36-b06d-5e72b2c0886d 2025-06-27 03:40:44,622 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38722532:ctest-vn-14760340, 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-38722532:ctest-vn-70100867, 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-06-27 03:40:44,941 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '960b1a88-d207-41e7-ad93-0ab0ebf3590c', 'name': 'ctest-vn-14760340', 'tenant_id': '22891ee7703b484f9ea74e5631e4254c', 'project_id': '22891ee7703b484f9ea74e5631e4254c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['147ac304-f522-4b56-8ef9-8d0f8ab9f99a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38722532', 'ctest-vn-14760340'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38722532', 'ctest-policy-allow-all-01855718']], 'subnet_ipam': [{'subnet_cidr': '120.106.231.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-27 03:40:45,190 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7400293a-dfe0-4f36-b06d-5e72b2c0886d', 'name': 'ctest-vn-70100867', 'tenant_id': '22891ee7703b484f9ea74e5631e4254c', 'project_id': '22891ee7703b484f9ea74e5631e4254c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2ea97668-02f7-44f6-81a8-92f9dff3eed8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38722532', 'ctest-vn-70100867'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38722532', 'ctest-policy-allow-all-01855718']], 'subnet_ipam': [{'subnet_cidr': '118.105.98.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-27 03:40:45,363 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-27 03:40:45,655 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-27 03:40:45,683 - DEBUG - Requesting: http://10.0.0.38:8082/domain/78684d99-4ef3-4744-82e2-dc0d26b10845 2025-06-27 03:40:45,697 - DEBUG - Requesting: http://10.0.0.38:8082/project/22891ee7-703b-484f-9ea7-4e5631e4254c 2025-06-27 03:40:45,771 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/960b1a88-d207-41e7-ad93-0ab0ebf3590c 2025-06-27 03:40:45,782 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/960b1a88-d207-41e7-ad93-0ab0ebf3590c 2025-06-27 03:40:45,794 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e52e8cfb-4a27-4d50-a296-95df6562dda3 2025-06-27 03:40:45,802 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e52e8cfb-4a27-4d50-a296-95df6562dda3 2025-06-27 03:40:45,809 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/eee9c665-512f-46c7-9487-2295b9a51ae5 2025-06-27 03:40:45,815 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-27 03:40:45,815 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/960b1a88-d207-41e7-ad93-0ab0ebf3590c 2025-06-27 03:40:45,825 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e52e8cfb-4a27-4d50-a296-95df6562dda3 2025-06-27 03:40:45,840 - INFO - Verified VN network id 8 for VN 960b1a88-d207-41e7-ad93-0ab0ebf3590c 2025-06-27 03:40:45,840 - INFO - Verifications in API Server for VN ctest-vn-14760340 passed 2025-06-27 03:40:45,840 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/960b1a88-d207-41e7-ad93-0ab0ebf3590c 2025-06-27 03:40:45,850 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e52e8cfb-4a27-4d50-a296-95df6562dda3 2025-06-27 03:40:45,857 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e52e8cfb-4a27-4d50-a296-95df6562dda3 2025-06-27 03:40:45,864 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/eee9c665-512f-46c7-9487-2295b9a51ae5 2025-06-27 03:40:45,876 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38722532:ctest-vn-14760340', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38722532', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10811764505374573031', 'uuid-lslong': '12507352345127115020'}, 'enable': 'true', 'created': '2025-06-27T03:40:43', 'last-modified': '2025-06-27T03:40:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.954425'} 2025-06-27 03:40:45,883 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-27 03:40:45,883 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14760340 passed 2025-06-27 03:40:45,883 - DEBUG - ====Verifying policy data for ctest-vn-14760340 in API_Server ====== 2025-06-27 03:40:45,883 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-27 03:40:45,889 - DEBUG - Requesting: http://10.0.0.38:8082/domain/78684d99-4ef3-4744-82e2-dc0d26b10845 2025-06-27 03:40:45,900 - DEBUG - Requesting: http://10.0.0.38:8082/project/22891ee7-703b-484f-9ea7-4e5631e4254c 2025-06-27 03:40:45,979 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/960b1a88-d207-41e7-ad93-0ab0ebf3590c 2025-06-27 03:40:45,989 - DEBUG - ==>Verifying data for policy with id: 4597a852-6c11-47af-996e-445d67b54857, fqn: ['default-domain', 'ctest-TestBasicPolicy-38722532', 'ctest-policy-allow-all-01855718'] 2025-06-27 03:40:45,989 - INFO - VN ctest-vn-14760340 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-27 03:40:45,990 - DEBUG - Verifying the vn in opserver 2025-06-27 03:40:45,990 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38722532:ctest-vn-14760340 virtual network link through opserver 10.0.0.38 2025-06-27 03:40:45,990 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-27 03:40:46,281 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-27 03:40:46,341 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38722532:ctest-vn-14760340', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38722532:ctest-vn-14760340?flat'} 2025-06-27 03:40:46,341 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38722532:ctest-vn-14760340 is found in opserver 2025-06-27 03:40:46,354 - DEBUG - Do not have enough data to verify VN in agent 2025-06-27 03:40:46,361 - DEBUG - VRF ids for VN ctest-vn-14760340: {} 2025-06-27 03:40:46,361 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-27 03:40:46,368 - DEBUG - Requesting: http://10.0.0.38:8082/domain/78684d99-4ef3-4744-82e2-dc0d26b10845 2025-06-27 03:40:46,380 - DEBUG - Requesting: http://10.0.0.38:8082/project/22891ee7-703b-484f-9ea7-4e5631e4254c 2025-06-27 03:40:46,456 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7400293a-dfe0-4f36-b06d-5e72b2c0886d 2025-06-27 03:40:46,469 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7400293a-dfe0-4f36-b06d-5e72b2c0886d 2025-06-27 03:40:46,479 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cde9a244-d060-4d11-b7c6-c283d33c2f53 2025-06-27 03:40:46,487 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cde9a244-d060-4d11-b7c6-c283d33c2f53 2025-06-27 03:40:46,495 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ac1adde3-2780-4c1b-b21b-c4d06d0763cf 2025-06-27 03:40:46,501 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-27 03:40:46,501 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7400293a-dfe0-4f36-b06d-5e72b2c0886d 2025-06-27 03:40:46,511 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cde9a244-d060-4d11-b7c6-c283d33c2f53 2025-06-27 03:40:46,526 - INFO - Verified VN network id 9 for VN 7400293a-dfe0-4f36-b06d-5e72b2c0886d 2025-06-27 03:40:46,526 - INFO - Verifications in API Server for VN ctest-vn-70100867 passed 2025-06-27 03:40:46,526 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7400293a-dfe0-4f36-b06d-5e72b2c0886d 2025-06-27 03:40:46,536 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cde9a244-d060-4d11-b7c6-c283d33c2f53 2025-06-27 03:40:46,543 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cde9a244-d060-4d11-b7c6-c283d33c2f53 2025-06-27 03:40:46,551 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ac1adde3-2780-4c1b-b21b-c4d06d0763cf 2025-06-27 03:40:46,563 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38722532:ctest-vn-70100867', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38722532', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8358726241240502070', 'uuid-lslong': '12712921169855023213'}, 'enable': 'true', 'created': '2025-06-27T03:40:44', 'last-modified': '2025-06-27T03:40:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.396928'} 2025-06-27 03:40:46,570 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-27 03:40:46,570 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70100867 passed 2025-06-27 03:40:46,570 - DEBUG - ====Verifying policy data for ctest-vn-70100867 in API_Server ====== 2025-06-27 03:40:46,570 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-27 03:40:46,576 - DEBUG - Requesting: http://10.0.0.38:8082/domain/78684d99-4ef3-4744-82e2-dc0d26b10845 2025-06-27 03:40:46,588 - DEBUG - Requesting: http://10.0.0.38:8082/project/22891ee7-703b-484f-9ea7-4e5631e4254c 2025-06-27 03:40:46,660 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7400293a-dfe0-4f36-b06d-5e72b2c0886d 2025-06-27 03:40:46,669 - DEBUG - ==>Verifying data for policy with id: 4597a852-6c11-47af-996e-445d67b54857, fqn: ['default-domain', 'ctest-TestBasicPolicy-38722532', 'ctest-policy-allow-all-01855718'] 2025-06-27 03:40:46,670 - INFO - VN ctest-vn-70100867 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-27 03:40:46,670 - DEBUG - Verifying the vn in opserver 2025-06-27 03:40:46,670 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38722532:ctest-vn-70100867 virtual network link through opserver 10.0.0.38 2025-06-27 03:40:46,670 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-27 03:40:46,681 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38722532:ctest-vn-70100867', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38722532:ctest-vn-70100867?flat'} 2025-06-27 03:40:46,681 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38722532:ctest-vn-70100867 is found in opserver 2025-06-27 03:40:46,692 - DEBUG - Do not have enough data to verify VN in agent 2025-06-27 03:40:46,697 - DEBUG - VRF ids for VN ctest-vn-70100867: {} 2025-06-27 03:40:46,750 - DEBUG - Services list from nova: [, , ] 2025-06-27 03:40:47,762 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3565-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3565-1) 2025-06-27 03:40:48,986 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3565-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3565-1) 2025-06-27 03:40:48,986 - INFO - Waiting for VM ctest-TestBasicPolicy-38722532-33161631 to be up.. 2025-06-27 03:40:49,077 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-27 03:40:54,155 - DEBUG - VM is in ACTIVE state now 2025-06-27 03:40:54,155 - INFO - VM name : ctest-TestBasicPolicy-38722532-33161631 2025-06-27 03:40:54,235 - DEBUG - VM ctest-TestBasicPolicy-38722532-33161631 ID is a3bc908d-5720-475c-a4eb-17332597ec5a 2025-06-27 03:40:54,255 - DEBUG - VM ctest-TestBasicPolicy-38722532-33161631 launched on Node cn-jenkins-deploy-platform-ansible-os-3565-1 2025-06-27 03:40:54,332 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a3bc908d-5720-475c-a4eb-17332597ec5a 2025-06-27 03:40:54,341 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9b25dd68-1c5f-41e3-a48f-c1046448df31 2025-06-27 03:40:57,628 - 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 1031ms') 2025-06-27 03:40:57,628 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38722532-33161631 failed! 2025-06-27 03:40:57,687 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-38722532:ctest-vn-14760340 is 120.106.231.1 and allocation pool is NOT set 2025-06-27 03:40:59,744 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.460 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.460/1.667/2.874/1.207 ms') 2025-06-27 03:40:59,745 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38722532-33161631 passed 2025-06-27 03:40:59,899 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-27 03:40:59,899 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38722532-33161631, IP 120.106.231.3, Port 22 2025-06-27 03:41:00,055 - DEBUG - VM ctest-TestBasicPolicy-38722532-33161631 is ready for SSH connections 2025-06-27 03:41:00,055 - INFO - Waiting for VM ctest-TestBasicPolicy-38722532-41051513 to be up.. 2025-06-27 03:41:00,132 - DEBUG - VM is in ACTIVE state now 2025-06-27 03:41:00,132 - INFO - VM name : ctest-TestBasicPolicy-38722532-41051513 2025-06-27 03:41:00,211 - DEBUG - VM ctest-TestBasicPolicy-38722532-41051513 ID is 50d53d3b-835d-463e-963b-4949e583efe3 2025-06-27 03:41:00,211 - DEBUG - VM ctest-TestBasicPolicy-38722532-41051513 launched on Node cn-jenkins-deploy-platform-ansible-os-3565-1 2025-06-27 03:41:00,291 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/50d53d3b-835d-463e-963b-4949e583efe3 2025-06-27 03:41:00,299 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0e81fc98-b194-4082-9443-a591f8ce3550 2025-06-27 03:41:01,540 - 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.89 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.894/3.022/4.150/1.128 ms') 2025-06-27 03:41:01,540 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-38722532-41051513 passed 2025-06-27 03:41:01,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-27 03:41:01,699 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38722532-41051513, IP 118.105.98.195, Port 22 2025-06-27 03:41:01,854 - DEBUG - VM ctest-TestBasicPolicy-38722532-41051513 is ready for SSH connections 2025-06-27 03:41:01,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-27 03:41:01,854 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.105.98.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-27 03:41:01,854 - DEBUG - ping -s 56 -c 3 -W 1 118.105.98.195 2025-06-27 03:41:05,548 - DEBUG - PING 118.105.98.195 (118.105.98.195): 56 data bytes 64 bytes from 118.105.98.195: seq=0 ttl=63 time=3.880 ms 64 bytes from 118.105.98.195: seq=1 ttl=63 time=0.836 ms 64 bytes from 118.105.98.195: seq=2 ttl=63 time=0.758 ms --- 118.105.98.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.758/1.824/3.880 ms 2025-06-27 03:41:05,549 - INFO - Ping to IP 118.105.98.195 from VM ctest-TestBasicPolicy-38722532-33161631 passed 2025-06-27 03:41:05,731 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4597a852-6c11-47af-996e-445d67b54857", "href": "http://10.0.0.38:8082/network-policy/4597a852-6c11-47af-996e-445d67b54857"}} 2025-06-27 03:41:05,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-27 03:41:05,731 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.105.98.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-27 03:41:05,731 - DEBUG - ping -s 56 -c 3 -W 1 118.105.98.195 2025-06-27 03:41:08,939 - DEBUG - PING 118.105.98.195 (118.105.98.195): 56 data bytes --- 118.105.98.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-27 03:41:08,940 - WARNING - Ping to IP 118.105.98.195 from VM ctest-TestBasicPolicy-38722532-33161631 failed 2025-06-27 03:41:08,940 - INFO - Deleting VM ctest-TestBasicPolicy-38722532-41051513 2025-06-27 03:41:09,010 - INFO - Deleting VM ctest-TestBasicPolicy-38722532-33161631 2025-06-27 03:41:09,412 - INFO - Deleted policy ctest-policy-allow-all-01855718 2025-06-27 03:41:09,412 - INFO - Deleting VN ctest-vn-70100867 2025-06-27 03:41:09,455 - DEBUG - VN 7400293a-dfe0-4f36-b06d-5e72b2c0886d still in use: Unable to complete operation on network 7400293a-dfe0-4f36-b06d-5e72b2c0886d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f549f022-b4bb-40c3-9b78-61bd8b68cce2'] 2025-06-27 03:41:09,455 - WARNING - Deleting VN ctest-vn-70100867 failed..Will retry 2025-06-27 03:41:11,571 - DEBUG - Response for deleting network () 2025-06-27 03:41:11,571 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cde9a244-d060-4d11-b7c6-c283d33c2f53 2025-06-27 03:41:11,577 - DEBUG - Response Code: 404 2025-06-27 03:41:11,578 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-27 03:41:11,583 - DEBUG - Requesting: http://10.0.0.38:8082/domain/78684d99-4ef3-4744-82e2-dc0d26b10845 2025-06-27 03:41:11,636 - DEBUG - Requesting: http://10.0.0.38:8082/project/22891ee7-703b-484f-9ea7-4e5631e4254c 2025-06-27 03:41:11,712 - INFO - Validated that VN ctest-vn-70100867 is not found in API Server 2025-06-27 03:41:11,723 - DEBUG - VN ctest-vn-70100867 is not present in Agent 10.0.0.38 2025-06-27 03:41:11,723 - INFO - Validated that VN ctest-vn-70100867 is not in any agent 2025-06-27 03:41:11,742 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70100867 info 2025-06-27 03:41:11,743 - INFO - Deleting VN ctest-vn-14760340 2025-06-27 03:41:11,868 - DEBUG - Response for deleting network () 2025-06-27 03:41:11,868 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e52e8cfb-4a27-4d50-a296-95df6562dda3 2025-06-27 03:41:11,874 - DEBUG - Response Code: 404 2025-06-27 03:41:11,875 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-27 03:41:11,880 - DEBUG - Requesting: http://10.0.0.38:8082/domain/78684d99-4ef3-4744-82e2-dc0d26b10845 2025-06-27 03:41:11,936 - DEBUG - Requesting: http://10.0.0.38:8082/project/22891ee7-703b-484f-9ea7-4e5631e4254c 2025-06-27 03:41:12,011 - INFO - Validated that VN ctest-vn-14760340 is not found in API Server 2025-06-27 03:41:12,023 - DEBUG - VN ctest-vn-14760340 is not present in Agent 10.0.0.38 2025-06-27 03:41:12,023 - INFO - Validated that VN ctest-vn-14760340 is not in any agent 2025-06-27 03:41:12,041 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14760340 info 2025-06-27 03:41:12,297 - DEBUG - No XMPP flaps were noticed during the test 2025-06-27 03:41:12,297 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-27 03:41:12,297 - INFO - -------------------------------------------------------------------------------- 2025-06-27 03:41:12,984 - INFO - Deleted project: ctest-TestBasicPolicy-38722532, ID : 22891ee7-703b-484f-9ea7-4e5631e4254c