2025-09-23 12:25:31,613 - INFO - Domain Default found not creating 2025-09-23 12:25:31,815 - INFO - Project ctest-TestBasicPolicy-68298632 not found, creating it 2025-09-23 12:25:32,329 - INFO - Created Project:ctest-TestBasicPolicy-68298632, ID : 1dcbdb5d-e1a0-445a-afab-2568343de50f 2025-09-23 12:25:34,004 - INFO - ================================================================================ 2025-09-23 12:25:34,004 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-23 12:25:34,004 - 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-09-23 12:25:34,278 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-09-23 12:25:34,278 - INFO - Initial checks done. Running the testcase now 2025-09-23 12:25:34,278 - INFO - 2025-09-23 12:25:34,899 - DEBUG - Response for create_network : {'network': {'id': 'b64a3aa3-b2da-4128-9f65-02f1ab86d6b4', 'name': 'ctest-vn-32889844', 'tenant_id': '1dcbdb5de1a0445aafab2568343de50f', 'project_id': '1dcbdb5de1a0445aafab2568343de50f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68298632', 'ctest-vn-32889844'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 12:25:35,081 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc5479e7-c16f-4721-aa4f-de456927adc3', 'name': '', 'tenant_id': '1dcbdb5de1a0445aafab2568343de50f', 'network_id': 'b64a3aa3-b2da-4128-9f65-02f1ab86d6b4', 'ip_version': 4, 'cidr': '50.48.169.64/26', 'allocation_pools': [{'start': '50.48.169.66', 'end': '50.48.169.126'}], 'gateway_ip': '50.48.169.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.48.169.66', 'tags': [], 'project_id': '1dcbdb5de1a0445aafab2568343de50f'}} 2025-09-23 12:25:35,101 - INFO - Created VN ctest-vn-32889844 2025-09-23 12:25:35,155 - DEBUG - VN ctest-vn-32889844 UUID is b64a3aa3-b2da-4128-9f65-02f1ab86d6b4 2025-09-23 12:25:35,461 - DEBUG - Response for create_network : {'network': {'id': '16054673-e7bd-4bba-91f5-3086ba48217a', 'name': 'ctest-vn-36655934', 'tenant_id': '1dcbdb5de1a0445aafab2568343de50f', 'project_id': '1dcbdb5de1a0445aafab2568343de50f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68298632', 'ctest-vn-36655934'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 12:25:35,660 - DEBUG - Response for create_subnet : {'subnet': {'id': '87cd7360-4aad-4a9e-a5f4-cf504eaf0ae1', 'name': '', 'tenant_id': '1dcbdb5de1a0445aafab2568343de50f', 'network_id': '16054673-e7bd-4bba-91f5-3086ba48217a', 'ip_version': 4, 'cidr': '130.130.231.64/26', 'allocation_pools': [{'start': '130.130.231.66', 'end': '130.130.231.126'}], 'gateway_ip': '130.130.231.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.130.231.66', 'tags': [], 'project_id': '1dcbdb5de1a0445aafab2568343de50f'}} 2025-09-23 12:25:35,679 - INFO - Created VN ctest-vn-36655934 2025-09-23 12:25:35,735 - DEBUG - VN ctest-vn-36655934 UUID is 16054673-e7bd-4bba-91f5-3086ba48217a 2025-09-23 12:25:35,856 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-68298632:ctest-vn-32889844, 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-68298632:ctest-vn-36655934, 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-09-23 12:25:36,265 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b64a3aa3-b2da-4128-9f65-02f1ab86d6b4', 'name': 'ctest-vn-32889844', 'tenant_id': '1dcbdb5de1a0445aafab2568343de50f', 'project_id': '1dcbdb5de1a0445aafab2568343de50f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fc5479e7-c16f-4721-aa4f-de456927adc3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68298632', 'ctest-vn-32889844'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68298632', 'ctest-policy-allow-all-22542947']], 'subnet_ipam': [{'subnet_cidr': '50.48.169.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-23 12:25:36,546 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '16054673-e7bd-4bba-91f5-3086ba48217a', 'name': 'ctest-vn-36655934', 'tenant_id': '1dcbdb5de1a0445aafab2568343de50f', 'project_id': '1dcbdb5de1a0445aafab2568343de50f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['87cd7360-4aad-4a9e-a5f4-cf504eaf0ae1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68298632', 'ctest-vn-36655934'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68298632', 'ctest-policy-allow-all-22542947']], 'subnet_ipam': [{'subnet_cidr': '130.130.231.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-23 12:25:36,699 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-23 12:25:36,999 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-23 12:25:37,031 - DEBUG - Requesting: http://10.0.0.33:8082/domain/24e61fe2-ec6b-4a00-98f7-7be48c0359fb 2025-09-23 12:25:37,048 - DEBUG - Requesting: http://10.0.0.33:8082/project/1dcbdb5d-e1a0-445a-afab-2568343de50f 2025-09-23 12:25:37,129 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b64a3aa3-b2da-4128-9f65-02f1ab86d6b4 2025-09-23 12:25:37,142 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b64a3aa3-b2da-4128-9f65-02f1ab86d6b4 2025-09-23 12:25:37,152 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ca484a97-a8d9-4f6f-87de-e32fb471a33c 2025-09-23 12:25:37,162 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ca484a97-a8d9-4f6f-87de-e32fb471a33c 2025-09-23 12:25:37,172 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/090e1784-dd65-4342-8ad1-c2d6c6c0a1f5 2025-09-23 12:25:37,180 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-23 12:25:37,180 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b64a3aa3-b2da-4128-9f65-02f1ab86d6b4 2025-09-23 12:25:37,193 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ca484a97-a8d9-4f6f-87de-e32fb471a33c 2025-09-23 12:25:37,208 - INFO - Verified VN network id 10 for VN b64a3aa3-b2da-4128-9f65-02f1ab86d6b4 2025-09-23 12:25:37,209 - INFO - Verifications in API Server for VN ctest-vn-32889844 passed 2025-09-23 12:25:37,209 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b64a3aa3-b2da-4128-9f65-02f1ab86d6b4 2025-09-23 12:25:37,221 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ca484a97-a8d9-4f6f-87de-e32fb471a33c 2025-09-23 12:25:37,229 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ca484a97-a8d9-4f6f-87de-e32fb471a33c 2025-09-23 12:25:37,237 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/090e1784-dd65-4342-8ad1-c2d6c6c0a1f5 2025-09-23 12:25:37,250 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68298632:ctest-vn-32889844', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68298632', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13135375737934201128', 'uuid-lslong': '11485589661666432692'}, 'enable': 'true', 'created': '2025-09-23T12:25:34', 'last-modified': '2025-09-23T12:25:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.089649'} 2025-09-23 12:25:37,258 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-23 12:25:37,258 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32889844 passed 2025-09-23 12:25:37,258 - DEBUG - ====Verifying policy data for ctest-vn-32889844 in API_Server ====== 2025-09-23 12:25:37,258 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-23 12:25:37,266 - DEBUG - Requesting: http://10.0.0.33:8082/domain/24e61fe2-ec6b-4a00-98f7-7be48c0359fb 2025-09-23 12:25:37,279 - DEBUG - Requesting: http://10.0.0.33:8082/project/1dcbdb5d-e1a0-445a-afab-2568343de50f 2025-09-23 12:25:37,353 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b64a3aa3-b2da-4128-9f65-02f1ab86d6b4 2025-09-23 12:25:37,366 - DEBUG - ==>Verifying data for policy with id: d989b2cc-60a0-4cdf-acc8-c28011cf6b25, fqn: ['default-domain', 'ctest-TestBasicPolicy-68298632', 'ctest-policy-allow-all-22542947'] 2025-09-23 12:25:37,366 - INFO - VN ctest-vn-32889844 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-23 12:25:37,366 - DEBUG - Verifying the vn in opserver 2025-09-23 12:25:37,366 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68298632:ctest-vn-32889844 virtual network link through opserver 10.0.0.33 2025-09-23 12:25:37,366 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-09-23 12:25:37,663 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-09-23 12:25:37,746 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68298632:ctest-vn-32889844', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68298632:ctest-vn-32889844?flat'} 2025-09-23 12:25:37,747 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68298632:ctest-vn-32889844 is found in opserver 2025-09-23 12:25:37,758 - DEBUG - Do not have enough data to verify VN in agent 2025-09-23 12:25:37,763 - DEBUG - VRF ids for VN ctest-vn-32889844: {} 2025-09-23 12:25:37,763 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-23 12:25:37,769 - DEBUG - Requesting: http://10.0.0.33:8082/domain/24e61fe2-ec6b-4a00-98f7-7be48c0359fb 2025-09-23 12:25:37,783 - DEBUG - Requesting: http://10.0.0.33:8082/project/1dcbdb5d-e1a0-445a-afab-2568343de50f 2025-09-23 12:25:37,860 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/16054673-e7bd-4bba-91f5-3086ba48217a 2025-09-23 12:25:37,873 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/16054673-e7bd-4bba-91f5-3086ba48217a 2025-09-23 12:25:37,884 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a298a1ef-7ba1-4d89-be4c-ab386e883da5 2025-09-23 12:25:37,893 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a298a1ef-7ba1-4d89-be4c-ab386e883da5 2025-09-23 12:25:37,901 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d67886f9-c1b4-46c0-8a50-71d52c77f16a 2025-09-23 12:25:37,909 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-23 12:25:37,909 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/16054673-e7bd-4bba-91f5-3086ba48217a 2025-09-23 12:25:37,919 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a298a1ef-7ba1-4d89-be4c-ab386e883da5 2025-09-23 12:25:37,936 - INFO - Verified VN network id 11 for VN 16054673-e7bd-4bba-91f5-3086ba48217a 2025-09-23 12:25:37,936 - INFO - Verifications in API Server for VN ctest-vn-36655934 passed 2025-09-23 12:25:37,936 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/16054673-e7bd-4bba-91f5-3086ba48217a 2025-09-23 12:25:37,946 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a298a1ef-7ba1-4d89-be4c-ab386e883da5 2025-09-23 12:25:37,954 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a298a1ef-7ba1-4d89-be4c-ab386e883da5 2025-09-23 12:25:37,961 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d67886f9-c1b4-46c0-8a50-71d52c77f16a 2025-09-23 12:25:37,975 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68298632:ctest-vn-36655934', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68298632', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1586751907341093818', 'uuid-lslong': '10517365860002701690'}, 'enable': 'true', 'created': '2025-09-23T12:25:35', 'last-modified': '2025-09-23T12:25:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.495731'} 2025-09-23 12:25:37,981 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-23 12:25:37,981 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36655934 passed 2025-09-23 12:25:37,981 - DEBUG - ====Verifying policy data for ctest-vn-36655934 in API_Server ====== 2025-09-23 12:25:37,981 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-23 12:25:37,988 - DEBUG - Requesting: http://10.0.0.33:8082/domain/24e61fe2-ec6b-4a00-98f7-7be48c0359fb 2025-09-23 12:25:37,999 - DEBUG - Requesting: http://10.0.0.33:8082/project/1dcbdb5d-e1a0-445a-afab-2568343de50f 2025-09-23 12:25:38,072 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/16054673-e7bd-4bba-91f5-3086ba48217a 2025-09-23 12:25:38,082 - DEBUG - ==>Verifying data for policy with id: d989b2cc-60a0-4cdf-acc8-c28011cf6b25, fqn: ['default-domain', 'ctest-TestBasicPolicy-68298632', 'ctest-policy-allow-all-22542947'] 2025-09-23 12:25:38,082 - INFO - VN ctest-vn-36655934 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-23 12:25:38,082 - DEBUG - Verifying the vn in opserver 2025-09-23 12:25:38,082 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68298632:ctest-vn-36655934 virtual network link through opserver 10.0.0.33 2025-09-23 12:25:38,082 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-09-23 12:25:38,093 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68298632:ctest-vn-36655934', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68298632:ctest-vn-36655934?flat'} 2025-09-23 12:25:38,093 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68298632:ctest-vn-36655934 is found in opserver 2025-09-23 12:25:38,106 - DEBUG - Do not have enough data to verify VN in agent 2025-09-23 12:25:38,111 - DEBUG - VRF ids for VN ctest-vn-36655934: {} 2025-09-23 12:25:38,179 - DEBUG - Services list from nova: [, , ] 2025-09-23 12:25:39,351 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4175-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4175-1) 2025-09-23 12:25:40,705 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4175-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4175-1) 2025-09-23 12:25:40,705 - INFO - Waiting for VM ctest-TestBasicPolicy-68298632-15499081 to be up.. 2025-09-23 12:25:40,815 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-23 12:25:45,921 - DEBUG - VM is in ACTIVE state now 2025-09-23 12:25:45,921 - INFO - VM name : ctest-TestBasicPolicy-68298632-15499081 2025-09-23 12:25:46,011 - DEBUG - VM ctest-TestBasicPolicy-68298632-15499081 ID is a14856ef-9d7d-4a60-968c-4b8bda163fa6 2025-09-23 12:25:46,038 - DEBUG - VM ctest-TestBasicPolicy-68298632-15499081 launched on Node cn-jenkins-deploy-platform-ansible-os-4175-1 2025-09-23 12:25:46,142 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a14856ef-9d7d-4a60-968c-4b8bda163fa6 2025-09-23 12:25:46,152 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/88bd5dd3-943d-4421-a1fd-76d5b26a3204 2025-09-23 12:25:49,444 - 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 1024ms') 2025-09-23 12:25:49,444 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68298632-15499081 failed! 2025-09-23 12:25:49,507 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-68298632:ctest-vn-32889844 is 50.48.169.65 and allocation pool is NOT set 2025-09-23 12:25:51,585 - 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=17.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.80 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.795/9.985/17.175/7.190 ms') 2025-09-23 12:25:51,585 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68298632-15499081 passed 2025-09-23 12:25:51,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:25:51,739 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68298632-15499081, IP 50.48.169.67, Port 22 2025-09-23 12:25:51,805 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-09-23 12:25:51,913 - DEBUG - VM ctest-TestBasicPolicy-68298632-15499081 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-23 12:25:56,914 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:25:56,915 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68298632-15499081, IP 50.48.169.67, Port 22 2025-09-23 12:25:57,082 - DEBUG - VM ctest-TestBasicPolicy-68298632-15499081 is ready for SSH connections 2025-09-23 12:25:57,083 - INFO - Waiting for VM ctest-TestBasicPolicy-68298632-28470704 to be up.. 2025-09-23 12:25:57,166 - DEBUG - VM is in ACTIVE state now 2025-09-23 12:25:57,166 - INFO - VM name : ctest-TestBasicPolicy-68298632-28470704 2025-09-23 12:25:57,249 - DEBUG - VM ctest-TestBasicPolicy-68298632-28470704 ID is 42a92ed6-1bb2-4656-9adf-b50cee949ec6 2025-09-23 12:25:57,249 - DEBUG - VM ctest-TestBasicPolicy-68298632-28470704 launched on Node cn-jenkins-deploy-platform-ansible-os-4175-1 2025-09-23 12:25:57,332 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/42a92ed6-1bb2-4656-9adf-b50cee949ec6 2025-09-23 12:25:57,342 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/8df22d81-c8e4-4a13-9317-13d485a6db85 2025-09-23 12:25:58,592 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.612 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.612/2.024/3.436/1.412 ms') 2025-09-23 12:25:58,593 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-68298632-28470704 passed 2025-09-23 12:25:58,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:25:58,755 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68298632-28470704, IP 130.130.231.67, Port 22 2025-09-23 12:25:58,925 - DEBUG - VM ctest-TestBasicPolicy-68298632-28470704 is ready for SSH connections 2025-09-23 12:25:58,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:25:58,925 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.130.231.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-23 12:25:58,926 - DEBUG - ping -s 56 -c 3 -W 1 130.130.231.67 2025-09-23 12:26:03,083 - DEBUG - PING 130.130.231.67 (130.130.231.67): 56 data bytes 64 bytes from 130.130.231.67: seq=0 ttl=63 time=4.215 ms 64 bytes from 130.130.231.67: seq=1 ttl=63 time=1.417 ms 64 bytes from 130.130.231.67: seq=2 ttl=63 time=1.175 ms --- 130.130.231.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.175/2.269/4.215 ms 2025-09-23 12:26:03,084 - INFO - Ping to IP 130.130.231.67 from VM ctest-TestBasicPolicy-68298632-15499081 passed 2025-09-23 12:26:03,271 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d989b2cc-60a0-4cdf-acc8-c28011cf6b25", "href": "http://10.0.0.33:8082/network-policy/d989b2cc-60a0-4cdf-acc8-c28011cf6b25"}} 2025-09-23 12:26:03,271 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:26:03,271 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.130.231.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-23 12:26:03,271 - DEBUG - ping -s 56 -c 3 -W 1 130.130.231.67 2025-09-23 12:26:06,492 - DEBUG - PING 130.130.231.67 (130.130.231.67): 56 data bytes --- 130.130.231.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-23 12:26:06,493 - WARNING - Ping to IP 130.130.231.67 from VM ctest-TestBasicPolicy-68298632-15499081 failed 2025-09-23 12:26:06,493 - INFO - Deleting VM ctest-TestBasicPolicy-68298632-28470704 2025-09-23 12:26:06,564 - INFO - Deleting VM ctest-TestBasicPolicy-68298632-15499081 2025-09-23 12:26:06,954 - INFO - Deleted policy ctest-policy-allow-all-22542947 2025-09-23 12:26:06,954 - INFO - Deleting VN ctest-vn-36655934 2025-09-23 12:26:06,991 - DEBUG - VN 16054673-e7bd-4bba-91f5-3086ba48217a still in use: Unable to complete operation on network 16054673-e7bd-4bba-91f5-3086ba48217a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-da8203e4-9bf4-452c-9210-da545d33566b'] 2025-09-23 12:26:06,991 - WARNING - Deleting VN ctest-vn-36655934 failed..Will retry 2025-09-23 12:26:09,112 - DEBUG - Response for deleting network () 2025-09-23 12:26:09,112 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a298a1ef-7ba1-4d89-be4c-ab386e883da5 2025-09-23 12:26:09,121 - DEBUG - Response Code: 404 2025-09-23 12:26:09,122 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-23 12:26:09,127 - DEBUG - Requesting: http://10.0.0.33:8082/domain/24e61fe2-ec6b-4a00-98f7-7be48c0359fb 2025-09-23 12:26:09,180 - DEBUG - Requesting: http://10.0.0.33:8082/project/1dcbdb5d-e1a0-445a-afab-2568343de50f 2025-09-23 12:26:09,256 - INFO - Validated that VN ctest-vn-36655934 is not found in API Server 2025-09-23 12:26:09,266 - DEBUG - VN ctest-vn-36655934 is not present in Agent 10.0.0.33 2025-09-23 12:26:09,266 - INFO - Validated that VN ctest-vn-36655934 is not in any agent 2025-09-23 12:26:09,283 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36655934 info 2025-09-23 12:26:09,283 - INFO - Deleting VN ctest-vn-32889844 2025-09-23 12:26:09,396 - DEBUG - Response for deleting network () 2025-09-23 12:26:09,396 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ca484a97-a8d9-4f6f-87de-e32fb471a33c 2025-09-23 12:26:09,403 - DEBUG - Response Code: 404 2025-09-23 12:26:09,403 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-23 12:26:09,411 - DEBUG - Requesting: http://10.0.0.33:8082/domain/24e61fe2-ec6b-4a00-98f7-7be48c0359fb 2025-09-23 12:26:09,464 - DEBUG - Requesting: http://10.0.0.33:8082/project/1dcbdb5d-e1a0-445a-afab-2568343de50f 2025-09-23 12:26:09,543 - INFO - Validated that VN ctest-vn-32889844 is not found in API Server 2025-09-23 12:26:09,555 - DEBUG - VN ctest-vn-32889844 is not present in Agent 10.0.0.33 2025-09-23 12:26:09,555 - INFO - Validated that VN ctest-vn-32889844 is not in any agent 2025-09-23 12:26:09,571 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32889844 info 2025-09-23 12:26:09,823 - DEBUG - No XMPP flaps were noticed during the test 2025-09-23 12:26:09,823 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-09-23 12:26:09,824 - INFO - -------------------------------------------------------------------------------- 2025-09-23 12:26:10,512 - INFO - Deleted project: ctest-TestBasicPolicy-68298632, ID : 1dcbdb5d-e1a0-445a-afab-2568343de50f