2026-06-18 14:11:13,120 - INFO - Domain Default found not creating 2026-06-18 14:11:13,284 - INFO - Project ctest-TestBasicPolicy-05376387 not found, creating it 2026-06-18 14:11:13,737 - INFO - Created Project:ctest-TestBasicPolicy-05376387, ID : 75c4c06e-4e2b-419b-966a-c2e52cf341ec 2026-06-18 14:11:15,329 - INFO - ================================================================================ 2026-06-18 14:11:15,329 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-18 14:11:15,329 - 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-06-18 14:11:15,584 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-06-18 14:11:15,585 - INFO - Initial checks done. Running the testcase now 2026-06-18 14:11:15,585 - INFO - 2026-06-18 14:11:16,181 - DEBUG - Response for create_network : {'network': {'id': 'e7021cb8-ef74-4259-abb4-11503ef5bf7c', 'name': 'ctest-vn-50691767', 'tenant_id': '75c4c06e4e2b419b966ac2e52cf341ec', 'project_id': '75c4c06e4e2b419b966ac2e52cf341ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05376387', 'ctest-vn-50691767'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 14:11:16,375 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6e3fe95-cebd-45fd-a176-de7a58fea062', 'name': '', 'tenant_id': '75c4c06e4e2b419b966ac2e52cf341ec', 'network_id': 'e7021cb8-ef74-4259-abb4-11503ef5bf7c', 'ip_version': 4, 'cidr': '121.170.44.192/26', 'allocation_pools': [{'start': '121.170.44.194', 'end': '121.170.44.254'}], 'gateway_ip': '121.170.44.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.170.44.194', 'tags': [], 'project_id': '75c4c06e4e2b419b966ac2e52cf341ec'}} 2026-06-18 14:11:16,391 - INFO - Created VN ctest-vn-50691767 2026-06-18 14:11:16,443 - DEBUG - VN ctest-vn-50691767 UUID is e7021cb8-ef74-4259-abb4-11503ef5bf7c 2026-06-18 14:11:16,743 - DEBUG - Response for create_network : {'network': {'id': 'b4f2fa65-22bf-4025-9300-83845a02faeb', 'name': 'ctest-vn-03060978', 'tenant_id': '75c4c06e4e2b419b966ac2e52cf341ec', 'project_id': '75c4c06e4e2b419b966ac2e52cf341ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05376387', 'ctest-vn-03060978'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 14:11:16,936 - DEBUG - Response for create_subnet : {'subnet': {'id': '91d20a0a-811d-4fa1-96d9-6e1a90a5e4b5', 'name': '', 'tenant_id': '75c4c06e4e2b419b966ac2e52cf341ec', 'network_id': 'b4f2fa65-22bf-4025-9300-83845a02faeb', 'ip_version': 4, 'cidr': '62.182.169.192/26', 'allocation_pools': [{'start': '62.182.169.194', 'end': '62.182.169.254'}], 'gateway_ip': '62.182.169.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.182.169.194', 'tags': [], 'project_id': '75c4c06e4e2b419b966ac2e52cf341ec'}} 2026-06-18 14:11:16,950 - INFO - Created VN ctest-vn-03060978 2026-06-18 14:11:17,003 - DEBUG - VN ctest-vn-03060978 UUID is b4f2fa65-22bf-4025-9300-83845a02faeb 2026-06-18 14:11:17,147 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-05376387:ctest-vn-50691767, 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-05376387:ctest-vn-03060978, 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-06-18 14:11:17,428 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e7021cb8-ef74-4259-abb4-11503ef5bf7c', 'name': 'ctest-vn-50691767', 'tenant_id': '75c4c06e4e2b419b966ac2e52cf341ec', 'project_id': '75c4c06e4e2b419b966ac2e52cf341ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b6e3fe95-cebd-45fd-a176-de7a58fea062'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05376387', 'ctest-vn-50691767'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05376387', 'ctest-policy-allow-all-75846299']], 'subnet_ipam': [{'subnet_cidr': '121.170.44.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-18 14:11:17,650 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b4f2fa65-22bf-4025-9300-83845a02faeb', 'name': 'ctest-vn-03060978', 'tenant_id': '75c4c06e4e2b419b966ac2e52cf341ec', 'project_id': '75c4c06e4e2b419b966ac2e52cf341ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['91d20a0a-811d-4fa1-96d9-6e1a90a5e4b5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05376387', 'ctest-vn-03060978'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05376387', 'ctest-policy-allow-all-75846299']], 'subnet_ipam': [{'subnet_cidr': '62.182.169.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-18 14:11:17,803 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-18 14:11:18,167 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-18 14:11:18,193 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fbd3fc36-612d-4093-a3df-8730abea2e9c 2026-06-18 14:11:18,204 - DEBUG - Requesting: http://10.0.0.38:8082/project/75c4c06e-4e2b-419b-966a-c2e52cf341ec 2026-06-18 14:11:18,273 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e7021cb8-ef74-4259-abb4-11503ef5bf7c 2026-06-18 14:11:18,284 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e7021cb8-ef74-4259-abb4-11503ef5bf7c 2026-06-18 14:11:18,292 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/02752c11-e2be-438a-a5f8-b3872dd2df0f 2026-06-18 14:11:18,299 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/02752c11-e2be-438a-a5f8-b3872dd2df0f 2026-06-18 14:11:18,305 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2c8aa3b4-51a4-4ed1-850a-abcc34e65d10 2026-06-18 14:11:18,310 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 14:11:18,310 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e7021cb8-ef74-4259-abb4-11503ef5bf7c 2026-06-18 14:11:18,318 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/02752c11-e2be-438a-a5f8-b3872dd2df0f 2026-06-18 14:11:18,329 - INFO - Verified VN network id 11 for VN e7021cb8-ef74-4259-abb4-11503ef5bf7c 2026-06-18 14:11:18,329 - INFO - Verifications in API Server for VN ctest-vn-50691767 passed 2026-06-18 14:11:18,329 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e7021cb8-ef74-4259-abb4-11503ef5bf7c 2026-06-18 14:11:18,336 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/02752c11-e2be-438a-a5f8-b3872dd2df0f 2026-06-18 14:11:18,342 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/02752c11-e2be-438a-a5f8-b3872dd2df0f 2026-06-18 14:11:18,348 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2c8aa3b4-51a4-4ed1-850a-abcc34e65d10 2026-06-18 14:11:18,358 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05376387:ctest-vn-50691767', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05376387', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16645898753331708505', 'uuid-lslong': '12372533112644943740'}, 'enable': 'true', 'created': '2026-06-18T14:11:16', 'last-modified': '2026-06-18T14:11:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.945622'} 2026-06-18 14:11:18,363 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 14:11:18,363 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50691767 passed 2026-06-18 14:11:18,364 - DEBUG - ====Verifying policy data for ctest-vn-50691767 in API_Server ====== 2026-06-18 14:11:18,364 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-18 14:11:18,368 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fbd3fc36-612d-4093-a3df-8730abea2e9c 2026-06-18 14:11:18,381 - DEBUG - Requesting: http://10.0.0.38:8082/project/75c4c06e-4e2b-419b-966a-c2e52cf341ec 2026-06-18 14:11:18,458 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e7021cb8-ef74-4259-abb4-11503ef5bf7c 2026-06-18 14:11:18,466 - DEBUG - ==>Verifying data for policy with id: 0b173484-9042-4b1b-8236-9a8875cee827, fqn: ['default-domain', 'ctest-TestBasicPolicy-05376387', 'ctest-policy-allow-all-75846299'] 2026-06-18 14:11:18,466 - INFO - VN ctest-vn-50691767 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-18 14:11:18,466 - DEBUG - Verifying the vn in opserver 2026-06-18 14:11:18,466 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05376387:ctest-vn-50691767 virtual network link through opserver 10.0.0.38 2026-06-18 14:11:18,466 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-18 14:11:18,824 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-18 14:11:18,905 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05376387:ctest-vn-50691767', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05376387:ctest-vn-50691767?flat'} 2026-06-18 14:11:18,905 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05376387:ctest-vn-50691767 is found in opserver 2026-06-18 14:11:18,914 - DEBUG - Do not have enough data to verify VN in agent 2026-06-18 14:11:18,919 - DEBUG - VRF ids for VN ctest-vn-50691767: {} 2026-06-18 14:11:18,919 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-18 14:11:18,941 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fbd3fc36-612d-4093-a3df-8730abea2e9c 2026-06-18 14:11:18,985 - DEBUG - Requesting: http://10.0.0.38:8082/project/75c4c06e-4e2b-419b-966a-c2e52cf341ec 2026-06-18 14:11:19,085 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b4f2fa65-22bf-4025-9300-83845a02faeb 2026-06-18 14:11:19,101 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b4f2fa65-22bf-4025-9300-83845a02faeb 2026-06-18 14:11:19,113 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/10ce7b55-5be8-4aa4-b20c-d6355f652adc 2026-06-18 14:11:19,129 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/10ce7b55-5be8-4aa4-b20c-d6355f652adc 2026-06-18 14:11:19,136 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3a00c1e9-dd8a-4e37-9312-c949ebdfd1af 2026-06-18 14:11:19,146 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-18 14:11:19,146 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b4f2fa65-22bf-4025-9300-83845a02faeb 2026-06-18 14:11:19,158 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/10ce7b55-5be8-4aa4-b20c-d6355f652adc 2026-06-18 14:11:19,184 - INFO - Verified VN network id 12 for VN b4f2fa65-22bf-4025-9300-83845a02faeb 2026-06-18 14:11:19,184 - INFO - Verifications in API Server for VN ctest-vn-03060978 passed 2026-06-18 14:11:19,185 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b4f2fa65-22bf-4025-9300-83845a02faeb 2026-06-18 14:11:19,196 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/10ce7b55-5be8-4aa4-b20c-d6355f652adc 2026-06-18 14:11:19,211 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/10ce7b55-5be8-4aa4-b20c-d6355f652adc 2026-06-18 14:11:19,218 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3a00c1e9-dd8a-4e37-9312-c949ebdfd1af 2026-06-18 14:11:19,234 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05376387:ctest-vn-03060978', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05376387', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13038759183472607269', 'uuid-lslong': '10592610928044473067'}, 'enable': 'true', 'created': '2026-06-18T14:11:16', 'last-modified': '2026-06-18T14:11:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.607558'} 2026-06-18 14:11:19,240 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-18 14:11:19,240 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03060978 passed 2026-06-18 14:11:19,240 - DEBUG - ====Verifying policy data for ctest-vn-03060978 in API_Server ====== 2026-06-18 14:11:19,240 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-18 14:11:19,252 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fbd3fc36-612d-4093-a3df-8730abea2e9c 2026-06-18 14:11:19,310 - DEBUG - Requesting: http://10.0.0.38:8082/project/75c4c06e-4e2b-419b-966a-c2e52cf341ec 2026-06-18 14:11:19,410 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b4f2fa65-22bf-4025-9300-83845a02faeb 2026-06-18 14:11:19,426 - DEBUG - ==>Verifying data for policy with id: 0b173484-9042-4b1b-8236-9a8875cee827, fqn: ['default-domain', 'ctest-TestBasicPolicy-05376387', 'ctest-policy-allow-all-75846299'] 2026-06-18 14:11:19,426 - INFO - VN ctest-vn-03060978 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-18 14:11:19,426 - DEBUG - Verifying the vn in opserver 2026-06-18 14:11:19,426 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05376387:ctest-vn-03060978 virtual network link through opserver 10.0.0.38 2026-06-18 14:11:19,426 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-18 14:11:19,441 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05376387:ctest-vn-03060978', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05376387:ctest-vn-03060978?flat'} 2026-06-18 14:11:19,441 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05376387:ctest-vn-03060978 is found in opserver 2026-06-18 14:11:19,456 - DEBUG - Do not have enough data to verify VN in agent 2026-06-18 14:11:19,460 - DEBUG - VRF ids for VN ctest-vn-03060978: {} 2026-06-18 14:11:19,534 - DEBUG - Services list from nova: [, , ] 2026-06-18 14:11:20,642 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5985-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5985-1) 2026-06-18 14:11:21,786 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5985-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5985-1) 2026-06-18 14:11:21,786 - INFO - Waiting for VM ctest-TestBasicPolicy-05376387-58870336 to be up.. 2026-06-18 14:11:21,828 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 14:11:26,894 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 14:11:31,962 - DEBUG - VM is in ACTIVE state now 2026-06-18 14:11:31,962 - INFO - VM name : ctest-TestBasicPolicy-05376387-58870336 2026-06-18 14:11:32,028 - DEBUG - VM ctest-TestBasicPolicy-05376387-58870336 ID is 92c177d8-09ed-4933-88fb-bf51fc85ea75 2026-06-18 14:11:32,050 - DEBUG - VM ctest-TestBasicPolicy-05376387-58870336 launched on Node cn-jenkins-deploy-platform-ansible-os-5985-1 2026-06-18 14:11:32,122 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/92c177d8-09ed-4933-88fb-bf51fc85ea75 2026-06-18 14:11:32,132 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2dc7a72a-c9eb-4bb4-8e3b-b8c8271ad21a 2026-06-18 14:11:35,332 - 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 1015ms') 2026-06-18 14:11:35,332 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05376387-58870336 failed! 2026-06-18 14:11:35,411 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-05376387:ctest-vn-50691767 is 121.170.44.193 and allocation pool is NOT set 2026-06-18 14:11:37,480 - 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.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.48 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.482/4.232/4.982/0.750 ms') 2026-06-18 14:11:37,480 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05376387-58870336 passed 2026-06-18 14:11:37,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 14:11:37,627 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05376387-58870336, IP 121.170.44.195, Port 22 2026-06-18 14:11:37,692 - 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-06-18 14:11:37,765 - DEBUG - VM ctest-TestBasicPolicy-05376387-58870336 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-18 14:11:42,766 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 14:11:42,766 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05376387-58870336, IP 121.170.44.195, Port 22 2026-06-18 14:11:42,922 - DEBUG - VM ctest-TestBasicPolicy-05376387-58870336 is ready for SSH connections 2026-06-18 14:11:42,922 - INFO - Waiting for VM ctest-TestBasicPolicy-05376387-25097191 to be up.. 2026-06-18 14:11:42,989 - DEBUG - VM is in ACTIVE state now 2026-06-18 14:11:42,989 - INFO - VM name : ctest-TestBasicPolicy-05376387-25097191 2026-06-18 14:11:43,053 - DEBUG - VM ctest-TestBasicPolicy-05376387-25097191 ID is e5e1db8a-f6a5-4c47-a828-72f06cbd7087 2026-06-18 14:11:43,053 - DEBUG - VM ctest-TestBasicPolicy-05376387-25097191 launched on Node cn-jenkins-deploy-platform-ansible-os-5985-1 2026-06-18 14:11:43,116 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e5e1db8a-f6a5-4c47-a828-72f06cbd7087 2026-06-18 14:11:43,123 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e4d6dbfa-14ba-42c4-9457-505e0b879b1c 2026-06-18 14:11:44,355 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.380 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.380/2.023/3.666/1.643 ms') 2026-06-18 14:11:44,355 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-05376387-25097191 passed 2026-06-18 14:11:44,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 14:11:44,503 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05376387-25097191, IP 62.182.169.195, Port 22 2026-06-18 14:11:44,658 - DEBUG - VM ctest-TestBasicPolicy-05376387-25097191 is ready for SSH connections 2026-06-18 14:11:44,658 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 14:11:44,659 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.182.169.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-18 14:11:44,659 - DEBUG - ping -s 56 -c 3 -W 1 62.182.169.195 2026-06-18 14:11:48,627 - DEBUG - PING 62.182.169.195 (62.182.169.195): 56 data bytes 64 bytes from 62.182.169.195: seq=0 ttl=63 time=4.477 ms 64 bytes from 62.182.169.195: seq=1 ttl=63 time=0.933 ms 64 bytes from 62.182.169.195: seq=2 ttl=63 time=0.939 ms --- 62.182.169.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.933/2.116/4.477 ms 2026-06-18 14:11:48,627 - INFO - Ping to IP 62.182.169.195 from VM ctest-TestBasicPolicy-05376387-58870336 passed 2026-06-18 14:11:48,807 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0b173484-9042-4b1b-8236-9a8875cee827", "href": "http://10.0.0.38:8082/network-policy/0b173484-9042-4b1b-8236-9a8875cee827"}} 2026-06-18 14:11:48,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 14:11:48,807 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.182.169.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-18 14:11:48,807 - DEBUG - ping -s 56 -c 3 -W 1 62.182.169.195 2026-06-18 14:11:51,937 - DEBUG - PING 62.182.169.195 (62.182.169.195): 56 data bytes --- 62.182.169.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-18 14:11:51,937 - WARNING - Ping to IP 62.182.169.195 from VM ctest-TestBasicPolicy-05376387-58870336 failed 2026-06-18 14:11:51,938 - INFO - Deleting VM ctest-TestBasicPolicy-05376387-25097191 2026-06-18 14:11:52,005 - INFO - Deleting VM ctest-TestBasicPolicy-05376387-58870336 2026-06-18 14:11:52,341 - INFO - Deleted policy ctest-policy-allow-all-75846299 2026-06-18 14:11:52,342 - INFO - Deleting VN ctest-vn-03060978 2026-06-18 14:11:52,368 - DEBUG - VN b4f2fa65-22bf-4025-9300-83845a02faeb still in use: Unable to complete operation on network b4f2fa65-22bf-4025-9300-83845a02faeb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-efcebcfa-f366-4c9d-a5cf-39bc9762009c'] 2026-06-18 14:11:52,368 - WARNING - Deleting VN ctest-vn-03060978 failed..Will retry 2026-06-18 14:11:54,454 - DEBUG - Response for deleting network () 2026-06-18 14:11:54,454 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/10ce7b55-5be8-4aa4-b20c-d6355f652adc 2026-06-18 14:11:54,458 - DEBUG - Response Code: 404 2026-06-18 14:11:54,458 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-18 14:11:54,462 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fbd3fc36-612d-4093-a3df-8730abea2e9c 2026-06-18 14:11:54,517 - DEBUG - Requesting: http://10.0.0.38:8082/project/75c4c06e-4e2b-419b-966a-c2e52cf341ec 2026-06-18 14:11:54,586 - INFO - Validated that VN ctest-vn-03060978 is not found in API Server 2026-06-18 14:11:54,595 - DEBUG - VN ctest-vn-03060978 is not present in Agent 10.0.0.38 2026-06-18 14:11:54,595 - INFO - Validated that VN ctest-vn-03060978 is not in any agent 2026-06-18 14:11:54,610 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03060978 info 2026-06-18 14:11:54,611 - INFO - Deleting VN ctest-vn-50691767 2026-06-18 14:11:54,716 - DEBUG - Response for deleting network () 2026-06-18 14:11:54,717 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/02752c11-e2be-438a-a5f8-b3872dd2df0f 2026-06-18 14:11:54,724 - DEBUG - Response Code: 404 2026-06-18 14:11:54,724 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-18 14:11:54,729 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fbd3fc36-612d-4093-a3df-8730abea2e9c 2026-06-18 14:11:54,783 - DEBUG - Requesting: http://10.0.0.38:8082/project/75c4c06e-4e2b-419b-966a-c2e52cf341ec 2026-06-18 14:11:54,849 - INFO - Validated that VN ctest-vn-50691767 is not found in API Server 2026-06-18 14:11:54,859 - DEBUG - VN ctest-vn-50691767 is not present in Agent 10.0.0.38 2026-06-18 14:11:54,859 - INFO - Validated that VN ctest-vn-50691767 is not in any agent 2026-06-18 14:11:54,871 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50691767 info 2026-06-18 14:11:55,125 - DEBUG - No XMPP flaps were noticed during the test
2026-06-18 14:11:55,125 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:40]
2026-06-18 14:11:55,125 - INFO - -------------------------------------------------------------------------------- 2026-06-18 14:11:55,932 - INFO - Deleted project: ctest-TestBasicPolicy-05376387, ID : 75c4c06e-4e2b-419b-966a-c2e52cf341ec