2026-04-17 13:16:07,992 - INFO - Domain Default found not creating 2026-04-17 13:16:08,184 - INFO - Project ctest-TestBasicPolicy-09008455 not found, creating it 2026-04-17 13:16:08,667 - INFO - Created Project:ctest-TestBasicPolicy-09008455, ID : 55a89312-b4df-4cd5-bd7d-d4b686de8d77 2026-04-17 13:16:10,306 - INFO - ================================================================================ 2026-04-17 13:16:10,306 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-17 13:16:10,306 - 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-17 13:16:10,563 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-04-17 13:16:10,563 - INFO - Initial checks done. Running the testcase now 2026-04-17 13:16:10,563 - INFO - 2026-04-17 13:16:11,159 - DEBUG - Response for create_network : {'network': {'id': '89a5b01f-7ffd-4bcf-a531-59c2d042d096', 'name': 'ctest-vn-81661045', 'tenant_id': '55a89312b4df4cd5bd7dd4b686de8d77', 'project_id': '55a89312b4df4cd5bd7dd4b686de8d77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09008455', 'ctest-vn-81661045'], 'port_security_enabled': True, 'description': ''}} 2026-04-17 13:16:11,336 - DEBUG - Response for create_subnet : {'subnet': {'id': '279a00ae-c595-48c7-8755-060c35929129', 'name': '', 'tenant_id': '55a89312b4df4cd5bd7dd4b686de8d77', 'network_id': '89a5b01f-7ffd-4bcf-a531-59c2d042d096', 'ip_version': 4, 'cidr': '118.34.34.192/26', 'allocation_pools': [{'start': '118.34.34.194', 'end': '118.34.34.254'}], 'gateway_ip': '118.34.34.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.34.34.194', 'tags': [], 'project_id': '55a89312b4df4cd5bd7dd4b686de8d77'}} 2026-04-17 13:16:11,376 - INFO - Created VN ctest-vn-81661045 2026-04-17 13:16:11,432 - DEBUG - VN ctest-vn-81661045 UUID is 89a5b01f-7ffd-4bcf-a531-59c2d042d096 2026-04-17 13:16:11,735 - DEBUG - Response for create_network : {'network': {'id': '63f7c577-1786-415d-a242-617bae7eb2fb', 'name': 'ctest-vn-21103866', 'tenant_id': '55a89312b4df4cd5bd7dd4b686de8d77', 'project_id': '55a89312b4df4cd5bd7dd4b686de8d77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09008455', 'ctest-vn-21103866'], 'port_security_enabled': True, 'description': ''}} 2026-04-17 13:16:11,929 - DEBUG - Response for create_subnet : {'subnet': {'id': '7118a816-4d11-46d4-adf1-c326ce988ab3', 'name': '', 'tenant_id': '55a89312b4df4cd5bd7dd4b686de8d77', 'network_id': '63f7c577-1786-415d-a242-617bae7eb2fb', 'ip_version': 4, 'cidr': '213.44.226.0/26', 'allocation_pools': [{'start': '213.44.226.2', 'end': '213.44.226.62'}], 'gateway_ip': '213.44.226.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.44.226.2', 'tags': [], 'project_id': '55a89312b4df4cd5bd7dd4b686de8d77'}} 2026-04-17 13:16:11,947 - INFO - Created VN ctest-vn-21103866 2026-04-17 13:16:12,000 - DEBUG - VN ctest-vn-21103866 UUID is 63f7c577-1786-415d-a242-617bae7eb2fb 2026-04-17 13:16:12,121 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09008455:ctest-vn-81661045, 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-09008455:ctest-vn-21103866, 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-17 13:16:12,431 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '89a5b01f-7ffd-4bcf-a531-59c2d042d096', 'name': 'ctest-vn-81661045', 'tenant_id': '55a89312b4df4cd5bd7dd4b686de8d77', 'project_id': '55a89312b4df4cd5bd7dd4b686de8d77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['279a00ae-c595-48c7-8755-060c35929129'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09008455', 'ctest-vn-81661045'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09008455', 'ctest-policy-allow-all-68199259']], 'subnet_ipam': [{'subnet_cidr': '118.34.34.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-17 13:16:12,673 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '63f7c577-1786-415d-a242-617bae7eb2fb', 'name': 'ctest-vn-21103866', 'tenant_id': '55a89312b4df4cd5bd7dd4b686de8d77', 'project_id': '55a89312b4df4cd5bd7dd4b686de8d77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7118a816-4d11-46d4-adf1-c326ce988ab3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09008455', 'ctest-vn-21103866'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09008455', 'ctest-policy-allow-all-68199259']], 'subnet_ipam': [{'subnet_cidr': '213.44.226.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-17 13:16:12,832 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-17 13:16:13,170 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-17 13:16:13,204 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ada04e8a-ef92-4771-be7e-98757d3df2a1 2026-04-17 13:16:13,217 - DEBUG - Requesting: http://10.0.0.38:8082/project/55a89312-b4df-4cd5-bd7d-d4b686de8d77 2026-04-17 13:16:13,288 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/89a5b01f-7ffd-4bcf-a531-59c2d042d096 2026-04-17 13:16:13,299 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/89a5b01f-7ffd-4bcf-a531-59c2d042d096 2026-04-17 13:16:13,308 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/051ab7ea-46f9-4e0f-923d-a770328d388a 2026-04-17 13:16:13,316 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/051ab7ea-46f9-4e0f-923d-a770328d388a 2026-04-17 13:16:13,324 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e449c1e7-2a13-41a5-b2fa-b0284431f647 2026-04-17 13:16:13,331 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-17 13:16:13,331 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/89a5b01f-7ffd-4bcf-a531-59c2d042d096 2026-04-17 13:16:13,340 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/051ab7ea-46f9-4e0f-923d-a770328d388a 2026-04-17 13:16:13,356 - INFO - Verified VN network id 11 for VN 89a5b01f-7ffd-4bcf-a531-59c2d042d096 2026-04-17 13:16:13,356 - INFO - Verifications in API Server for VN ctest-vn-81661045 passed 2026-04-17 13:16:13,356 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/89a5b01f-7ffd-4bcf-a531-59c2d042d096 2026-04-17 13:16:13,367 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/051ab7ea-46f9-4e0f-923d-a770328d388a 2026-04-17 13:16:13,375 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/051ab7ea-46f9-4e0f-923d-a770328d388a 2026-04-17 13:16:13,382 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e449c1e7-2a13-41a5-b2fa-b0284431f647 2026-04-17 13:16:13,394 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09008455:ctest-vn-81661045', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09008455', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9918527403691166671', 'uuid-lslong': '11903393983369498774'}, 'enable': 'true', 'created': '2026-04-17T13:16:11', 'last-modified': '2026-04-17T13:16:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.987352'} 2026-04-17 13:16:13,400 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-17 13:16:13,400 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81661045 passed 2026-04-17 13:16:13,400 - DEBUG - ====Verifying policy data for ctest-vn-81661045 in API_Server ====== 2026-04-17 13:16:13,401 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-17 13:16:13,407 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ada04e8a-ef92-4771-be7e-98757d3df2a1 2026-04-17 13:16:13,419 - DEBUG - Requesting: http://10.0.0.38:8082/project/55a89312-b4df-4cd5-bd7d-d4b686de8d77 2026-04-17 13:16:13,493 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/89a5b01f-7ffd-4bcf-a531-59c2d042d096 2026-04-17 13:16:13,505 - DEBUG - ==>Verifying data for policy with id: 17c90f7b-9b8a-4bf0-a11f-c56a545ad94c, fqn: ['default-domain', 'ctest-TestBasicPolicy-09008455', 'ctest-policy-allow-all-68199259'] 2026-04-17 13:16:13,505 - INFO - VN ctest-vn-81661045 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-17 13:16:13,505 - DEBUG - Verifying the vn in opserver 2026-04-17 13:16:13,505 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09008455:ctest-vn-81661045 virtual network link through opserver 10.0.0.38 2026-04-17 13:16:13,506 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-17 13:16:13,841 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-17 13:16:13,946 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09008455:ctest-vn-81661045', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09008455:ctest-vn-81661045?flat'} 2026-04-17 13:16:13,947 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09008455:ctest-vn-81661045 is found in opserver 2026-04-17 13:16:13,958 - DEBUG - Do not have enough data to verify VN in agent 2026-04-17 13:16:13,963 - DEBUG - VRF ids for VN ctest-vn-81661045: {} 2026-04-17 13:16:13,963 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-17 13:16:14,013 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ada04e8a-ef92-4771-be7e-98757d3df2a1 2026-04-17 13:16:14,050 - DEBUG - Requesting: http://10.0.0.38:8082/project/55a89312-b4df-4cd5-bd7d-d4b686de8d77 2026-04-17 13:16:14,150 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/63f7c577-1786-415d-a242-617bae7eb2fb 2026-04-17 13:16:14,172 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/63f7c577-1786-415d-a242-617bae7eb2fb 2026-04-17 13:16:14,185 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5365c45a-e871-4ca2-b6f3-4580503e3ef5 2026-04-17 13:16:14,200 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5365c45a-e871-4ca2-b6f3-4580503e3ef5 2026-04-17 13:16:14,219 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/370de130-78ac-48b0-baec-89fc40658698 2026-04-17 13:16:14,237 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-17 13:16:14,237 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/63f7c577-1786-415d-a242-617bae7eb2fb 2026-04-17 13:16:14,253 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5365c45a-e871-4ca2-b6f3-4580503e3ef5 2026-04-17 13:16:14,272 - INFO - Verified VN network id 12 for VN 63f7c577-1786-415d-a242-617bae7eb2fb 2026-04-17 13:16:14,273 - INFO - Verifications in API Server for VN ctest-vn-21103866 passed 2026-04-17 13:16:14,273 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/63f7c577-1786-415d-a242-617bae7eb2fb 2026-04-17 13:16:14,292 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5365c45a-e871-4ca2-b6f3-4580503e3ef5 2026-04-17 13:16:14,304 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5365c45a-e871-4ca2-b6f3-4580503e3ef5 2026-04-17 13:16:14,313 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/370de130-78ac-48b0-baec-89fc40658698 2026-04-17 13:16:14,326 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09008455:ctest-vn-21103866', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09008455', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7203443244288852317', 'uuid-lslong': '11692014766443639547'}, 'enable': 'true', 'created': '2026-04-17T13:16:11', 'last-modified': '2026-04-17T13:16:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.679411'} 2026-04-17 13:16:14,334 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-17 13:16:14,334 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21103866 passed 2026-04-17 13:16:14,334 - DEBUG - ====Verifying policy data for ctest-vn-21103866 in API_Server ====== 2026-04-17 13:16:14,334 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-17 13:16:14,351 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ada04e8a-ef92-4771-be7e-98757d3df2a1 2026-04-17 13:16:14,420 - DEBUG - Requesting: http://10.0.0.38:8082/project/55a89312-b4df-4cd5-bd7d-d4b686de8d77 2026-04-17 13:16:14,584 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/63f7c577-1786-415d-a242-617bae7eb2fb 2026-04-17 13:16:14,604 - DEBUG - ==>Verifying data for policy with id: 17c90f7b-9b8a-4bf0-a11f-c56a545ad94c, fqn: ['default-domain', 'ctest-TestBasicPolicy-09008455', 'ctest-policy-allow-all-68199259'] 2026-04-17 13:16:14,604 - INFO - VN ctest-vn-21103866 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-17 13:16:14,604 - DEBUG - Verifying the vn in opserver 2026-04-17 13:16:14,604 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09008455:ctest-vn-21103866 virtual network link through opserver 10.0.0.38 2026-04-17 13:16:14,604 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-17 13:16:14,620 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09008455:ctest-vn-21103866', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09008455:ctest-vn-21103866?flat'} 2026-04-17 13:16:14,621 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09008455:ctest-vn-21103866 is found in opserver 2026-04-17 13:16:14,638 - DEBUG - Do not have enough data to verify VN in agent 2026-04-17 13:16:14,643 - DEBUG - VRF ids for VN ctest-vn-21103866: {} 2026-04-17 13:16:14,736 - DEBUG - Services list from nova: [, , ] 2026-04-17 13:16:15,915 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5635-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5635-1) 2026-04-17 13:16:17,197 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5635-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5635-1) 2026-04-17 13:16:17,197 - INFO - Waiting for VM ctest-TestBasicPolicy-09008455-03058828 to be up.. 2026-04-17 13:16:17,300 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-17 13:16:22,383 - DEBUG - VM is in ACTIVE state now 2026-04-17 13:16:22,383 - INFO - VM name : ctest-TestBasicPolicy-09008455-03058828 2026-04-17 13:16:22,465 - DEBUG - VM ctest-TestBasicPolicy-09008455-03058828 ID is 69631300-c089-41a4-a904-225b19925471 2026-04-17 13:16:22,488 - DEBUG - VM ctest-TestBasicPolicy-09008455-03058828 launched on Node cn-jenkins-deploy-platform-ansible-os-5635-1 2026-04-17 13:16:22,567 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/69631300-c089-41a4-a904-225b19925471 2026-04-17 13:16:22,576 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/597047f7-76be-4eb0-b7ce-6c8645ba1728 2026-04-17 13:16:25,843 - 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 1026ms') 2026-04-17 13:16:25,843 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09008455-03058828 failed! 2026-04-17 13:16:25,904 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-09008455:ctest-vn-81661045 is 118.34.34.193 and allocation pool is NOT set 2026-04-17 13:16:27,970 - 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=6.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.94 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.944/4.135/6.326/2.191 ms') 2026-04-17 13:16:27,971 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09008455-03058828 passed 2026-04-17 13:16:28,124 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 13:16:28,124 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09008455-03058828, IP 118.34.34.195, Port 22 2026-04-17 13:16:28,190 - 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-17 13:16:28,275 - DEBUG - VM ctest-TestBasicPolicy-09008455-03058828 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-17 13:16:33,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 13:16:33,276 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09008455-03058828, IP 118.34.34.195, Port 22 2026-04-17 13:16:33,431 - DEBUG - VM ctest-TestBasicPolicy-09008455-03058828 is ready for SSH connections 2026-04-17 13:16:33,431 - INFO - Waiting for VM ctest-TestBasicPolicy-09008455-76142283 to be up.. 2026-04-17 13:16:33,514 - DEBUG - VM is in ACTIVE state now 2026-04-17 13:16:33,514 - INFO - VM name : ctest-TestBasicPolicy-09008455-76142283 2026-04-17 13:16:33,599 - DEBUG - VM ctest-TestBasicPolicy-09008455-76142283 ID is 20c04a7e-6593-4425-8088-b5b4263fe796 2026-04-17 13:16:33,599 - DEBUG - VM ctest-TestBasicPolicy-09008455-76142283 launched on Node cn-jenkins-deploy-platform-ansible-os-5635-1 2026-04-17 13:16:33,682 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/20c04a7e-6593-4425-8088-b5b4263fe796 2026-04-17 13:16:33,691 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7044d288-60a2-4156-958b-b066bd06a44a 2026-04-17 13:16:34,935 - 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.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.475 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.475/1.940/3.405/1.465 ms') 2026-04-17 13:16:34,935 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-09008455-76142283 passed 2026-04-17 13:16:35,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 13:16:35,096 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09008455-76142283, IP 213.44.226.3, Port 22 2026-04-17 13:16:35,255 - DEBUG - VM ctest-TestBasicPolicy-09008455-76142283 is ready for SSH connections 2026-04-17 13:16:35,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 13:16:35,255 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.44.226.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-17 13:16:35,256 - DEBUG - ping -s 56 -c 3 -W 1 213.44.226.3 2026-04-17 13:16:39,358 - DEBUG - PING 213.44.226.3 (213.44.226.3): 56 data bytes 64 bytes from 213.44.226.3: seq=0 ttl=63 time=3.708 ms 64 bytes from 213.44.226.3: seq=1 ttl=63 time=1.025 ms 64 bytes from 213.44.226.3: seq=2 ttl=63 time=0.948 ms --- 213.44.226.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.948/1.893/3.708 ms 2026-04-17 13:16:39,359 - INFO - Ping to IP 213.44.226.3 from VM ctest-TestBasicPolicy-09008455-03058828 passed 2026-04-17 13:16:39,540 - DEBUG - Policy Update Response {"network-policy": {"uuid": "17c90f7b-9b8a-4bf0-a11f-c56a545ad94c", "href": "http://10.0.0.38:8082/network-policy/17c90f7b-9b8a-4bf0-a11f-c56a545ad94c"}} 2026-04-17 13:16:39,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 13:16:39,540 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.44.226.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-17 13:16:39,540 - DEBUG - ping -s 56 -c 3 -W 1 213.44.226.3 2026-04-17 13:16:42,779 - DEBUG - PING 213.44.226.3 (213.44.226.3): 56 data bytes --- 213.44.226.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-17 13:16:42,780 - WARNING - Ping to IP 213.44.226.3 from VM ctest-TestBasicPolicy-09008455-03058828 failed 2026-04-17 13:16:42,780 - INFO - Deleting VM ctest-TestBasicPolicy-09008455-76142283 2026-04-17 13:16:42,855 - INFO - Deleting VM ctest-TestBasicPolicy-09008455-03058828 2026-04-17 13:16:43,244 - INFO - Deleted policy ctest-policy-allow-all-68199259 2026-04-17 13:16:43,244 - INFO - Deleting VN ctest-vn-21103866 2026-04-17 13:16:43,283 - DEBUG - VN 63f7c577-1786-415d-a242-617bae7eb2fb still in use: Unable to complete operation on network 63f7c577-1786-415d-a242-617bae7eb2fb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-16d5cb2d-3f02-4ac2-a732-3797a50a5c40'] 2026-04-17 13:16:43,283 - WARNING - Deleting VN ctest-vn-21103866 failed..Will retry 2026-04-17 13:16:45,385 - DEBUG - Response for deleting network () 2026-04-17 13:16:45,385 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5365c45a-e871-4ca2-b6f3-4580503e3ef5 2026-04-17 13:16:45,392 - DEBUG - Response Code: 404 2026-04-17 13:16:45,392 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-17 13:16:45,397 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ada04e8a-ef92-4771-be7e-98757d3df2a1 2026-04-17 13:16:45,450 - DEBUG - Requesting: http://10.0.0.38:8082/project/55a89312-b4df-4cd5-bd7d-d4b686de8d77 2026-04-17 13:16:45,532 - INFO - Validated that VN ctest-vn-21103866 is not found in API Server 2026-04-17 13:16:45,544 - DEBUG - VN ctest-vn-21103866 is not present in Agent 10.0.0.38 2026-04-17 13:16:45,544 - INFO - Validated that VN ctest-vn-21103866 is not in any agent 2026-04-17 13:16:45,559 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21103866 info 2026-04-17 13:16:45,559 - INFO - Deleting VN ctest-vn-81661045 2026-04-17 13:16:45,661 - DEBUG - Response for deleting network () 2026-04-17 13:16:45,661 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/051ab7ea-46f9-4e0f-923d-a770328d388a 2026-04-17 13:16:45,671 - DEBUG - Response Code: 404 2026-04-17 13:16:45,671 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-17 13:16:45,676 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ada04e8a-ef92-4771-be7e-98757d3df2a1 2026-04-17 13:16:45,729 - DEBUG - Requesting: http://10.0.0.38:8082/project/55a89312-b4df-4cd5-bd7d-d4b686de8d77 2026-04-17 13:16:45,797 - INFO - Validated that VN ctest-vn-81661045 is not found in API Server 2026-04-17 13:16:45,807 - DEBUG - VN ctest-vn-81661045 is not present in Agent 10.0.0.38 2026-04-17 13:16:45,807 - INFO - Validated that VN ctest-vn-81661045 is not in any agent 2026-04-17 13:16:45,820 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81661045 info 2026-04-17 13:16:46,075 - DEBUG - No XMPP flaps were noticed during the test 2026-04-17 13:16:46,075 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2026-04-17 13:16:46,075 - INFO - -------------------------------------------------------------------------------- 2026-04-17 13:16:46,814 - INFO - Deleted project: ctest-TestBasicPolicy-09008455, ID : 55a89312-b4df-4cd5-bd7d-d4b686de8d77