2026-04-20 18:10:47,805 - INFO - Domain Default found not creating 2026-04-20 18:10:48,027 - INFO - Project ctest-TestBasicPolicy-76305149 not found, creating it 2026-04-20 18:10:48,561 - INFO - Created Project:ctest-TestBasicPolicy-76305149, ID : 657c1414-b23c-4969-a5ad-99b29a253782 2026-04-20 18:10:50,450 - INFO - ================================================================================ 2026-04-20 18:10:50,450 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-20 18:10:50,450 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-04-20 18:10:50,707 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2026-04-20 18:10:50,707 - INFO - Initial checks done. Running the testcase now 2026-04-20 18:10:50,707 - INFO - 2026-04-20 18:10:51,284 - DEBUG - Response for create_network : {'network': {'id': 'e2ea1b69-8cbf-4e96-ba10-b6e8223787a1', 'name': 'ctest-vn-27061598', 'tenant_id': '657c1414b23c4969a5ad99b29a253782', 'project_id': '657c1414b23c4969a5ad99b29a253782', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76305149', 'ctest-vn-27061598'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 18:10:51,475 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f96ab6d-0515-491b-9f4e-9448747e93e8', 'name': '', 'tenant_id': '657c1414b23c4969a5ad99b29a253782', 'network_id': 'e2ea1b69-8cbf-4e96-ba10-b6e8223787a1', 'ip_version': 4, 'cidr': '214.199.155.128/26', 'allocation_pools': [{'start': '214.199.155.130', 'end': '214.199.155.190'}], 'gateway_ip': '214.199.155.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.199.155.130', 'tags': [], 'project_id': '657c1414b23c4969a5ad99b29a253782'}} 2026-04-20 18:10:51,496 - INFO - Created VN ctest-vn-27061598 2026-04-20 18:10:51,549 - DEBUG - VN ctest-vn-27061598 UUID is e2ea1b69-8cbf-4e96-ba10-b6e8223787a1 2026-04-20 18:10:51,853 - DEBUG - Response for create_network : {'network': {'id': 'ad2ada10-921b-4a4b-96e0-dfc917c69dc8', 'name': 'ctest-vn-53388500', 'tenant_id': '657c1414b23c4969a5ad99b29a253782', 'project_id': '657c1414b23c4969a5ad99b29a253782', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76305149', 'ctest-vn-53388500'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 18:10:52,087 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b9f25ec-cb3b-4ec2-98dd-3f59c95d5cb3', 'name': '', 'tenant_id': '657c1414b23c4969a5ad99b29a253782', 'network_id': 'ad2ada10-921b-4a4b-96e0-dfc917c69dc8', 'ip_version': 4, 'cidr': '196.228.176.0/26', 'allocation_pools': [{'start': '196.228.176.2', 'end': '196.228.176.62'}], 'gateway_ip': '196.228.176.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.228.176.2', 'tags': [], 'project_id': '657c1414b23c4969a5ad99b29a253782'}} 2026-04-20 18:10:52,110 - INFO - Created VN ctest-vn-53388500 2026-04-20 18:10:52,165 - DEBUG - VN ctest-vn-53388500 UUID is ad2ada10-921b-4a4b-96e0-dfc917c69dc8 2026-04-20 18:10:52,295 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-76305149:ctest-vn-27061598, 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-76305149:ctest-vn-53388500, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-04-20 18:10:52,627 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e2ea1b69-8cbf-4e96-ba10-b6e8223787a1', 'name': 'ctest-vn-27061598', 'tenant_id': '657c1414b23c4969a5ad99b29a253782', 'project_id': '657c1414b23c4969a5ad99b29a253782', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8f96ab6d-0515-491b-9f4e-9448747e93e8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76305149', 'ctest-vn-27061598'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76305149', 'ctest-policy-allow-all-41233540']], 'subnet_ipam': [{'subnet_cidr': '214.199.155.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-20 18:10:52,866 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ad2ada10-921b-4a4b-96e0-dfc917c69dc8', 'name': 'ctest-vn-53388500', 'tenant_id': '657c1414b23c4969a5ad99b29a253782', 'project_id': '657c1414b23c4969a5ad99b29a253782', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9b9f25ec-cb3b-4ec2-98dd-3f59c95d5cb3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76305149', 'ctest-vn-53388500'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76305149', 'ctest-policy-allow-all-41233540']], 'subnet_ipam': [{'subnet_cidr': '196.228.176.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-20 18:10:53,037 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-04-20 18:10:53,342 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-04-20 18:10:53,382 - DEBUG - Requesting: http://10.0.0.22:8082/domain/889d0d15-c3e0-43c9-a34b-dc5056337385 2026-04-20 18:10:53,396 - DEBUG - Requesting: http://10.0.0.22:8082/project/657c1414-b23c-4969-a5ad-99b29a253782 2026-04-20 18:10:53,470 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e2ea1b69-8cbf-4e96-ba10-b6e8223787a1 2026-04-20 18:10:53,489 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e2ea1b69-8cbf-4e96-ba10-b6e8223787a1 2026-04-20 18:10:53,500 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/fecb488b-4d61-4134-acaa-8239f17dea2e 2026-04-20 18:10:53,508 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/fecb488b-4d61-4134-acaa-8239f17dea2e 2026-04-20 18:10:53,516 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/2fb9c683-7fc1-4b56-a02c-a92218747ad1 2026-04-20 18:10:53,525 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-20 18:10:53,525 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e2ea1b69-8cbf-4e96-ba10-b6e8223787a1 2026-04-20 18:10:53,536 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/fecb488b-4d61-4134-acaa-8239f17dea2e 2026-04-20 18:10:53,552 - INFO - Verified VN network id 12 for VN e2ea1b69-8cbf-4e96-ba10-b6e8223787a1 2026-04-20 18:10:53,552 - INFO - Verifications in API Server for VN ctest-vn-27061598 passed 2026-04-20 18:10:53,552 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e2ea1b69-8cbf-4e96-ba10-b6e8223787a1 2026-04-20 18:10:53,562 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/fecb488b-4d61-4134-acaa-8239f17dea2e 2026-04-20 18:10:53,571 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/fecb488b-4d61-4134-acaa-8239f17dea2e 2026-04-20 18:10:53,579 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/2fb9c683-7fc1-4b56-a02c-a92218747ad1 2026-04-20 18:10:53,591 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76305149:ctest-vn-27061598', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76305149', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16350911537268870806', 'uuid-lslong': '13407417198804699041'}, 'enable': 'true', 'created': '2026-04-20T18:10:51', 'last-modified': '2026-04-20T18:10:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.995007'} 2026-04-20 18:10:53,598 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-20 18:10:53,598 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27061598 passed 2026-04-20 18:10:53,598 - DEBUG - ====Verifying policy data for ctest-vn-27061598 in API_Server ====== 2026-04-20 18:10:53,598 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-04-20 18:10:53,605 - DEBUG - Requesting: http://10.0.0.22:8082/domain/889d0d15-c3e0-43c9-a34b-dc5056337385 2026-04-20 18:10:53,617 - DEBUG - Requesting: http://10.0.0.22:8082/project/657c1414-b23c-4969-a5ad-99b29a253782 2026-04-20 18:10:53,690 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e2ea1b69-8cbf-4e96-ba10-b6e8223787a1 2026-04-20 18:10:53,700 - DEBUG - ==>Verifying data for policy with id: 32951c03-34c5-4932-8464-0e17b9467e71, fqn: ['default-domain', 'ctest-TestBasicPolicy-76305149', 'ctest-policy-allow-all-41233540'] 2026-04-20 18:10:53,700 - INFO - VN ctest-vn-27061598 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-20 18:10:53,700 - DEBUG - Verifying the vn in opserver 2026-04-20 18:10:53,700 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76305149:ctest-vn-27061598 virtual network link through opserver 10.0.0.22 2026-04-20 18:10:53,701 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-04-20 18:10:53,997 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-04-20 18:10:54,075 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76305149:ctest-vn-27061598', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76305149:ctest-vn-27061598?flat'} 2026-04-20 18:10:54,075 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76305149:ctest-vn-27061598 is found in opserver 2026-04-20 18:10:54,091 - DEBUG - Do not have enough data to verify VN in agent 2026-04-20 18:10:54,105 - DEBUG - VRF ids for VN ctest-vn-27061598: {} 2026-04-20 18:10:54,105 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-04-20 18:10:54,114 - DEBUG - Requesting: http://10.0.0.22:8082/domain/889d0d15-c3e0-43c9-a34b-dc5056337385 2026-04-20 18:10:54,129 - DEBUG - Requesting: http://10.0.0.22:8082/project/657c1414-b23c-4969-a5ad-99b29a253782 2026-04-20 18:10:54,203 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ad2ada10-921b-4a4b-96e0-dfc917c69dc8 2026-04-20 18:10:54,218 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ad2ada10-921b-4a4b-96e0-dfc917c69dc8 2026-04-20 18:10:54,228 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c8d737bb-4fda-43e2-b7cd-229122ad11fc 2026-04-20 18:10:54,237 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c8d737bb-4fda-43e2-b7cd-229122ad11fc 2026-04-20 18:10:54,246 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/5299946c-2a32-477e-aa69-e77865bf5e0c 2026-04-20 18:10:54,254 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-20 18:10:54,254 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ad2ada10-921b-4a4b-96e0-dfc917c69dc8 2026-04-20 18:10:54,264 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c8d737bb-4fda-43e2-b7cd-229122ad11fc 2026-04-20 18:10:54,283 - INFO - Verified VN network id 13 for VN ad2ada10-921b-4a4b-96e0-dfc917c69dc8 2026-04-20 18:10:54,283 - INFO - Verifications in API Server for VN ctest-vn-53388500 passed 2026-04-20 18:10:54,283 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ad2ada10-921b-4a4b-96e0-dfc917c69dc8 2026-04-20 18:10:54,295 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c8d737bb-4fda-43e2-b7cd-229122ad11fc 2026-04-20 18:10:54,306 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c8d737bb-4fda-43e2-b7cd-229122ad11fc 2026-04-20 18:10:54,316 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/5299946c-2a32-477e-aa69-e77865bf5e0c 2026-04-20 18:10:54,332 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76305149:ctest-vn-53388500', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76305149', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12478025482288974411', 'uuid-lslong': '10871935555252690376'}, 'enable': 'true', 'created': '2026-04-20T18:10:51', 'last-modified': '2026-04-20T18:10:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.493093'} 2026-04-20 18:10:54,339 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-20 18:10:54,339 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53388500 passed 2026-04-20 18:10:54,339 - DEBUG - ====Verifying policy data for ctest-vn-53388500 in API_Server ====== 2026-04-20 18:10:54,339 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-04-20 18:10:54,346 - DEBUG - Requesting: http://10.0.0.22:8082/domain/889d0d15-c3e0-43c9-a34b-dc5056337385 2026-04-20 18:10:54,360 - DEBUG - Requesting: http://10.0.0.22:8082/project/657c1414-b23c-4969-a5ad-99b29a253782 2026-04-20 18:10:54,432 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ad2ada10-921b-4a4b-96e0-dfc917c69dc8 2026-04-20 18:10:54,443 - DEBUG - ==>Verifying data for policy with id: 32951c03-34c5-4932-8464-0e17b9467e71, fqn: ['default-domain', 'ctest-TestBasicPolicy-76305149', 'ctest-policy-allow-all-41233540'] 2026-04-20 18:10:54,444 - INFO - VN ctest-vn-53388500 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-20 18:10:54,444 - DEBUG - Verifying the vn in opserver 2026-04-20 18:10:54,444 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76305149:ctest-vn-53388500 virtual network link through opserver 10.0.0.22 2026-04-20 18:10:54,444 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-04-20 18:10:54,459 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76305149:ctest-vn-53388500', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76305149:ctest-vn-53388500?flat'} 2026-04-20 18:10:54,459 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76305149:ctest-vn-53388500 is found in opserver 2026-04-20 18:10:54,470 - DEBUG - Do not have enough data to verify VN in agent 2026-04-20 18:10:54,476 - DEBUG - VRF ids for VN ctest-vn-53388500: {} 2026-04-20 18:10:54,542 - DEBUG - Services list from nova: [, , ] 2026-04-20 18:10:55,998 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5656-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5656-1) 2026-04-20 18:10:57,274 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5656-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5656-1) 2026-04-20 18:10:57,274 - INFO - Waiting for VM ctest-TestBasicPolicy-76305149-06941567 to be up.. 2026-04-20 18:10:57,364 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-20 18:11:02,455 - DEBUG - VM is in ACTIVE state now 2026-04-20 18:11:02,455 - INFO - VM name : ctest-TestBasicPolicy-76305149-06941567 2026-04-20 18:11:02,581 - DEBUG - VM ctest-TestBasicPolicy-76305149-06941567 ID is a80a8fdd-f82c-4244-8fd7-06f615ce74c1 2026-04-20 18:11:02,606 - DEBUG - VM ctest-TestBasicPolicy-76305149-06941567 launched on Node cn-jenkins-deploy-platform-ansible-os-5656-1 2026-04-20 18:11:02,699 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/a80a8fdd-f82c-4244-8fd7-06f615ce74c1 2026-04-20 18:11:02,709 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ecf01f26-5a48-4547-ab17-d07ac8827e59 2026-04-20 18:11:05,980 - 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 1024ms') 2026-04-20 18:11:05,980 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76305149-06941567 failed! 2026-04-20 18:11:06,041 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-76305149:ctest-vn-27061598 is 214.199.155.129 and allocation pool is NOT set 2026-04-20 18:11:08,104 - 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=11.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.05 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.053/7.077/11.101/4.024 ms') 2026-04-20 18:11:08,104 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76305149-06941567 passed 2026-04-20 18:11:08,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 18:11:08,253 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76305149-06941567, IP 214.199.155.131, Port 22 2026-04-20 18:11:08,320 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-04-20 18:11:08,433 - DEBUG - VM ctest-TestBasicPolicy-76305149-06941567 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-20 18:11:13,434 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 18:11:13,435 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76305149-06941567, IP 214.199.155.131, Port 22 2026-04-20 18:11:13,603 - DEBUG - VM ctest-TestBasicPolicy-76305149-06941567 is ready for SSH connections 2026-04-20 18:11:13,604 - INFO - Waiting for VM ctest-TestBasicPolicy-76305149-19925223 to be up.. 2026-04-20 18:11:13,700 - DEBUG - VM is in ACTIVE state now 2026-04-20 18:11:13,700 - INFO - VM name : ctest-TestBasicPolicy-76305149-19925223 2026-04-20 18:11:13,787 - DEBUG - VM ctest-TestBasicPolicy-76305149-19925223 ID is 2d608a87-6a9c-4007-9bef-fcf5f2ed17de 2026-04-20 18:11:13,788 - DEBUG - VM ctest-TestBasicPolicy-76305149-19925223 launched on Node cn-jenkins-deploy-platform-ansible-os-5656-1 2026-04-20 18:11:13,883 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2d608a87-6a9c-4007-9bef-fcf5f2ed17de 2026-04-20 18:11:13,894 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d1989d76-751a-4300-87e5-8db2d14f6fd9 2026-04-20 18:11:15,146 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.463 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.463/1.736/3.009/1.273 ms') 2026-04-20 18:11:15,146 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-76305149-19925223 passed 2026-04-20 18:11:15,297 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 18:11:15,297 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76305149-19925223, IP 196.228.176.3, Port 22 2026-04-20 18:11:15,456 - DEBUG - VM ctest-TestBasicPolicy-76305149-19925223 is ready for SSH connections 2026-04-20 18:11:15,456 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 18:11:15,456 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.228.176.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-04-20 18:11:15,456 - DEBUG - ping -s 56 -c 3 -W 1 196.228.176.3 2026-04-20 18:11:19,598 - DEBUG - PING 196.228.176.3 (196.228.176.3): 56 data bytes 64 bytes from 196.228.176.3: seq=0 ttl=63 time=4.878 ms 64 bytes from 196.228.176.3: seq=1 ttl=63 time=1.109 ms 64 bytes from 196.228.176.3: seq=2 ttl=63 time=0.976 ms --- 196.228.176.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.976/2.321/4.878 ms 2026-04-20 18:11:19,599 - INFO - Ping to IP 196.228.176.3 from VM ctest-TestBasicPolicy-76305149-06941567 passed 2026-04-20 18:11:19,780 - DEBUG - Policy Update Response {"network-policy": {"uuid": "32951c03-34c5-4932-8464-0e17b9467e71", "href": "http://10.0.0.22:8082/network-policy/32951c03-34c5-4932-8464-0e17b9467e71"}} 2026-04-20 18:11:19,781 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 18:11:19,781 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.228.176.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-04-20 18:11:19,781 - DEBUG - ping -s 56 -c 3 -W 1 196.228.176.3 2026-04-20 18:11:23,042 - DEBUG - PING 196.228.176.3 (196.228.176.3): 56 data bytes --- 196.228.176.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-20 18:11:23,043 - WARNING - Ping to IP 196.228.176.3 from VM ctest-TestBasicPolicy-76305149-06941567 failed 2026-04-20 18:11:23,043 - INFO - Deleting VM ctest-TestBasicPolicy-76305149-19925223 2026-04-20 18:11:23,132 - INFO - Deleting VM ctest-TestBasicPolicy-76305149-06941567 2026-04-20 18:11:23,562 - INFO - Deleted policy ctest-policy-allow-all-41233540 2026-04-20 18:11:23,563 - INFO - Deleting VN ctest-vn-53388500 2026-04-20 18:11:23,604 - DEBUG - VN ad2ada10-921b-4a4b-96e0-dfc917c69dc8 still in use: Unable to complete operation on network ad2ada10-921b-4a4b-96e0-dfc917c69dc8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-76ce701b-4137-4c64-8a9b-febd4aa3efea'] 2026-04-20 18:11:23,604 - WARNING - Deleting VN ctest-vn-53388500 failed..Will retry 2026-04-20 18:11:25,725 - DEBUG - Response for deleting network () 2026-04-20 18:11:25,726 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c8d737bb-4fda-43e2-b7cd-229122ad11fc 2026-04-20 18:11:25,734 - DEBUG - Response Code: 404 2026-04-20 18:11:25,735 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-04-20 18:11:25,748 - DEBUG - Requesting: http://10.0.0.22:8082/domain/889d0d15-c3e0-43c9-a34b-dc5056337385 2026-04-20 18:11:25,812 - DEBUG - Requesting: http://10.0.0.22:8082/project/657c1414-b23c-4969-a5ad-99b29a253782 2026-04-20 18:11:25,898 - INFO - Validated that VN ctest-vn-53388500 is not found in API Server 2026-04-20 18:11:25,910 - DEBUG - VN ctest-vn-53388500 is not present in Agent 10.0.0.22 2026-04-20 18:11:25,910 - INFO - Validated that VN ctest-vn-53388500 is not in any agent 2026-04-20 18:11:25,926 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53388500 info 2026-04-20 18:11:25,927 - INFO - Deleting VN ctest-vn-27061598 2026-04-20 18:11:26,039 - DEBUG - Response for deleting network () 2026-04-20 18:11:26,039 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/fecb488b-4d61-4134-acaa-8239f17dea2e 2026-04-20 18:11:26,047 - DEBUG - Response Code: 404 2026-04-20 18:11:26,047 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-04-20 18:11:26,053 - DEBUG - Requesting: http://10.0.0.22:8082/domain/889d0d15-c3e0-43c9-a34b-dc5056337385 2026-04-20 18:11:26,106 - DEBUG - Requesting: http://10.0.0.22:8082/project/657c1414-b23c-4969-a5ad-99b29a253782 2026-04-20 18:11:26,184 - INFO - Validated that VN ctest-vn-27061598 is not found in API Server 2026-04-20 18:11:26,194 - DEBUG - VN ctest-vn-27061598 is not present in Agent 10.0.0.22 2026-04-20 18:11:26,194 - INFO - Validated that VN ctest-vn-27061598 is not in any agent 2026-04-20 18:11:26,209 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27061598 info 2026-04-20 18:11:26,471 - DEBUG - No XMPP flaps were noticed during the test
2026-04-20 18:11:26,471 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-04-20 18:11:26,471 - INFO - -------------------------------------------------------------------------------- 2026-04-20 18:11:27,216 - INFO - Deleted project: ctest-TestBasicPolicy-76305149, ID : 657c1414-b23c-4969-a5ad-99b29a253782