2025-05-01 02:08:56,633 - INFO - Domain Default found not creating 2025-05-01 02:08:56,784 - INFO - Project ctest-TestBasicPolicy-18160757 not found, creating it 2025-05-01 02:08:57,271 - INFO - Created Project:ctest-TestBasicPolicy-18160757, ID : aeef8681-28ad-4487-9dc2-b0c979d91493 2025-05-01 02:08:58,832 - INFO - ================================================================================ 2025-05-01 02:08:58,832 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-01 02:08:58,833 - 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-05-01 02:08:59,088 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.129': '0'}} with 2025-05-01 02:08:59,088 - INFO - Initial checks done. Running the testcase now 2025-05-01 02:08:59,088 - INFO - 2025-05-01 02:08:59,683 - DEBUG - Response for create_network : {'network': {'id': '49dd1096-bcb4-450a-b33c-e36e44101c9a', 'name': 'ctest-vn-35107873', 'tenant_id': 'aeef868128ad44879dc2b0c979d91493', 'project_id': 'aeef868128ad44879dc2b0c979d91493', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18160757', 'ctest-vn-35107873'], 'port_security_enabled': True, 'description': ''}} 2025-05-01 02:08:59,905 - DEBUG - Response for create_subnet : {'subnet': {'id': '47a2607a-9287-47ed-ad5d-85f4bd3c0c72', 'name': '', 'tenant_id': 'aeef868128ad44879dc2b0c979d91493', 'network_id': '49dd1096-bcb4-450a-b33c-e36e44101c9a', 'ip_version': 4, 'cidr': '145.124.123.192/26', 'allocation_pools': [{'start': '145.124.123.194', 'end': '145.124.123.254'}], 'gateway_ip': '145.124.123.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.124.123.194', 'tags': [], 'project_id': 'aeef868128ad44879dc2b0c979d91493'}} 2025-05-01 02:08:59,923 - INFO - Created VN ctest-vn-35107873 2025-05-01 02:08:59,974 - DEBUG - VN ctest-vn-35107873 UUID is 49dd1096-bcb4-450a-b33c-e36e44101c9a 2025-05-01 02:09:00,277 - DEBUG - Response for create_network : {'network': {'id': '33f60e65-6c5e-4625-8fdc-4eb8d9f61a94', 'name': 'ctest-vn-92788499', 'tenant_id': 'aeef868128ad44879dc2b0c979d91493', 'project_id': 'aeef868128ad44879dc2b0c979d91493', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18160757', 'ctest-vn-92788499'], 'port_security_enabled': True, 'description': ''}} 2025-05-01 02:09:00,449 - DEBUG - Response for create_subnet : {'subnet': {'id': '4069a751-b2ad-4d05-ba10-1447f5d47c24', 'name': '', 'tenant_id': 'aeef868128ad44879dc2b0c979d91493', 'network_id': '33f60e65-6c5e-4625-8fdc-4eb8d9f61a94', 'ip_version': 4, 'cidr': '94.209.165.192/26', 'allocation_pools': [{'start': '94.209.165.194', 'end': '94.209.165.254'}], 'gateway_ip': '94.209.165.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.209.165.194', 'tags': [], 'project_id': 'aeef868128ad44879dc2b0c979d91493'}} 2025-05-01 02:09:00,466 - INFO - Created VN ctest-vn-92788499 2025-05-01 02:09:00,518 - DEBUG - VN ctest-vn-92788499 UUID is 33f60e65-6c5e-4625-8fdc-4eb8d9f61a94 2025-05-01 02:09:00,674 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18160757:ctest-vn-35107873, 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-18160757:ctest-vn-92788499, 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-05-01 02:09:00,964 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '49dd1096-bcb4-450a-b33c-e36e44101c9a', 'name': 'ctest-vn-35107873', 'tenant_id': 'aeef868128ad44879dc2b0c979d91493', 'project_id': 'aeef868128ad44879dc2b0c979d91493', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['47a2607a-9287-47ed-ad5d-85f4bd3c0c72'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18160757', 'ctest-vn-35107873'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18160757', 'ctest-policy-allow-all-05790694']], 'subnet_ipam': [{'subnet_cidr': '145.124.123.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-01 02:09:01,252 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '33f60e65-6c5e-4625-8fdc-4eb8d9f61a94', 'name': 'ctest-vn-92788499', 'tenant_id': 'aeef868128ad44879dc2b0c979d91493', 'project_id': 'aeef868128ad44879dc2b0c979d91493', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4069a751-b2ad-4d05-ba10-1447f5d47c24'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18160757', 'ctest-vn-92788499'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18160757', 'ctest-policy-allow-all-05790694']], 'subnet_ipam': [{'subnet_cidr': '94.209.165.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-01 02:09:01,402 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-05-01 02:09:01,741 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-05-01 02:09:01,770 - DEBUG - Requesting: http://10.0.0.141:8082/domain/507f9caa-8a6d-4a9a-a03f-ef00d4376cc6 2025-05-01 02:09:01,785 - DEBUG - Requesting: http://10.0.0.141:8082/project/aeef8681-28ad-4487-9dc2-b0c979d91493 2025-05-01 02:09:01,858 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/49dd1096-bcb4-450a-b33c-e36e44101c9a 2025-05-01 02:09:01,870 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/49dd1096-bcb4-450a-b33c-e36e44101c9a 2025-05-01 02:09:01,883 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4bffa84b-e823-4fda-9885-a49963c6e273 2025-05-01 02:09:01,893 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4bffa84b-e823-4fda-9885-a49963c6e273 2025-05-01 02:09:01,904 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/99a14137-af2e-459e-aeb1-b25ebf77b34d 2025-05-01 02:09:01,912 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-01 02:09:01,912 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/49dd1096-bcb4-450a-b33c-e36e44101c9a 2025-05-01 02:09:01,923 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4bffa84b-e823-4fda-9885-a49963c6e273 2025-05-01 02:09:01,939 - INFO - Verified VN network id 8 for VN 49dd1096-bcb4-450a-b33c-e36e44101c9a 2025-05-01 02:09:01,939 - INFO - Verifications in API Server for VN ctest-vn-35107873 passed 2025-05-01 02:09:01,939 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/49dd1096-bcb4-450a-b33c-e36e44101c9a 2025-05-01 02:09:01,951 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4bffa84b-e823-4fda-9885-a49963c6e273 2025-05-01 02:09:01,962 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4bffa84b-e823-4fda-9885-a49963c6e273 2025-05-01 02:09:01,972 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/99a14137-af2e-459e-aeb1-b25ebf77b34d 2025-05-01 02:09:01,989 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18160757:ctest-vn-35107873', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18160757', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5322428574218863882', 'uuid-lslong': '12915447894119554202'}, 'enable': 'true', 'created': '2025-05-01T02:08:59', 'last-modified': '2025-05-01T02:09:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.040565'} 2025-05-01 02:09:01,999 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-01 02:09:01,999 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35107873 passed 2025-05-01 02:09:02,000 - DEBUG - ====Verifying policy data for ctest-vn-35107873 in API_Server ====== 2025-05-01 02:09:02,000 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-05-01 02:09:02,007 - DEBUG - Requesting: http://10.0.0.141:8082/domain/507f9caa-8a6d-4a9a-a03f-ef00d4376cc6 2025-05-01 02:09:02,022 - DEBUG - Requesting: http://10.0.0.141:8082/project/aeef8681-28ad-4487-9dc2-b0c979d91493 2025-05-01 02:09:02,101 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/49dd1096-bcb4-450a-b33c-e36e44101c9a 2025-05-01 02:09:02,114 - DEBUG - ==>Verifying data for policy with id: 61482c11-7e36-4fa5-92a4-efb1ae25d650, fqn: ['default-domain', 'ctest-TestBasicPolicy-18160757', 'ctest-policy-allow-all-05790694'] 2025-05-01 02:09:02,114 - INFO - VN ctest-vn-35107873 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-01 02:09:02,114 - DEBUG - Verifying the vn in opserver 2025-05-01 02:09:02,114 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18160757:ctest-vn-35107873 virtual network link through opserver 10.0.0.141 2025-05-01 02:09:02,114 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-05-01 02:09:02,450 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-05-01 02:09:02,518 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18160757:ctest-vn-35107873', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18160757:ctest-vn-35107873?flat'} 2025-05-01 02:09:02,518 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18160757:ctest-vn-35107873 is found in opserver 2025-05-01 02:09:02,529 - DEBUG - Do not have enough data to verify VN in agent 2025-05-01 02:09:02,535 - DEBUG - VRF ids for VN ctest-vn-35107873: {} 2025-05-01 02:09:02,535 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-05-01 02:09:02,541 - DEBUG - Requesting: http://10.0.0.141:8082/domain/507f9caa-8a6d-4a9a-a03f-ef00d4376cc6 2025-05-01 02:09:02,555 - DEBUG - Requesting: http://10.0.0.141:8082/project/aeef8681-28ad-4487-9dc2-b0c979d91493 2025-05-01 02:09:02,633 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/33f60e65-6c5e-4625-8fdc-4eb8d9f61a94 2025-05-01 02:09:02,646 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/33f60e65-6c5e-4625-8fdc-4eb8d9f61a94 2025-05-01 02:09:02,658 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e9c30224-567f-4b19-9f1d-cbcbad98049f 2025-05-01 02:09:02,668 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e9c30224-567f-4b19-9f1d-cbcbad98049f 2025-05-01 02:09:02,683 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/fd45003b-42bd-45d8-b253-01066a98b45b 2025-05-01 02:09:02,690 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-01 02:09:02,690 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/33f60e65-6c5e-4625-8fdc-4eb8d9f61a94 2025-05-01 02:09:02,701 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e9c30224-567f-4b19-9f1d-cbcbad98049f 2025-05-01 02:09:02,716 - INFO - Verified VN network id 9 for VN 33f60e65-6c5e-4625-8fdc-4eb8d9f61a94 2025-05-01 02:09:02,716 - INFO - Verifications in API Server for VN ctest-vn-92788499 passed 2025-05-01 02:09:02,716 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/33f60e65-6c5e-4625-8fdc-4eb8d9f61a94 2025-05-01 02:09:02,727 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e9c30224-567f-4b19-9f1d-cbcbad98049f 2025-05-01 02:09:02,734 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e9c30224-567f-4b19-9f1d-cbcbad98049f 2025-05-01 02:09:02,742 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/fd45003b-42bd-45d8-b253-01066a98b45b 2025-05-01 02:09:02,754 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18160757:ctest-vn-92788499', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18160757', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3744195968977749541', 'uuid-lslong': '10366246998137772692'}, 'enable': 'true', 'created': '2025-05-01T02:09:00', 'last-modified': '2025-05-01T02:09:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.570492'} 2025-05-01 02:09:02,761 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-01 02:09:02,761 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92788499 passed 2025-05-01 02:09:02,761 - DEBUG - ====Verifying policy data for ctest-vn-92788499 in API_Server ====== 2025-05-01 02:09:02,762 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-05-01 02:09:02,768 - DEBUG - Requesting: http://10.0.0.141:8082/domain/507f9caa-8a6d-4a9a-a03f-ef00d4376cc6 2025-05-01 02:09:02,780 - DEBUG - Requesting: http://10.0.0.141:8082/project/aeef8681-28ad-4487-9dc2-b0c979d91493 2025-05-01 02:09:02,853 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/33f60e65-6c5e-4625-8fdc-4eb8d9f61a94 2025-05-01 02:09:02,864 - DEBUG - ==>Verifying data for policy with id: 61482c11-7e36-4fa5-92a4-efb1ae25d650, fqn: ['default-domain', 'ctest-TestBasicPolicy-18160757', 'ctest-policy-allow-all-05790694'] 2025-05-01 02:09:02,864 - INFO - VN ctest-vn-92788499 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-01 02:09:02,864 - DEBUG - Verifying the vn in opserver 2025-05-01 02:09:02,864 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18160757:ctest-vn-92788499 virtual network link through opserver 10.0.0.141 2025-05-01 02:09:02,864 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-05-01 02:09:02,875 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18160757:ctest-vn-92788499', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18160757:ctest-vn-92788499?flat'} 2025-05-01 02:09:02,875 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18160757:ctest-vn-92788499 is found in opserver 2025-05-01 02:09:02,887 - DEBUG - Do not have enough data to verify VN in agent 2025-05-01 02:09:02,892 - DEBUG - VRF ids for VN ctest-vn-92788499: {} 2025-05-01 02:09:02,949 - DEBUG - Services list from nova: [, , ] 2025-05-01 02:09:04,051 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3252-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3252-1) 2025-05-01 02:09:05,379 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3252-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3252-1) 2025-05-01 02:09:05,379 - INFO - Waiting for VM ctest-TestBasicPolicy-18160757-22332220 to be up.. 2025-05-01 02:09:05,459 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-01 02:09:10,556 - DEBUG - VM is in ACTIVE state now 2025-05-01 02:09:10,557 - INFO - VM name : ctest-TestBasicPolicy-18160757-22332220 2025-05-01 02:09:10,641 - DEBUG - VM ctest-TestBasicPolicy-18160757-22332220 ID is 0c8c5a8c-be2a-4652-b63b-2ef06aaee063 2025-05-01 02:09:10,662 - DEBUG - VM ctest-TestBasicPolicy-18160757-22332220 launched on Node cn-jenkins-deploy-platform-ansible-os-3252-1 2025-05-01 02:09:10,744 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/0c8c5a8c-be2a-4652-b63b-2ef06aaee063 2025-05-01 02:09:10,753 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/93738524-1261-476e-ae2f-51350f6a745c 2025-05-01 02:09:14,011 - 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 1017ms') 2025-05-01 02:09:14,011 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18160757-22332220 failed! 2025-05-01 02:09:14,070 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18160757:ctest-vn-35107873 is 145.124.123.193 and allocation pool is NOT set 2025-05-01 02:09:16,136 - 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=7.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.407 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.407/3.985/7.564/3.578 ms') 2025-05-01 02:09:16,136 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18160757-22332220 passed 2025-05-01 02:09:16,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-01 02:09:16,286 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18160757-22332220, IP 145.124.123.195, Port 22 2025-05-01 02:09:16,442 - DEBUG - VM ctest-TestBasicPolicy-18160757-22332220 is ready for SSH connections 2025-05-01 02:09:16,442 - INFO - Waiting for VM ctest-TestBasicPolicy-18160757-39301503 to be up.. 2025-05-01 02:09:16,539 - DEBUG - VM is in ACTIVE state now 2025-05-01 02:09:16,540 - INFO - VM name : ctest-TestBasicPolicy-18160757-39301503 2025-05-01 02:09:16,635 - DEBUG - VM ctest-TestBasicPolicy-18160757-39301503 ID is 2c145c81-d6bc-49d4-a313-e6ea17ffd4fd 2025-05-01 02:09:16,635 - DEBUG - VM ctest-TestBasicPolicy-18160757-39301503 launched on Node cn-jenkins-deploy-platform-ansible-os-3252-1 2025-05-01 02:09:16,717 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/2c145c81-d6bc-49d4-a313-e6ea17ffd4fd 2025-05-01 02:09:16,726 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/72881073-0fdc-4c1c-9025-22f7af6b47ee 2025-05-01 02:09:17,966 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.863 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.863/2.858/4.853/1.995 ms') 2025-05-01 02:09:17,967 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-18160757-39301503 passed 2025-05-01 02:09:18,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-01 02:09:18,126 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18160757-39301503, IP 94.209.165.195, Port 22 2025-05-01 02:09:18,290 - DEBUG - VM ctest-TestBasicPolicy-18160757-39301503 is ready for SSH connections 2025-05-01 02:09:18,290 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-01 02:09:18,290 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.209.165.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-05-01 02:09:18,290 - DEBUG - ping -s 56 -c 3 -W 1 94.209.165.195 2025-05-01 02:09:22,400 - DEBUG - PING 94.209.165.195 (94.209.165.195): 56 data bytes 64 bytes from 94.209.165.195: seq=0 ttl=63 time=3.595 ms 64 bytes from 94.209.165.195: seq=1 ttl=63 time=0.749 ms 64 bytes from 94.209.165.195: seq=2 ttl=63 time=1.274 ms --- 94.209.165.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.749/1.872/3.595 ms 2025-05-01 02:09:22,400 - INFO - Ping to IP 94.209.165.195 from VM ctest-TestBasicPolicy-18160757-22332220 passed 2025-05-01 02:09:22,586 - DEBUG - Policy Update Response {"network-policy": {"uuid": "61482c11-7e36-4fa5-92a4-efb1ae25d650", "href": "http://10.0.0.141:8082/network-policy/61482c11-7e36-4fa5-92a4-efb1ae25d650"}} 2025-05-01 02:09:22,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-01 02:09:22,586 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.209.165.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-05-01 02:09:22,586 - DEBUG - ping -s 56 -c 3 -W 1 94.209.165.195 2025-05-01 02:09:25,872 - DEBUG - PING 94.209.165.195 (94.209.165.195): 56 data bytes 64 bytes from 94.209.165.195: seq=0 ttl=63 time=1.400 ms --- 94.209.165.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.400/1.400/1.400 ms 2025-05-01 02:09:25,872 - WARNING - Ping to IP 94.209.165.195 from VM ctest-TestBasicPolicy-18160757-22332220 failed 2025-05-01 02:09:25,873 - INFO - Deleting VM ctest-TestBasicPolicy-18160757-39301503 2025-05-01 02:09:25,939 - INFO - Deleting VM ctest-TestBasicPolicy-18160757-22332220 2025-05-01 02:09:26,339 - INFO - Deleted policy ctest-policy-allow-all-05790694 2025-05-01 02:09:26,339 - INFO - Deleting VN ctest-vn-92788499 2025-05-01 02:09:26,377 - DEBUG - VN 33f60e65-6c5e-4625-8fdc-4eb8d9f61a94 still in use: Unable to complete operation on network 33f60e65-6c5e-4625-8fdc-4eb8d9f61a94. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-886330f4-e554-4253-aa07-dfcc08d04b3c'] 2025-05-01 02:09:26,377 - WARNING - Deleting VN ctest-vn-92788499 failed..Will retry 2025-05-01 02:09:28,488 - DEBUG - Response for deleting network () 2025-05-01 02:09:28,488 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e9c30224-567f-4b19-9f1d-cbcbad98049f 2025-05-01 02:09:28,494 - DEBUG - Response Code: 404 2025-05-01 02:09:28,494 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-05-01 02:09:28,500 - DEBUG - Requesting: http://10.0.0.141:8082/domain/507f9caa-8a6d-4a9a-a03f-ef00d4376cc6 2025-05-01 02:09:28,556 - DEBUG - Requesting: http://10.0.0.141:8082/project/aeef8681-28ad-4487-9dc2-b0c979d91493 2025-05-01 02:09:28,633 - INFO - Validated that VN ctest-vn-92788499 is not found in API Server 2025-05-01 02:09:28,644 - DEBUG - VN ctest-vn-92788499 is not present in Agent 10.0.0.141 2025-05-01 02:09:28,644 - INFO - Validated that VN ctest-vn-92788499 is not in any agent 2025-05-01 02:09:28,663 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92788499 info 2025-05-01 02:09:28,663 - INFO - Deleting VN ctest-vn-35107873 2025-05-01 02:09:28,767 - DEBUG - Response for deleting network () 2025-05-01 02:09:28,767 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4bffa84b-e823-4fda-9885-a49963c6e273 2025-05-01 02:09:28,774 - DEBUG - Response Code: 404 2025-05-01 02:09:28,774 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-05-01 02:09:28,780 - DEBUG - Requesting: http://10.0.0.141:8082/domain/507f9caa-8a6d-4a9a-a03f-ef00d4376cc6 2025-05-01 02:09:28,836 - DEBUG - Requesting: http://10.0.0.141:8082/project/aeef8681-28ad-4487-9dc2-b0c979d91493 2025-05-01 02:09:28,914 - INFO - Validated that VN ctest-vn-35107873 is not found in API Server 2025-05-01 02:09:28,925 - DEBUG - VN ctest-vn-35107873 is not present in Agent 10.0.0.141 2025-05-01 02:09:28,925 - INFO - Validated that VN ctest-vn-35107873 is not in any agent 2025-05-01 02:09:28,941 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35107873 info 2025-05-01 02:09:29,200 - DEBUG - No XMPP flaps were noticed during the test 2025-05-01 02:09:29,200 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-05-01 02:09:29,200 - INFO - -------------------------------------------------------------------------------- 2025-05-01 02:09:29,907 - INFO - Deleted project: ctest-TestBasicPolicy-18160757, ID : aeef8681-28ad-4487-9dc2-b0c979d91493