2026-03-05 02:28:26,387 - INFO - Domain Default found not creating 2026-03-05 02:28:26,564 - INFO - Project ctest-TestBasicPolicy-33626798 not found, creating it 2026-03-05 02:28:27,223 - INFO - Created Project:ctest-TestBasicPolicy-33626798, ID : 11fd180a-3b3f-43c2-8b98-0f4f6817e41e 2026-03-05 02:28:28,795 - INFO - ================================================================================ 2026-03-05 02:28:28,796 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-05 02:28:28,796 - 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 2026-03-05 02:28:29,052 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.252': '0'}} with 2026-03-05 02:28:29,052 - INFO - Initial checks done. Running the testcase now 2026-03-05 02:28:29,052 - INFO - 2026-03-05 02:28:29,577 - DEBUG - Response for create_network : {'network': {'id': 'eee85083-1fd6-4782-8599-dad53fcc3b94', 'name': 'ctest-vn-74110053', 'tenant_id': '11fd180a3b3f43c28b980f4f6817e41e', 'project_id': '11fd180a3b3f43c28b980f4f6817e41e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33626798', 'ctest-vn-74110053'], 'port_security_enabled': True, 'description': ''}} 2026-03-05 02:28:29,757 - DEBUG - Response for create_subnet : {'subnet': {'id': '6da2b12e-8cae-4517-a421-ffb044a92975', 'name': '', 'tenant_id': '11fd180a3b3f43c28b980f4f6817e41e', 'network_id': 'eee85083-1fd6-4782-8599-dad53fcc3b94', 'ip_version': 4, 'cidr': '132.91.104.64/26', 'allocation_pools': [{'start': '132.91.104.66', 'end': '132.91.104.126'}], 'gateway_ip': '132.91.104.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.91.104.66', 'tags': [], 'project_id': '11fd180a3b3f43c28b980f4f6817e41e'}} 2026-03-05 02:28:29,778 - INFO - Created VN ctest-vn-74110053 2026-03-05 02:28:29,830 - DEBUG - VN ctest-vn-74110053 UUID is eee85083-1fd6-4782-8599-dad53fcc3b94 2026-03-05 02:28:30,144 - DEBUG - Response for create_network : {'network': {'id': '64073d41-65d9-4500-9e72-41159da6f900', 'name': 'ctest-vn-09493767', 'tenant_id': '11fd180a3b3f43c28b980f4f6817e41e', 'project_id': '11fd180a3b3f43c28b980f4f6817e41e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33626798', 'ctest-vn-09493767'], 'port_security_enabled': True, 'description': ''}} 2026-03-05 02:28:30,359 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3dbabb1-a04d-4d98-9e88-4af63b1569c9', 'name': '', 'tenant_id': '11fd180a3b3f43c28b980f4f6817e41e', 'network_id': '64073d41-65d9-4500-9e72-41159da6f900', 'ip_version': 4, 'cidr': '45.196.27.128/26', 'allocation_pools': [{'start': '45.196.27.130', 'end': '45.196.27.190'}], 'gateway_ip': '45.196.27.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.196.27.130', 'tags': [], 'project_id': '11fd180a3b3f43c28b980f4f6817e41e'}} 2026-03-05 02:28:30,375 - INFO - Created VN ctest-vn-09493767 2026-03-05 02:28:30,426 - DEBUG - VN ctest-vn-09493767 UUID is 64073d41-65d9-4500-9e72-41159da6f900 2026-03-05 02:28:30,578 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-33626798:ctest-vn-74110053, 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-33626798:ctest-vn-09493767, 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] 2026-03-05 02:28:30,868 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eee85083-1fd6-4782-8599-dad53fcc3b94', 'name': 'ctest-vn-74110053', 'tenant_id': '11fd180a3b3f43c28b980f4f6817e41e', 'project_id': '11fd180a3b3f43c28b980f4f6817e41e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6da2b12e-8cae-4517-a421-ffb044a92975'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33626798', 'ctest-vn-74110053'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33626798', 'ctest-policy-allow-all-64981497']], 'subnet_ipam': [{'subnet_cidr': '132.91.104.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-05 02:28:31,147 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '64073d41-65d9-4500-9e72-41159da6f900', 'name': 'ctest-vn-09493767', 'tenant_id': '11fd180a3b3f43c28b980f4f6817e41e', 'project_id': '11fd180a3b3f43c28b980f4f6817e41e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a3dbabb1-a04d-4d98-9e88-4af63b1569c9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33626798', 'ctest-vn-09493767'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33626798', 'ctest-policy-allow-all-64981497']], 'subnet_ipam': [{'subnet_cidr': '45.196.27.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-05 02:28:31,306 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-05 02:28:31,612 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-05 02:28:31,927 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f0f8f0ab-ad00-4bf2-b32c-7ffe83ec7aa0 2026-03-05 02:28:31,939 - DEBUG - Requesting: http://10.0.0.38:8082/project/11fd180a-3b3f-43c2-8b98-0f4f6817e41e 2026-03-05 02:28:32,011 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eee85083-1fd6-4782-8599-dad53fcc3b94 2026-03-05 02:28:32,023 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eee85083-1fd6-4782-8599-dad53fcc3b94 2026-03-05 02:28:32,035 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f9dc68c9-e41e-44c8-8639-6198ac6a6dfa 2026-03-05 02:28:32,044 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f9dc68c9-e41e-44c8-8639-6198ac6a6dfa 2026-03-05 02:28:32,054 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1394d508-8e88-421a-8d25-422b906be3c4 2026-03-05 02:28:32,061 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-05 02:28:32,061 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eee85083-1fd6-4782-8599-dad53fcc3b94 2026-03-05 02:28:32,071 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f9dc68c9-e41e-44c8-8639-6198ac6a6dfa 2026-03-05 02:28:32,088 - INFO - Verified VN network id 10 for VN eee85083-1fd6-4782-8599-dad53fcc3b94 2026-03-05 02:28:32,088 - INFO - Verifications in API Server for VN ctest-vn-74110053 passed 2026-03-05 02:28:32,088 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eee85083-1fd6-4782-8599-dad53fcc3b94 2026-03-05 02:28:32,097 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f9dc68c9-e41e-44c8-8639-6198ac6a6dfa 2026-03-05 02:28:32,107 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f9dc68c9-e41e-44c8-8639-6198ac6a6dfa 2026-03-05 02:28:32,115 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1394d508-8e88-421a-8d25-422b906be3c4 2026-03-05 02:28:32,127 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33626798:ctest-vn-74110053', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33626798', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17215098099728795522', 'uuid-lslong': '9626966287914384276'}, 'enable': 'true', 'created': '2026-03-05T02:28:29', 'last-modified': '2026-03-05T02:28:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.281630'} 2026-03-05 02:28:32,133 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-05 02:28:32,133 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74110053 passed 2026-03-05 02:28:32,133 - DEBUG - ====Verifying policy data for ctest-vn-74110053 in API_Server ====== 2026-03-05 02:28:32,133 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-05 02:28:32,138 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f0f8f0ab-ad00-4bf2-b32c-7ffe83ec7aa0 2026-03-05 02:28:32,148 - DEBUG - Requesting: http://10.0.0.38:8082/project/11fd180a-3b3f-43c2-8b98-0f4f6817e41e 2026-03-05 02:28:32,224 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eee85083-1fd6-4782-8599-dad53fcc3b94 2026-03-05 02:28:32,243 - DEBUG - ==>Verifying data for policy with id: f4b3754e-4aff-4f40-81cb-2b80b261f16b, fqn: ['default-domain', 'ctest-TestBasicPolicy-33626798', 'ctest-policy-allow-all-64981497'] 2026-03-05 02:28:32,243 - INFO - VN ctest-vn-74110053 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-05 02:28:32,243 - DEBUG - Verifying the vn in opserver 2026-03-05 02:28:32,243 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33626798:ctest-vn-74110053 virtual network link through opserver 10.0.0.38 2026-03-05 02:28:32,244 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-05 02:28:32,564 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-05 02:28:32,647 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33626798:ctest-vn-74110053', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33626798:ctest-vn-74110053?flat'} 2026-03-05 02:28:32,647 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33626798:ctest-vn-74110053 is found in opserver 2026-03-05 02:28:32,656 - DEBUG - Do not have enough data to verify VN in agent 2026-03-05 02:28:32,660 - DEBUG - VRF ids for VN ctest-vn-74110053: {} 2026-03-05 02:28:32,660 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-05 02:28:32,666 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f0f8f0ab-ad00-4bf2-b32c-7ffe83ec7aa0 2026-03-05 02:28:32,676 - DEBUG - Requesting: http://10.0.0.38:8082/project/11fd180a-3b3f-43c2-8b98-0f4f6817e41e 2026-03-05 02:28:32,744 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/64073d41-65d9-4500-9e72-41159da6f900 2026-03-05 02:28:32,755 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/64073d41-65d9-4500-9e72-41159da6f900 2026-03-05 02:28:32,764 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6ff5458-0805-49b9-a77c-823cbb814851 2026-03-05 02:28:32,771 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6ff5458-0805-49b9-a77c-823cbb814851 2026-03-05 02:28:32,778 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d32c123f-ca23-4938-bb8c-62ca5bc4ffd1 2026-03-05 02:28:32,784 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-05 02:28:32,784 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/64073d41-65d9-4500-9e72-41159da6f900 2026-03-05 02:28:32,792 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6ff5458-0805-49b9-a77c-823cbb814851 2026-03-05 02:28:32,807 - INFO - Verified VN network id 11 for VN 64073d41-65d9-4500-9e72-41159da6f900 2026-03-05 02:28:32,807 - INFO - Verifications in API Server for VN ctest-vn-09493767 passed 2026-03-05 02:28:32,807 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/64073d41-65d9-4500-9e72-41159da6f900 2026-03-05 02:28:32,818 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6ff5458-0805-49b9-a77c-823cbb814851 2026-03-05 02:28:32,825 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6ff5458-0805-49b9-a77c-823cbb814851 2026-03-05 02:28:32,831 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d32c123f-ca23-4938-bb8c-62ca5bc4ffd1 2026-03-05 02:28:32,844 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33626798:ctest-vn-09493767', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33626798', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7207797079720674560', 'uuid-lslong': '11417259566432712960'}, 'enable': 'true', 'created': '2026-03-05T02:28:30', 'last-modified': '2026-03-05T02:28:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.772467'} 2026-03-05 02:28:32,850 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-05 02:28:32,850 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09493767 passed 2026-03-05 02:28:32,850 - DEBUG - ====Verifying policy data for ctest-vn-09493767 in API_Server ====== 2026-03-05 02:28:32,850 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-05 02:28:32,855 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f0f8f0ab-ad00-4bf2-b32c-7ffe83ec7aa0 2026-03-05 02:28:32,866 - DEBUG - Requesting: http://10.0.0.38:8082/project/11fd180a-3b3f-43c2-8b98-0f4f6817e41e 2026-03-05 02:28:32,936 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/64073d41-65d9-4500-9e72-41159da6f900 2026-03-05 02:28:32,946 - DEBUG - ==>Verifying data for policy with id: f4b3754e-4aff-4f40-81cb-2b80b261f16b, fqn: ['default-domain', 'ctest-TestBasicPolicy-33626798', 'ctest-policy-allow-all-64981497'] 2026-03-05 02:28:32,946 - INFO - VN ctest-vn-09493767 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-05 02:28:32,946 - DEBUG - Verifying the vn in opserver 2026-03-05 02:28:32,946 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33626798:ctest-vn-09493767 virtual network link through opserver 10.0.0.38 2026-03-05 02:28:32,946 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-05 02:28:32,957 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33626798:ctest-vn-09493767', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33626798:ctest-vn-09493767?flat'} 2026-03-05 02:28:32,957 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33626798:ctest-vn-09493767 is found in opserver 2026-03-05 02:28:32,965 - DEBUG - Do not have enough data to verify VN in agent 2026-03-05 02:28:32,969 - DEBUG - VRF ids for VN ctest-vn-09493767: {} 2026-03-05 02:28:33,026 - DEBUG - Services list from nova: [, , ] 2026-03-05 02:28:34,057 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5437-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5437-1) 2026-03-05 02:28:35,238 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5437-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5437-1) 2026-03-05 02:28:35,239 - INFO - Waiting for VM ctest-TestBasicPolicy-33626798-78803562 to be up.. 2026-03-05 02:28:35,332 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-05 02:28:40,482 - DEBUG - VM is in ACTIVE state now 2026-03-05 02:28:40,482 - INFO - VM name : ctest-TestBasicPolicy-33626798-78803562 2026-03-05 02:28:40,580 - DEBUG - VM ctest-TestBasicPolicy-33626798-78803562 ID is 03304795-586e-4bf2-9e55-3d19f9b6cb90 2026-03-05 02:28:40,598 - DEBUG - VM ctest-TestBasicPolicy-33626798-78803562 launched on Node cn-jenkins-deploy-platform-ansible-os-5437-1 2026-03-05 02:28:40,670 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/03304795-586e-4bf2-9e55-3d19f9b6cb90 2026-03-05 02:28:40,677 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b36ccedc-8554-42d5-8fca-fef22044a76c 2026-03-05 02:28:43,937 - 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') 2026-03-05 02:28:43,937 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33626798-78803562 failed! 2026-03-05 02:28:43,990 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-33626798:ctest-vn-74110053 is 132.91.104.65 and allocation pool is NOT set 2026-03-05 02:28:46,055 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=7.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.644 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.644/4.079/7.514/3.435 ms') 2026-03-05 02:28:46,055 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33626798-78803562 passed 2026-03-05 02:28:46,202 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:28:46,202 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33626798-78803562, IP 132.91.104.67, Port 22 2026-03-05 02:28:46,268 - 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': ''} 2026-03-05 02:28:46,347 - DEBUG - VM ctest-TestBasicPolicy-33626798-78803562 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-05 02:28:51,348 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:28:51,348 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33626798-78803562, IP 132.91.104.67, Port 22 2026-03-05 02:28:51,506 - DEBUG - VM ctest-TestBasicPolicy-33626798-78803562 is ready for SSH connections 2026-03-05 02:28:51,506 - INFO - Waiting for VM ctest-TestBasicPolicy-33626798-40874686 to be up.. 2026-03-05 02:28:51,591 - DEBUG - VM is in ACTIVE state now 2026-03-05 02:28:51,591 - INFO - VM name : ctest-TestBasicPolicy-33626798-40874686 2026-03-05 02:28:51,668 - DEBUG - VM ctest-TestBasicPolicy-33626798-40874686 ID is 92a5f3c6-3598-43f3-ab9d-0ce369ef2209 2026-03-05 02:28:51,668 - DEBUG - VM ctest-TestBasicPolicy-33626798-40874686 launched on Node cn-jenkins-deploy-platform-ansible-os-5437-1 2026-03-05 02:28:51,745 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/92a5f3c6-3598-43f3-ab9d-0ce369ef2209 2026-03-05 02:28:51,752 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c8160526-0929-458a-b45d-63319036b732 2026-03-05 02:28:52,993 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.434 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.434/1.720/3.006/1.286 ms') 2026-03-05 02:28:52,993 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-33626798-40874686 passed 2026-03-05 02:28:53,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:28:53,146 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33626798-40874686, IP 45.196.27.131, Port 22 2026-03-05 02:28:53,306 - DEBUG - VM ctest-TestBasicPolicy-33626798-40874686 is ready for SSH connections 2026-03-05 02:28:53,306 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:28:53,306 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.196.27.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-05 02:28:53,306 - DEBUG - ping -s 56 -c 3 -W 1 45.196.27.131 2026-03-05 02:28:57,395 - DEBUG - PING 45.196.27.131 (45.196.27.131): 56 data bytes 64 bytes from 45.196.27.131: seq=0 ttl=63 time=4.547 ms 64 bytes from 45.196.27.131: seq=1 ttl=63 time=0.864 ms 64 bytes from 45.196.27.131: seq=2 ttl=63 time=1.135 ms --- 45.196.27.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.864/2.182/4.547 ms 2026-03-05 02:28:57,396 - INFO - Ping to IP 45.196.27.131 from VM ctest-TestBasicPolicy-33626798-78803562 passed 2026-03-05 02:28:57,566 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f4b3754e-4aff-4f40-81cb-2b80b261f16b", "href": "http://10.0.0.38:8082/network-policy/f4b3754e-4aff-4f40-81cb-2b80b261f16b"}} 2026-03-05 02:28:57,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:28:57,566 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.196.27.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-05 02:28:57,566 - DEBUG - ping -s 56 -c 3 -W 1 45.196.27.131 2026-03-05 02:29:00,788 - DEBUG - PING 45.196.27.131 (45.196.27.131): 56 data bytes --- 45.196.27.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-05 02:29:00,788 - WARNING - Ping to IP 45.196.27.131 from VM ctest-TestBasicPolicy-33626798-78803562 failed 2026-03-05 02:29:00,788 - INFO - Deleting VM ctest-TestBasicPolicy-33626798-40874686 2026-03-05 02:29:00,856 - INFO - Deleting VM ctest-TestBasicPolicy-33626798-78803562 2026-03-05 02:29:01,267 - INFO - Deleted policy ctest-policy-allow-all-64981497 2026-03-05 02:29:01,267 - INFO - Deleting VN ctest-vn-09493767 2026-03-05 02:29:01,317 - DEBUG - VN 64073d41-65d9-4500-9e72-41159da6f900 still in use: Unable to complete operation on network 64073d41-65d9-4500-9e72-41159da6f900. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-aeee5593-63f1-4354-bfc1-63c52f1d7a12'] 2026-03-05 02:29:01,317 - WARNING - Deleting VN ctest-vn-09493767 failed..Will retry 2026-03-05 02:29:03,442 - DEBUG - Response for deleting network () 2026-03-05 02:29:03,442 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6ff5458-0805-49b9-a77c-823cbb814851 2026-03-05 02:29:03,447 - DEBUG - Response Code: 404 2026-03-05 02:29:03,448 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-05 02:29:03,454 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f0f8f0ab-ad00-4bf2-b32c-7ffe83ec7aa0 2026-03-05 02:29:03,515 - DEBUG - Requesting: http://10.0.0.38:8082/project/11fd180a-3b3f-43c2-8b98-0f4f6817e41e 2026-03-05 02:29:03,598 - INFO - Validated that VN ctest-vn-09493767 is not found in API Server 2026-03-05 02:29:03,610 - DEBUG - VN ctest-vn-09493767 is not present in Agent 10.0.0.38 2026-03-05 02:29:03,610 - INFO - Validated that VN ctest-vn-09493767 is not in any agent 2026-03-05 02:29:03,627 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09493767 info 2026-03-05 02:29:03,627 - INFO - Deleting VN ctest-vn-74110053 2026-03-05 02:29:03,742 - DEBUG - Response for deleting network () 2026-03-05 02:29:03,743 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f9dc68c9-e41e-44c8-8639-6198ac6a6dfa 2026-03-05 02:29:03,749 - DEBUG - Response Code: 404 2026-03-05 02:29:03,749 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-05 02:29:03,756 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f0f8f0ab-ad00-4bf2-b32c-7ffe83ec7aa0 2026-03-05 02:29:03,812 - DEBUG - Requesting: http://10.0.0.38:8082/project/11fd180a-3b3f-43c2-8b98-0f4f6817e41e 2026-03-05 02:29:03,897 - INFO - Validated that VN ctest-vn-74110053 is not found in API Server 2026-03-05 02:29:03,907 - DEBUG - VN ctest-vn-74110053 is not present in Agent 10.0.0.38 2026-03-05 02:29:03,907 - INFO - Validated that VN ctest-vn-74110053 is not in any agent 2026-03-05 02:29:03,924 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74110053 info 2026-03-05 02:29:04,198 - DEBUG - No XMPP flaps were noticed during the test
2026-03-05 02:29:04,198 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-03-05 02:29:04,198 - INFO - -------------------------------------------------------------------------------- 2026-03-05 02:29:04,871 - INFO - Deleted project: ctest-TestBasicPolicy-33626798, ID : 11fd180a-3b3f-43c2-8b98-0f4f6817e41e