2025-10-30 17:14:01,180 - INFO - Domain Default found not creating 2025-10-30 17:14:01,372 - INFO - Project ctest-TestBasicPolicy-47416809 not found, creating it 2025-10-30 17:14:01,847 - INFO - Created Project:ctest-TestBasicPolicy-47416809, ID : ea785cba-3c4d-42b8-8f01-bbe6deeaf70d 2025-10-30 17:14:03,838 - INFO - ================================================================================ 2025-10-30 17:14:03,838 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-30 17:14:03,838 - 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-10-30 17:14:04,165 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-10-30 17:14:04,166 - INFO - Initial checks done. Running the testcase now 2025-10-30 17:14:04,166 - INFO - 2025-10-30 17:14:04,907 - DEBUG - Response for create_network : {'network': {'id': 'ae199b74-96b2-48b0-b66a-3766cbb039c7', 'name': 'ctest-vn-05458133', 'tenant_id': 'ea785cba3c4d42b88f01bbe6deeaf70d', 'project_id': 'ea785cba3c4d42b88f01bbe6deeaf70d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47416809', 'ctest-vn-05458133'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 17:14:05,099 - DEBUG - Response for create_subnet : {'subnet': {'id': '1eeb8898-fe1d-4409-9739-3ba9320efd3a', 'name': '', 'tenant_id': 'ea785cba3c4d42b88f01bbe6deeaf70d', 'network_id': 'ae199b74-96b2-48b0-b66a-3766cbb039c7', 'ip_version': 4, 'cidr': '191.90.250.128/26', 'allocation_pools': [{'start': '191.90.250.130', 'end': '191.90.250.190'}], 'gateway_ip': '191.90.250.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.90.250.130', 'tags': [], 'project_id': 'ea785cba3c4d42b88f01bbe6deeaf70d'}} 2025-10-30 17:14:05,120 - INFO - Created VN ctest-vn-05458133 2025-10-30 17:14:05,178 - DEBUG - VN ctest-vn-05458133 UUID is ae199b74-96b2-48b0-b66a-3766cbb039c7 2025-10-30 17:14:05,657 - DEBUG - Response for create_network : {'network': {'id': 'a4639113-d4a0-403b-a13d-402a9887fc28', 'name': 'ctest-vn-42024462', 'tenant_id': 'ea785cba3c4d42b88f01bbe6deeaf70d', 'project_id': 'ea785cba3c4d42b88f01bbe6deeaf70d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47416809', 'ctest-vn-42024462'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 17:14:05,917 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d74efd4-f569-45e0-bede-7369a66a2404', 'name': '', 'tenant_id': 'ea785cba3c4d42b88f01bbe6deeaf70d', 'network_id': 'a4639113-d4a0-403b-a13d-402a9887fc28', 'ip_version': 4, 'cidr': '130.129.186.64/26', 'allocation_pools': [{'start': '130.129.186.66', 'end': '130.129.186.126'}], 'gateway_ip': '130.129.186.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.129.186.66', 'tags': [], 'project_id': 'ea785cba3c4d42b88f01bbe6deeaf70d'}} 2025-10-30 17:14:05,950 - INFO - Created VN ctest-vn-42024462 2025-10-30 17:14:06,005 - DEBUG - VN ctest-vn-42024462 UUID is a4639113-d4a0-403b-a13d-402a9887fc28 2025-10-30 17:14:06,170 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-47416809:ctest-vn-05458133, 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-47416809:ctest-vn-42024462, 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-10-30 17:14:06,538 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ae199b74-96b2-48b0-b66a-3766cbb039c7', 'name': 'ctest-vn-05458133', 'tenant_id': 'ea785cba3c4d42b88f01bbe6deeaf70d', 'project_id': 'ea785cba3c4d42b88f01bbe6deeaf70d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1eeb8898-fe1d-4409-9739-3ba9320efd3a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47416809', 'ctest-vn-05458133'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47416809', 'ctest-policy-allow-all-14071470']], 'subnet_ipam': [{'subnet_cidr': '191.90.250.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 17:14:06,893 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a4639113-d4a0-403b-a13d-402a9887fc28', 'name': 'ctest-vn-42024462', 'tenant_id': 'ea785cba3c4d42b88f01bbe6deeaf70d', 'project_id': 'ea785cba3c4d42b88f01bbe6deeaf70d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2d74efd4-f569-45e0-bede-7369a66a2404'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47416809', 'ctest-vn-42024462'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47416809', 'ctest-policy-allow-all-14071470']], 'subnet_ipam': [{'subnet_cidr': '130.129.186.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 17:14:07,086 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 17:14:07,407 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 17:14:07,724 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d1fec484-0983-4101-8f56-7f5f4d69e839 2025-10-30 17:14:07,754 - DEBUG - Requesting: http://10.0.0.38:8082/project/ea785cba-3c4d-42b8-8f01-bbe6deeaf70d 2025-10-30 17:14:07,844 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ae199b74-96b2-48b0-b66a-3766cbb039c7 2025-10-30 17:14:07,860 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ae199b74-96b2-48b0-b66a-3766cbb039c7 2025-10-30 17:14:07,874 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5aee4eab-fc6f-45de-9b4c-3d22f6262e15 2025-10-30 17:14:07,883 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5aee4eab-fc6f-45de-9b4c-3d22f6262e15 2025-10-30 17:14:07,891 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0f8c182e-ee1f-4f3d-a13e-53cde0bf3f9a 2025-10-30 17:14:07,899 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 17:14:07,900 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ae199b74-96b2-48b0-b66a-3766cbb039c7 2025-10-30 17:14:07,911 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5aee4eab-fc6f-45de-9b4c-3d22f6262e15 2025-10-30 17:14:07,939 - INFO - Verified VN network id 11 for VN ae199b74-96b2-48b0-b66a-3766cbb039c7 2025-10-30 17:14:07,940 - INFO - Verifications in API Server for VN ctest-vn-05458133 passed 2025-10-30 17:14:07,940 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ae199b74-96b2-48b0-b66a-3766cbb039c7 2025-10-30 17:14:07,952 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5aee4eab-fc6f-45de-9b4c-3d22f6262e15 2025-10-30 17:14:07,960 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5aee4eab-fc6f-45de-9b4c-3d22f6262e15 2025-10-30 17:14:07,970 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0f8c182e-ee1f-4f3d-a13e-53cde0bf3f9a 2025-10-30 17:14:07,986 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47416809:ctest-vn-05458133', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47416809', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12545229162064005296', 'uuid-lslong': '13144379377077729735'}, 'enable': 'true', 'created': '2025-10-30T17:14:04', 'last-modified': '2025-10-30T17:14:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.480464'} 2025-10-30 17:14:07,993 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 17:14:07,993 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05458133 passed 2025-10-30 17:14:07,993 - DEBUG - ====Verifying policy data for ctest-vn-05458133 in API_Server ====== 2025-10-30 17:14:07,993 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 17:14:07,999 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d1fec484-0983-4101-8f56-7f5f4d69e839 2025-10-30 17:14:08,010 - DEBUG - Requesting: http://10.0.0.38:8082/project/ea785cba-3c4d-42b8-8f01-bbe6deeaf70d 2025-10-30 17:14:08,096 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ae199b74-96b2-48b0-b66a-3766cbb039c7 2025-10-30 17:14:08,109 - DEBUG - ==>Verifying data for policy with id: 1974ee89-254b-4f86-9cc7-4c93ef55d8c8, fqn: ['default-domain', 'ctest-TestBasicPolicy-47416809', 'ctest-policy-allow-all-14071470'] 2025-10-30 17:14:08,109 - INFO - VN ctest-vn-05458133 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 17:14:08,109 - DEBUG - Verifying the vn in opserver 2025-10-30 17:14:08,109 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47416809:ctest-vn-05458133 virtual network link through opserver 10.0.0.38 2025-10-30 17:14:08,109 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-30 17:14:08,453 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-30 17:14:08,635 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47416809:ctest-vn-05458133', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47416809:ctest-vn-05458133?flat'} 2025-10-30 17:14:08,635 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47416809:ctest-vn-05458133 is found in opserver 2025-10-30 17:14:08,651 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 17:14:08,660 - DEBUG - VRF ids for VN ctest-vn-05458133: {} 2025-10-30 17:14:08,660 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 17:14:08,668 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d1fec484-0983-4101-8f56-7f5f4d69e839 2025-10-30 17:14:08,691 - DEBUG - Requesting: http://10.0.0.38:8082/project/ea785cba-3c4d-42b8-8f01-bbe6deeaf70d 2025-10-30 17:14:08,785 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a4639113-d4a0-403b-a13d-402a9887fc28 2025-10-30 17:14:08,801 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a4639113-d4a0-403b-a13d-402a9887fc28 2025-10-30 17:14:08,815 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/81b69d91-3d8a-47d3-979c-4af598712d7f 2025-10-30 17:14:08,825 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/81b69d91-3d8a-47d3-979c-4af598712d7f 2025-10-30 17:14:08,834 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/cad7922b-af38-4715-aaad-1a777061510c 2025-10-30 17:14:08,842 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 17:14:08,842 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a4639113-d4a0-403b-a13d-402a9887fc28 2025-10-30 17:14:08,853 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/81b69d91-3d8a-47d3-979c-4af598712d7f 2025-10-30 17:14:08,873 - INFO - Verified VN network id 12 for VN a4639113-d4a0-403b-a13d-402a9887fc28 2025-10-30 17:14:08,873 - INFO - Verifications in API Server for VN ctest-vn-42024462 passed 2025-10-30 17:14:08,873 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a4639113-d4a0-403b-a13d-402a9887fc28 2025-10-30 17:14:08,887 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/81b69d91-3d8a-47d3-979c-4af598712d7f 2025-10-30 17:14:08,897 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/81b69d91-3d8a-47d3-979c-4af598712d7f 2025-10-30 17:14:08,908 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/cad7922b-af38-4715-aaad-1a777061510c 2025-10-30 17:14:08,920 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47416809:ctest-vn-42024462', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47416809', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11845470959272214587', 'uuid-lslong': '11618513165377600552'}, 'enable': 'true', 'created': '2025-10-30T17:14:05', 'last-modified': '2025-10-30T17:14:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.078771'} 2025-10-30 17:14:08,927 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 17:14:08,927 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42024462 passed 2025-10-30 17:14:08,927 - DEBUG - ====Verifying policy data for ctest-vn-42024462 in API_Server ====== 2025-10-30 17:14:08,927 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 17:14:08,933 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d1fec484-0983-4101-8f56-7f5f4d69e839 2025-10-30 17:14:08,947 - DEBUG - Requesting: http://10.0.0.38:8082/project/ea785cba-3c4d-42b8-8f01-bbe6deeaf70d 2025-10-30 17:14:09,041 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a4639113-d4a0-403b-a13d-402a9887fc28 2025-10-30 17:14:09,053 - DEBUG - ==>Verifying data for policy with id: 1974ee89-254b-4f86-9cc7-4c93ef55d8c8, fqn: ['default-domain', 'ctest-TestBasicPolicy-47416809', 'ctest-policy-allow-all-14071470'] 2025-10-30 17:14:09,053 - INFO - VN ctest-vn-42024462 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 17:14:09,053 - DEBUG - Verifying the vn in opserver 2025-10-30 17:14:09,053 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47416809:ctest-vn-42024462 virtual network link through opserver 10.0.0.38 2025-10-30 17:14:09,053 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-30 17:14:09,067 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47416809:ctest-vn-42024462', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47416809:ctest-vn-42024462?flat'} 2025-10-30 17:14:09,067 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47416809:ctest-vn-42024462 is found in opserver 2025-10-30 17:14:09,079 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 17:14:09,085 - DEBUG - VRF ids for VN ctest-vn-42024462: {} 2025-10-30 17:14:09,162 - DEBUG - Services list from nova: [, , ] 2025-10-30 17:14:10,566 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4549-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4549-1) 2025-10-30 17:14:11,999 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4549-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4549-1) 2025-10-30 17:14:11,999 - INFO - Waiting for VM ctest-TestBasicPolicy-47416809-85321485 to be up.. 2025-10-30 17:14:12,105 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 17:14:17,233 - DEBUG - VM is in ACTIVE state now 2025-10-30 17:14:17,233 - INFO - VM name : ctest-TestBasicPolicy-47416809-85321485 2025-10-30 17:14:17,324 - DEBUG - VM ctest-TestBasicPolicy-47416809-85321485 ID is 184f4ee2-0421-4ef3-a1f1-e3469fc36792 2025-10-30 17:14:17,344 - DEBUG - VM ctest-TestBasicPolicy-47416809-85321485 launched on Node cn-jenkins-deploy-platform-ansible-os-4549-1 2025-10-30 17:14:17,425 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/184f4ee2-0421-4ef3-a1f1-e3469fc36792 2025-10-30 17:14:17,440 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a1789657-d70b-4c90-9cc3-2bc594c138e9 2025-10-30 17:14:20,737 - 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-10-30 17:14:20,738 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47416809-85321485 failed! 2025-10-30 17:14:20,803 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-47416809:ctest-vn-05458133 is 191.90.250.129 and allocation pool is NOT set 2025-10-30 17:14:22,889 - 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=15.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.91 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 = 1.905/8.700/15.496/6.795 ms') 2025-10-30 17:14:22,889 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47416809-85321485 passed 2025-10-30 17:14:23,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 17:14:23,075 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47416809-85321485, IP 191.90.250.131, Port 22 2025-10-30 17:14:23,145 - 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-10-30 17:14:23,257 - DEBUG - VM ctest-TestBasicPolicy-47416809-85321485 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 17:14:28,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 17:14:28,258 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47416809-85321485, IP 191.90.250.131, Port 22 2025-10-30 17:14:28,447 - DEBUG - VM ctest-TestBasicPolicy-47416809-85321485 is ready for SSH connections 2025-10-30 17:14:28,447 - INFO - Waiting for VM ctest-TestBasicPolicy-47416809-35329755 to be up.. 2025-10-30 17:14:28,656 - DEBUG - VM is in ACTIVE state now 2025-10-30 17:14:28,656 - INFO - VM name : ctest-TestBasicPolicy-47416809-35329755 2025-10-30 17:14:28,841 - DEBUG - VM ctest-TestBasicPolicy-47416809-35329755 ID is 00a25989-6a6f-4b4a-a5ca-fe65f5077876 2025-10-30 17:14:28,842 - DEBUG - VM ctest-TestBasicPolicy-47416809-35329755 launched on Node cn-jenkins-deploy-platform-ansible-os-4549-1 2025-10-30 17:14:29,032 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/00a25989-6a6f-4b4a-a5ca-fe65f5077876 2025-10-30 17:14:29,054 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e15641bb-c295-4cc2-8180-efeee92fa97b 2025-10-30 17:14:30,368 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.518 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 = 0.518/1.855/3.192/1.337 ms') 2025-10-30 17:14:30,369 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-47416809-35329755 passed 2025-10-30 17:14:30,538 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 17:14:30,538 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47416809-35329755, IP 130.129.186.67, Port 22 2025-10-30 17:14:30,740 - DEBUG - VM ctest-TestBasicPolicy-47416809-35329755 is ready for SSH connections 2025-10-30 17:14:30,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 17:14:30,741 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.129.186.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 17:14:30,742 - DEBUG - ping -s 56 -c 3 -W 1 130.129.186.67 2025-10-30 17:14:35,535 - DEBUG - PING 130.129.186.67 (130.129.186.67): 56 data bytes 64 bytes from 130.129.186.67: seq=0 ttl=63 time=4.103 ms 64 bytes from 130.129.186.67: seq=1 ttl=63 time=1.604 ms 64 bytes from 130.129.186.67: seq=2 ttl=63 time=1.922 ms --- 130.129.186.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.604/2.543/4.103 ms 2025-10-30 17:14:35,536 - INFO - Ping to IP 130.129.186.67 from VM ctest-TestBasicPolicy-47416809-85321485 passed 2025-10-30 17:14:35,766 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1974ee89-254b-4f86-9cc7-4c93ef55d8c8", "href": "http://10.0.0.38:8082/network-policy/1974ee89-254b-4f86-9cc7-4c93ef55d8c8"}} 2025-10-30 17:14:35,766 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 17:14:35,766 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.129.186.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 17:14:35,767 - DEBUG - ping -s 56 -c 3 -W 1 130.129.186.67 2025-10-30 17:14:39,064 - DEBUG - PING 130.129.186.67 (130.129.186.67): 56 data bytes 64 bytes from 130.129.186.67: seq=0 ttl=63 time=2.558 ms --- 130.129.186.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.558/2.558/2.558 ms 2025-10-30 17:14:39,065 - WARNING - Ping to IP 130.129.186.67 from VM ctest-TestBasicPolicy-47416809-85321485 failed 2025-10-30 17:14:39,065 - INFO - Deleting VM ctest-TestBasicPolicy-47416809-35329755 2025-10-30 17:14:39,218 - INFO - Deleting VM ctest-TestBasicPolicy-47416809-85321485 2025-10-30 17:14:39,685 - INFO - Deleted policy ctest-policy-allow-all-14071470 2025-10-30 17:14:39,685 - INFO - Deleting VN ctest-vn-42024462 2025-10-30 17:14:39,725 - DEBUG - VN a4639113-d4a0-403b-a13d-402a9887fc28 still in use: Unable to complete operation on network a4639113-d4a0-403b-a13d-402a9887fc28. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-01e8546b-54b5-4f47-ab25-b5de8f379aa7'] 2025-10-30 17:14:39,725 - WARNING - Deleting VN ctest-vn-42024462 failed..Will retry 2025-10-30 17:14:41,953 - DEBUG - Response for deleting network () 2025-10-30 17:14:41,953 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/81b69d91-3d8a-47d3-979c-4af598712d7f 2025-10-30 17:14:41,960 - DEBUG - Response Code: 404 2025-10-30 17:14:41,960 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 17:14:41,967 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d1fec484-0983-4101-8f56-7f5f4d69e839 2025-10-30 17:14:42,034 - DEBUG - Requesting: http://10.0.0.38:8082/project/ea785cba-3c4d-42b8-8f01-bbe6deeaf70d 2025-10-30 17:14:42,129 - INFO - Validated that VN ctest-vn-42024462 is not found in API Server 2025-10-30 17:14:42,145 - DEBUG - VN ctest-vn-42024462 is not present in Agent 10.0.0.38 2025-10-30 17:14:42,145 - INFO - Validated that VN ctest-vn-42024462 is not in any agent 2025-10-30 17:14:42,168 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42024462 info 2025-10-30 17:14:42,168 - INFO - Deleting VN ctest-vn-05458133 2025-10-30 17:14:42,310 - DEBUG - Response for deleting network () 2025-10-30 17:14:42,310 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5aee4eab-fc6f-45de-9b4c-3d22f6262e15 2025-10-30 17:14:42,320 - DEBUG - Response Code: 404 2025-10-30 17:14:42,320 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 17:14:42,326 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d1fec484-0983-4101-8f56-7f5f4d69e839 2025-10-30 17:14:42,380 - DEBUG - Requesting: http://10.0.0.38:8082/project/ea785cba-3c4d-42b8-8f01-bbe6deeaf70d 2025-10-30 17:14:42,484 - INFO - Validated that VN ctest-vn-05458133 is not found in API Server 2025-10-30 17:14:42,503 - DEBUG - VN ctest-vn-05458133 is not present in Agent 10.0.0.38 2025-10-30 17:14:42,503 - INFO - Validated that VN ctest-vn-05458133 is not in any agent 2025-10-30 17:14:42,540 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05458133 info 2025-10-30 17:14:42,868 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 17:14:42,868 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39] 2025-10-30 17:14:42,868 - INFO - -------------------------------------------------------------------------------- 2025-10-30 17:14:43,715 - INFO - Deleted project: ctest-TestBasicPolicy-47416809, ID : ea785cba-3c4d-42b8-8f01-bbe6deeaf70d