2025-09-08 16:04:07,416 - INFO - Domain Default found not creating 2025-09-08 16:04:07,547 - INFO - Project ctest-TestBasicPolicy-01024001 not found, creating it 2025-09-08 16:04:07,980 - INFO - Created Project:ctest-TestBasicPolicy-01024001, ID : ab2cb73e-bf6b-40e2-a2c9-8afe1a48b15b 2025-09-08 16:04:09,420 - INFO - ================================================================================ 2025-09-08 16:04:09,420 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-08 16:04:09,420 - 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-08 16:04:09,678 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.193': '0'}} with 2025-09-08 16:04:09,678 - INFO - Initial checks done. Running the testcase now 2025-09-08 16:04:09,678 - INFO - 2025-09-08 16:04:10,213 - DEBUG - Response for create_network : {'network': {'id': '15f887ec-0b14-4d4b-91b7-e560feb82710', 'name': 'ctest-vn-36638182', 'tenant_id': 'ab2cb73ebf6b40e2a2c98afe1a48b15b', 'project_id': 'ab2cb73ebf6b40e2a2c98afe1a48b15b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01024001', 'ctest-vn-36638182'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 16:04:10,414 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e217e566-0137-467c-b61f-ab1f9c09af0f', 'name': '', 'tenant_id': 'ab2cb73ebf6b40e2a2c98afe1a48b15b', 'network_id': '15f887ec-0b14-4d4b-91b7-e560feb82710', 'ip_version': 4, 'cidr': '130.63.111.128/26', 'allocation_pools': [{'start': '130.63.111.130', 'end': '130.63.111.190'}], 'gateway_ip': '130.63.111.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.63.111.130', 'tags': [], 'project_id': 'ab2cb73ebf6b40e2a2c98afe1a48b15b'}} 2025-09-08 16:04:10,432 - INFO - Created VN ctest-vn-36638182 2025-09-08 16:04:10,483 - DEBUG - VN ctest-vn-36638182 UUID is 15f887ec-0b14-4d4b-91b7-e560feb82710 2025-09-08 16:04:10,756 - DEBUG - Response for create_network : {'network': {'id': '450ad08a-19c4-465e-8afe-210433ad800c', 'name': 'ctest-vn-09580672', 'tenant_id': 'ab2cb73ebf6b40e2a2c98afe1a48b15b', 'project_id': 'ab2cb73ebf6b40e2a2c98afe1a48b15b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01024001', 'ctest-vn-09580672'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 16:04:10,939 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dccde79e-2119-4415-9fb0-4db20c235c81', 'name': '', 'tenant_id': 'ab2cb73ebf6b40e2a2c98afe1a48b15b', 'network_id': '450ad08a-19c4-465e-8afe-210433ad800c', 'ip_version': 4, 'cidr': '189.225.92.192/26', 'allocation_pools': [{'start': '189.225.92.194', 'end': '189.225.92.254'}], 'gateway_ip': '189.225.92.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.225.92.194', 'tags': [], 'project_id': 'ab2cb73ebf6b40e2a2c98afe1a48b15b'}} 2025-09-08 16:04:10,957 - INFO - Created VN ctest-vn-09580672 2025-09-08 16:04:11,011 - DEBUG - VN ctest-vn-09580672 UUID is 450ad08a-19c4-465e-8afe-210433ad800c 2025-09-08 16:04:11,129 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-01024001:ctest-vn-36638182, 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-01024001:ctest-vn-09580672, 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-08 16:04:11,430 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '15f887ec-0b14-4d4b-91b7-e560feb82710', 'name': 'ctest-vn-36638182', 'tenant_id': 'ab2cb73ebf6b40e2a2c98afe1a48b15b', 'project_id': 'ab2cb73ebf6b40e2a2c98afe1a48b15b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e217e566-0137-467c-b61f-ab1f9c09af0f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01024001', 'ctest-vn-36638182'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01024001', 'ctest-policy-allow-all-75925986']], 'subnet_ipam': [{'subnet_cidr': '130.63.111.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-08 16:04:11,650 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '450ad08a-19c4-465e-8afe-210433ad800c', 'name': 'ctest-vn-09580672', 'tenant_id': 'ab2cb73ebf6b40e2a2c98afe1a48b15b', 'project_id': 'ab2cb73ebf6b40e2a2c98afe1a48b15b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dccde79e-2119-4415-9fb0-4db20c235c81'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01024001', 'ctest-vn-09580672'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01024001', 'ctest-policy-allow-all-75925986']], 'subnet_ipam': [{'subnet_cidr': '189.225.92.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-08 16:04:11,803 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-08 16:04:12,094 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-08 16:04:12,124 - DEBUG - Requesting: http://10.0.0.254:8082/domain/fb1103cc-1f72-4b41-b0db-05d945200c8d 2025-09-08 16:04:12,136 - DEBUG - Requesting: http://10.0.0.254:8082/project/ab2cb73e-bf6b-40e2-a2c9-8afe1a48b15b 2025-09-08 16:04:12,208 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/15f887ec-0b14-4d4b-91b7-e560feb82710 2025-09-08 16:04:12,220 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/15f887ec-0b14-4d4b-91b7-e560feb82710 2025-09-08 16:04:12,229 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2bfce9dd-34b9-41aa-ac59-e4ee2b670063 2025-09-08 16:04:12,236 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2bfce9dd-34b9-41aa-ac59-e4ee2b670063 2025-09-08 16:04:12,242 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/2d0be4f6-e26a-4024-a122-1c1d719e5d72 2025-09-08 16:04:12,248 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-08 16:04:12,248 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/15f887ec-0b14-4d4b-91b7-e560feb82710 2025-09-08 16:04:12,255 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2bfce9dd-34b9-41aa-ac59-e4ee2b670063 2025-09-08 16:04:12,270 - INFO - Verified VN network id 11 for VN 15f887ec-0b14-4d4b-91b7-e560feb82710 2025-09-08 16:04:12,270 - INFO - Verifications in API Server for VN ctest-vn-36638182 passed 2025-09-08 16:04:12,270 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/15f887ec-0b14-4d4b-91b7-e560feb82710 2025-09-08 16:04:12,277 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2bfce9dd-34b9-41aa-ac59-e4ee2b670063 2025-09-08 16:04:12,283 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2bfce9dd-34b9-41aa-ac59-e4ee2b670063 2025-09-08 16:04:12,288 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/2d0be4f6-e26a-4024-a122-1c1d719e5d72 2025-09-08 16:04:12,298 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01024001:ctest-vn-36638182', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01024001', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1583164716888640843', 'uuid-lslong': '10500113260990703376'}, 'enable': 'true', 'created': '2025-09-08T16:04:10', 'last-modified': '2025-09-08T16:04:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.890997'} 2025-09-08 16:04:12,304 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-08 16:04:12,304 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36638182 passed 2025-09-08 16:04:12,304 - DEBUG - ====Verifying policy data for ctest-vn-36638182 in API_Server ====== 2025-09-08 16:04:12,304 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-08 16:04:12,309 - DEBUG - Requesting: http://10.0.0.254:8082/domain/fb1103cc-1f72-4b41-b0db-05d945200c8d 2025-09-08 16:04:12,320 - DEBUG - Requesting: http://10.0.0.254:8082/project/ab2cb73e-bf6b-40e2-a2c9-8afe1a48b15b 2025-09-08 16:04:12,386 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/15f887ec-0b14-4d4b-91b7-e560feb82710 2025-09-08 16:04:12,395 - DEBUG - ==>Verifying data for policy with id: f920bd3a-bb4f-4ea2-93ce-0098f88d12ea, fqn: ['default-domain', 'ctest-TestBasicPolicy-01024001', 'ctest-policy-allow-all-75925986'] 2025-09-08 16:04:12,395 - INFO - VN ctest-vn-36638182 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-08 16:04:12,395 - DEBUG - Verifying the vn in opserver 2025-09-08 16:04:12,395 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01024001:ctest-vn-36638182 virtual network link through opserver 10.0.0.254 2025-09-08 16:04:12,395 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-08 16:04:12,686 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-08 16:04:12,741 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01024001:ctest-vn-36638182', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01024001:ctest-vn-36638182?flat'} 2025-09-08 16:04:12,741 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01024001:ctest-vn-36638182 is found in opserver 2025-09-08 16:04:12,749 - DEBUG - Do not have enough data to verify VN in agent 2025-09-08 16:04:12,754 - DEBUG - VRF ids for VN ctest-vn-36638182: {} 2025-09-08 16:04:12,754 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-08 16:04:12,759 - DEBUG - Requesting: http://10.0.0.254:8082/domain/fb1103cc-1f72-4b41-b0db-05d945200c8d 2025-09-08 16:04:12,772 - DEBUG - Requesting: http://10.0.0.254:8082/project/ab2cb73e-bf6b-40e2-a2c9-8afe1a48b15b 2025-09-08 16:04:12,847 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/450ad08a-19c4-465e-8afe-210433ad800c 2025-09-08 16:04:12,859 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/450ad08a-19c4-465e-8afe-210433ad800c 2025-09-08 16:04:12,871 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/584c98ac-a30c-4677-9114-da4b8995947d 2025-09-08 16:04:12,879 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/584c98ac-a30c-4677-9114-da4b8995947d 2025-09-08 16:04:12,886 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/a7ad5978-ae07-4dd6-a05b-3a18ded15933 2025-09-08 16:04:12,892 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-08 16:04:12,892 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/450ad08a-19c4-465e-8afe-210433ad800c 2025-09-08 16:04:12,901 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/584c98ac-a30c-4677-9114-da4b8995947d 2025-09-08 16:04:12,917 - INFO - Verified VN network id 12 for VN 450ad08a-19c4-465e-8afe-210433ad800c 2025-09-08 16:04:12,917 - INFO - Verifications in API Server for VN ctest-vn-09580672 passed 2025-09-08 16:04:12,918 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/450ad08a-19c4-465e-8afe-210433ad800c 2025-09-08 16:04:12,927 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/584c98ac-a30c-4677-9114-da4b8995947d 2025-09-08 16:04:12,935 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/584c98ac-a30c-4677-9114-da4b8995947d 2025-09-08 16:04:12,942 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/a7ad5978-ae07-4dd6-a05b-3a18ded15933 2025-09-08 16:04:12,955 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01024001:ctest-vn-09580672', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01024001', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4975018029940491870', 'uuid-lslong': '10015478923249156108'}, 'enable': 'true', 'created': '2025-09-08T16:04:10', 'last-modified': '2025-09-08T16:04:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.324015'} 2025-09-08 16:04:12,961 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-08 16:04:12,961 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09580672 passed 2025-09-08 16:04:12,961 - DEBUG - ====Verifying policy data for ctest-vn-09580672 in API_Server ====== 2025-09-08 16:04:12,961 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-08 16:04:12,967 - DEBUG - Requesting: http://10.0.0.254:8082/domain/fb1103cc-1f72-4b41-b0db-05d945200c8d 2025-09-08 16:04:12,977 - DEBUG - Requesting: http://10.0.0.254:8082/project/ab2cb73e-bf6b-40e2-a2c9-8afe1a48b15b 2025-09-08 16:04:13,047 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/450ad08a-19c4-465e-8afe-210433ad800c 2025-09-08 16:04:13,057 - DEBUG - ==>Verifying data for policy with id: f920bd3a-bb4f-4ea2-93ce-0098f88d12ea, fqn: ['default-domain', 'ctest-TestBasicPolicy-01024001', 'ctest-policy-allow-all-75925986'] 2025-09-08 16:04:13,057 - INFO - VN ctest-vn-09580672 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-08 16:04:13,057 - DEBUG - Verifying the vn in opserver 2025-09-08 16:04:13,057 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01024001:ctest-vn-09580672 virtual network link through opserver 10.0.0.254 2025-09-08 16:04:13,057 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-08 16:04:13,065 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01024001:ctest-vn-09580672', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01024001:ctest-vn-09580672?flat'} 2025-09-08 16:04:13,065 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01024001:ctest-vn-09580672 is found in opserver 2025-09-08 16:04:13,074 - DEBUG - Do not have enough data to verify VN in agent 2025-09-08 16:04:13,077 - DEBUG - VRF ids for VN ctest-vn-09580672: {} 2025-09-08 16:04:13,130 - DEBUG - Services list from nova: [, , ] 2025-09-08 16:04:14,156 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4054-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4054-1) 2025-09-08 16:04:15,281 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4054-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4054-1) 2025-09-08 16:04:15,282 - INFO - Waiting for VM ctest-TestBasicPolicy-01024001-37041558 to be up.. 2025-09-08 16:04:15,373 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-08 16:04:20,448 - DEBUG - VM is in ACTIVE state now 2025-09-08 16:04:20,449 - INFO - VM name : ctest-TestBasicPolicy-01024001-37041558 2025-09-08 16:04:20,522 - DEBUG - VM ctest-TestBasicPolicy-01024001-37041558 ID is a4a3d422-36e0-4d65-bfb2-4c00585fad75 2025-09-08 16:04:20,541 - DEBUG - VM ctest-TestBasicPolicy-01024001-37041558 launched on Node cn-jenkins-deploy-platform-ansible-os-4054-1 2025-09-08 16:04:20,612 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a4a3d422-36e0-4d65-bfb2-4c00585fad75 2025-09-08 16:04:20,621 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2d5da408-e562-493c-b019-bec8d2f61ed0 2025-09-08 16:04:23,888 - 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 1027ms') 2025-09-08 16:04:23,888 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-01024001-37041558 failed! 2025-09-08 16:04:23,943 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-01024001:ctest-vn-36638182 is 130.63.111.129 and allocation pool is NOT set 2025-09-08 16:04:26,003 - 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=3.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.742 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 = 0.742/1.991/3.241/1.249 ms') 2025-09-08 16:04:26,003 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-01024001-37041558 passed 2025-09-08 16:04:26,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 16:04:26,155 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01024001-37041558, IP 130.63.111.131, Port 22 2025-09-08 16:04:26,211 - 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-08 16:04:26,286 - DEBUG - VM ctest-TestBasicPolicy-01024001-37041558 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-08 16:04:31,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 16:04:31,287 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01024001-37041558, IP 130.63.111.131, Port 22 2025-09-08 16:04:31,443 - DEBUG - VM ctest-TestBasicPolicy-01024001-37041558 is ready for SSH connections 2025-09-08 16:04:31,443 - INFO - Waiting for VM ctest-TestBasicPolicy-01024001-09759715 to be up.. 2025-09-08 16:04:31,513 - DEBUG - VM is in ACTIVE state now 2025-09-08 16:04:31,513 - INFO - VM name : ctest-TestBasicPolicy-01024001-09759715 2025-09-08 16:04:31,689 - DEBUG - VM ctest-TestBasicPolicy-01024001-09759715 ID is 7bb307cc-1d23-4a12-b71f-205125573c41 2025-09-08 16:04:31,689 - DEBUG - VM ctest-TestBasicPolicy-01024001-09759715 launched on Node cn-jenkins-deploy-platform-ansible-os-4054-1 2025-09-08 16:04:31,756 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7bb307cc-1d23-4a12-b71f-205125573c41 2025-09-08 16:04:31,764 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c3101e32-d236-4c8d-a99b-4652afbacb65 2025-09-08 16:04:32,988 - 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=2.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.429 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.429/1.672/2.916/1.243 ms') 2025-09-08 16:04:32,988 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-01024001-09759715 passed 2025-09-08 16:04:33,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 16:04:33,135 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01024001-09759715, IP 189.225.92.195, Port 22 2025-09-08 16:04:33,290 - DEBUG - VM ctest-TestBasicPolicy-01024001-09759715 is ready for SSH connections 2025-09-08 16:04:33,291 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 16:04:33,291 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.225.92.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-08 16:04:33,291 - DEBUG - ping -s 56 -c 3 -W 1 189.225.92.195 2025-09-08 16:04:36,970 - DEBUG - PING 189.225.92.195 (189.225.92.195): 56 data bytes 64 bytes from 189.225.92.195: seq=0 ttl=63 time=3.393 ms 64 bytes from 189.225.92.195: seq=1 ttl=63 time=1.003 ms 64 bytes from 189.225.92.195: seq=2 ttl=63 time=0.985 ms --- 189.225.92.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.985/1.793/3.393 ms 2025-09-08 16:04:36,970 - INFO - Ping to IP 189.225.92.195 from VM ctest-TestBasicPolicy-01024001-37041558 passed 2025-09-08 16:04:37,147 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f920bd3a-bb4f-4ea2-93ce-0098f88d12ea", "href": "http://10.0.0.254:8082/network-policy/f920bd3a-bb4f-4ea2-93ce-0098f88d12ea"}} 2025-09-08 16:04:37,147 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 16:04:37,147 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.225.92.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-08 16:04:37,147 - DEBUG - ping -s 56 -c 3 -W 1 189.225.92.195 2025-09-08 16:04:40,352 - DEBUG - PING 189.225.92.195 (189.225.92.195): 56 data bytes --- 189.225.92.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-08 16:04:40,352 - WARNING - Ping to IP 189.225.92.195 from VM ctest-TestBasicPolicy-01024001-37041558 failed 2025-09-08 16:04:40,352 - INFO - Deleting VM ctest-TestBasicPolicy-01024001-09759715 2025-09-08 16:04:40,419 - INFO - Deleting VM ctest-TestBasicPolicy-01024001-37041558 2025-09-08 16:04:40,772 - INFO - Deleted policy ctest-policy-allow-all-75925986 2025-09-08 16:04:40,772 - INFO - Deleting VN ctest-vn-09580672 2025-09-08 16:04:40,808 - DEBUG - VN 450ad08a-19c4-465e-8afe-210433ad800c still in use: Unable to complete operation on network 450ad08a-19c4-465e-8afe-210433ad800c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c30e3d89-fdcb-4f56-9f78-720ffb2423e4'] 2025-09-08 16:04:40,808 - WARNING - Deleting VN ctest-vn-09580672 failed..Will retry 2025-09-08 16:04:42,912 - DEBUG - Response for deleting network () 2025-09-08 16:04:42,912 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/584c98ac-a30c-4677-9114-da4b8995947d 2025-09-08 16:04:42,918 - DEBUG - Response Code: 404 2025-09-08 16:04:42,918 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-08 16:04:42,923 - DEBUG - Requesting: http://10.0.0.254:8082/domain/fb1103cc-1f72-4b41-b0db-05d945200c8d 2025-09-08 16:04:42,977 - DEBUG - Requesting: http://10.0.0.254:8082/project/ab2cb73e-bf6b-40e2-a2c9-8afe1a48b15b 2025-09-08 16:04:43,050 - INFO - Validated that VN ctest-vn-09580672 is not found in API Server 2025-09-08 16:04:43,059 - DEBUG - VN ctest-vn-09580672 is not present in Agent 10.0.0.254 2025-09-08 16:04:43,059 - INFO - Validated that VN ctest-vn-09580672 is not in any agent 2025-09-08 16:04:43,072 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09580672 info 2025-09-08 16:04:43,072 - INFO - Deleting VN ctest-vn-36638182 2025-09-08 16:04:43,162 - DEBUG - Response for deleting network () 2025-09-08 16:04:43,162 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2bfce9dd-34b9-41aa-ac59-e4ee2b670063 2025-09-08 16:04:43,170 - DEBUG - Response Code: 404 2025-09-08 16:04:43,170 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-08 16:04:43,175 - DEBUG - Requesting: http://10.0.0.254:8082/domain/fb1103cc-1f72-4b41-b0db-05d945200c8d 2025-09-08 16:04:43,228 - DEBUG - Requesting: http://10.0.0.254:8082/project/ab2cb73e-bf6b-40e2-a2c9-8afe1a48b15b 2025-09-08 16:04:43,299 - INFO - Validated that VN ctest-vn-36638182 is not found in API Server 2025-09-08 16:04:43,308 - DEBUG - VN ctest-vn-36638182 is not present in Agent 10.0.0.254 2025-09-08 16:04:43,308 - INFO - Validated that VN ctest-vn-36638182 is not in any agent 2025-09-08 16:04:43,320 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36638182 info 2025-09-08 16:04:43,580 - DEBUG - No XMPP flaps were noticed during the test 2025-09-08 16:04:43,580 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2025-09-08 16:04:43,580 - INFO - -------------------------------------------------------------------------------- 2025-09-08 16:04:44,241 - INFO - Deleted project: ctest-TestBasicPolicy-01024001, ID : ab2cb73e-bf6b-40e2-a2c9-8afe1a48b15b