2026-09-23 12:59:22,935 - INFO - Domain Default found not creating 2026-09-23 12:59:23,191 - INFO - Project ctest-TestBasicPolicy-00165113 not found, creating it 2026-09-23 12:59:23,797 - INFO - Created Project:ctest-TestBasicPolicy-00165113, ID : 048c973f-2abc-4ac9-8aaa-eca52955c04b 2026-09-23 12:59:25,833 - INFO - ================================================================================ 2026-09-23 12:59:25,833 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-23 12:59:25,833 - 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-09-23 12:59:26,115 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.25': '0'}} with 2026-09-23 12:59:26,115 - INFO - Initial checks done. Running the testcase now 2026-09-23 12:59:26,115 - INFO - 2026-09-23 12:59:26,812 - DEBUG - Response for create_network : {'network': {'id': '1688f46f-a287-47e5-864c-07bde30c78fa', 'name': 'ctest-vn-54285393', 'tenant_id': '048c973f2abc4ac98aaaeca52955c04b', 'project_id': '048c973f2abc4ac98aaaeca52955c04b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00165113', 'ctest-vn-54285393'], 'port_security_enabled': True, 'description': ''}} 2026-09-23 12:59:27,064 - DEBUG - Response for create_subnet : {'subnet': {'id': '35ebff33-28f4-48c1-ade5-9ea2ddd8b6f1', 'name': '', 'tenant_id': '048c973f2abc4ac98aaaeca52955c04b', 'network_id': '1688f46f-a287-47e5-864c-07bde30c78fa', 'ip_version': 4, 'cidr': '103.90.122.128/26', 'allocation_pools': [{'start': '103.90.122.130', 'end': '103.90.122.190'}], 'gateway_ip': '103.90.122.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.90.122.130', 'tags': [], 'project_id': '048c973f2abc4ac98aaaeca52955c04b'}} 2026-09-23 12:59:27,086 - INFO - Created VN ctest-vn-54285393 2026-09-23 12:59:27,144 - DEBUG - VN ctest-vn-54285393 UUID is 1688f46f-a287-47e5-864c-07bde30c78fa 2026-09-23 12:59:27,521 - DEBUG - Response for create_network : {'network': {'id': '5a7ec9c9-9220-44cc-82d2-866f11478ca8', 'name': 'ctest-vn-00838368', 'tenant_id': '048c973f2abc4ac98aaaeca52955c04b', 'project_id': '048c973f2abc4ac98aaaeca52955c04b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00165113', 'ctest-vn-00838368'], 'port_security_enabled': True, 'description': ''}} 2026-09-23 12:59:27,737 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec72ad21-bb86-48e4-9753-967fd55b5a47', 'name': '', 'tenant_id': '048c973f2abc4ac98aaaeca52955c04b', 'network_id': '5a7ec9c9-9220-44cc-82d2-866f11478ca8', 'ip_version': 4, 'cidr': '58.34.209.0/26', 'allocation_pools': [{'start': '58.34.209.2', 'end': '58.34.209.62'}], 'gateway_ip': '58.34.209.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.34.209.2', 'tags': [], 'project_id': '048c973f2abc4ac98aaaeca52955c04b'}} 2026-09-23 12:59:27,763 - INFO - Created VN ctest-vn-00838368 2026-09-23 12:59:27,824 - DEBUG - VN ctest-vn-00838368 UUID is 5a7ec9c9-9220-44cc-82d2-866f11478ca8 2026-09-23 12:59:27,957 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00165113:ctest-vn-54285393, 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-00165113:ctest-vn-00838368, 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-09-23 12:59:28,319 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1688f46f-a287-47e5-864c-07bde30c78fa', 'name': 'ctest-vn-54285393', 'tenant_id': '048c973f2abc4ac98aaaeca52955c04b', 'project_id': '048c973f2abc4ac98aaaeca52955c04b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['35ebff33-28f4-48c1-ade5-9ea2ddd8b6f1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00165113', 'ctest-vn-54285393'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00165113', 'ctest-policy-allow-all-46363888']], 'subnet_ipam': [{'subnet_cidr': '103.90.122.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-23 12:59:28,638 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5a7ec9c9-9220-44cc-82d2-866f11478ca8', 'name': 'ctest-vn-00838368', 'tenant_id': '048c973f2abc4ac98aaaeca52955c04b', 'project_id': '048c973f2abc4ac98aaaeca52955c04b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['ec72ad21-bb86-48e4-9753-967fd55b5a47'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00165113', 'ctest-vn-00838368'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00165113', 'ctest-policy-allow-all-46363888']], 'subnet_ipam': [{'subnet_cidr': '58.34.209.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-23 12:59:28,820 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-23 12:59:29,260 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-23 12:59:29,326 - DEBUG - Requesting: http://10.0.0.189:8082/domain/6874e175-6cd7-4e3b-91a5-d5153c767b96 2026-09-23 12:59:29,350 - DEBUG - Requesting: http://10.0.0.189:8082/project/048c973f-2abc-4ac9-8aaa-eca52955c04b 2026-09-23 12:59:29,458 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/1688f46f-a287-47e5-864c-07bde30c78fa 2026-09-23 12:59:29,475 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/1688f46f-a287-47e5-864c-07bde30c78fa 2026-09-23 12:59:29,487 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/37057ec2-b2cc-47e6-bb40-615e6769e514 2026-09-23 12:59:29,500 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/37057ec2-b2cc-47e6-bb40-615e6769e514 2026-09-23 12:59:29,509 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/ec02a9be-45c3-4338-8862-26a7cbba694e 2026-09-23 12:59:29,518 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-23 12:59:29,518 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/1688f46f-a287-47e5-864c-07bde30c78fa 2026-09-23 12:59:29,531 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/37057ec2-b2cc-47e6-bb40-615e6769e514 2026-09-23 12:59:29,553 - INFO - Verified VN network id 12 for VN 1688f46f-a287-47e5-864c-07bde30c78fa 2026-09-23 12:59:29,554 - INFO - Verifications in API Server for VN ctest-vn-54285393 passed 2026-09-23 12:59:29,555 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/1688f46f-a287-47e5-864c-07bde30c78fa 2026-09-23 12:59:29,569 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/37057ec2-b2cc-47e6-bb40-615e6769e514 2026-09-23 12:59:29,580 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/37057ec2-b2cc-47e6-bb40-615e6769e514 2026-09-23 12:59:29,592 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/ec02a9be-45c3-4338-8862-26a7cbba694e 2026-09-23 12:59:29,611 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00165113:ctest-vn-54285393', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00165113', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1623816425972385765', 'uuid-lslong': '9677118211451812090'}, 'enable': 'true', 'created': '2026-09-23T12:59:26', 'last-modified': '2026-09-23T12:59:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.324087'} 2026-09-23 12:59:29,622 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-23 12:59:29,622 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54285393 passed 2026-09-23 12:59:29,622 - DEBUG - ====Verifying policy data for ctest-vn-54285393 in API_Server ====== 2026-09-23 12:59:29,622 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-23 12:59:29,630 - DEBUG - Requesting: http://10.0.0.189:8082/domain/6874e175-6cd7-4e3b-91a5-d5153c767b96 2026-09-23 12:59:29,648 - DEBUG - Requesting: http://10.0.0.189:8082/project/048c973f-2abc-4ac9-8aaa-eca52955c04b 2026-09-23 12:59:29,745 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/1688f46f-a287-47e5-864c-07bde30c78fa 2026-09-23 12:59:29,759 - DEBUG - ==>Verifying data for policy with id: a2f022c9-42ff-416a-9ca5-0fe0333b4fc4, fqn: ['default-domain', 'ctest-TestBasicPolicy-00165113', 'ctest-policy-allow-all-46363888'] 2026-09-23 12:59:29,759 - INFO - VN ctest-vn-54285393 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-23 12:59:29,760 - DEBUG - Verifying the vn in opserver 2026-09-23 12:59:29,760 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00165113:ctest-vn-54285393 virtual network link through opserver 10.0.0.189 2026-09-23 12:59:29,760 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-09-23 12:59:30,146 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-09-23 12:59:30,220 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00165113:ctest-vn-54285393', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00165113:ctest-vn-54285393?flat'} 2026-09-23 12:59:30,220 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00165113:ctest-vn-54285393 is found in opserver 2026-09-23 12:59:30,237 - DEBUG - Do not have enough data to verify VN in agent 2026-09-23 12:59:30,244 - DEBUG - VRF ids for VN ctest-vn-54285393: {} 2026-09-23 12:59:30,245 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-23 12:59:30,254 - DEBUG - Requesting: http://10.0.0.189:8082/domain/6874e175-6cd7-4e3b-91a5-d5153c767b96 2026-09-23 12:59:30,272 - DEBUG - Requesting: http://10.0.0.189:8082/project/048c973f-2abc-4ac9-8aaa-eca52955c04b 2026-09-23 12:59:30,369 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/5a7ec9c9-9220-44cc-82d2-866f11478ca8 2026-09-23 12:59:30,428 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/5a7ec9c9-9220-44cc-82d2-866f11478ca8 2026-09-23 12:59:30,447 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0af0d9b6-a8ef-457e-814c-d20bb501e7ca 2026-09-23 12:59:30,470 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0af0d9b6-a8ef-457e-814c-d20bb501e7ca 2026-09-23 12:59:30,495 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/a43cb9c8-c3ce-495d-b487-e37f069b40b1 2026-09-23 12:59:30,540 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-23 12:59:30,540 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/5a7ec9c9-9220-44cc-82d2-866f11478ca8 2026-09-23 12:59:30,571 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0af0d9b6-a8ef-457e-814c-d20bb501e7ca 2026-09-23 12:59:30,599 - INFO - Verified VN network id 13 for VN 5a7ec9c9-9220-44cc-82d2-866f11478ca8 2026-09-23 12:59:30,599 - INFO - Verifications in API Server for VN ctest-vn-00838368 passed 2026-09-23 12:59:30,599 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/5a7ec9c9-9220-44cc-82d2-866f11478ca8 2026-09-23 12:59:30,618 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0af0d9b6-a8ef-457e-814c-d20bb501e7ca 2026-09-23 12:59:30,638 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0af0d9b6-a8ef-457e-814c-d20bb501e7ca 2026-09-23 12:59:30,667 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/a43cb9c8-c3ce-495d-b487-e37f069b40b1 2026-09-23 12:59:30,687 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00165113:ctest-vn-00838368', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00165113', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6520871178056254668', 'uuid-lslong': '9426744781629263016'}, 'enable': 'true', 'created': '2026-09-23T12:59:27', 'last-modified': '2026-09-23T12:59:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.111377'} 2026-09-23 12:59:30,698 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-23 12:59:30,698 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00838368 passed 2026-09-23 12:59:30,699 - DEBUG - ====Verifying policy data for ctest-vn-00838368 in API_Server ====== 2026-09-23 12:59:30,699 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-23 12:59:30,722 - DEBUG - Requesting: http://10.0.0.189:8082/domain/6874e175-6cd7-4e3b-91a5-d5153c767b96 2026-09-23 12:59:30,747 - DEBUG - Requesting: http://10.0.0.189:8082/project/048c973f-2abc-4ac9-8aaa-eca52955c04b 2026-09-23 12:59:30,894 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/5a7ec9c9-9220-44cc-82d2-866f11478ca8 2026-09-23 12:59:30,918 - DEBUG - ==>Verifying data for policy with id: a2f022c9-42ff-416a-9ca5-0fe0333b4fc4, fqn: ['default-domain', 'ctest-TestBasicPolicy-00165113', 'ctest-policy-allow-all-46363888'] 2026-09-23 12:59:30,918 - INFO - VN ctest-vn-00838368 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-23 12:59:30,920 - DEBUG - Verifying the vn in opserver 2026-09-23 12:59:30,920 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00165113:ctest-vn-00838368 virtual network link through opserver 10.0.0.189 2026-09-23 12:59:30,920 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-09-23 12:59:30,937 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00165113:ctest-vn-00838368', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00165113:ctest-vn-00838368?flat'} 2026-09-23 12:59:30,937 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00165113:ctest-vn-00838368 is found in opserver 2026-09-23 12:59:30,960 - DEBUG - Do not have enough data to verify VN in agent 2026-09-23 12:59:30,970 - DEBUG - VRF ids for VN ctest-vn-00838368: {} 2026-09-23 12:59:31,086 - DEBUG - Services list from nova: [, , ] 2026-09-23 12:59:31,605 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6320-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6320-1) 2026-09-23 12:59:32,129 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6320-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6320-1) 2026-09-23 12:59:32,129 - INFO - Waiting for VM ctest-TestBasicPolicy-00165113-08512381 to be up.. 2026-09-23 12:59:32,197 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-23 12:59:37,305 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-23 12:59:42,429 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-23 12:59:47,531 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-23 12:59:52,641 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-23 12:59:57,752 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-23 13:00:02,876 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-23 13:00:07,995 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-23 13:00:13,125 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-23 13:00:18,269 - DEBUG - VM is in ACTIVE state now 2026-09-23 13:00:18,270 - INFO - VM name : ctest-TestBasicPolicy-00165113-08512381 2026-09-23 13:00:18,397 - DEBUG - VM ctest-TestBasicPolicy-00165113-08512381 ID is 8739dbec-02b7-4e17-96cc-95cb9452256b 2026-09-23 13:00:18,431 - DEBUG - VM ctest-TestBasicPolicy-00165113-08512381 launched on Node cn-jenkins-deploy-platform-ansible-os-6320-1 2026-09-23 13:00:18,537 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/8739dbec-02b7-4e17-96cc-95cb9452256b 2026-09-23 13:00:18,549 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/fb34edc3-f0d5-4efb-80c1-332f0621d3f0 2026-09-23 13:00:21,859 - 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 1029ms') 2026-09-23 13:00:21,859 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00165113-08512381 failed! 2026-09-23 13:00:21,924 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-00165113:ctest-vn-54285393 is 103.90.122.129 and allocation pool is NOT set 2026-09-23 13:00:23,991 - 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=7.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.11 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.108/5.544/7.980/2.436 ms') 2026-09-23 13:00:23,991 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00165113-08512381 passed 2026-09-23 13:00:24,156 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-23 13:00:24,157 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00165113-08512381, IP 103.90.122.131, Port 22 2026-09-23 13:00:24,227 - 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-09-23 13:00:24,362 - DEBUG - VM ctest-TestBasicPolicy-00165113-08512381 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-23 13:00:29,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-23 13:00:29,363 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00165113-08512381, IP 103.90.122.131, Port 22 2026-09-23 13:00:29,535 - DEBUG - VM ctest-TestBasicPolicy-00165113-08512381 is ready for SSH connections 2026-09-23 13:00:29,535 - INFO - Waiting for VM ctest-TestBasicPolicy-00165113-64607166 to be up.. 2026-09-23 13:00:29,629 - DEBUG - VM is in ACTIVE state now 2026-09-23 13:00:29,630 - INFO - VM name : ctest-TestBasicPolicy-00165113-64607166 2026-09-23 13:00:29,731 - DEBUG - VM ctest-TestBasicPolicy-00165113-64607166 ID is bb346e05-dc1a-44b3-865c-15d62156c3df 2026-09-23 13:00:29,731 - DEBUG - VM ctest-TestBasicPolicy-00165113-64607166 launched on Node cn-jenkins-deploy-platform-ansible-os-6320-1 2026-09-23 13:00:29,830 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/bb346e05-dc1a-44b3-865c-15d62156c3df 2026-09-23 13:00:29,841 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/71acdb04-cd44-4b2c-9914-145a2d2a46ab 2026-09-23 13:00:31,112 - 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=4.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.560 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.560/2.594/4.629/2.034 ms') 2026-09-23 13:00:31,112 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-00165113-64607166 passed 2026-09-23 13:00:31,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-23 13:00:31,276 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00165113-64607166, IP 58.34.209.3, Port 22 2026-09-23 13:00:31,446 - DEBUG - VM ctest-TestBasicPolicy-00165113-64607166 is ready for SSH connections 2026-09-23 13:00:31,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-23 13:00:31,447 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.34.209.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-09-23 13:00:31,447 - DEBUG - ping -s 56 -c 3 -W 1 58.34.209.3 2026-09-23 13:00:35,683 - DEBUG - PING 58.34.209.3 (58.34.209.3): 56 data bytes 64 bytes from 58.34.209.3: seq=0 ttl=63 time=5.832 ms 64 bytes from 58.34.209.3: seq=1 ttl=63 time=1.443 ms 64 bytes from 58.34.209.3: seq=2 ttl=63 time=1.384 ms --- 58.34.209.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.384/2.886/5.832 ms 2026-09-23 13:00:35,684 - INFO - Ping to IP 58.34.209.3 from VM ctest-TestBasicPolicy-00165113-08512381 passed 2026-09-23 13:00:35,895 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a2f022c9-42ff-416a-9ca5-0fe0333b4fc4", "href": "http://10.0.0.189:8082/network-policy/a2f022c9-42ff-416a-9ca5-0fe0333b4fc4"}} 2026-09-23 13:00:35,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-23 13:00:35,896 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.34.209.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-09-23 13:00:35,896 - DEBUG - ping -s 56 -c 3 -W 1 58.34.209.3 2026-09-23 13:00:39,049 - DEBUG - PING 58.34.209.3 (58.34.209.3): 56 data bytes 64 bytes from 58.34.209.3: seq=0 ttl=63 time=1.842 ms --- 58.34.209.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.842/1.842/1.842 ms 2026-09-23 13:00:39,049 - WARNING - Ping to IP 58.34.209.3 from VM ctest-TestBasicPolicy-00165113-08512381 failed 2026-09-23 13:00:39,049 - INFO - Deleting VM ctest-TestBasicPolicy-00165113-64607166 2026-09-23 13:00:39,136 - INFO - Deleting VM ctest-TestBasicPolicy-00165113-08512381 2026-09-23 13:00:39,610 - INFO - Deleted policy ctest-policy-allow-all-46363888 2026-09-23 13:00:39,610 - INFO - Deleting VN ctest-vn-00838368 2026-09-23 13:00:39,666 - DEBUG - VN 5a7ec9c9-9220-44cc-82d2-866f11478ca8 still in use: Unable to complete operation on network 5a7ec9c9-9220-44cc-82d2-866f11478ca8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4aaeb724-cf66-4e67-8aa5-a0a07b179545'] 2026-09-23 13:00:39,666 - WARNING - Deleting VN ctest-vn-00838368 failed..Will retry 2026-09-23 13:00:41,852 - DEBUG - Response for deleting network () 2026-09-23 13:00:41,852 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0af0d9b6-a8ef-457e-814c-d20bb501e7ca 2026-09-23 13:00:41,866 - DEBUG - Response Code: 404 2026-09-23 13:00:41,866 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-23 13:00:41,879 - DEBUG - Requesting: http://10.0.0.189:8082/domain/6874e175-6cd7-4e3b-91a5-d5153c767b96 2026-09-23 13:00:41,894 - DEBUG - Requesting: http://10.0.0.189:8082/project/048c973f-2abc-4ac9-8aaa-eca52955c04b 2026-09-23 13:00:41,986 - INFO - Validated that VN ctest-vn-00838368 is not found in API Server 2026-09-23 13:00:42,003 - DEBUG - VN ctest-vn-00838368 is not present in Agent 10.0.0.189 2026-09-23 13:00:42,003 - INFO - Validated that VN ctest-vn-00838368 is not in any agent 2026-09-23 13:00:42,025 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00838368 info 2026-09-23 13:00:42,025 - INFO - Deleting VN ctest-vn-54285393 2026-09-23 13:00:42,205 - DEBUG - Response for deleting network () 2026-09-23 13:00:42,205 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/37057ec2-b2cc-47e6-bb40-615e6769e514 2026-09-23 13:00:42,214 - DEBUG - Response Code: 404 2026-09-23 13:00:42,214 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-23 13:00:42,225 - DEBUG - Requesting: http://10.0.0.189:8082/domain/6874e175-6cd7-4e3b-91a5-d5153c767b96 2026-09-23 13:00:42,250 - DEBUG - Requesting: http://10.0.0.189:8082/project/048c973f-2abc-4ac9-8aaa-eca52955c04b 2026-09-23 13:00:42,356 - INFO - Validated that VN ctest-vn-54285393 is not found in API Server 2026-09-23 13:00:42,370 - DEBUG - VN ctest-vn-54285393 is not present in Agent 10.0.0.189 2026-09-23 13:00:42,370 - INFO - Validated that VN ctest-vn-54285393 is not in any agent 2026-09-23 13:00:42,393 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54285393 info 2026-09-23 13:00:42,675 - DEBUG - No XMPP flaps were noticed during the test
2026-09-23 13:00:42,675 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:17]
2026-09-23 13:00:42,675 - INFO - -------------------------------------------------------------------------------- 2026-09-23 13:00:43,679 - INFO - Deleted project: ctest-TestBasicPolicy-00165113, ID : 048c973f-2abc-4ac9-8aaa-eca52955c04b