2026-04-20 12:10:32,057 - INFO - Domain Default found not creating 2026-04-20 12:10:32,254 - INFO - Project ctest-TestBasicPolicy-69293751 not found, creating it 2026-04-20 12:10:32,747 - INFO - Created Project:ctest-TestBasicPolicy-69293751, ID : b9d8f331-d1e2-4804-b2eb-5f278bb8411f 2026-04-20 12:10:34,348 - INFO - ================================================================================ 2026-04-20 12:10:34,348 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-20 12:10:34,348 - 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-04-20 12:10:34,604 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-20 12:10:34,604 - INFO - Initial checks done. Running the testcase now 2026-04-20 12:10:34,604 - INFO - 2026-04-20 12:10:35,215 - DEBUG - Response for create_network : {'network': {'id': '12b5f807-c680-4d75-9298-4ed61a5af6b6', 'name': 'ctest-vn-64227756', 'tenant_id': 'b9d8f331d1e24804b2eb5f278bb8411f', 'project_id': 'b9d8f331d1e24804b2eb5f278bb8411f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69293751', 'ctest-vn-64227756'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 12:10:35,388 - DEBUG - Response for create_subnet : {'subnet': {'id': '1bc8d5fa-a37f-4354-b1c8-b60ba39b47d9', 'name': '', 'tenant_id': 'b9d8f331d1e24804b2eb5f278bb8411f', 'network_id': '12b5f807-c680-4d75-9298-4ed61a5af6b6', 'ip_version': 4, 'cidr': '103.83.80.0/26', 'allocation_pools': [{'start': '103.83.80.2', 'end': '103.83.80.62'}], 'gateway_ip': '103.83.80.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.83.80.2', 'tags': [], 'project_id': 'b9d8f331d1e24804b2eb5f278bb8411f'}} 2026-04-20 12:10:35,414 - INFO - Created VN ctest-vn-64227756 2026-04-20 12:10:35,470 - DEBUG - VN ctest-vn-64227756 UUID is 12b5f807-c680-4d75-9298-4ed61a5af6b6 2026-04-20 12:10:35,790 - DEBUG - Response for create_network : {'network': {'id': '7e534f8a-2899-4ac2-bcb5-07b55e67d200', 'name': 'ctest-vn-97867867', 'tenant_id': 'b9d8f331d1e24804b2eb5f278bb8411f', 'project_id': 'b9d8f331d1e24804b2eb5f278bb8411f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69293751', 'ctest-vn-97867867'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 12:10:36,002 - DEBUG - Response for create_subnet : {'subnet': {'id': '27199e9d-e07f-45f9-ac08-437789df905a', 'name': '', 'tenant_id': 'b9d8f331d1e24804b2eb5f278bb8411f', 'network_id': '7e534f8a-2899-4ac2-bcb5-07b55e67d200', 'ip_version': 4, 'cidr': '160.87.253.192/26', 'allocation_pools': [{'start': '160.87.253.194', 'end': '160.87.253.254'}], 'gateway_ip': '160.87.253.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.87.253.194', 'tags': [], 'project_id': 'b9d8f331d1e24804b2eb5f278bb8411f'}} 2026-04-20 12:10:36,022 - INFO - Created VN ctest-vn-97867867 2026-04-20 12:10:36,074 - DEBUG - VN ctest-vn-97867867 UUID is 7e534f8a-2899-4ac2-bcb5-07b55e67d200 2026-04-20 12:10:36,195 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-69293751:ctest-vn-64227756, 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-69293751:ctest-vn-97867867, 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-04-20 12:10:36,506 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '12b5f807-c680-4d75-9298-4ed61a5af6b6', 'name': 'ctest-vn-64227756', 'tenant_id': 'b9d8f331d1e24804b2eb5f278bb8411f', 'project_id': 'b9d8f331d1e24804b2eb5f278bb8411f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1bc8d5fa-a37f-4354-b1c8-b60ba39b47d9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69293751', 'ctest-vn-64227756'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69293751', 'ctest-policy-allow-all-90462508']], 'subnet_ipam': [{'subnet_cidr': '103.83.80.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-20 12:10:36,761 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7e534f8a-2899-4ac2-bcb5-07b55e67d200', 'name': 'ctest-vn-97867867', 'tenant_id': 'b9d8f331d1e24804b2eb5f278bb8411f', 'project_id': 'b9d8f331d1e24804b2eb5f278bb8411f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['27199e9d-e07f-45f9-ac08-437789df905a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69293751', 'ctest-vn-97867867'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69293751', 'ctest-policy-allow-all-90462508']], 'subnet_ipam': [{'subnet_cidr': '160.87.253.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-20 12:10:36,934 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-20 12:10:37,234 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-20 12:10:37,269 - DEBUG - Requesting: http://10.0.0.50:8082/domain/18a14f92-daf6-4052-b99b-1b0121998f5c 2026-04-20 12:10:37,283 - DEBUG - Requesting: http://10.0.0.50:8082/project/b9d8f331-d1e2-4804-b2eb-5f278bb8411f 2026-04-20 12:10:37,355 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/12b5f807-c680-4d75-9298-4ed61a5af6b6 2026-04-20 12:10:37,367 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/12b5f807-c680-4d75-9298-4ed61a5af6b6 2026-04-20 12:10:37,378 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ab9cda1b-a5b7-431f-85e4-4543fb47453a 2026-04-20 12:10:37,385 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ab9cda1b-a5b7-431f-85e4-4543fb47453a 2026-04-20 12:10:37,394 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f7339dfb-6e9f-4fa5-8c4c-9dfae5fd4ec5 2026-04-20 12:10:37,401 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-20 12:10:37,401 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/12b5f807-c680-4d75-9298-4ed61a5af6b6 2026-04-20 12:10:37,410 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ab9cda1b-a5b7-431f-85e4-4543fb47453a 2026-04-20 12:10:37,425 - INFO - Verified VN network id 11 for VN 12b5f807-c680-4d75-9298-4ed61a5af6b6 2026-04-20 12:10:37,425 - INFO - Verifications in API Server for VN ctest-vn-64227756 passed 2026-04-20 12:10:37,425 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/12b5f807-c680-4d75-9298-4ed61a5af6b6 2026-04-20 12:10:37,435 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ab9cda1b-a5b7-431f-85e4-4543fb47453a 2026-04-20 12:10:37,442 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ab9cda1b-a5b7-431f-85e4-4543fb47453a 2026-04-20 12:10:37,451 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f7339dfb-6e9f-4fa5-8c4c-9dfae5fd4ec5 2026-04-20 12:10:37,464 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69293751:ctest-vn-64227756', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69293751', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1348256375746088309', 'uuid-lslong': '10563279607469635254'}, 'enable': 'true', 'created': '2026-04-20T12:10:35', 'last-modified': '2026-04-20T12:10:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.980255'} 2026-04-20 12:10:37,471 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-20 12:10:37,471 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64227756 passed 2026-04-20 12:10:37,472 - DEBUG - ====Verifying policy data for ctest-vn-64227756 in API_Server ====== 2026-04-20 12:10:37,472 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-20 12:10:37,478 - DEBUG - Requesting: http://10.0.0.50:8082/domain/18a14f92-daf6-4052-b99b-1b0121998f5c 2026-04-20 12:10:37,490 - DEBUG - Requesting: http://10.0.0.50:8082/project/b9d8f331-d1e2-4804-b2eb-5f278bb8411f 2026-04-20 12:10:37,560 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/12b5f807-c680-4d75-9298-4ed61a5af6b6 2026-04-20 12:10:37,572 - DEBUG - ==>Verifying data for policy with id: eefe6e16-4952-40af-8f44-508d33929882, fqn: ['default-domain', 'ctest-TestBasicPolicy-69293751', 'ctest-policy-allow-all-90462508'] 2026-04-20 12:10:37,572 - INFO - VN ctest-vn-64227756 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-20 12:10:37,572 - DEBUG - Verifying the vn in opserver 2026-04-20 12:10:37,572 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69293751:ctest-vn-64227756 virtual network link through opserver 10.0.0.50 2026-04-20 12:10:37,572 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-20 12:10:37,872 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-20 12:10:37,945 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69293751:ctest-vn-64227756', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69293751:ctest-vn-64227756?flat'} 2026-04-20 12:10:37,945 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69293751:ctest-vn-64227756 is found in opserver 2026-04-20 12:10:37,955 - DEBUG - Do not have enough data to verify VN in agent 2026-04-20 12:10:37,960 - DEBUG - VRF ids for VN ctest-vn-64227756: {} 2026-04-20 12:10:37,960 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-20 12:10:37,966 - DEBUG - Requesting: http://10.0.0.50:8082/domain/18a14f92-daf6-4052-b99b-1b0121998f5c 2026-04-20 12:10:37,979 - DEBUG - Requesting: http://10.0.0.50:8082/project/b9d8f331-d1e2-4804-b2eb-5f278bb8411f 2026-04-20 12:10:38,050 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7e534f8a-2899-4ac2-bcb5-07b55e67d200 2026-04-20 12:10:38,062 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7e534f8a-2899-4ac2-bcb5-07b55e67d200 2026-04-20 12:10:38,073 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a233a87e-083f-4e8d-97b5-2b6938d9bd91 2026-04-20 12:10:38,082 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a233a87e-083f-4e8d-97b5-2b6938d9bd91 2026-04-20 12:10:38,090 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ac1c328e-0753-47c0-901e-35eba02faaeb 2026-04-20 12:10:38,098 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-20 12:10:38,098 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7e534f8a-2899-4ac2-bcb5-07b55e67d200 2026-04-20 12:10:38,108 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a233a87e-083f-4e8d-97b5-2b6938d9bd91 2026-04-20 12:10:38,124 - INFO - Verified VN network id 12 for VN 7e534f8a-2899-4ac2-bcb5-07b55e67d200 2026-04-20 12:10:38,124 - INFO - Verifications in API Server for VN ctest-vn-97867867 passed 2026-04-20 12:10:38,124 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7e534f8a-2899-4ac2-bcb5-07b55e67d200 2026-04-20 12:10:38,136 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a233a87e-083f-4e8d-97b5-2b6938d9bd91 2026-04-20 12:10:38,144 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a233a87e-083f-4e8d-97b5-2b6938d9bd91 2026-04-20 12:10:38,151 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ac1c328e-0753-47c0-901e-35eba02faaeb 2026-04-20 12:10:38,166 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69293751:ctest-vn-97867867', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69293751', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9102706726651120322', 'uuid-lslong': '13597783125469417984'}, 'enable': 'true', 'created': '2026-04-20T12:10:35', 'last-modified': '2026-04-20T12:10:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.430783'} 2026-04-20 12:10:38,173 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-20 12:10:38,173 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97867867 passed 2026-04-20 12:10:38,174 - DEBUG - ====Verifying policy data for ctest-vn-97867867 in API_Server ====== 2026-04-20 12:10:38,174 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-20 12:10:38,180 - DEBUG - Requesting: http://10.0.0.50:8082/domain/18a14f92-daf6-4052-b99b-1b0121998f5c 2026-04-20 12:10:38,191 - DEBUG - Requesting: http://10.0.0.50:8082/project/b9d8f331-d1e2-4804-b2eb-5f278bb8411f 2026-04-20 12:10:38,264 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7e534f8a-2899-4ac2-bcb5-07b55e67d200 2026-04-20 12:10:38,273 - DEBUG - ==>Verifying data for policy with id: eefe6e16-4952-40af-8f44-508d33929882, fqn: ['default-domain', 'ctest-TestBasicPolicy-69293751', 'ctest-policy-allow-all-90462508'] 2026-04-20 12:10:38,274 - INFO - VN ctest-vn-97867867 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-20 12:10:38,274 - DEBUG - Verifying the vn in opserver 2026-04-20 12:10:38,274 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69293751:ctest-vn-97867867 virtual network link through opserver 10.0.0.50 2026-04-20 12:10:38,274 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-20 12:10:38,284 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69293751:ctest-vn-97867867', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69293751:ctest-vn-97867867?flat'} 2026-04-20 12:10:38,284 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69293751:ctest-vn-97867867 is found in opserver 2026-04-20 12:10:38,294 - DEBUG - Do not have enough data to verify VN in agent 2026-04-20 12:10:38,298 - DEBUG - VRF ids for VN ctest-vn-97867867: {} 2026-04-20 12:10:38,371 - DEBUG - Services list from nova: [, , ] 2026-04-20 12:10:39,468 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5650-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5650-1) 2026-04-20 12:10:40,674 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5650-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5650-1) 2026-04-20 12:10:40,674 - INFO - Waiting for VM ctest-TestBasicPolicy-69293751-31446269 to be up.. 2026-04-20 12:10:40,771 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-20 12:10:45,960 - DEBUG - VM is in ACTIVE state now 2026-04-20 12:10:45,960 - INFO - VM name : ctest-TestBasicPolicy-69293751-31446269 2026-04-20 12:10:46,109 - DEBUG - VM ctest-TestBasicPolicy-69293751-31446269 ID is 46489337-29bc-4f69-87e4-3039faf5010f 2026-04-20 12:10:46,143 - DEBUG - VM ctest-TestBasicPolicy-69293751-31446269 launched on Node cn-jenkins-deploy-platform-ansible-os-5650-1 2026-04-20 12:10:46,295 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/46489337-29bc-4f69-87e4-3039faf5010f 2026-04-20 12:10:46,328 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/dd8d1b15-bcaa-4abe-9808-2964e511c7bf 2026-04-20 12:10:49,636 - 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 1013ms') 2026-04-20 12:10:49,637 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69293751-31446269 failed! 2026-04-20 12:10:49,694 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-69293751:ctest-vn-64227756 is 103.83.80.1 and allocation pool is NOT set 2026-04-20 12:10:51,753 - 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=4.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.59 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.589/3.199/4.810/1.610 ms') 2026-04-20 12:10:51,753 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69293751-31446269 passed 2026-04-20 12:10:51,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 12:10:51,907 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69293751-31446269, IP 103.83.80.3, Port 22 2026-04-20 12:10:51,962 - 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-04-20 12:10:52,049 - DEBUG - VM ctest-TestBasicPolicy-69293751-31446269 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-20 12:10:57,049 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 12:10:57,049 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69293751-31446269, IP 103.83.80.3, Port 22 2026-04-20 12:10:57,206 - DEBUG - VM ctest-TestBasicPolicy-69293751-31446269 is ready for SSH connections 2026-04-20 12:10:57,206 - INFO - Waiting for VM ctest-TestBasicPolicy-69293751-91155626 to be up.. 2026-04-20 12:10:57,283 - DEBUG - VM is in ACTIVE state now 2026-04-20 12:10:57,283 - INFO - VM name : ctest-TestBasicPolicy-69293751-91155626 2026-04-20 12:10:57,361 - DEBUG - VM ctest-TestBasicPolicy-69293751-91155626 ID is 0e3671db-0cf9-4903-9550-406e8b0d3eef 2026-04-20 12:10:57,361 - DEBUG - VM ctest-TestBasicPolicy-69293751-91155626 launched on Node cn-jenkins-deploy-platform-ansible-os-5650-1 2026-04-20 12:10:57,443 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0e3671db-0cf9-4903-9550-406e8b0d3eef 2026-04-20 12:10:57,452 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/dc6d982f-dac1-4038-b09a-b40f21158120 2026-04-20 12:10:58,686 - 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.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.528 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.528/1.776/3.024/1.248 ms') 2026-04-20 12:10:58,686 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-69293751-91155626 passed 2026-04-20 12:10:58,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 12:10:58,838 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69293751-91155626, IP 160.87.253.195, Port 22 2026-04-20 12:10:58,993 - DEBUG - VM ctest-TestBasicPolicy-69293751-91155626 is ready for SSH connections 2026-04-20 12:10:58,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 12:10:58,994 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.87.253.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-20 12:10:58,994 - DEBUG - ping -s 56 -c 3 -W 1 160.87.253.195 2026-04-20 12:11:03,097 - DEBUG - PING 160.87.253.195 (160.87.253.195): 56 data bytes 64 bytes from 160.87.253.195: seq=0 ttl=63 time=4.229 ms 64 bytes from 160.87.253.195: seq=1 ttl=63 time=1.000 ms 64 bytes from 160.87.253.195: seq=2 ttl=63 time=0.906 ms --- 160.87.253.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.906/2.045/4.229 ms 2026-04-20 12:11:03,097 - INFO - Ping to IP 160.87.253.195 from VM ctest-TestBasicPolicy-69293751-31446269 passed 2026-04-20 12:11:03,282 - DEBUG - Policy Update Response {"network-policy": {"uuid": "eefe6e16-4952-40af-8f44-508d33929882", "href": "http://10.0.0.50:8082/network-policy/eefe6e16-4952-40af-8f44-508d33929882"}} 2026-04-20 12:11:03,282 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 12:11:03,282 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.87.253.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-20 12:11:03,282 - DEBUG - ping -s 56 -c 3 -W 1 160.87.253.195 2026-04-20 12:11:06,511 - DEBUG - PING 160.87.253.195 (160.87.253.195): 56 data bytes --- 160.87.253.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-20 12:11:06,511 - WARNING - Ping to IP 160.87.253.195 from VM ctest-TestBasicPolicy-69293751-31446269 failed 2026-04-20 12:11:06,511 - INFO - Deleting VM ctest-TestBasicPolicy-69293751-91155626 2026-04-20 12:11:06,603 - INFO - Deleting VM ctest-TestBasicPolicy-69293751-31446269 2026-04-20 12:11:07,061 - INFO - Deleted policy ctest-policy-allow-all-90462508 2026-04-20 12:11:07,061 - INFO - Deleting VN ctest-vn-97867867 2026-04-20 12:11:07,102 - DEBUG - VN 7e534f8a-2899-4ac2-bcb5-07b55e67d200 still in use: Unable to complete operation on network 7e534f8a-2899-4ac2-bcb5-07b55e67d200. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9f3c4610-b31f-42f2-87e8-11e47eaceeda'] 2026-04-20 12:11:07,102 - WARNING - Deleting VN ctest-vn-97867867 failed..Will retry 2026-04-20 12:11:09,225 - DEBUG - Response for deleting network () 2026-04-20 12:11:09,225 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a233a87e-083f-4e8d-97b5-2b6938d9bd91 2026-04-20 12:11:09,231 - DEBUG - Response Code: 404 2026-04-20 12:11:09,231 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-20 12:11:09,238 - DEBUG - Requesting: http://10.0.0.50:8082/domain/18a14f92-daf6-4052-b99b-1b0121998f5c 2026-04-20 12:11:09,293 - DEBUG - Requesting: http://10.0.0.50:8082/project/b9d8f331-d1e2-4804-b2eb-5f278bb8411f 2026-04-20 12:11:09,380 - INFO - Validated that VN ctest-vn-97867867 is not found in API Server 2026-04-20 12:11:09,393 - DEBUG - VN ctest-vn-97867867 is not present in Agent 10.0.0.50 2026-04-20 12:11:09,394 - INFO - Validated that VN ctest-vn-97867867 is not in any agent 2026-04-20 12:11:09,415 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97867867 info 2026-04-20 12:11:09,415 - INFO - Deleting VN ctest-vn-64227756 2026-04-20 12:11:09,542 - DEBUG - Response for deleting network () 2026-04-20 12:11:09,542 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ab9cda1b-a5b7-431f-85e4-4543fb47453a 2026-04-20 12:11:09,553 - DEBUG - Response Code: 404 2026-04-20 12:11:09,554 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-20 12:11:09,561 - DEBUG - Requesting: http://10.0.0.50:8082/domain/18a14f92-daf6-4052-b99b-1b0121998f5c 2026-04-20 12:11:09,620 - DEBUG - Requesting: http://10.0.0.50:8082/project/b9d8f331-d1e2-4804-b2eb-5f278bb8411f 2026-04-20 12:11:09,698 - INFO - Validated that VN ctest-vn-64227756 is not found in API Server 2026-04-20 12:11:09,710 - DEBUG - VN ctest-vn-64227756 is not present in Agent 10.0.0.50 2026-04-20 12:11:09,710 - INFO - Validated that VN ctest-vn-64227756 is not in any agent 2026-04-20 12:11:09,728 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64227756 info 2026-04-20 12:11:09,989 - DEBUG - No XMPP flaps were noticed during the test 2026-04-20 12:11:09,990 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-04-20 12:11:09,990 - INFO - -------------------------------------------------------------------------------- 2026-04-20 12:11:10,766 - INFO - Deleted project: ctest-TestBasicPolicy-69293751, ID : b9d8f331-d1e2-4804-b2eb-5f278bb8411f