2025-04-09 15:03:52,818 - INFO - Domain Default found not creating 2025-04-09 15:03:52,983 - INFO - Project ctest-TestBasicPolicy-29529974 not found, creating it 2025-04-09 15:03:53,484 - INFO - Created Project:ctest-TestBasicPolicy-29529974, ID : af8a8963-f78a-4c0c-82fb-aa541e6bcf54 2025-04-09 15:03:55,016 - INFO - ================================================================================ 2025-04-09 15:03:55,016 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-09 15:03:55,017 - 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-04-09 15:03:55,284 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-04-09 15:03:55,284 - INFO - Initial checks done. Running the testcase now 2025-04-09 15:03:55,285 - INFO - 2025-04-09 15:03:55,856 - DEBUG - Response for create_network : {'network': {'id': '19a68a25-6536-4145-8da8-11a2949d82c2', 'name': 'ctest-vn-19713256', 'tenant_id': 'af8a8963f78a4c0c82fbaa541e6bcf54', 'project_id': 'af8a8963f78a4c0c82fbaa541e6bcf54', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29529974', 'ctest-vn-19713256'], 'port_security_enabled': True, 'description': ''}} 2025-04-09 15:03:56,070 - DEBUG - Response for create_subnet : {'subnet': {'id': '73c47134-b130-4fea-a943-e25889dc8d6a', 'name': '', 'tenant_id': 'af8a8963f78a4c0c82fbaa541e6bcf54', 'network_id': '19a68a25-6536-4145-8da8-11a2949d82c2', 'ip_version': 4, 'cidr': '168.122.132.64/26', 'allocation_pools': [{'start': '168.122.132.66', 'end': '168.122.132.126'}], 'gateway_ip': '168.122.132.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.122.132.66', 'tags': [], 'project_id': 'af8a8963f78a4c0c82fbaa541e6bcf54'}} 2025-04-09 15:03:56,088 - INFO - Created VN ctest-vn-19713256 2025-04-09 15:03:56,142 - DEBUG - VN ctest-vn-19713256 UUID is 19a68a25-6536-4145-8da8-11a2949d82c2 2025-04-09 15:03:56,466 - DEBUG - Response for create_network : {'network': {'id': '1433542e-fd5e-4487-8aae-9dd9483f6d44', 'name': 'ctest-vn-71431875', 'tenant_id': 'af8a8963f78a4c0c82fbaa541e6bcf54', 'project_id': 'af8a8963f78a4c0c82fbaa541e6bcf54', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29529974', 'ctest-vn-71431875'], 'port_security_enabled': True, 'description': ''}} 2025-04-09 15:03:56,645 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f76b383-ded1-433b-b47e-8f7d548cd8df', 'name': '', 'tenant_id': 'af8a8963f78a4c0c82fbaa541e6bcf54', 'network_id': '1433542e-fd5e-4487-8aae-9dd9483f6d44', 'ip_version': 4, 'cidr': '100.212.94.192/26', 'allocation_pools': [{'start': '100.212.94.194', 'end': '100.212.94.254'}], 'gateway_ip': '100.212.94.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.212.94.194', 'tags': [], 'project_id': 'af8a8963f78a4c0c82fbaa541e6bcf54'}} 2025-04-09 15:03:56,664 - INFO - Created VN ctest-vn-71431875 2025-04-09 15:03:56,722 - DEBUG - VN ctest-vn-71431875 UUID is 1433542e-fd5e-4487-8aae-9dd9483f6d44 2025-04-09 15:03:56,850 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29529974:ctest-vn-19713256, 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-29529974:ctest-vn-71431875, 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-04-09 15:03:57,155 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '19a68a25-6536-4145-8da8-11a2949d82c2', 'name': 'ctest-vn-19713256', 'tenant_id': 'af8a8963f78a4c0c82fbaa541e6bcf54', 'project_id': 'af8a8963f78a4c0c82fbaa541e6bcf54', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['73c47134-b130-4fea-a943-e25889dc8d6a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29529974', 'ctest-vn-19713256'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29529974', 'ctest-policy-allow-all-30786484']], 'subnet_ipam': [{'subnet_cidr': '168.122.132.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-09 15:03:57,450 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1433542e-fd5e-4487-8aae-9dd9483f6d44', 'name': 'ctest-vn-71431875', 'tenant_id': 'af8a8963f78a4c0c82fbaa541e6bcf54', 'project_id': 'af8a8963f78a4c0c82fbaa541e6bcf54', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5f76b383-ded1-433b-b47e-8f7d548cd8df'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29529974', 'ctest-vn-71431875'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29529974', 'ctest-policy-allow-all-30786484']], 'subnet_ipam': [{'subnet_cidr': '100.212.94.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-09 15:03:57,598 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-04-09 15:03:57,912 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-04-09 15:03:57,944 - DEBUG - Requesting: http://10.0.0.249:8082/domain/af850899-bfa8-47c0-8575-89352504bd43 2025-04-09 15:03:57,958 - DEBUG - Requesting: http://10.0.0.249:8082/project/af8a8963-f78a-4c0c-82fb-aa541e6bcf54 2025-04-09 15:03:58,030 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/19a68a25-6536-4145-8da8-11a2949d82c2 2025-04-09 15:03:58,042 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/19a68a25-6536-4145-8da8-11a2949d82c2 2025-04-09 15:03:58,053 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c2ebc1d4-ebb9-48d8-a12d-c599d8854923 2025-04-09 15:03:58,062 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c2ebc1d4-ebb9-48d8-a12d-c599d8854923 2025-04-09 15:03:58,070 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/afeb5fa5-e0c1-4a44-8adb-b7368e3bcecc 2025-04-09 15:03:58,077 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-04-09 15:03:58,077 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/19a68a25-6536-4145-8da8-11a2949d82c2 2025-04-09 15:03:58,090 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c2ebc1d4-ebb9-48d8-a12d-c599d8854923 2025-04-09 15:03:58,106 - INFO - Verified VN network id 9 for VN 19a68a25-6536-4145-8da8-11a2949d82c2 2025-04-09 15:03:58,106 - INFO - Verifications in API Server for VN ctest-vn-19713256 passed 2025-04-09 15:03:58,107 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/19a68a25-6536-4145-8da8-11a2949d82c2 2025-04-09 15:03:58,117 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c2ebc1d4-ebb9-48d8-a12d-c599d8854923 2025-04-09 15:03:58,127 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c2ebc1d4-ebb9-48d8-a12d-c599d8854923 2025-04-09 15:03:58,136 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/afeb5fa5-e0c1-4a44-8adb-b7368e3bcecc 2025-04-09 15:03:58,150 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29529974:ctest-vn-19713256', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29529974', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1848316590298644805', 'uuid-lslong': '10207427945410953922'}, 'enable': 'true', 'created': '2025-04-09T15:03:55', 'last-modified': '2025-04-09T15:03:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.017091'} 2025-04-09 15:03:58,158 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-04-09 15:03:58,159 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19713256 passed 2025-04-09 15:03:58,159 - DEBUG - ====Verifying policy data for ctest-vn-19713256 in API_Server ====== 2025-04-09 15:03:58,159 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-04-09 15:03:58,165 - DEBUG - Requesting: http://10.0.0.249:8082/domain/af850899-bfa8-47c0-8575-89352504bd43 2025-04-09 15:03:58,178 - DEBUG - Requesting: http://10.0.0.249:8082/project/af8a8963-f78a-4c0c-82fb-aa541e6bcf54 2025-04-09 15:03:58,258 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/19a68a25-6536-4145-8da8-11a2949d82c2 2025-04-09 15:03:58,271 - DEBUG - ==>Verifying data for policy with id: 7d0da80b-167c-4720-bbae-e988ea68f530, fqn: ['default-domain', 'ctest-TestBasicPolicy-29529974', 'ctest-policy-allow-all-30786484'] 2025-04-09 15:03:58,271 - INFO - VN ctest-vn-19713256 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-09 15:03:58,271 - DEBUG - Verifying the vn in opserver 2025-04-09 15:03:58,271 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29529974:ctest-vn-19713256 virtual network link through opserver 10.0.0.249 2025-04-09 15:03:58,271 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-04-09 15:03:58,565 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-04-09 15:03:58,633 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29529974:ctest-vn-19713256', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29529974:ctest-vn-19713256?flat'} 2025-04-09 15:03:58,633 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29529974:ctest-vn-19713256 is found in opserver 2025-04-09 15:03:58,649 - DEBUG - Do not have enough data to verify VN in agent 2025-04-09 15:03:58,656 - DEBUG - VRF ids for VN ctest-vn-19713256: {} 2025-04-09 15:03:58,656 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-04-09 15:03:58,666 - DEBUG - Requesting: http://10.0.0.249:8082/domain/af850899-bfa8-47c0-8575-89352504bd43 2025-04-09 15:03:58,681 - DEBUG - Requesting: http://10.0.0.249:8082/project/af8a8963-f78a-4c0c-82fb-aa541e6bcf54 2025-04-09 15:03:58,756 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/1433542e-fd5e-4487-8aae-9dd9483f6d44 2025-04-09 15:03:58,777 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/1433542e-fd5e-4487-8aae-9dd9483f6d44 2025-04-09 15:03:58,787 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/291bdea2-4053-4f72-ba34-9c6e0bbd6c3c 2025-04-09 15:03:58,798 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/291bdea2-4053-4f72-ba34-9c6e0bbd6c3c 2025-04-09 15:03:58,808 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/5d594494-f854-4855-972f-1cebe1565f58 2025-04-09 15:03:58,817 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-09 15:03:58,817 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/1433542e-fd5e-4487-8aae-9dd9483f6d44 2025-04-09 15:03:58,830 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/291bdea2-4053-4f72-ba34-9c6e0bbd6c3c 2025-04-09 15:03:58,846 - INFO - Verified VN network id 10 for VN 1433542e-fd5e-4487-8aae-9dd9483f6d44 2025-04-09 15:03:58,846 - INFO - Verifications in API Server for VN ctest-vn-71431875 passed 2025-04-09 15:03:58,846 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/1433542e-fd5e-4487-8aae-9dd9483f6d44 2025-04-09 15:03:58,858 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/291bdea2-4053-4f72-ba34-9c6e0bbd6c3c 2025-04-09 15:03:58,866 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/291bdea2-4053-4f72-ba34-9c6e0bbd6c3c 2025-04-09 15:03:58,875 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/5d594494-f854-4855-972f-1cebe1565f58 2025-04-09 15:03:58,889 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29529974:ctest-vn-71431875', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29529974', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1455599665366844551', 'uuid-lslong': '9993098179727289668'}, 'enable': 'true', 'created': '2025-04-09T15:03:56', 'last-modified': '2025-04-09T15:03:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.513505'} 2025-04-09 15:03:58,897 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-09 15:03:58,897 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71431875 passed 2025-04-09 15:03:58,897 - DEBUG - ====Verifying policy data for ctest-vn-71431875 in API_Server ====== 2025-04-09 15:03:58,898 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-04-09 15:03:58,904 - DEBUG - Requesting: http://10.0.0.249:8082/domain/af850899-bfa8-47c0-8575-89352504bd43 2025-04-09 15:03:58,918 - DEBUG - Requesting: http://10.0.0.249:8082/project/af8a8963-f78a-4c0c-82fb-aa541e6bcf54 2025-04-09 15:03:58,993 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/1433542e-fd5e-4487-8aae-9dd9483f6d44 2025-04-09 15:03:59,006 - DEBUG - ==>Verifying data for policy with id: 7d0da80b-167c-4720-bbae-e988ea68f530, fqn: ['default-domain', 'ctest-TestBasicPolicy-29529974', 'ctest-policy-allow-all-30786484'] 2025-04-09 15:03:59,006 - INFO - VN ctest-vn-71431875 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-09 15:03:59,007 - DEBUG - Verifying the vn in opserver 2025-04-09 15:03:59,007 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29529974:ctest-vn-71431875 virtual network link through opserver 10.0.0.249 2025-04-09 15:03:59,007 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-04-09 15:03:59,021 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29529974:ctest-vn-71431875', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29529974:ctest-vn-71431875?flat'} 2025-04-09 15:03:59,021 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29529974:ctest-vn-71431875 is found in opserver 2025-04-09 15:03:59,033 - DEBUG - Do not have enough data to verify VN in agent 2025-04-09 15:03:59,039 - DEBUG - VRF ids for VN ctest-vn-71431875: {} 2025-04-09 15:03:59,105 - DEBUG - Services list from nova: [, , ] 2025-04-09 15:04:00,130 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3069-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3069-1) 2025-04-09 15:04:01,454 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3069-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3069-1) 2025-04-09 15:04:01,454 - INFO - Waiting for VM ctest-TestBasicPolicy-29529974-33628127 to be up.. 2025-04-09 15:04:01,578 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-09 15:04:06,689 - DEBUG - VM is in ACTIVE state now 2025-04-09 15:04:06,689 - INFO - VM name : ctest-TestBasicPolicy-29529974-33628127 2025-04-09 15:04:06,790 - DEBUG - VM ctest-TestBasicPolicy-29529974-33628127 ID is 2d849a90-4a7e-47e4-92ad-73c3ebf2d8f6 2025-04-09 15:04:06,816 - DEBUG - VM ctest-TestBasicPolicy-29529974-33628127 launched on Node cn-jenkins-deploy-platform-ansible-os-3069-1 2025-04-09 15:04:06,908 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/2d849a90-4a7e-47e4-92ad-73c3ebf2d8f6 2025-04-09 15:04:06,920 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/23125551-4c81-4cc0-a84e-80935f1a5978 2025-04-09 15:04:10,219 - 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-04-09 15:04:10,220 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29529974-33628127 failed! 2025-04-09 15:04:10,286 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-29529974:ctest-vn-19713256 is 168.122.132.65 and allocation pool is NOT set 2025-04-09 15:04:14,383 - 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=2 ttl=63 time=10.4 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1023ms\r\nrtt min/avg/max/mdev = 10.439/10.439/10.439/0.000 ms') 2025-04-09 15:04:14,383 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29529974-33628127 passed 2025-04-09 15:04:14,538 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 15:04:14,538 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29529974-33628127, IP 168.122.132.67, Port 22 2025-04-09 15:04:14,719 - DEBUG - VM ctest-TestBasicPolicy-29529974-33628127 is ready for SSH connections 2025-04-09 15:04:14,720 - INFO - Waiting for VM ctest-TestBasicPolicy-29529974-39323910 to be up.. 2025-04-09 15:04:14,803 - DEBUG - VM is in ACTIVE state now 2025-04-09 15:04:14,803 - INFO - VM name : ctest-TestBasicPolicy-29529974-39323910 2025-04-09 15:04:14,893 - DEBUG - VM ctest-TestBasicPolicy-29529974-39323910 ID is 2910bb31-dc6e-44fa-a554-23b2ec094087 2025-04-09 15:04:14,893 - DEBUG - VM ctest-TestBasicPolicy-29529974-39323910 launched on Node cn-jenkins-deploy-platform-ansible-os-3069-1 2025-04-09 15:04:14,976 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/2910bb31-dc6e-44fa-a554-23b2ec094087 2025-04-09 15:04:14,988 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/bcbd5ac2-91dc-4dbd-9d65-ebb464e4c4cf 2025-04-09 15:04:16,254 - 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=6.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.68 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.681/3.857/6.033/2.176 ms') 2025-04-09 15:04:16,254 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29529974-39323910 passed 2025-04-09 15:04:16,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 15:04:16,406 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29529974-39323910, IP 100.212.94.195, Port 22 2025-04-09 15:04:16,569 - DEBUG - VM ctest-TestBasicPolicy-29529974-39323910 is ready for SSH connections 2025-04-09 15:04:16,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 15:04:16,570 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.212.94.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-04-09 15:04:16,570 - DEBUG - ping -s 56 -c 3 -W 1 100.212.94.195 2025-04-09 15:04:20,698 - DEBUG - PING 100.212.94.195 (100.212.94.195): 56 data bytes 64 bytes from 100.212.94.195: seq=0 ttl=63 time=4.423 ms 64 bytes from 100.212.94.195: seq=1 ttl=63 time=1.237 ms 64 bytes from 100.212.94.195: seq=2 ttl=63 time=0.861 ms --- 100.212.94.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.861/2.173/4.423 ms 2025-04-09 15:04:20,698 - INFO - Ping to IP 100.212.94.195 from VM ctest-TestBasicPolicy-29529974-33628127 passed 2025-04-09 15:04:20,877 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7d0da80b-167c-4720-bbae-e988ea68f530", "href": "http://10.0.0.249:8082/network-policy/7d0da80b-167c-4720-bbae-e988ea68f530"}} 2025-04-09 15:04:20,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 15:04:20,878 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.212.94.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-04-09 15:04:20,878 - DEBUG - ping -s 56 -c 3 -W 1 100.212.94.195 2025-04-09 15:04:24,110 - DEBUG - PING 100.212.94.195 (100.212.94.195): 56 data bytes 64 bytes from 100.212.94.195: seq=0 ttl=63 time=2.051 ms --- 100.212.94.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.051/2.051/2.051 ms 2025-04-09 15:04:24,110 - WARNING - Ping to IP 100.212.94.195 from VM ctest-TestBasicPolicy-29529974-33628127 failed 2025-04-09 15:04:24,110 - INFO - Deleting VM ctest-TestBasicPolicy-29529974-39323910 2025-04-09 15:04:24,178 - INFO - Deleting VM ctest-TestBasicPolicy-29529974-33628127 2025-04-09 15:04:24,607 - INFO - Deleted policy ctest-policy-allow-all-30786484 2025-04-09 15:04:24,607 - INFO - Deleting VN ctest-vn-71431875 2025-04-09 15:04:24,651 - DEBUG - VN 1433542e-fd5e-4487-8aae-9dd9483f6d44 still in use: Unable to complete operation on network 1433542e-fd5e-4487-8aae-9dd9483f6d44. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9421a3a8-9294-4de5-9185-c27b9e182e27'] 2025-04-09 15:04:24,651 - WARNING - Deleting VN ctest-vn-71431875 failed..Will retry 2025-04-09 15:04:26,765 - DEBUG - Response for deleting network () 2025-04-09 15:04:26,765 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/291bdea2-4053-4f72-ba34-9c6e0bbd6c3c 2025-04-09 15:04:26,771 - DEBUG - Response Code: 404 2025-04-09 15:04:26,771 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-04-09 15:04:26,780 - DEBUG - Requesting: http://10.0.0.249:8082/domain/af850899-bfa8-47c0-8575-89352504bd43 2025-04-09 15:04:26,837 - DEBUG - Requesting: http://10.0.0.249:8082/project/af8a8963-f78a-4c0c-82fb-aa541e6bcf54 2025-04-09 15:04:26,907 - INFO - Validated that VN ctest-vn-71431875 is not found in API Server 2025-04-09 15:04:26,919 - DEBUG - VN ctest-vn-71431875 is not present in Agent 10.0.0.249 2025-04-09 15:04:26,919 - INFO - Validated that VN ctest-vn-71431875 is not in any agent 2025-04-09 15:04:26,936 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71431875 info 2025-04-09 15:04:26,936 - INFO - Deleting VN ctest-vn-19713256 2025-04-09 15:04:27,059 - DEBUG - Response for deleting network () 2025-04-09 15:04:27,059 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c2ebc1d4-ebb9-48d8-a12d-c599d8854923 2025-04-09 15:04:27,068 - DEBUG - Response Code: 404 2025-04-09 15:04:27,068 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-04-09 15:04:27,074 - DEBUG - Requesting: http://10.0.0.249:8082/domain/af850899-bfa8-47c0-8575-89352504bd43 2025-04-09 15:04:27,128 - DEBUG - Requesting: http://10.0.0.249:8082/project/af8a8963-f78a-4c0c-82fb-aa541e6bcf54 2025-04-09 15:04:27,214 - INFO - Validated that VN ctest-vn-19713256 is not found in API Server 2025-04-09 15:04:27,225 - DEBUG - VN ctest-vn-19713256 is not present in Agent 10.0.0.249 2025-04-09 15:04:27,225 - INFO - Validated that VN ctest-vn-19713256 is not in any agent 2025-04-09 15:04:27,242 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19713256 info 2025-04-09 15:04:27,496 - DEBUG - No XMPP flaps were noticed during the test 2025-04-09 15:04:27,496 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:32] 2025-04-09 15:04:27,497 - INFO - -------------------------------------------------------------------------------- 2025-04-09 15:04:28,217 - INFO - Deleted project: ctest-TestBasicPolicy-29529974, ID : af8a8963-f78a-4c0c-82fb-aa541e6bcf54