2026-08-24 22:38:33,747 - INFO - Domain Default found not creating 2026-08-24 22:38:33,915 - INFO - Project ctest-TestBasicPolicy-99918152 not found, creating it 2026-08-24 22:38:34,389 - INFO - Created Project:ctest-TestBasicPolicy-99918152, ID : a71ed300-83fd-4e3e-b825-4e5706471246 2026-08-24 22:38:35,917 - INFO - ================================================================================ 2026-08-24 22:38:35,917 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-24 22:38:35,917 - 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-08-24 22:38:36,177 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with 2026-08-24 22:38:36,177 - INFO - Initial checks done. Running the testcase now 2026-08-24 22:38:36,177 - INFO - 2026-08-24 22:38:36,767 - DEBUG - Response for create_network : {'network': {'id': '1785a237-d508-4631-8799-565cc6ed3b84', 'name': 'ctest-vn-93973189', 'tenant_id': 'a71ed30083fd4e3eb8254e5706471246', 'project_id': 'a71ed30083fd4e3eb8254e5706471246', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99918152', 'ctest-vn-93973189'], 'port_security_enabled': True, 'description': ''}} 2026-08-24 22:38:37,004 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a74f4767-f971-4ee2-be8a-44ebb506a01a', 'name': '', 'tenant_id': 'a71ed30083fd4e3eb8254e5706471246', 'network_id': '1785a237-d508-4631-8799-565cc6ed3b84', 'ip_version': 4, 'cidr': '151.155.212.64/26', 'allocation_pools': [{'start': '151.155.212.66', 'end': '151.155.212.126'}], 'gateway_ip': '151.155.212.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.155.212.66', 'tags': [], 'project_id': 'a71ed30083fd4e3eb8254e5706471246'}} 2026-08-24 22:38:37,022 - INFO - Created VN ctest-vn-93973189 2026-08-24 22:38:37,073 - DEBUG - VN ctest-vn-93973189 UUID is 1785a237-d508-4631-8799-565cc6ed3b84 2026-08-24 22:38:37,409 - DEBUG - Response for create_network : {'network': {'id': '6eec2e79-6b7c-4ac4-920f-bfaf2067cc97', 'name': 'ctest-vn-61361090', 'tenant_id': 'a71ed30083fd4e3eb8254e5706471246', 'project_id': 'a71ed30083fd4e3eb8254e5706471246', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99918152', 'ctest-vn-61361090'], 'port_security_enabled': True, 'description': ''}} 2026-08-24 22:38:37,616 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0335b6f-eb57-49e1-b99e-b560e89100ae', 'name': '', 'tenant_id': 'a71ed30083fd4e3eb8254e5706471246', 'network_id': '6eec2e79-6b7c-4ac4-920f-bfaf2067cc97', 'ip_version': 4, 'cidr': '193.14.157.64/26', 'allocation_pools': [{'start': '193.14.157.66', 'end': '193.14.157.126'}], 'gateway_ip': '193.14.157.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.14.157.66', 'tags': [], 'project_id': 'a71ed30083fd4e3eb8254e5706471246'}} 2026-08-24 22:38:37,631 - INFO - Created VN ctest-vn-61361090 2026-08-24 22:38:37,681 - DEBUG - VN ctest-vn-61361090 UUID is 6eec2e79-6b7c-4ac4-920f-bfaf2067cc97 2026-08-24 22:38:37,794 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-99918152:ctest-vn-93973189, 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-99918152:ctest-vn-61361090, 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-08-24 22:38:38,111 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1785a237-d508-4631-8799-565cc6ed3b84', 'name': 'ctest-vn-93973189', 'tenant_id': 'a71ed30083fd4e3eb8254e5706471246', 'project_id': 'a71ed30083fd4e3eb8254e5706471246', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a74f4767-f971-4ee2-be8a-44ebb506a01a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99918152', 'ctest-vn-93973189'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99918152', 'ctest-policy-allow-all-24000879']], 'subnet_ipam': [{'subnet_cidr': '151.155.212.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-24 22:38:38,355 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6eec2e79-6b7c-4ac4-920f-bfaf2067cc97', 'name': 'ctest-vn-61361090', 'tenant_id': 'a71ed30083fd4e3eb8254e5706471246', 'project_id': 'a71ed30083fd4e3eb8254e5706471246', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c0335b6f-eb57-49e1-b99e-b560e89100ae'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99918152', 'ctest-vn-61361090'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99918152', 'ctest-policy-allow-all-24000879']], 'subnet_ipam': [{'subnet_cidr': '193.14.157.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-24 22:38:38,525 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-24 22:38:38,852 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-24 22:38:38,880 - DEBUG - Requesting: http://10.0.0.177:8082/domain/6ae23672-1c0c-46f8-a1fc-29e9b9bfd802 2026-08-24 22:38:38,893 - DEBUG - Requesting: http://10.0.0.177:8082/project/a71ed300-83fd-4e3e-b825-4e5706471246 2026-08-24 22:38:38,975 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/1785a237-d508-4631-8799-565cc6ed3b84 2026-08-24 22:38:38,989 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/1785a237-d508-4631-8799-565cc6ed3b84 2026-08-24 22:38:39,003 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/9b717f2d-3641-4ec9-860e-8b08b82a7111 2026-08-24 22:38:39,010 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/9b717f2d-3641-4ec9-860e-8b08b82a7111 2026-08-24 22:38:39,017 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/7d13faa3-d132-4cc8-ac08-feb1804d8cb9 2026-08-24 22:38:39,024 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-24 22:38:39,024 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/1785a237-d508-4631-8799-565cc6ed3b84 2026-08-24 22:38:39,033 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/9b717f2d-3641-4ec9-860e-8b08b82a7111 2026-08-24 22:38:39,053 - INFO - Verified VN network id 11 for VN 1785a237-d508-4631-8799-565cc6ed3b84 2026-08-24 22:38:39,053 - INFO - Verifications in API Server for VN ctest-vn-93973189 passed 2026-08-24 22:38:39,053 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/1785a237-d508-4631-8799-565cc6ed3b84 2026-08-24 22:38:39,064 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/9b717f2d-3641-4ec9-860e-8b08b82a7111 2026-08-24 22:38:39,073 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/9b717f2d-3641-4ec9-860e-8b08b82a7111 2026-08-24 22:38:39,080 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/7d13faa3-d132-4cc8-ac08-feb1804d8cb9 2026-08-24 22:38:39,092 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99918152:ctest-vn-93973189', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99918152', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1694939195455850033', 'uuid-lslong': '9770935823031417732'}, 'enable': 'true', 'created': '2026-08-24T22:38:36', 'last-modified': '2026-08-24T22:38:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.014799'} 2026-08-24 22:38:39,100 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-24 22:38:39,100 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93973189 passed 2026-08-24 22:38:39,100 - DEBUG - ====Verifying policy data for ctest-vn-93973189 in API_Server ====== 2026-08-24 22:38:39,101 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-24 22:38:39,108 - DEBUG - Requesting: http://10.0.0.177:8082/domain/6ae23672-1c0c-46f8-a1fc-29e9b9bfd802 2026-08-24 22:38:39,120 - DEBUG - Requesting: http://10.0.0.177:8082/project/a71ed300-83fd-4e3e-b825-4e5706471246 2026-08-24 22:38:39,195 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/1785a237-d508-4631-8799-565cc6ed3b84 2026-08-24 22:38:39,206 - DEBUG - ==>Verifying data for policy with id: 99990ec2-ac34-432d-b3a5-e9331dd9a9b5, fqn: ['default-domain', 'ctest-TestBasicPolicy-99918152', 'ctest-policy-allow-all-24000879'] 2026-08-24 22:38:39,206 - INFO - VN ctest-vn-93973189 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-24 22:38:39,206 - DEBUG - Verifying the vn in opserver 2026-08-24 22:38:39,206 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99918152:ctest-vn-93973189 virtual network link through opserver 10.0.0.177 2026-08-24 22:38:39,206 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-24 22:38:39,537 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-24 22:38:39,602 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99918152:ctest-vn-93973189', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99918152:ctest-vn-93973189?flat'} 2026-08-24 22:38:39,602 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99918152:ctest-vn-93973189 is found in opserver 2026-08-24 22:38:39,614 - DEBUG - Do not have enough data to verify VN in agent 2026-08-24 22:38:39,618 - DEBUG - VRF ids for VN ctest-vn-93973189: {} 2026-08-24 22:38:39,619 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-24 22:38:39,626 - DEBUG - Requesting: http://10.0.0.177:8082/domain/6ae23672-1c0c-46f8-a1fc-29e9b9bfd802 2026-08-24 22:38:39,639 - DEBUG - Requesting: http://10.0.0.177:8082/project/a71ed300-83fd-4e3e-b825-4e5706471246 2026-08-24 22:38:39,717 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/6eec2e79-6b7c-4ac4-920f-bfaf2067cc97 2026-08-24 22:38:39,734 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/6eec2e79-6b7c-4ac4-920f-bfaf2067cc97 2026-08-24 22:38:39,744 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/cca7936d-8979-4e08-ad56-8f9cf0027564 2026-08-24 22:38:39,756 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/cca7936d-8979-4e08-ad56-8f9cf0027564 2026-08-24 22:38:39,783 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/49a9a8ff-0b89-4c3c-b75d-53f85938cf75 2026-08-24 22:38:39,790 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-24 22:38:39,790 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/6eec2e79-6b7c-4ac4-920f-bfaf2067cc97 2026-08-24 22:38:39,798 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/cca7936d-8979-4e08-ad56-8f9cf0027564 2026-08-24 22:38:39,815 - INFO - Verified VN network id 12 for VN 6eec2e79-6b7c-4ac4-920f-bfaf2067cc97 2026-08-24 22:38:39,815 - INFO - Verifications in API Server for VN ctest-vn-61361090 passed 2026-08-24 22:38:39,816 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/6eec2e79-6b7c-4ac4-920f-bfaf2067cc97 2026-08-24 22:38:39,825 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/cca7936d-8979-4e08-ad56-8f9cf0027564 2026-08-24 22:38:39,832 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/cca7936d-8979-4e08-ad56-8f9cf0027564 2026-08-24 22:38:39,839 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/49a9a8ff-0b89-4c3c-b75d-53f85938cf75 2026-08-24 22:38:39,854 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99918152:ctest-vn-61361090', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99918152', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7992814537705016004', 'uuid-lslong': '10524841613071994007'}, 'enable': 'true', 'created': '2026-08-24T22:38:37', 'last-modified': '2026-08-24T22:38:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.527364'} 2026-08-24 22:38:39,863 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-24 22:38:39,863 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61361090 passed 2026-08-24 22:38:39,863 - DEBUG - ====Verifying policy data for ctest-vn-61361090 in API_Server ====== 2026-08-24 22:38:39,863 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-24 22:38:39,869 - DEBUG - Requesting: http://10.0.0.177:8082/domain/6ae23672-1c0c-46f8-a1fc-29e9b9bfd802 2026-08-24 22:38:39,882 - DEBUG - Requesting: http://10.0.0.177:8082/project/a71ed300-83fd-4e3e-b825-4e5706471246 2026-08-24 22:38:39,960 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/6eec2e79-6b7c-4ac4-920f-bfaf2067cc97 2026-08-24 22:38:39,970 - DEBUG - ==>Verifying data for policy with id: 99990ec2-ac34-432d-b3a5-e9331dd9a9b5, fqn: ['default-domain', 'ctest-TestBasicPolicy-99918152', 'ctest-policy-allow-all-24000879'] 2026-08-24 22:38:39,970 - INFO - VN ctest-vn-61361090 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-24 22:38:39,970 - DEBUG - Verifying the vn in opserver 2026-08-24 22:38:39,970 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99918152:ctest-vn-61361090 virtual network link through opserver 10.0.0.177 2026-08-24 22:38:39,971 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-24 22:38:39,980 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99918152:ctest-vn-61361090', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99918152:ctest-vn-61361090?flat'} 2026-08-24 22:38:39,980 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99918152:ctest-vn-61361090 is found in opserver 2026-08-24 22:38:39,994 - DEBUG - Do not have enough data to verify VN in agent 2026-08-24 22:38:39,998 - DEBUG - VRF ids for VN ctest-vn-61361090: {} 2026-08-24 22:38:40,060 - DEBUG - Services list from nova: [, , ] 2026-08-24 22:38:40,504 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6216-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6216-1) 2026-08-24 22:38:40,966 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6216-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6216-1) 2026-08-24 22:38:40,966 - INFO - Waiting for VM ctest-TestBasicPolicy-99918152-79591561 to be up.. 2026-08-24 22:38:41,008 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 22:38:46,086 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 22:38:51,170 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 22:38:56,254 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 22:39:01,343 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 22:39:06,434 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 22:39:11,518 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 22:39:16,596 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 22:39:21,669 - DEBUG - VM is in ACTIVE state now 2026-08-24 22:39:21,669 - INFO - VM name : ctest-TestBasicPolicy-99918152-79591561 2026-08-24 22:39:21,735 - DEBUG - VM ctest-TestBasicPolicy-99918152-79591561 ID is 6e1b295e-c5a2-468b-9a8c-2ce7082b6ac2 2026-08-24 22:39:21,753 - DEBUG - VM ctest-TestBasicPolicy-99918152-79591561 launched on Node cn-jenkins-deploy-platform-ansible-os-6216-1 2026-08-24 22:39:21,822 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/6e1b295e-c5a2-468b-9a8c-2ce7082b6ac2 2026-08-24 22:39:21,830 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/29e24df6-1f56-42e6-b57d-c41ac745b21e 2026-08-24 22:39:25,064 - 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 1002ms') 2026-08-24 22:39:25,065 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99918152-79591561 failed! 2026-08-24 22:39:25,117 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-99918152:ctest-vn-93973189 is 151.155.212.65 and allocation pool is NOT set 2026-08-24 22:39:27,181 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.497 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.497/1.932/3.367/1.435 ms') 2026-08-24 22:39:27,181 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99918152-79591561 passed 2026-08-24 22:39:27,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 22:39:27,338 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99918152-79591561, IP 151.155.212.67, Port 22 2026-08-24 22:39:27,497 - DEBUG - VM ctest-TestBasicPolicy-99918152-79591561 is ready for SSH connections 2026-08-24 22:39:27,497 - INFO - Waiting for VM ctest-TestBasicPolicy-99918152-19434071 to be up.. 2026-08-24 22:39:27,577 - DEBUG - VM is in ACTIVE state now 2026-08-24 22:39:27,577 - INFO - VM name : ctest-TestBasicPolicy-99918152-19434071 2026-08-24 22:39:27,650 - DEBUG - VM ctest-TestBasicPolicy-99918152-19434071 ID is cd4441c7-d438-4e69-88e2-eaccdc291139 2026-08-24 22:39:27,650 - DEBUG - VM ctest-TestBasicPolicy-99918152-19434071 launched on Node cn-jenkins-deploy-platform-ansible-os-6216-1 2026-08-24 22:39:27,722 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/cd4441c7-d438-4e69-88e2-eaccdc291139 2026-08-24 22:39:27,731 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/34093139-8de7-4da3-99f3-b0be92afdbbc 2026-08-24 22:39:28,979 - 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.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.456 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.456/1.965/3.474/1.509 ms') 2026-08-24 22:39:28,979 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-99918152-19434071 passed 2026-08-24 22:39:29,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 22:39:29,129 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99918152-19434071, IP 193.14.157.67, Port 22 2026-08-24 22:39:29,285 - DEBUG - VM ctest-TestBasicPolicy-99918152-19434071 is ready for SSH connections 2026-08-24 22:39:29,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 22:39:29,285 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.14.157.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-24 22:39:29,286 - DEBUG - ping -s 56 -c 3 -W 1 193.14.157.67 2026-08-24 22:39:33,246 - DEBUG - PING 193.14.157.67 (193.14.157.67): 56 data bytes 64 bytes from 193.14.157.67: seq=0 ttl=63 time=6.238 ms 64 bytes from 193.14.157.67: seq=1 ttl=63 time=1.147 ms 64 bytes from 193.14.157.67: seq=2 ttl=63 time=1.040 ms --- 193.14.157.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.040/2.808/6.238 ms 2026-08-24 22:39:33,246 - INFO - Ping to IP 193.14.157.67 from VM ctest-TestBasicPolicy-99918152-79591561 passed 2026-08-24 22:39:33,433 - DEBUG - Policy Update Response {"network-policy": {"uuid": "99990ec2-ac34-432d-b3a5-e9331dd9a9b5", "href": "http://10.0.0.177:8082/network-policy/99990ec2-ac34-432d-b3a5-e9331dd9a9b5"}} 2026-08-24 22:39:33,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 22:39:33,433 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.14.157.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-24 22:39:33,434 - DEBUG - ping -s 56 -c 3 -W 1 193.14.157.67 2026-08-24 22:39:36,558 - DEBUG - PING 193.14.157.67 (193.14.157.67): 56 data bytes 64 bytes from 193.14.157.67: seq=0 ttl=63 time=1.536 ms --- 193.14.157.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.536/1.536/1.536 ms 2026-08-24 22:39:36,558 - WARNING - Ping to IP 193.14.157.67 from VM ctest-TestBasicPolicy-99918152-79591561 failed 2026-08-24 22:39:36,559 - INFO - Deleting VM ctest-TestBasicPolicy-99918152-19434071 2026-08-24 22:39:36,630 - INFO - Deleting VM ctest-TestBasicPolicy-99918152-79591561 2026-08-24 22:39:37,008 - INFO - Deleted policy ctest-policy-allow-all-24000879 2026-08-24 22:39:37,008 - INFO - Deleting VN ctest-vn-61361090 2026-08-24 22:39:37,042 - DEBUG - VN 6eec2e79-6b7c-4ac4-920f-bfaf2067cc97 still in use: Unable to complete operation on network 6eec2e79-6b7c-4ac4-920f-bfaf2067cc97. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cd47bdc3-829b-4771-b3db-2e4578a9b7ed'] 2026-08-24 22:39:37,042 - WARNING - Deleting VN ctest-vn-61361090 failed..Will retry 2026-08-24 22:39:39,151 - DEBUG - Response for deleting network () 2026-08-24 22:39:39,151 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/cca7936d-8979-4e08-ad56-8f9cf0027564 2026-08-24 22:39:39,160 - DEBUG - Response Code: 404 2026-08-24 22:39:39,160 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-24 22:39:39,166 - DEBUG - Requesting: http://10.0.0.177:8082/domain/6ae23672-1c0c-46f8-a1fc-29e9b9bfd802 2026-08-24 22:39:39,220 - DEBUG - Requesting: http://10.0.0.177:8082/project/a71ed300-83fd-4e3e-b825-4e5706471246 2026-08-24 22:39:39,298 - INFO - Validated that VN ctest-vn-61361090 is not found in API Server 2026-08-24 22:39:39,310 - DEBUG - VN ctest-vn-61361090 is not present in Agent 10.0.0.177 2026-08-24 22:39:39,310 - INFO - Validated that VN ctest-vn-61361090 is not in any agent 2026-08-24 22:39:39,326 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61361090 info 2026-08-24 22:39:39,326 - INFO - Deleting VN ctest-vn-93973189 2026-08-24 22:39:39,473 - DEBUG - Response for deleting network () 2026-08-24 22:39:39,473 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/9b717f2d-3641-4ec9-860e-8b08b82a7111 2026-08-24 22:39:39,483 - DEBUG - Response Code: 404 2026-08-24 22:39:39,483 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-24 22:39:39,489 - DEBUG - Requesting: http://10.0.0.177:8082/domain/6ae23672-1c0c-46f8-a1fc-29e9b9bfd802 2026-08-24 22:39:39,544 - DEBUG - Requesting: http://10.0.0.177:8082/project/a71ed300-83fd-4e3e-b825-4e5706471246 2026-08-24 22:39:39,635 - INFO - Validated that VN ctest-vn-93973189 is not found in API Server 2026-08-24 22:39:39,646 - DEBUG - VN ctest-vn-93973189 is not present in Agent 10.0.0.177 2026-08-24 22:39:39,646 - INFO - Validated that VN ctest-vn-93973189 is not in any agent 2026-08-24 22:39:39,661 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93973189 info 2026-08-24 22:39:39,929 - DEBUG - No XMPP flaps were noticed during the test
2026-08-24 22:39:39,930 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:04]
2026-08-24 22:39:39,930 - INFO - -------------------------------------------------------------------------------- 2026-08-24 22:39:40,720 - INFO - Deleted project: ctest-TestBasicPolicy-99918152, ID : a71ed300-83fd-4e3e-b825-4e5706471246