2026-09-16 15:36:24,336 - INFO - Domain Default found not creating 2026-09-16 15:36:24,507 - INFO - Project ctest-TestBasicPolicy-27049043 not found, creating it 2026-09-16 15:36:24,998 - INFO - Created Project:ctest-TestBasicPolicy-27049043, ID : 15b2b630-7ce2-4850-b6e1-a81f4b9857d3 2026-09-16 15:36:27,360 - INFO - ================================================================================ 2026-09-16 15:36:27,360 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-16 15:36:27,360 - 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-16 15:36:27,625 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.17': '0'}} with 2026-09-16 15:36:27,625 - INFO - Initial checks done. Running the testcase now 2026-09-16 15:36:27,625 - INFO - 2026-09-16 15:36:28,222 - DEBUG - Response for create_network : {'network': {'id': '662a2013-e9db-421f-a566-22a608b8274e', 'name': 'ctest-vn-03400409', 'tenant_id': '15b2b6307ce24850b6e1a81f4b9857d3', 'project_id': '15b2b6307ce24850b6e1a81f4b9857d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27049043', 'ctest-vn-03400409'], 'port_security_enabled': True, 'description': ''}} 2026-09-16 15:36:28,460 - DEBUG - Response for create_subnet : {'subnet': {'id': '154a0fe5-82dd-4091-bf37-02614e3ebf5c', 'name': '', 'tenant_id': '15b2b6307ce24850b6e1a81f4b9857d3', 'network_id': '662a2013-e9db-421f-a566-22a608b8274e', 'ip_version': 4, 'cidr': '84.192.205.128/26', 'allocation_pools': [{'start': '84.192.205.130', 'end': '84.192.205.190'}], 'gateway_ip': '84.192.205.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.192.205.130', 'tags': [], 'project_id': '15b2b6307ce24850b6e1a81f4b9857d3'}} 2026-09-16 15:36:28,478 - INFO - Created VN ctest-vn-03400409 2026-09-16 15:36:28,532 - DEBUG - VN ctest-vn-03400409 UUID is 662a2013-e9db-421f-a566-22a608b8274e 2026-09-16 15:36:28,848 - DEBUG - Response for create_network : {'network': {'id': 'a45e399c-c3d4-4571-8e78-52b5234a8ac2', 'name': 'ctest-vn-43512666', 'tenant_id': '15b2b6307ce24850b6e1a81f4b9857d3', 'project_id': '15b2b6307ce24850b6e1a81f4b9857d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27049043', 'ctest-vn-43512666'], 'port_security_enabled': True, 'description': ''}} 2026-09-16 15:36:29,076 - DEBUG - Response for create_subnet : {'subnet': {'id': '287f579c-c67e-4fb0-ba72-f7748a5b9cd8', 'name': '', 'tenant_id': '15b2b6307ce24850b6e1a81f4b9857d3', 'network_id': 'a45e399c-c3d4-4571-8e78-52b5234a8ac2', 'ip_version': 4, 'cidr': '131.254.17.128/26', 'allocation_pools': [{'start': '131.254.17.130', 'end': '131.254.17.190'}], 'gateway_ip': '131.254.17.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.254.17.130', 'tags': [], 'project_id': '15b2b6307ce24850b6e1a81f4b9857d3'}} 2026-09-16 15:36:29,094 - INFO - Created VN ctest-vn-43512666 2026-09-16 15:36:29,148 - DEBUG - VN ctest-vn-43512666 UUID is a45e399c-c3d4-4571-8e78-52b5234a8ac2 2026-09-16 15:36:29,304 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-27049043:ctest-vn-03400409, 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-27049043:ctest-vn-43512666, 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-16 15:36:29,647 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '662a2013-e9db-421f-a566-22a608b8274e', 'name': 'ctest-vn-03400409', 'tenant_id': '15b2b6307ce24850b6e1a81f4b9857d3', 'project_id': '15b2b6307ce24850b6e1a81f4b9857d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['154a0fe5-82dd-4091-bf37-02614e3ebf5c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27049043', 'ctest-vn-03400409'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27049043', 'ctest-policy-allow-all-22583182']], 'subnet_ipam': [{'subnet_cidr': '84.192.205.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-16 15:36:29,879 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a45e399c-c3d4-4571-8e78-52b5234a8ac2', 'name': 'ctest-vn-43512666', 'tenant_id': '15b2b6307ce24850b6e1a81f4b9857d3', 'project_id': '15b2b6307ce24850b6e1a81f4b9857d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['287f579c-c67e-4fb0-ba72-f7748a5b9cd8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27049043', 'ctest-vn-43512666'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27049043', 'ctest-policy-allow-all-22583182']], 'subnet_ipam': [{'subnet_cidr': '131.254.17.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-16 15:36:30,048 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-16 15:36:30,377 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-16 15:36:30,407 - DEBUG - Requesting: http://10.0.0.189:8082/domain/412d5f52-2c16-4d8c-8608-f2d15b01fc58 2026-09-16 15:36:30,421 - DEBUG - Requesting: http://10.0.0.189:8082/project/15b2b630-7ce2-4850-b6e1-a81f4b9857d3 2026-09-16 15:36:30,495 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/662a2013-e9db-421f-a566-22a608b8274e 2026-09-16 15:36:30,508 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/662a2013-e9db-421f-a566-22a608b8274e 2026-09-16 15:36:30,518 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/7b0a49ec-6b91-4afa-b43f-27812f4600d1 2026-09-16 15:36:30,527 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/7b0a49ec-6b91-4afa-b43f-27812f4600d1 2026-09-16 15:36:30,535 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/45b42ef9-39db-4390-913a-bb31144ff70b 2026-09-16 15:36:30,543 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-16 15:36:30,543 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/662a2013-e9db-421f-a566-22a608b8274e 2026-09-16 15:36:30,554 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/7b0a49ec-6b91-4afa-b43f-27812f4600d1 2026-09-16 15:36:30,570 - INFO - Verified VN network id 12 for VN 662a2013-e9db-421f-a566-22a608b8274e 2026-09-16 15:36:30,570 - INFO - Verifications in API Server for VN ctest-vn-03400409 passed 2026-09-16 15:36:30,570 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/662a2013-e9db-421f-a566-22a608b8274e 2026-09-16 15:36:30,579 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/7b0a49ec-6b91-4afa-b43f-27812f4600d1 2026-09-16 15:36:30,587 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/7b0a49ec-6b91-4afa-b43f-27812f4600d1 2026-09-16 15:36:30,596 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/45b42ef9-39db-4390-913a-bb31144ff70b 2026-09-16 15:36:30,609 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27049043:ctest-vn-03400409', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27049043', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7361731810790425119', 'uuid-lslong': '11918251560388798286'}, 'enable': 'true', 'created': '2026-09-16T15:36:28', 'last-modified': '2026-09-16T15:36:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.003062'} 2026-09-16 15:36:30,617 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-16 15:36:30,617 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03400409 passed 2026-09-16 15:36:30,617 - DEBUG - ====Verifying policy data for ctest-vn-03400409 in API_Server ====== 2026-09-16 15:36:30,617 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-16 15:36:30,623 - DEBUG - Requesting: http://10.0.0.189:8082/domain/412d5f52-2c16-4d8c-8608-f2d15b01fc58 2026-09-16 15:36:30,636 - DEBUG - Requesting: http://10.0.0.189:8082/project/15b2b630-7ce2-4850-b6e1-a81f4b9857d3 2026-09-16 15:36:30,713 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/662a2013-e9db-421f-a566-22a608b8274e 2026-09-16 15:36:30,727 - DEBUG - ==>Verifying data for policy with id: b5e48a4c-4c65-4746-ba0c-c4aba50df954, fqn: ['default-domain', 'ctest-TestBasicPolicy-27049043', 'ctest-policy-allow-all-22583182'] 2026-09-16 15:36:30,727 - INFO - VN ctest-vn-03400409 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-16 15:36:30,727 - DEBUG - Verifying the vn in opserver 2026-09-16 15:36:30,727 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27049043:ctest-vn-03400409 virtual network link through opserver 10.0.0.189 2026-09-16 15:36:30,727 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-09-16 15:36:31,058 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-09-16 15:36:31,111 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27049043:ctest-vn-03400409', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27049043:ctest-vn-03400409?flat'} 2026-09-16 15:36:31,111 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27049043:ctest-vn-03400409 is found in opserver 2026-09-16 15:36:31,121 - DEBUG - Do not have enough data to verify VN in agent 2026-09-16 15:36:31,126 - DEBUG - VRF ids for VN ctest-vn-03400409: {} 2026-09-16 15:36:31,126 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-16 15:36:31,132 - DEBUG - Requesting: http://10.0.0.189:8082/domain/412d5f52-2c16-4d8c-8608-f2d15b01fc58 2026-09-16 15:36:31,146 - DEBUG - Requesting: http://10.0.0.189:8082/project/15b2b630-7ce2-4850-b6e1-a81f4b9857d3 2026-09-16 15:36:31,236 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/a45e399c-c3d4-4571-8e78-52b5234a8ac2 2026-09-16 15:36:31,251 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/a45e399c-c3d4-4571-8e78-52b5234a8ac2 2026-09-16 15:36:31,261 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/1a5989bc-bd30-4f54-8942-b69d4599c6ab 2026-09-16 15:36:31,268 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/1a5989bc-bd30-4f54-8942-b69d4599c6ab 2026-09-16 15:36:31,278 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/3d7a7fc4-8130-4373-a3de-23056ecca7c7 2026-09-16 15:36:31,286 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-16 15:36:31,286 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/a45e399c-c3d4-4571-8e78-52b5234a8ac2 2026-09-16 15:36:31,299 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/1a5989bc-bd30-4f54-8942-b69d4599c6ab 2026-09-16 15:36:31,317 - INFO - Verified VN network id 13 for VN a45e399c-c3d4-4571-8e78-52b5234a8ac2 2026-09-16 15:36:31,317 - INFO - Verifications in API Server for VN ctest-vn-43512666 passed 2026-09-16 15:36:31,317 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/a45e399c-c3d4-4571-8e78-52b5234a8ac2 2026-09-16 15:36:31,330 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/1a5989bc-bd30-4f54-8942-b69d4599c6ab 2026-09-16 15:36:31,340 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/1a5989bc-bd30-4f54-8942-b69d4599c6ab 2026-09-16 15:36:31,349 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/3d7a7fc4-8130-4373-a3de-23056ecca7c7 2026-09-16 15:36:31,362 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27049043:ctest-vn-43512666', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27049043', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11843967415494133105', 'uuid-lslong': '10266046288525691586'}, 'enable': 'true', 'created': '2026-09-16T15:36:28', 'last-modified': '2026-09-16T15:36:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.508300'} 2026-09-16 15:36:31,369 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-16 15:36:31,369 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43512666 passed 2026-09-16 15:36:31,369 - DEBUG - ====Verifying policy data for ctest-vn-43512666 in API_Server ====== 2026-09-16 15:36:31,369 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-16 15:36:31,375 - DEBUG - Requesting: http://10.0.0.189:8082/domain/412d5f52-2c16-4d8c-8608-f2d15b01fc58 2026-09-16 15:36:31,388 - DEBUG - Requesting: http://10.0.0.189:8082/project/15b2b630-7ce2-4850-b6e1-a81f4b9857d3 2026-09-16 15:36:31,463 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/a45e399c-c3d4-4571-8e78-52b5234a8ac2 2026-09-16 15:36:31,474 - DEBUG - ==>Verifying data for policy with id: b5e48a4c-4c65-4746-ba0c-c4aba50df954, fqn: ['default-domain', 'ctest-TestBasicPolicy-27049043', 'ctest-policy-allow-all-22583182'] 2026-09-16 15:36:31,474 - INFO - VN ctest-vn-43512666 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-16 15:36:31,474 - DEBUG - Verifying the vn in opserver 2026-09-16 15:36:31,474 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27049043:ctest-vn-43512666 virtual network link through opserver 10.0.0.189 2026-09-16 15:36:31,474 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-09-16 15:36:31,485 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27049043:ctest-vn-43512666', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27049043:ctest-vn-43512666?flat'} 2026-09-16 15:36:31,485 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27049043:ctest-vn-43512666 is found in opserver 2026-09-16 15:36:31,496 - DEBUG - Do not have enough data to verify VN in agent 2026-09-16 15:36:31,502 - DEBUG - VRF ids for VN ctest-vn-43512666: {} 2026-09-16 15:36:31,563 - DEBUG - Services list from nova: [, , ] 2026-09-16 15:36:31,993 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6295-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6295-1) 2026-09-16 15:36:32,381 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6295-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6295-1) 2026-09-16 15:36:32,381 - INFO - Waiting for VM ctest-TestBasicPolicy-27049043-03345422 to be up.. 2026-09-16 15:36:32,421 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 15:36:37,501 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 15:36:42,583 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 15:36:47,661 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 15:36:52,742 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 15:36:57,817 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 15:37:02,896 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 15:37:07,986 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 15:37:13,065 - DEBUG - VM is in ACTIVE state now 2026-09-16 15:37:13,065 - INFO - VM name : ctest-TestBasicPolicy-27049043-03345422 2026-09-16 15:37:13,147 - DEBUG - VM ctest-TestBasicPolicy-27049043-03345422 ID is adb562fd-5cb2-4aa8-b5a7-72459d08cca5 2026-09-16 15:37:13,167 - DEBUG - VM ctest-TestBasicPolicy-27049043-03345422 launched on Node cn-jenkins-deploy-platform-ansible-os-6295-1 2026-09-16 15:37:13,247 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/adb562fd-5cb2-4aa8-b5a7-72459d08cca5 2026-09-16 15:37:13,256 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/bc45fabe-c031-4f3c-a903-ed0dc21b7947 2026-09-16 15:37:16,514 - 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 1014ms') 2026-09-16 15:37:16,514 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27049043-03345422 failed! 2026-09-16 15:37:16,568 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-27049043:ctest-vn-03400409 is 84.192.205.129 and allocation pool is NOT set 2026-09-16 15:37:18,635 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.89 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 = 1.894/3.358/4.822/1.464 ms') 2026-09-16 15:37:18,636 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27049043-03345422 passed 2026-09-16 15:37:18,796 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 15:37:18,796 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27049043-03345422, IP 84.192.205.131, Port 22 2026-09-16 15:37:18,862 - 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-16 15:37:18,942 - DEBUG - VM ctest-TestBasicPolicy-27049043-03345422 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-16 15:37:23,942 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 15:37:23,943 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27049043-03345422, IP 84.192.205.131, Port 22 2026-09-16 15:37:24,099 - DEBUG - VM ctest-TestBasicPolicy-27049043-03345422 is ready for SSH connections 2026-09-16 15:37:24,099 - INFO - Waiting for VM ctest-TestBasicPolicy-27049043-20147536 to be up.. 2026-09-16 15:37:24,175 - DEBUG - VM is in ACTIVE state now 2026-09-16 15:37:24,175 - INFO - VM name : ctest-TestBasicPolicy-27049043-20147536 2026-09-16 15:37:24,248 - DEBUG - VM ctest-TestBasicPolicy-27049043-20147536 ID is b1dc3e64-7955-4493-b5b7-3aadbc66b76c 2026-09-16 15:37:24,248 - DEBUG - VM ctest-TestBasicPolicy-27049043-20147536 launched on Node cn-jenkins-deploy-platform-ansible-os-6295-1 2026-09-16 15:37:24,331 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/b1dc3e64-7955-4493-b5b7-3aadbc66b76c 2026-09-16 15:37:24,341 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/31e89ac8-2496-4dbe-a3d8-e311ed6f7859 2026-09-16 15:37:25,586 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.484 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.484/2.234/3.985/1.750 ms') 2026-09-16 15:37:25,587 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-27049043-20147536 passed 2026-09-16 15:37:25,736 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 15:37:25,736 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27049043-20147536, IP 131.254.17.131, Port 22 2026-09-16 15:37:25,906 - DEBUG - VM ctest-TestBasicPolicy-27049043-20147536 is ready for SSH connections 2026-09-16 15:37:25,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 15:37:25,906 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.254.17.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-09-16 15:37:25,906 - DEBUG - ping -s 56 -c 3 -W 1 131.254.17.131 2026-09-16 15:37:29,915 - DEBUG - PING 131.254.17.131 (131.254.17.131): 56 data bytes 64 bytes from 131.254.17.131: seq=0 ttl=63 time=4.847 ms 64 bytes from 131.254.17.131: seq=1 ttl=63 time=0.981 ms 64 bytes from 131.254.17.131: seq=2 ttl=63 time=1.052 ms --- 131.254.17.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.981/2.293/4.847 ms 2026-09-16 15:37:29,915 - INFO - Ping to IP 131.254.17.131 from VM ctest-TestBasicPolicy-27049043-03345422 passed 2026-09-16 15:37:30,107 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b5e48a4c-4c65-4746-ba0c-c4aba50df954", "href": "http://10.0.0.189:8082/network-policy/b5e48a4c-4c65-4746-ba0c-c4aba50df954"}} 2026-09-16 15:37:30,108 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 15:37:30,108 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.254.17.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-09-16 15:37:30,108 - DEBUG - ping -s 56 -c 3 -W 1 131.254.17.131 2026-09-16 15:37:33,236 - DEBUG - PING 131.254.17.131 (131.254.17.131): 56 data bytes 64 bytes from 131.254.17.131: seq=0 ttl=63 time=1.881 ms --- 131.254.17.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.881/1.881/1.881 ms 2026-09-16 15:37:33,237 - WARNING - Ping to IP 131.254.17.131 from VM ctest-TestBasicPolicy-27049043-03345422 failed 2026-09-16 15:37:33,237 - INFO - Deleting VM ctest-TestBasicPolicy-27049043-20147536 2026-09-16 15:37:33,310 - INFO - Deleting VM ctest-TestBasicPolicy-27049043-03345422 2026-09-16 15:37:33,709 - INFO - Deleted policy ctest-policy-allow-all-22583182 2026-09-16 15:37:33,710 - INFO - Deleting VN ctest-vn-43512666 2026-09-16 15:37:33,746 - DEBUG - VN a45e399c-c3d4-4571-8e78-52b5234a8ac2 still in use: Unable to complete operation on network a45e399c-c3d4-4571-8e78-52b5234a8ac2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b2d022da-1f26-42ef-99a0-fbf81b00b216'] 2026-09-16 15:37:33,747 - WARNING - Deleting VN ctest-vn-43512666 failed..Will retry 2026-09-16 15:37:35,878 - DEBUG - Response for deleting network () 2026-09-16 15:37:35,878 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/1a5989bc-bd30-4f54-8942-b69d4599c6ab 2026-09-16 15:37:35,884 - DEBUG - Response Code: 404 2026-09-16 15:37:35,884 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-16 15:37:35,891 - DEBUG - Requesting: http://10.0.0.189:8082/domain/412d5f52-2c16-4d8c-8608-f2d15b01fc58 2026-09-16 15:37:35,932 - DEBUG - Requesting: http://10.0.0.189:8082/project/15b2b630-7ce2-4850-b6e1-a81f4b9857d3 2026-09-16 15:37:36,024 - INFO - Validated that VN ctest-vn-43512666 is not found in API Server 2026-09-16 15:37:36,040 - DEBUG - VN ctest-vn-43512666 is not present in Agent 10.0.0.189 2026-09-16 15:37:36,040 - INFO - Validated that VN ctest-vn-43512666 is not in any agent 2026-09-16 15:37:36,064 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43512666 info 2026-09-16 15:37:36,064 - INFO - Deleting VN ctest-vn-03400409 2026-09-16 15:37:36,179 - DEBUG - Response for deleting network () 2026-09-16 15:37:36,179 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/7b0a49ec-6b91-4afa-b43f-27812f4600d1 2026-09-16 15:37:36,184 - DEBUG - Response Code: 404 2026-09-16 15:37:36,185 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-16 15:37:36,194 - DEBUG - Requesting: http://10.0.0.189:8082/domain/412d5f52-2c16-4d8c-8608-f2d15b01fc58 2026-09-16 15:37:36,253 - DEBUG - Requesting: http://10.0.0.189:8082/project/15b2b630-7ce2-4850-b6e1-a81f4b9857d3 2026-09-16 15:37:36,329 - INFO - Validated that VN ctest-vn-03400409 is not found in API Server 2026-09-16 15:37:36,342 - DEBUG - VN ctest-vn-03400409 is not present in Agent 10.0.0.189 2026-09-16 15:37:36,343 - INFO - Validated that VN ctest-vn-03400409 is not in any agent 2026-09-16 15:37:36,365 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03400409 info 2026-09-16 15:37:36,632 - DEBUG - No XMPP flaps were noticed during the test 2026-09-16 15:37:36,632 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:09] 2026-09-16 15:37:36,633 - INFO - -------------------------------------------------------------------------------- 2026-09-16 15:37:37,376 - INFO - Deleted project: ctest-TestBasicPolicy-27049043, ID : 15b2b630-7ce2-4850-b6e1-a81f4b9857d3