2026-11-07 07:58:16,038 - INFO - Domain Default found not creating 2026-11-07 07:58:16,210 - INFO - Project ctest-TestBasicPolicy-68039023 not found, creating it 2026-11-07 07:58:16,668 - INFO - Created Project:ctest-TestBasicPolicy-68039023, ID : 58b906e1-8b4e-4205-90fd-cb9c48c3d96d 2026-11-07 07:58:18,228 - INFO - ================================================================================ 2026-11-07 07:58:18,228 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-07 07:58:18,228 - 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-11-07 07:58:18,484 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with 2026-11-07 07:58:18,484 - INFO - Initial checks done. Running the testcase now 2026-11-07 07:58:18,484 - INFO - 2026-11-07 07:58:19,065 - DEBUG - Response for create_network : {'network': {'id': 'd66ba127-7d53-4805-92eb-f0f8ed154333', 'name': 'ctest-vn-29197534', 'tenant_id': '58b906e18b4e420590fdcb9c48c3d96d', 'project_id': '58b906e18b4e420590fdcb9c48c3d96d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68039023', 'ctest-vn-29197534'], 'port_security_enabled': True, 'description': ''}} 2026-11-07 07:58:19,295 - DEBUG - Response for create_subnet : {'subnet': {'id': '71c28f63-0ec4-4e6c-a854-66ab04a13830', 'name': '', 'tenant_id': '58b906e18b4e420590fdcb9c48c3d96d', 'network_id': 'd66ba127-7d53-4805-92eb-f0f8ed154333', 'ip_version': 4, 'cidr': '81.5.42.64/26', 'allocation_pools': [{'start': '81.5.42.66', 'end': '81.5.42.126'}], 'gateway_ip': '81.5.42.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.5.42.66', 'tags': [], 'project_id': '58b906e18b4e420590fdcb9c48c3d96d'}} 2026-11-07 07:58:19,311 - INFO - Created VN ctest-vn-29197534 2026-11-07 07:58:19,365 - DEBUG - VN ctest-vn-29197534 UUID is d66ba127-7d53-4805-92eb-f0f8ed154333 2026-11-07 07:58:19,687 - DEBUG - Response for create_network : {'network': {'id': 'af666788-a9ee-4aa6-a7eb-3548592b12a5', 'name': 'ctest-vn-29303926', 'tenant_id': '58b906e18b4e420590fdcb9c48c3d96d', 'project_id': '58b906e18b4e420590fdcb9c48c3d96d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68039023', 'ctest-vn-29303926'], 'port_security_enabled': True, 'description': ''}} 2026-11-07 07:58:19,838 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc2d539e-3add-4630-8ce9-75e1fe6e4ea6', 'name': '', 'tenant_id': '58b906e18b4e420590fdcb9c48c3d96d', 'network_id': 'af666788-a9ee-4aa6-a7eb-3548592b12a5', 'ip_version': 4, 'cidr': '168.78.3.0/26', 'allocation_pools': [{'start': '168.78.3.2', 'end': '168.78.3.62'}], 'gateway_ip': '168.78.3.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.78.3.2', 'tags': [], 'project_id': '58b906e18b4e420590fdcb9c48c3d96d'}} 2026-11-07 07:58:19,857 - INFO - Created VN ctest-vn-29303926 2026-11-07 07:58:19,909 - DEBUG - VN ctest-vn-29303926 UUID is af666788-a9ee-4aa6-a7eb-3548592b12a5 2026-11-07 07:58:20,022 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-68039023:ctest-vn-29197534, 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-68039023:ctest-vn-29303926, 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-11-07 07:58:20,319 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd66ba127-7d53-4805-92eb-f0f8ed154333', 'name': 'ctest-vn-29197534', 'tenant_id': '58b906e18b4e420590fdcb9c48c3d96d', 'project_id': '58b906e18b4e420590fdcb9c48c3d96d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['71c28f63-0ec4-4e6c-a854-66ab04a13830'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68039023', 'ctest-vn-29197534'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68039023', 'ctest-policy-allow-all-12364402']], 'subnet_ipam': [{'subnet_cidr': '81.5.42.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-07 07:58:20,541 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'af666788-a9ee-4aa6-a7eb-3548592b12a5', 'name': 'ctest-vn-29303926', 'tenant_id': '58b906e18b4e420590fdcb9c48c3d96d', 'project_id': '58b906e18b4e420590fdcb9c48c3d96d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['cc2d539e-3add-4630-8ce9-75e1fe6e4ea6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68039023', 'ctest-vn-29303926'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68039023', 'ctest-policy-allow-all-12364402']], 'subnet_ipam': [{'subnet_cidr': '168.78.3.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-07 07:58:20,705 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-07 07:58:21,075 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-07 07:58:21,104 - DEBUG - Requesting: http://10.0.0.177:8082/domain/a4d11c16-de49-4410-9823-ffdd8e9512cd 2026-11-07 07:58:21,119 - DEBUG - Requesting: http://10.0.0.177:8082/project/58b906e1-8b4e-4205-90fd-cb9c48c3d96d 2026-11-07 07:58:21,196 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d66ba127-7d53-4805-92eb-f0f8ed154333 2026-11-07 07:58:21,207 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d66ba127-7d53-4805-92eb-f0f8ed154333 2026-11-07 07:58:21,215 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/2609de9a-4a97-4d4d-9ede-371c27399ae1 2026-11-07 07:58:21,224 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/2609de9a-4a97-4d4d-9ede-371c27399ae1 2026-11-07 07:58:21,230 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/c7846628-e58b-499e-8cc6-34f3e8ecfafb 2026-11-07 07:58:21,237 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-07 07:58:21,237 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d66ba127-7d53-4805-92eb-f0f8ed154333 2026-11-07 07:58:21,246 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/2609de9a-4a97-4d4d-9ede-371c27399ae1 2026-11-07 07:58:21,260 - INFO - Verified VN network id 12 for VN d66ba127-7d53-4805-92eb-f0f8ed154333 2026-11-07 07:58:21,260 - INFO - Verifications in API Server for VN ctest-vn-29197534 passed 2026-11-07 07:58:21,260 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d66ba127-7d53-4805-92eb-f0f8ed154333 2026-11-07 07:58:21,269 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/2609de9a-4a97-4d4d-9ede-371c27399ae1 2026-11-07 07:58:21,275 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/2609de9a-4a97-4d4d-9ede-371c27399ae1 2026-11-07 07:58:21,283 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/c7846628-e58b-499e-8cc6-34f3e8ecfafb 2026-11-07 07:58:21,294 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68039023:ctest-vn-29197534', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68039023', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15450620137603024901', 'uuid-lslong': '10586820300984632115'}, 'enable': 'true', 'created': '2026-11-07T07:58:19', 'last-modified': '2026-11-07T07:58:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.000669'} 2026-11-07 07:58:21,302 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-07 07:58:21,302 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29197534 passed 2026-11-07 07:58:21,302 - DEBUG - ====Verifying policy data for ctest-vn-29197534 in API_Server ====== 2026-11-07 07:58:21,302 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-07 07:58:21,307 - DEBUG - Requesting: http://10.0.0.177:8082/domain/a4d11c16-de49-4410-9823-ffdd8e9512cd 2026-11-07 07:58:21,318 - DEBUG - Requesting: http://10.0.0.177:8082/project/58b906e1-8b4e-4205-90fd-cb9c48c3d96d 2026-11-07 07:58:21,390 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d66ba127-7d53-4805-92eb-f0f8ed154333 2026-11-07 07:58:21,399 - DEBUG - ==>Verifying data for policy with id: 54462898-7959-4dae-921e-64e0535c3874, fqn: ['default-domain', 'ctest-TestBasicPolicy-68039023', 'ctest-policy-allow-all-12364402'] 2026-11-07 07:58:21,399 - INFO - VN ctest-vn-29197534 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-07 07:58:21,399 - DEBUG - Verifying the vn in opserver 2026-11-07 07:58:21,399 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68039023:ctest-vn-29197534 virtual network link through opserver 10.0.0.177 2026-11-07 07:58:21,400 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-11-07 07:58:21,718 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-11-07 07:58:21,771 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68039023:ctest-vn-29197534', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68039023:ctest-vn-29197534?flat'} 2026-11-07 07:58:21,771 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68039023:ctest-vn-29197534 is found in opserver 2026-11-07 07:58:21,781 - DEBUG - Do not have enough data to verify VN in agent 2026-11-07 07:58:21,786 - DEBUG - VRF ids for VN ctest-vn-29197534: {} 2026-11-07 07:58:21,786 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-07 07:58:21,792 - DEBUG - Requesting: http://10.0.0.177:8082/domain/a4d11c16-de49-4410-9823-ffdd8e9512cd 2026-11-07 07:58:21,804 - DEBUG - Requesting: http://10.0.0.177:8082/project/58b906e1-8b4e-4205-90fd-cb9c48c3d96d 2026-11-07 07:58:21,876 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/af666788-a9ee-4aa6-a7eb-3548592b12a5 2026-11-07 07:58:21,887 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/af666788-a9ee-4aa6-a7eb-3548592b12a5 2026-11-07 07:58:21,896 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/7f15f909-8b18-443c-bdff-3c82b244b173 2026-11-07 07:58:21,903 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/7f15f909-8b18-443c-bdff-3c82b244b173 2026-11-07 07:58:21,910 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/87f921c6-a282-4198-b267-257fef8126e8 2026-11-07 07:58:21,916 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-07 07:58:21,916 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/af666788-a9ee-4aa6-a7eb-3548592b12a5 2026-11-07 07:58:21,924 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/7f15f909-8b18-443c-bdff-3c82b244b173 2026-11-07 07:58:21,947 - INFO - Verified VN network id 13 for VN af666788-a9ee-4aa6-a7eb-3548592b12a5 2026-11-07 07:58:21,947 - INFO - Verifications in API Server for VN ctest-vn-29303926 passed 2026-11-07 07:58:21,947 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/af666788-a9ee-4aa6-a7eb-3548592b12a5 2026-11-07 07:58:21,957 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/7f15f909-8b18-443c-bdff-3c82b244b173 2026-11-07 07:58:21,964 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/7f15f909-8b18-443c-bdff-3c82b244b173 2026-11-07 07:58:21,971 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/87f921c6-a282-4198-b267-257fef8126e8 2026-11-07 07:58:21,983 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68039023:ctest-vn-29303926', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68039023', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12638903240926055078', 'uuid-lslong': '12099823408710881957'}, 'enable': 'true', 'created': '2026-11-07T07:58:19', 'last-modified': '2026-11-07T07:58:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.460639'} 2026-11-07 07:58:21,989 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-07 07:58:21,989 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29303926 passed 2026-11-07 07:58:21,989 - DEBUG - ====Verifying policy data for ctest-vn-29303926 in API_Server ====== 2026-11-07 07:58:21,989 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-07 07:58:21,995 - DEBUG - Requesting: http://10.0.0.177:8082/domain/a4d11c16-de49-4410-9823-ffdd8e9512cd 2026-11-07 07:58:22,005 - DEBUG - Requesting: http://10.0.0.177:8082/project/58b906e1-8b4e-4205-90fd-cb9c48c3d96d 2026-11-07 07:58:22,075 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/af666788-a9ee-4aa6-a7eb-3548592b12a5 2026-11-07 07:58:22,086 - DEBUG - ==>Verifying data for policy with id: 54462898-7959-4dae-921e-64e0535c3874, fqn: ['default-domain', 'ctest-TestBasicPolicy-68039023', 'ctest-policy-allow-all-12364402'] 2026-11-07 07:58:22,086 - INFO - VN ctest-vn-29303926 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-07 07:58:22,086 - DEBUG - Verifying the vn in opserver 2026-11-07 07:58:22,086 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68039023:ctest-vn-29303926 virtual network link through opserver 10.0.0.177 2026-11-07 07:58:22,086 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-11-07 07:58:22,095 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68039023:ctest-vn-29303926', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68039023:ctest-vn-29303926?flat'} 2026-11-07 07:58:22,095 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68039023:ctest-vn-29303926 is found in opserver 2026-11-07 07:58:22,106 - DEBUG - Do not have enough data to verify VN in agent 2026-11-07 07:58:22,111 - DEBUG - VRF ids for VN ctest-vn-29303926: {} 2026-11-07 07:58:22,170 - DEBUG - Services list from nova: [, , ] 2026-11-07 07:58:22,619 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6496-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6496-1) 2026-11-07 07:58:23,006 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6496-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6496-1) 2026-11-07 07:58:23,006 - INFO - Waiting for VM ctest-TestBasicPolicy-68039023-59802812 to be up.. 2026-11-07 07:58:23,045 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 07:58:28,119 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 07:58:33,207 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 07:58:38,277 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 07:58:43,357 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 07:58:48,436 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 07:58:53,517 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 07:58:58,596 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 07:59:03,673 - DEBUG - VM is in ACTIVE state now 2026-11-07 07:59:03,674 - INFO - VM name : ctest-TestBasicPolicy-68039023-59802812 2026-11-07 07:59:03,747 - DEBUG - VM ctest-TestBasicPolicy-68039023-59802812 ID is 8d14c5a0-ae26-420e-a30d-957c63e92b67 2026-11-07 07:59:03,766 - DEBUG - VM ctest-TestBasicPolicy-68039023-59802812 launched on Node cn-jenkins-deploy-platform-ansible-os-6496-1 2026-11-07 07:59:03,849 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/8d14c5a0-ae26-420e-a30d-957c63e92b67 2026-11-07 07:59:03,857 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/a82c1aee-3c16-409b-a26f-29c8e42e6f5c 2026-11-07 07:59:05,100 - 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.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=6.78 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 = 3.383/5.082/6.781/1.699 ms') 2026-11-07 07:59:05,100 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68039023-59802812 passed 2026-11-07 07:59:05,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-07 07:59:05,249 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68039023-59802812, IP 81.5.42.67, Port 22 2026-11-07 07:59:05,314 - 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-11-07 07:59:05,397 - DEBUG - VM ctest-TestBasicPolicy-68039023-59802812 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-07 07:59:10,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-07 07:59:10,398 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68039023-59802812, IP 81.5.42.67, Port 22 2026-11-07 07:59:10,557 - DEBUG - VM ctest-TestBasicPolicy-68039023-59802812 is ready for SSH connections 2026-11-07 07:59:10,557 - INFO - Waiting for VM ctest-TestBasicPolicy-68039023-63589111 to be up.. 2026-11-07 07:59:10,640 - DEBUG - VM is in ACTIVE state now 2026-11-07 07:59:10,640 - INFO - VM name : ctest-TestBasicPolicy-68039023-63589111 2026-11-07 07:59:10,721 - DEBUG - VM ctest-TestBasicPolicy-68039023-63589111 ID is 279f37eb-711e-4b83-8088-3db3aa6b071a 2026-11-07 07:59:10,721 - DEBUG - VM ctest-TestBasicPolicy-68039023-63589111 launched on Node cn-jenkins-deploy-platform-ansible-os-6496-1 2026-11-07 07:59:10,798 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/279f37eb-711e-4b83-8088-3db3aa6b071a 2026-11-07 07:59:10,806 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/b1170ab6-eef1-4585-a9c1-f7bbecd3c17c 2026-11-07 07:59:12,053 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.426 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.426/1.891/3.356/1.465 ms') 2026-11-07 07:59:12,053 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-68039023-63589111 passed 2026-11-07 07:59:12,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-07 07:59:12,201 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68039023-63589111, IP 168.78.3.3, Port 22 2026-11-07 07:59:12,357 - DEBUG - VM ctest-TestBasicPolicy-68039023-63589111 is ready for SSH connections 2026-11-07 07:59:12,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-07 07:59:12,357 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.78.3.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-11-07 07:59:12,357 - DEBUG - ping -s 56 -c 3 -W 1 168.78.3.3 2026-11-07 07:59:16,250 - DEBUG - PING 168.78.3.3 (168.78.3.3): 56 data bytes 64 bytes from 168.78.3.3: seq=0 ttl=63 time=3.786 ms 64 bytes from 168.78.3.3: seq=1 ttl=63 time=0.901 ms 64 bytes from 168.78.3.3: seq=2 ttl=63 time=0.962 ms --- 168.78.3.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.901/1.883/3.786 ms 2026-11-07 07:59:16,251 - INFO - Ping to IP 168.78.3.3 from VM ctest-TestBasicPolicy-68039023-59802812 passed 2026-11-07 07:59:16,424 - DEBUG - Policy Update Response {"network-policy": {"uuid": "54462898-7959-4dae-921e-64e0535c3874", "href": "http://10.0.0.177:8082/network-policy/54462898-7959-4dae-921e-64e0535c3874"}} 2026-11-07 07:59:16,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-07 07:59:16,425 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.78.3.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-11-07 07:59:16,425 - DEBUG - ping -s 56 -c 3 -W 1 168.78.3.3 2026-11-07 07:59:19,549 - DEBUG - PING 168.78.3.3 (168.78.3.3): 56 data bytes 64 bytes from 168.78.3.3: seq=0 ttl=63 time=1.522 ms --- 168.78.3.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.522/1.522/1.522 ms 2026-11-07 07:59:19,549 - WARNING - Ping to IP 168.78.3.3 from VM ctest-TestBasicPolicy-68039023-59802812 failed 2026-11-07 07:59:19,549 - INFO - Deleting VM ctest-TestBasicPolicy-68039023-63589111 2026-11-07 07:59:19,633 - INFO - Deleting VM ctest-TestBasicPolicy-68039023-59802812 2026-11-07 07:59:20,001 - INFO - Deleted policy ctest-policy-allow-all-12364402 2026-11-07 07:59:20,002 - INFO - Deleting VN ctest-vn-29303926 2026-11-07 07:59:20,032 - DEBUG - VN af666788-a9ee-4aa6-a7eb-3548592b12a5 still in use: Unable to complete operation on network af666788-a9ee-4aa6-a7eb-3548592b12a5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a75fa7b1-a682-41c9-9930-510cc5ba78d9'] 2026-11-07 07:59:20,032 - WARNING - Deleting VN ctest-vn-29303926 failed..Will retry 2026-11-07 07:59:22,066 - DEBUG - VN af666788-a9ee-4aa6-a7eb-3548592b12a5 still in use: Unable to complete operation on network af666788-a9ee-4aa6-a7eb-3548592b12a5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-46f4ccf8-0ddf-430d-8fbc-c188f41b7307'] 2026-11-07 07:59:22,066 - WARNING - Deleting VN ctest-vn-29303926 failed..Will retry 2026-11-07 07:59:24,165 - DEBUG - Response for deleting network () 2026-11-07 07:59:24,165 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/7f15f909-8b18-443c-bdff-3c82b244b173 2026-11-07 07:59:24,172 - DEBUG - Response Code: 404 2026-11-07 07:59:24,172 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-07 07:59:24,177 - DEBUG - Requesting: http://10.0.0.177:8082/domain/a4d11c16-de49-4410-9823-ffdd8e9512cd 2026-11-07 07:59:24,232 - DEBUG - Requesting: http://10.0.0.177:8082/project/58b906e1-8b4e-4205-90fd-cb9c48c3d96d 2026-11-07 07:59:24,304 - INFO - Validated that VN ctest-vn-29303926 is not found in API Server 2026-11-07 07:59:24,315 - DEBUG - VN ctest-vn-29303926 is not present in Agent 10.0.0.177 2026-11-07 07:59:24,315 - INFO - Validated that VN ctest-vn-29303926 is not in any agent 2026-11-07 07:59:24,330 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29303926 info 2026-11-07 07:59:24,331 - INFO - Deleting VN ctest-vn-29197534 2026-11-07 07:59:24,448 - DEBUG - Response for deleting network () 2026-11-07 07:59:24,448 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/2609de9a-4a97-4d4d-9ede-371c27399ae1 2026-11-07 07:59:24,456 - DEBUG - Response Code: 404 2026-11-07 07:59:24,456 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-07 07:59:24,461 - DEBUG - Requesting: http://10.0.0.177:8082/domain/a4d11c16-de49-4410-9823-ffdd8e9512cd 2026-11-07 07:59:24,514 - DEBUG - Requesting: http://10.0.0.177:8082/project/58b906e1-8b4e-4205-90fd-cb9c48c3d96d 2026-11-07 07:59:24,587 - INFO - Validated that VN ctest-vn-29197534 is not found in API Server 2026-11-07 07:59:24,597 - DEBUG - VN ctest-vn-29197534 is not present in Agent 10.0.0.177 2026-11-07 07:59:24,597 - INFO - Validated that VN ctest-vn-29197534 is not in any agent 2026-11-07 07:59:24,616 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29197534 info 2026-11-07 07:59:24,874 - DEBUG - No XMPP flaps were noticed during the test
2026-11-07 07:59:24,874 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:06]
2026-11-07 07:59:24,874 - INFO - -------------------------------------------------------------------------------- 2026-11-07 07:59:25,611 - INFO - Deleted project: ctest-TestBasicPolicy-68039023, ID : 58b906e1-8b4e-4205-90fd-cb9c48c3d96d