2026-01-02 04:00:19,289 - INFO - Domain Default found not creating 2026-01-02 04:00:19,490 - INFO - Project ctest-TestBasicPolicy-00532654 not found, creating it 2026-01-02 04:00:19,986 - INFO - Created Project:ctest-TestBasicPolicy-00532654, ID : dc1262a7-6546-4be6-94b0-f9d96b1bd1a5 2026-01-02 04:00:21,698 - INFO - ================================================================================ 2026-01-02 04:00:21,698 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-02 04:00:21,698 - 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-01-02 04:00:21,967 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2026-01-02 04:00:21,967 - INFO - Initial checks done. Running the testcase now 2026-01-02 04:00:21,967 - INFO - 2026-01-02 04:00:22,587 - DEBUG - Response for create_network : {'network': {'id': '80dc0a07-437e-4a79-914d-5200818ceb1c', 'name': 'ctest-vn-43832462', 'tenant_id': 'dc1262a765464be694b0f9d96b1bd1a5', 'project_id': 'dc1262a765464be694b0f9d96b1bd1a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00532654', 'ctest-vn-43832462'], 'port_security_enabled': True, 'description': ''}} 2026-01-02 04:00:22,754 - DEBUG - Response for create_subnet : {'subnet': {'id': '40a08ab1-93ac-42c6-8e30-5d01660064cf', 'name': '', 'tenant_id': 'dc1262a765464be694b0f9d96b1bd1a5', 'network_id': '80dc0a07-437e-4a79-914d-5200818ceb1c', 'ip_version': 4, 'cidr': '212.200.163.0/26', 'allocation_pools': [{'start': '212.200.163.2', 'end': '212.200.163.62'}], 'gateway_ip': '212.200.163.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.200.163.2', 'tags': [], 'project_id': 'dc1262a765464be694b0f9d96b1bd1a5'}} 2026-01-02 04:00:22,772 - INFO - Created VN ctest-vn-43832462 2026-01-02 04:00:22,828 - DEBUG - VN ctest-vn-43832462 UUID is 80dc0a07-437e-4a79-914d-5200818ceb1c 2026-01-02 04:00:23,133 - DEBUG - Response for create_network : {'network': {'id': 'a2066b59-4802-4122-85e7-6b4888fa0d76', 'name': 'ctest-vn-30982078', 'tenant_id': 'dc1262a765464be694b0f9d96b1bd1a5', 'project_id': 'dc1262a765464be694b0f9d96b1bd1a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00532654', 'ctest-vn-30982078'], 'port_security_enabled': True, 'description': ''}} 2026-01-02 04:00:23,367 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd400c41e-5c2a-4f17-8234-2135cb2e3250', 'name': '', 'tenant_id': 'dc1262a765464be694b0f9d96b1bd1a5', 'network_id': 'a2066b59-4802-4122-85e7-6b4888fa0d76', 'ip_version': 4, 'cidr': '102.37.130.192/26', 'allocation_pools': [{'start': '102.37.130.194', 'end': '102.37.130.254'}], 'gateway_ip': '102.37.130.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.37.130.194', 'tags': [], 'project_id': 'dc1262a765464be694b0f9d96b1bd1a5'}} 2026-01-02 04:00:23,389 - INFO - Created VN ctest-vn-30982078 2026-01-02 04:00:23,443 - DEBUG - VN ctest-vn-30982078 UUID is a2066b59-4802-4122-85e7-6b4888fa0d76 2026-01-02 04:00:23,566 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00532654:ctest-vn-43832462, 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-00532654:ctest-vn-30982078, 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-01-02 04:00:23,868 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '80dc0a07-437e-4a79-914d-5200818ceb1c', 'name': 'ctest-vn-43832462', 'tenant_id': 'dc1262a765464be694b0f9d96b1bd1a5', 'project_id': 'dc1262a765464be694b0f9d96b1bd1a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['40a08ab1-93ac-42c6-8e30-5d01660064cf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00532654', 'ctest-vn-43832462'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00532654', 'ctest-policy-allow-all-23802494']], 'subnet_ipam': [{'subnet_cidr': '212.200.163.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-02 04:00:24,104 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a2066b59-4802-4122-85e7-6b4888fa0d76', 'name': 'ctest-vn-30982078', 'tenant_id': 'dc1262a765464be694b0f9d96b1bd1a5', 'project_id': 'dc1262a765464be694b0f9d96b1bd1a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d400c41e-5c2a-4f17-8234-2135cb2e3250'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00532654', 'ctest-vn-30982078'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00532654', 'ctest-policy-allow-all-23802494']], 'subnet_ipam': [{'subnet_cidr': '102.37.130.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-02 04:00:24,260 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-02 04:00:24,618 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-02 04:00:24,662 - DEBUG - Requesting: http://10.0.0.249:8082/domain/9b3dbac2-62e3-4efb-8499-1eec04e16611 2026-01-02 04:00:24,677 - DEBUG - Requesting: http://10.0.0.249:8082/project/dc1262a7-6546-4be6-94b0-f9d96b1bd1a5 2026-01-02 04:00:24,755 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/80dc0a07-437e-4a79-914d-5200818ceb1c 2026-01-02 04:00:24,767 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/80dc0a07-437e-4a79-914d-5200818ceb1c 2026-01-02 04:00:24,778 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3bd0e9cc-d4c3-403e-9ad1-a7354ec8b308 2026-01-02 04:00:24,787 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3bd0e9cc-d4c3-403e-9ad1-a7354ec8b308 2026-01-02 04:00:24,794 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/582ad770-d408-44a4-9446-f4a95a3bc8f4 2026-01-02 04:00:24,801 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-02 04:00:24,801 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/80dc0a07-437e-4a79-914d-5200818ceb1c 2026-01-02 04:00:24,811 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3bd0e9cc-d4c3-403e-9ad1-a7354ec8b308 2026-01-02 04:00:24,826 - INFO - Verified VN network id 12 for VN 80dc0a07-437e-4a79-914d-5200818ceb1c 2026-01-02 04:00:24,826 - INFO - Verifications in API Server for VN ctest-vn-43832462 passed 2026-01-02 04:00:24,826 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/80dc0a07-437e-4a79-914d-5200818ceb1c 2026-01-02 04:00:24,836 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3bd0e9cc-d4c3-403e-9ad1-a7354ec8b308 2026-01-02 04:00:24,846 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3bd0e9cc-d4c3-403e-9ad1-a7354ec8b308 2026-01-02 04:00:24,854 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/582ad770-d408-44a4-9446-f4a95a3bc8f4 2026-01-02 04:00:24,867 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00532654:ctest-vn-43832462', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00532654', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9285307558044519033', 'uuid-lslong': '10470114870833244956'}, 'enable': 'true', 'created': '2026-01-02T04:00:22', 'last-modified': '2026-01-02T04:00:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.021840'} 2026-01-02 04:00:24,873 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-02 04:00:24,873 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43832462 passed 2026-01-02 04:00:24,873 - DEBUG - ====Verifying policy data for ctest-vn-43832462 in API_Server ====== 2026-01-02 04:00:24,873 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-02 04:00:24,878 - DEBUG - Requesting: http://10.0.0.249:8082/domain/9b3dbac2-62e3-4efb-8499-1eec04e16611 2026-01-02 04:00:24,890 - DEBUG - Requesting: http://10.0.0.249:8082/project/dc1262a7-6546-4be6-94b0-f9d96b1bd1a5 2026-01-02 04:00:24,968 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/80dc0a07-437e-4a79-914d-5200818ceb1c 2026-01-02 04:00:24,978 - DEBUG - ==>Verifying data for policy with id: 3ce1f75d-26ba-4da4-a153-12cc0b409a9a, fqn: ['default-domain', 'ctest-TestBasicPolicy-00532654', 'ctest-policy-allow-all-23802494'] 2026-01-02 04:00:24,978 - INFO - VN ctest-vn-43832462 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-02 04:00:24,978 - DEBUG - Verifying the vn in opserver 2026-01-02 04:00:24,978 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00532654:ctest-vn-43832462 virtual network link through opserver 10.0.0.249 2026-01-02 04:00:24,979 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-02 04:00:25,335 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-02 04:00:25,407 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00532654:ctest-vn-43832462', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00532654:ctest-vn-43832462?flat'} 2026-01-02 04:00:25,407 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00532654:ctest-vn-43832462 is found in opserver 2026-01-02 04:00:25,419 - DEBUG - Do not have enough data to verify VN in agent 2026-01-02 04:00:25,424 - DEBUG - VRF ids for VN ctest-vn-43832462: {} 2026-01-02 04:00:25,424 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-02 04:00:25,430 - DEBUG - Requesting: http://10.0.0.249:8082/domain/9b3dbac2-62e3-4efb-8499-1eec04e16611 2026-01-02 04:00:25,441 - DEBUG - Requesting: http://10.0.0.249:8082/project/dc1262a7-6546-4be6-94b0-f9d96b1bd1a5 2026-01-02 04:00:25,517 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a2066b59-4802-4122-85e7-6b4888fa0d76 2026-01-02 04:00:25,530 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a2066b59-4802-4122-85e7-6b4888fa0d76 2026-01-02 04:00:25,541 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1396cf00-1c22-4811-8a4a-0fb659309a75 2026-01-02 04:00:25,548 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1396cf00-1c22-4811-8a4a-0fb659309a75 2026-01-02 04:00:25,555 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/bd2505df-def3-4310-80b5-6a92719a06ff 2026-01-02 04:00:25,563 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-02 04:00:25,563 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a2066b59-4802-4122-85e7-6b4888fa0d76 2026-01-02 04:00:25,572 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1396cf00-1c22-4811-8a4a-0fb659309a75 2026-01-02 04:00:25,588 - INFO - Verified VN network id 13 for VN a2066b59-4802-4122-85e7-6b4888fa0d76 2026-01-02 04:00:25,588 - INFO - Verifications in API Server for VN ctest-vn-30982078 passed 2026-01-02 04:00:25,588 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a2066b59-4802-4122-85e7-6b4888fa0d76 2026-01-02 04:00:25,598 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1396cf00-1c22-4811-8a4a-0fb659309a75 2026-01-02 04:00:25,606 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1396cf00-1c22-4811-8a4a-0fb659309a75 2026-01-02 04:00:25,614 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/bd2505df-def3-4310-80b5-6a92719a06ff 2026-01-02 04:00:25,628 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00532654:ctest-vn-30982078', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00532654', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11675137115208958242', 'uuid-lslong': '9648798685944483190'}, 'enable': 'true', 'created': '2026-01-02T04:00:23', 'last-modified': '2026-01-02T04:00:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.550063'} 2026-01-02 04:00:25,634 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-02 04:00:25,634 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30982078 passed 2026-01-02 04:00:25,634 - DEBUG - ====Verifying policy data for ctest-vn-30982078 in API_Server ====== 2026-01-02 04:00:25,635 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-02 04:00:25,641 - DEBUG - Requesting: http://10.0.0.249:8082/domain/9b3dbac2-62e3-4efb-8499-1eec04e16611 2026-01-02 04:00:25,651 - DEBUG - Requesting: http://10.0.0.249:8082/project/dc1262a7-6546-4be6-94b0-f9d96b1bd1a5 2026-01-02 04:00:25,737 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a2066b59-4802-4122-85e7-6b4888fa0d76 2026-01-02 04:00:25,748 - DEBUG - ==>Verifying data for policy with id: 3ce1f75d-26ba-4da4-a153-12cc0b409a9a, fqn: ['default-domain', 'ctest-TestBasicPolicy-00532654', 'ctest-policy-allow-all-23802494'] 2026-01-02 04:00:25,748 - INFO - VN ctest-vn-30982078 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-02 04:00:25,748 - DEBUG - Verifying the vn in opserver 2026-01-02 04:00:25,748 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00532654:ctest-vn-30982078 virtual network link through opserver 10.0.0.249 2026-01-02 04:00:25,748 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-02 04:00:25,759 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00532654:ctest-vn-30982078', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00532654:ctest-vn-30982078?flat'} 2026-01-02 04:00:25,759 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00532654:ctest-vn-30982078 is found in opserver 2026-01-02 04:00:25,770 - DEBUG - Do not have enough data to verify VN in agent 2026-01-02 04:00:25,775 - DEBUG - VRF ids for VN ctest-vn-30982078: {} 2026-01-02 04:00:25,842 - DEBUG - Services list from nova: [, , ] 2026-01-02 04:00:27,062 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4952-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4952-1) 2026-01-02 04:00:28,405 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4952-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4952-1) 2026-01-02 04:00:28,405 - INFO - Waiting for VM ctest-TestBasicPolicy-00532654-44793637 to be up.. 2026-01-02 04:00:28,500 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-02 04:00:33,604 - DEBUG - VM is in ACTIVE state now 2026-01-02 04:00:33,604 - INFO - VM name : ctest-TestBasicPolicy-00532654-44793637 2026-01-02 04:00:33,698 - DEBUG - VM ctest-TestBasicPolicy-00532654-44793637 ID is 60c185bc-aaee-45e5-a102-01fe367f62cd 2026-01-02 04:00:33,727 - DEBUG - VM ctest-TestBasicPolicy-00532654-44793637 launched on Node cn-jenkins-deploy-platform-ansible-os-4952-1 2026-01-02 04:00:33,816 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/60c185bc-aaee-45e5-a102-01fe367f62cd 2026-01-02 04:00:33,826 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/067457f8-5c34-4806-b23f-a580d378e143 2026-01-02 04:00:37,082 - 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 1009ms') 2026-01-02 04:00:37,082 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00532654-44793637 failed! 2026-01-02 04:00:37,143 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-00532654:ctest-vn-43832462 is 212.200.163.1 and allocation pool is NOT set 2026-01-02 04:00:39,208 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.08 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.080/3.008/3.937/0.928 ms') 2026-01-02 04:00:39,208 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00532654-44793637 passed 2026-01-02 04:00:39,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-02 04:00:39,368 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00532654-44793637, IP 212.200.163.3, Port 22 2026-01-02 04:00:39,434 - 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-01-02 04:00:39,531 - DEBUG - VM ctest-TestBasicPolicy-00532654-44793637 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-02 04:00:44,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-02 04:00:44,532 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00532654-44793637, IP 212.200.163.3, Port 22 2026-01-02 04:00:44,699 - DEBUG - VM ctest-TestBasicPolicy-00532654-44793637 is ready for SSH connections 2026-01-02 04:00:44,699 - INFO - Waiting for VM ctest-TestBasicPolicy-00532654-81938579 to be up.. 2026-01-02 04:00:44,794 - DEBUG - VM is in ACTIVE state now 2026-01-02 04:00:44,795 - INFO - VM name : ctest-TestBasicPolicy-00532654-81938579 2026-01-02 04:00:44,877 - DEBUG - VM ctest-TestBasicPolicy-00532654-81938579 ID is a722738f-9570-4d8c-beed-bb4742cc7f91 2026-01-02 04:00:44,877 - DEBUG - VM ctest-TestBasicPolicy-00532654-81938579 launched on Node cn-jenkins-deploy-platform-ansible-os-4952-1 2026-01-02 04:00:44,962 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/a722738f-9570-4d8c-beed-bb4742cc7f91 2026-01-02 04:00:44,971 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/43c4b319-38ac-4295-907c-b583e5abebec 2026-01-02 04:00:46,210 - 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=4.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.520 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.520/2.319/4.119/1.799 ms') 2026-01-02 04:00:46,210 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-00532654-81938579 passed 2026-01-02 04:00:46,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-02 04:00:46,368 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00532654-81938579, IP 102.37.130.195, Port 22 2026-01-02 04:00:46,528 - DEBUG - VM ctest-TestBasicPolicy-00532654-81938579 is ready for SSH connections 2026-01-02 04:00:46,528 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-02 04:00:46,528 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.37.130.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-02 04:00:46,528 - DEBUG - ping -s 56 -c 3 -W 1 102.37.130.195 2026-01-02 04:00:50,700 - DEBUG - PING 102.37.130.195 (102.37.130.195): 56 data bytes 64 bytes from 102.37.130.195: seq=0 ttl=63 time=3.808 ms 64 bytes from 102.37.130.195: seq=1 ttl=63 time=0.984 ms 64 bytes from 102.37.130.195: seq=2 ttl=63 time=0.972 ms --- 102.37.130.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.972/1.921/3.808 ms 2026-01-02 04:00:50,700 - INFO - Ping to IP 102.37.130.195 from VM ctest-TestBasicPolicy-00532654-44793637 passed 2026-01-02 04:00:50,883 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3ce1f75d-26ba-4da4-a153-12cc0b409a9a", "href": "http://10.0.0.249:8082/network-policy/3ce1f75d-26ba-4da4-a153-12cc0b409a9a"}} 2026-01-02 04:00:50,883 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-02 04:00:50,884 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.37.130.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-02 04:00:50,884 - DEBUG - ping -s 56 -c 3 -W 1 102.37.130.195 2026-01-02 04:00:54,138 - DEBUG - PING 102.37.130.195 (102.37.130.195): 56 data bytes --- 102.37.130.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-02 04:00:54,138 - WARNING - Ping to IP 102.37.130.195 from VM ctest-TestBasicPolicy-00532654-44793637 failed 2026-01-02 04:00:54,138 - INFO - Deleting VM ctest-TestBasicPolicy-00532654-81938579 2026-01-02 04:00:54,225 - INFO - Deleting VM ctest-TestBasicPolicy-00532654-44793637 2026-01-02 04:00:54,647 - INFO - Deleted policy ctest-policy-allow-all-23802494 2026-01-02 04:00:54,647 - INFO - Deleting VN ctest-vn-30982078 2026-01-02 04:00:54,687 - DEBUG - VN a2066b59-4802-4122-85e7-6b4888fa0d76 still in use: Unable to complete operation on network a2066b59-4802-4122-85e7-6b4888fa0d76. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-71d8a463-1acd-488d-a09c-5feb3872a12c'] 2026-01-02 04:00:54,687 - WARNING - Deleting VN ctest-vn-30982078 failed..Will retry 2026-01-02 04:00:56,800 - DEBUG - Response for deleting network () 2026-01-02 04:00:56,800 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1396cf00-1c22-4811-8a4a-0fb659309a75 2026-01-02 04:00:56,806 - DEBUG - Response Code: 404 2026-01-02 04:00:56,806 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-02 04:00:56,816 - DEBUG - Requesting: http://10.0.0.249:8082/domain/9b3dbac2-62e3-4efb-8499-1eec04e16611 2026-01-02 04:00:56,869 - DEBUG - Requesting: http://10.0.0.249:8082/project/dc1262a7-6546-4be6-94b0-f9d96b1bd1a5 2026-01-02 04:00:56,942 - INFO - Validated that VN ctest-vn-30982078 is not found in API Server 2026-01-02 04:00:56,953 - DEBUG - VN ctest-vn-30982078 is not present in Agent 10.0.0.249 2026-01-02 04:00:56,953 - INFO - Validated that VN ctest-vn-30982078 is not in any agent 2026-01-02 04:00:56,969 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30982078 info 2026-01-02 04:00:56,969 - INFO - Deleting VN ctest-vn-43832462 2026-01-02 04:00:57,085 - DEBUG - Response for deleting network () 2026-01-02 04:00:57,086 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3bd0e9cc-d4c3-403e-9ad1-a7354ec8b308 2026-01-02 04:00:57,092 - DEBUG - Response Code: 404 2026-01-02 04:00:57,093 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-02 04:00:57,100 - DEBUG - Requesting: http://10.0.0.249:8082/domain/9b3dbac2-62e3-4efb-8499-1eec04e16611 2026-01-02 04:00:57,153 - DEBUG - Requesting: http://10.0.0.249:8082/project/dc1262a7-6546-4be6-94b0-f9d96b1bd1a5 2026-01-02 04:00:57,229 - INFO - Validated that VN ctest-vn-43832462 is not found in API Server 2026-01-02 04:00:57,241 - DEBUG - VN ctest-vn-43832462 is not present in Agent 10.0.0.249 2026-01-02 04:00:57,241 - INFO - Validated that VN ctest-vn-43832462 is not in any agent 2026-01-02 04:00:57,256 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43832462 info 2026-01-02 04:00:57,531 - DEBUG - No XMPP flaps were noticed during the test 2026-01-02 04:00:57,531 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2026-01-02 04:00:57,531 - INFO - -------------------------------------------------------------------------------- 2026-01-02 04:00:58,295 - INFO - Deleted project: ctest-TestBasicPolicy-00532654, ID : dc1262a7-6546-4be6-94b0-f9d96b1bd1a5