2026-10-02 17:05:24,739 - INFO - Domain Default found not creating 2026-10-02 17:05:24,913 - INFO - Project ctest-TestBasicPolicy-16856361 not found, creating it 2026-10-02 17:05:25,426 - INFO - Created Project:ctest-TestBasicPolicy-16856361, ID : ce280f43-aaa2-4025-b578-58cc8b9acd07 2026-10-02 17:05:27,176 - INFO - ================================================================================ 2026-10-02 17:05:27,177 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-02 17:05:27,177 - 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-10-02 17:05:27,450 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.254': '0'}} with 2026-10-02 17:05:27,450 - INFO - Initial checks done. Running the testcase now 2026-10-02 17:05:27,450 - INFO - 2026-10-02 17:05:28,104 - DEBUG - Response for create_network : {'network': {'id': '0c3a8574-162d-43ba-b0b4-25f8f8dd493d', 'name': 'ctest-vn-87124979', 'tenant_id': 'ce280f43aaa24025b57858cc8b9acd07', 'project_id': 'ce280f43aaa24025b57858cc8b9acd07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16856361', 'ctest-vn-87124979'], 'port_security_enabled': True, 'description': ''}} 2026-10-02 17:05:28,348 - DEBUG - Response for create_subnet : {'subnet': {'id': '84ee2129-bedc-4e42-9396-bfba34aeb23a', 'name': '', 'tenant_id': 'ce280f43aaa24025b57858cc8b9acd07', 'network_id': '0c3a8574-162d-43ba-b0b4-25f8f8dd493d', 'ip_version': 4, 'cidr': '90.225.120.0/26', 'allocation_pools': [{'start': '90.225.120.2', 'end': '90.225.120.62'}], 'gateway_ip': '90.225.120.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.225.120.2', 'tags': [], 'project_id': 'ce280f43aaa24025b57858cc8b9acd07'}} 2026-10-02 17:05:28,369 - INFO - Created VN ctest-vn-87124979 2026-10-02 17:05:28,423 - DEBUG - VN ctest-vn-87124979 UUID is 0c3a8574-162d-43ba-b0b4-25f8f8dd493d 2026-10-02 17:05:28,775 - DEBUG - Response for create_network : {'network': {'id': '1bf3e403-2d39-49be-9f51-1db0fc5a4d74', 'name': 'ctest-vn-33399389', 'tenant_id': 'ce280f43aaa24025b57858cc8b9acd07', 'project_id': 'ce280f43aaa24025b57858cc8b9acd07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16856361', 'ctest-vn-33399389'], 'port_security_enabled': True, 'description': ''}} 2026-10-02 17:05:29,015 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a0ab3b08-4a17-404b-8607-1ea8dcaee4a3', 'name': '', 'tenant_id': 'ce280f43aaa24025b57858cc8b9acd07', 'network_id': '1bf3e403-2d39-49be-9f51-1db0fc5a4d74', 'ip_version': 4, 'cidr': '15.44.152.0/26', 'allocation_pools': [{'start': '15.44.152.2', 'end': '15.44.152.62'}], 'gateway_ip': '15.44.152.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.44.152.2', 'tags': [], 'project_id': 'ce280f43aaa24025b57858cc8b9acd07'}} 2026-10-02 17:05:29,036 - INFO - Created VN ctest-vn-33399389 2026-10-02 17:05:29,099 - DEBUG - VN ctest-vn-33399389 UUID is 1bf3e403-2d39-49be-9f51-1db0fc5a4d74 2026-10-02 17:05:29,228 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-16856361:ctest-vn-87124979, 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-16856361:ctest-vn-33399389, 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-10-02 17:05:29,591 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0c3a8574-162d-43ba-b0b4-25f8f8dd493d', 'name': 'ctest-vn-87124979', 'tenant_id': 'ce280f43aaa24025b57858cc8b9acd07', 'project_id': 'ce280f43aaa24025b57858cc8b9acd07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['84ee2129-bedc-4e42-9396-bfba34aeb23a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16856361', 'ctest-vn-87124979'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16856361', 'ctest-policy-allow-all-46793943']], 'subnet_ipam': [{'subnet_cidr': '90.225.120.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-02 17:05:29,843 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1bf3e403-2d39-49be-9f51-1db0fc5a4d74', 'name': 'ctest-vn-33399389', 'tenant_id': 'ce280f43aaa24025b57858cc8b9acd07', 'project_id': 'ce280f43aaa24025b57858cc8b9acd07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a0ab3b08-4a17-404b-8607-1ea8dcaee4a3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16856361', 'ctest-vn-33399389'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16856361', 'ctest-policy-allow-all-46793943']], 'subnet_ipam': [{'subnet_cidr': '15.44.152.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-02 17:05:30,015 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-02 17:05:30,389 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-02 17:05:30,422 - DEBUG - Requesting: http://10.0.0.161:8082/domain/688ce411-24d4-4253-b14b-6d0fa6ee3d7d 2026-10-02 17:05:30,439 - DEBUG - Requesting: http://10.0.0.161:8082/project/ce280f43-aaa2-4025-b578-58cc8b9acd07 2026-10-02 17:05:30,517 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/0c3a8574-162d-43ba-b0b4-25f8f8dd493d 2026-10-02 17:05:30,531 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/0c3a8574-162d-43ba-b0b4-25f8f8dd493d 2026-10-02 17:05:30,542 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/3923e062-9aca-4fc7-85b4-fb0da2805fb4 2026-10-02 17:05:30,551 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/3923e062-9aca-4fc7-85b4-fb0da2805fb4 2026-10-02 17:05:30,560 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/4da19a58-1773-4167-a829-bef28e4d4d70 2026-10-02 17:05:30,568 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-02 17:05:30,568 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/0c3a8574-162d-43ba-b0b4-25f8f8dd493d 2026-10-02 17:05:30,579 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/3923e062-9aca-4fc7-85b4-fb0da2805fb4 2026-10-02 17:05:30,596 - INFO - Verified VN network id 12 for VN 0c3a8574-162d-43ba-b0b4-25f8f8dd493d 2026-10-02 17:05:30,596 - INFO - Verifications in API Server for VN ctest-vn-87124979 passed 2026-10-02 17:05:30,596 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/0c3a8574-162d-43ba-b0b4-25f8f8dd493d 2026-10-02 17:05:30,607 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/3923e062-9aca-4fc7-85b4-fb0da2805fb4 2026-10-02 17:05:30,616 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/3923e062-9aca-4fc7-85b4-fb0da2805fb4 2026-10-02 17:05:30,624 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/4da19a58-1773-4167-a829-bef28e4d4d70 2026-10-02 17:05:30,638 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16856361:ctest-vn-87124979', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16856361', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '881163410739119034', 'uuid-lslong': '12732843797740603709'}, 'enable': 'true', 'created': '2026-10-02T17:05:28', 'last-modified': '2026-10-02T17:05:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.078031'} 2026-10-02 17:05:30,646 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-02 17:05:30,646 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87124979 passed 2026-10-02 17:05:30,646 - DEBUG - ====Verifying policy data for ctest-vn-87124979 in API_Server ====== 2026-10-02 17:05:30,646 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-02 17:05:30,653 - DEBUG - Requesting: http://10.0.0.161:8082/domain/688ce411-24d4-4253-b14b-6d0fa6ee3d7d 2026-10-02 17:05:30,666 - DEBUG - Requesting: http://10.0.0.161:8082/project/ce280f43-aaa2-4025-b578-58cc8b9acd07 2026-10-02 17:05:30,754 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/0c3a8574-162d-43ba-b0b4-25f8f8dd493d 2026-10-02 17:05:30,765 - DEBUG - ==>Verifying data for policy with id: 78386e1a-ff55-4148-a964-48e0c7302042, fqn: ['default-domain', 'ctest-TestBasicPolicy-16856361', 'ctest-policy-allow-all-46793943'] 2026-10-02 17:05:30,765 - INFO - VN ctest-vn-87124979 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-02 17:05:30,765 - DEBUG - Verifying the vn in opserver 2026-10-02 17:05:30,765 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16856361:ctest-vn-87124979 virtual network link through opserver 10.0.0.161 2026-10-02 17:05:30,765 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-10-02 17:05:31,133 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-10-02 17:05:31,191 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16856361:ctest-vn-87124979', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16856361:ctest-vn-87124979?flat'} 2026-10-02 17:05:31,191 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16856361:ctest-vn-87124979 is found in opserver 2026-10-02 17:05:31,204 - DEBUG - Do not have enough data to verify VN in agent 2026-10-02 17:05:31,209 - DEBUG - VRF ids for VN ctest-vn-87124979: {} 2026-10-02 17:05:31,209 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-02 17:05:31,216 - DEBUG - Requesting: http://10.0.0.161:8082/domain/688ce411-24d4-4253-b14b-6d0fa6ee3d7d 2026-10-02 17:05:31,249 - DEBUG - Requesting: http://10.0.0.161:8082/project/ce280f43-aaa2-4025-b578-58cc8b9acd07 2026-10-02 17:05:31,331 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1bf3e403-2d39-49be-9f51-1db0fc5a4d74 2026-10-02 17:05:31,348 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1bf3e403-2d39-49be-9f51-1db0fc5a4d74 2026-10-02 17:05:31,362 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/14a16bed-ed56-44d9-9770-ab7dc3940197 2026-10-02 17:05:31,371 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/14a16bed-ed56-44d9-9770-ab7dc3940197 2026-10-02 17:05:31,380 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/28f115f6-3aed-4e74-abf7-02901997b04c 2026-10-02 17:05:31,389 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-02 17:05:31,389 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1bf3e403-2d39-49be-9f51-1db0fc5a4d74 2026-10-02 17:05:31,400 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/14a16bed-ed56-44d9-9770-ab7dc3940197 2026-10-02 17:05:31,419 - INFO - Verified VN network id 13 for VN 1bf3e403-2d39-49be-9f51-1db0fc5a4d74 2026-10-02 17:05:31,419 - INFO - Verifications in API Server for VN ctest-vn-33399389 passed 2026-10-02 17:05:31,419 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1bf3e403-2d39-49be-9f51-1db0fc5a4d74 2026-10-02 17:05:31,431 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/14a16bed-ed56-44d9-9770-ab7dc3940197 2026-10-02 17:05:31,441 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/14a16bed-ed56-44d9-9770-ab7dc3940197 2026-10-02 17:05:31,450 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/28f115f6-3aed-4e74-abf7-02901997b04c 2026-10-02 17:05:31,468 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16856361:ctest-vn-33399389', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16856361', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2014204160659507646', 'uuid-lslong': '11479989571129331060'}, 'enable': 'true', 'created': '2026-10-02T17:05:28', 'last-modified': '2026-10-02T17:05:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.658733'} 2026-10-02 17:05:31,476 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-02 17:05:31,476 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33399389 passed 2026-10-02 17:05:31,476 - DEBUG - ====Verifying policy data for ctest-vn-33399389 in API_Server ====== 2026-10-02 17:05:31,477 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-02 17:05:31,484 - DEBUG - Requesting: http://10.0.0.161:8082/domain/688ce411-24d4-4253-b14b-6d0fa6ee3d7d 2026-10-02 17:05:31,500 - DEBUG - Requesting: http://10.0.0.161:8082/project/ce280f43-aaa2-4025-b578-58cc8b9acd07 2026-10-02 17:05:31,581 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1bf3e403-2d39-49be-9f51-1db0fc5a4d74 2026-10-02 17:05:31,593 - DEBUG - ==>Verifying data for policy with id: 78386e1a-ff55-4148-a964-48e0c7302042, fqn: ['default-domain', 'ctest-TestBasicPolicy-16856361', 'ctest-policy-allow-all-46793943'] 2026-10-02 17:05:31,593 - INFO - VN ctest-vn-33399389 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-02 17:05:31,593 - DEBUG - Verifying the vn in opserver 2026-10-02 17:05:31,593 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16856361:ctest-vn-33399389 virtual network link through opserver 10.0.0.161 2026-10-02 17:05:31,593 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-10-02 17:05:31,606 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16856361:ctest-vn-33399389', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16856361:ctest-vn-33399389?flat'} 2026-10-02 17:05:31,606 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16856361:ctest-vn-33399389 is found in opserver 2026-10-02 17:05:31,619 - DEBUG - Do not have enough data to verify VN in agent 2026-10-02 17:05:31,624 - DEBUG - VRF ids for VN ctest-vn-33399389: {} 2026-10-02 17:05:31,688 - DEBUG - Services list from nova: [, , ] 2026-10-02 17:05:32,146 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6341-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6341-1) 2026-10-02 17:05:32,605 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6341-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6341-1) 2026-10-02 17:05:32,605 - INFO - Waiting for VM ctest-TestBasicPolicy-16856361-14815714 to be up.. 2026-10-02 17:05:32,650 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 17:05:37,733 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 17:05:42,820 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 17:05:47,902 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 17:05:52,997 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 17:05:58,085 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 17:06:03,172 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 17:06:08,261 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-02 17:06:13,355 - DEBUG - VM is in ACTIVE state now 2026-10-02 17:06:13,355 - INFO - VM name : ctest-TestBasicPolicy-16856361-14815714 2026-10-02 17:06:13,448 - DEBUG - VM ctest-TestBasicPolicy-16856361-14815714 ID is 154124a1-346b-4518-94b8-6dd9a55f5830 2026-10-02 17:06:13,472 - DEBUG - VM ctest-TestBasicPolicy-16856361-14815714 launched on Node cn-jenkins-deploy-platform-ansible-os-6341-1 2026-10-02 17:06:13,557 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/154124a1-346b-4518-94b8-6dd9a55f5830 2026-10-02 17:06:13,569 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/3461c588-a8f4-4881-8103-aff34c870ca0 2026-10-02 17:06:16,852 - 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-10-02 17:06:16,852 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16856361-14815714 failed! 2026-10-02 17:06:16,911 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-16856361:ctest-vn-87124979 is 90.225.120.1 and allocation pool is NOT set 2026-10-02 17:06:18,975 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.500 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 = 0.500/2.251/4.003/1.751 ms') 2026-10-02 17:06:18,975 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16856361-14815714 passed 2026-10-02 17:06:19,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-02 17:06:19,131 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16856361-14815714, IP 90.225.120.3, Port 22 2026-10-02 17:06:19,197 - 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-10-02 17:06:19,290 - DEBUG - VM ctest-TestBasicPolicy-16856361-14815714 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-02 17:06:24,291 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-02 17:06:24,291 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16856361-14815714, IP 90.225.120.3, Port 22 2026-10-02 17:06:24,458 - DEBUG - VM ctest-TestBasicPolicy-16856361-14815714 is ready for SSH connections 2026-10-02 17:06:24,458 - INFO - Waiting for VM ctest-TestBasicPolicy-16856361-63153489 to be up.. 2026-10-02 17:06:24,552 - DEBUG - VM is in ACTIVE state now 2026-10-02 17:06:24,553 - INFO - VM name : ctest-TestBasicPolicy-16856361-63153489 2026-10-02 17:06:24,639 - DEBUG - VM ctest-TestBasicPolicy-16856361-63153489 ID is 6e805bc1-a307-4719-98b3-c5c6d5ef7c82 2026-10-02 17:06:24,639 - DEBUG - VM ctest-TestBasicPolicy-16856361-63153489 launched on Node cn-jenkins-deploy-platform-ansible-os-6341-1 2026-10-02 17:06:24,733 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/6e805bc1-a307-4719-98b3-c5c6d5ef7c82 2026-10-02 17:06:24,745 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/fa194103-cbcb-413c-883b-e2f7ead1c300 2026-10-02 17:06:26,004 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.557 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.557/2.211/3.865/1.654 ms') 2026-10-02 17:06:26,004 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-16856361-63153489 passed 2026-10-02 17:06:26,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-02 17:06:26,159 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16856361-63153489, IP 15.44.152.3, Port 22 2026-10-02 17:06:26,330 - DEBUG - VM ctest-TestBasicPolicy-16856361-63153489 is ready for SSH connections 2026-10-02 17:06:26,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-02 17:06:26,330 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.44.152.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-02 17:06:26,330 - DEBUG - ping -s 56 -c 3 -W 1 15.44.152.3 2026-10-02 17:06:30,368 - DEBUG - PING 15.44.152.3 (15.44.152.3): 56 data bytes 64 bytes from 15.44.152.3: seq=0 ttl=63 time=5.058 ms 64 bytes from 15.44.152.3: seq=1 ttl=63 time=1.084 ms 64 bytes from 15.44.152.3: seq=2 ttl=63 time=1.108 ms --- 15.44.152.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.084/2.416/5.058 ms 2026-10-02 17:06:30,368 - INFO - Ping to IP 15.44.152.3 from VM ctest-TestBasicPolicy-16856361-14815714 passed 2026-10-02 17:06:30,579 - DEBUG - Policy Update Response {"network-policy": {"uuid": "78386e1a-ff55-4148-a964-48e0c7302042", "href": "http://10.0.0.161:8082/network-policy/78386e1a-ff55-4148-a964-48e0c7302042"}} 2026-10-02 17:06:30,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-02 17:06:30,579 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.44.152.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-02 17:06:30,579 - DEBUG - ping -s 56 -c 3 -W 1 15.44.152.3 2026-10-02 17:06:33,721 - DEBUG - PING 15.44.152.3 (15.44.152.3): 56 data bytes 64 bytes from 15.44.152.3: seq=0 ttl=63 time=1.592 ms --- 15.44.152.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.592/1.592/1.592 ms 2026-10-02 17:06:33,722 - WARNING - Ping to IP 15.44.152.3 from VM ctest-TestBasicPolicy-16856361-14815714 failed 2026-10-02 17:06:33,722 - INFO - Deleting VM ctest-TestBasicPolicy-16856361-63153489 2026-10-02 17:06:33,798 - INFO - Deleting VM ctest-TestBasicPolicy-16856361-14815714 2026-10-02 17:06:34,216 - INFO - Deleted policy ctest-policy-allow-all-46793943 2026-10-02 17:06:34,216 - INFO - Deleting VN ctest-vn-33399389 2026-10-02 17:06:34,259 - DEBUG - VN 1bf3e403-2d39-49be-9f51-1db0fc5a4d74 still in use: Unable to complete operation on network 1bf3e403-2d39-49be-9f51-1db0fc5a4d74. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-928d44ad-80e9-4627-a629-8e37f6c546e5'] 2026-10-02 17:06:34,259 - WARNING - Deleting VN ctest-vn-33399389 failed..Will retry 2026-10-02 17:06:36,403 - DEBUG - Response for deleting network () 2026-10-02 17:06:36,404 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/14a16bed-ed56-44d9-9770-ab7dc3940197 2026-10-02 17:06:36,410 - DEBUG - Response Code: 404 2026-10-02 17:06:36,411 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-02 17:06:36,424 - DEBUG - Requesting: http://10.0.0.161:8082/domain/688ce411-24d4-4253-b14b-6d0fa6ee3d7d 2026-10-02 17:06:36,442 - DEBUG - Requesting: http://10.0.0.161:8082/project/ce280f43-aaa2-4025-b578-58cc8b9acd07 2026-10-02 17:06:36,527 - INFO - Validated that VN ctest-vn-33399389 is not found in API Server 2026-10-02 17:06:36,541 - DEBUG - VN ctest-vn-33399389 is not present in Agent 10.0.0.161 2026-10-02 17:06:36,541 - INFO - Validated that VN ctest-vn-33399389 is not in any agent 2026-10-02 17:06:36,560 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33399389 info 2026-10-02 17:06:36,560 - INFO - Deleting VN ctest-vn-87124979 2026-10-02 17:06:36,693 - DEBUG - Response for deleting network () 2026-10-02 17:06:36,693 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/3923e062-9aca-4fc7-85b4-fb0da2805fb4 2026-10-02 17:06:36,700 - DEBUG - Response Code: 404 2026-10-02 17:06:36,700 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-02 17:06:36,706 - DEBUG - Requesting: http://10.0.0.161:8082/domain/688ce411-24d4-4253-b14b-6d0fa6ee3d7d 2026-10-02 17:06:36,761 - DEBUG - Requesting: http://10.0.0.161:8082/project/ce280f43-aaa2-4025-b578-58cc8b9acd07 2026-10-02 17:06:36,840 - INFO - Validated that VN ctest-vn-87124979 is not found in API Server 2026-10-02 17:06:36,852 - DEBUG - VN ctest-vn-87124979 is not present in Agent 10.0.0.161 2026-10-02 17:06:36,852 - INFO - Validated that VN ctest-vn-87124979 is not in any agent 2026-10-02 17:06:36,871 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87124979 info 2026-10-02 17:06:37,140 - DEBUG - No XMPP flaps were noticed during the test
2026-10-02 17:06:37,140 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:10]
2026-10-02 17:06:37,140 - INFO - -------------------------------------------------------------------------------- 2026-10-02 17:06:37,939 - INFO - Deleted project: ctest-TestBasicPolicy-16856361, ID : ce280f43-aaa2-4025-b578-58cc8b9acd07