2026-06-01 15:37:54,661 - INFO - Domain Default found not creating 2026-06-01 15:37:54,852 - INFO - Project ctest-TestBasicPolicy-18545045 not found, creating it 2026-06-01 15:37:55,327 - INFO - Created Project:ctest-TestBasicPolicy-18545045, ID : 316d55ea-d001-4863-8571-0aee1910c29b 2026-06-01 15:37:56,842 - INFO - ================================================================================ 2026-06-01 15:37:56,842 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-01 15:37:56,842 - 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-06-01 15:37:57,095 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.129': '0'}} with 2026-06-01 15:37:57,096 - INFO - Initial checks done. Running the testcase now 2026-06-01 15:37:57,096 - INFO - 2026-06-01 15:37:57,675 - DEBUG - Response for create_network : {'network': {'id': '69b3f7bb-0091-4ea0-9a03-10d26658002e', 'name': 'ctest-vn-46500107', 'tenant_id': '316d55ead001486385710aee1910c29b', 'project_id': '316d55ead001486385710aee1910c29b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18545045', 'ctest-vn-46500107'], 'port_security_enabled': True, 'description': ''}} 2026-06-01 15:37:57,871 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4ead734-4554-4fd0-b9e6-356956f6ef92', 'name': '', 'tenant_id': '316d55ead001486385710aee1910c29b', 'network_id': '69b3f7bb-0091-4ea0-9a03-10d26658002e', 'ip_version': 4, 'cidr': '180.150.232.0/26', 'allocation_pools': [{'start': '180.150.232.2', 'end': '180.150.232.62'}], 'gateway_ip': '180.150.232.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.150.232.2', 'tags': [], 'project_id': '316d55ead001486385710aee1910c29b'}} 2026-06-01 15:37:57,891 - INFO - Created VN ctest-vn-46500107 2026-06-01 15:37:57,945 - DEBUG - VN ctest-vn-46500107 UUID is 69b3f7bb-0091-4ea0-9a03-10d26658002e 2026-06-01 15:37:58,250 - DEBUG - Response for create_network : {'network': {'id': '19e27fee-fe9d-4ae5-b92c-8f727149cc74', 'name': 'ctest-vn-92902366', 'tenant_id': '316d55ead001486385710aee1910c29b', 'project_id': '316d55ead001486385710aee1910c29b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18545045', 'ctest-vn-92902366'], 'port_security_enabled': True, 'description': ''}} 2026-06-01 15:37:58,485 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b94aff8e-ce55-4601-9525-ac4f4ec7a9ea', 'name': '', 'tenant_id': '316d55ead001486385710aee1910c29b', 'network_id': '19e27fee-fe9d-4ae5-b92c-8f727149cc74', 'ip_version': 4, 'cidr': '37.235.232.128/26', 'allocation_pools': [{'start': '37.235.232.130', 'end': '37.235.232.190'}], 'gateway_ip': '37.235.232.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.235.232.130', 'tags': [], 'project_id': '316d55ead001486385710aee1910c29b'}} 2026-06-01 15:37:58,508 - INFO - Created VN ctest-vn-92902366 2026-06-01 15:37:58,561 - DEBUG - VN ctest-vn-92902366 UUID is 19e27fee-fe9d-4ae5-b92c-8f727149cc74 2026-06-01 15:37:58,679 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18545045:ctest-vn-46500107, 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-18545045:ctest-vn-92902366, 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-06-01 15:37:58,980 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '69b3f7bb-0091-4ea0-9a03-10d26658002e', 'name': 'ctest-vn-46500107', 'tenant_id': '316d55ead001486385710aee1910c29b', 'project_id': '316d55ead001486385710aee1910c29b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e4ead734-4554-4fd0-b9e6-356956f6ef92'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18545045', 'ctest-vn-46500107'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18545045', 'ctest-policy-allow-all-68547730']], 'subnet_ipam': [{'subnet_cidr': '180.150.232.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-01 15:37:59,213 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '19e27fee-fe9d-4ae5-b92c-8f727149cc74', 'name': 'ctest-vn-92902366', 'tenant_id': '316d55ead001486385710aee1910c29b', 'project_id': '316d55ead001486385710aee1910c29b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b94aff8e-ce55-4601-9525-ac4f4ec7a9ea'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18545045', 'ctest-vn-92902366'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18545045', 'ctest-policy-allow-all-68547730']], 'subnet_ipam': [{'subnet_cidr': '37.235.232.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-01 15:37:59,385 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2026-06-01 15:37:59,684 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2026-06-01 15:37:59,716 - DEBUG - Requesting: http://10.0.0.57:8082/domain/7af90524-a650-45be-898a-41e0708697bd 2026-06-01 15:37:59,729 - DEBUG - Requesting: http://10.0.0.57:8082/project/316d55ea-d001-4863-8571-0aee1910c29b 2026-06-01 15:37:59,801 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/69b3f7bb-0091-4ea0-9a03-10d26658002e 2026-06-01 15:37:59,814 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/69b3f7bb-0091-4ea0-9a03-10d26658002e 2026-06-01 15:37:59,823 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d132c1b4-1a22-4fa8-acc4-ff9e01566e01 2026-06-01 15:37:59,831 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d132c1b4-1a22-4fa8-acc4-ff9e01566e01 2026-06-01 15:37:59,838 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/6c45969e-9068-4f14-8b10-1dcf6ca26fea 2026-06-01 15:37:59,845 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-01 15:37:59,845 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/69b3f7bb-0091-4ea0-9a03-10d26658002e 2026-06-01 15:37:59,854 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d132c1b4-1a22-4fa8-acc4-ff9e01566e01 2026-06-01 15:37:59,868 - INFO - Verified VN network id 11 for VN 69b3f7bb-0091-4ea0-9a03-10d26658002e 2026-06-01 15:37:59,868 - INFO - Verifications in API Server for VN ctest-vn-46500107 passed 2026-06-01 15:37:59,868 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/69b3f7bb-0091-4ea0-9a03-10d26658002e 2026-06-01 15:37:59,877 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d132c1b4-1a22-4fa8-acc4-ff9e01566e01 2026-06-01 15:37:59,884 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d132c1b4-1a22-4fa8-acc4-ff9e01566e01 2026-06-01 15:37:59,891 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/6c45969e-9068-4f14-8b10-1dcf6ca26fea 2026-06-01 15:37:59,905 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18545045:ctest-vn-46500107', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18545045', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7616703777354108576', 'uuid-lslong': '11097732402617253934'}, 'enable': 'true', 'created': '2026-06-01T15:37:57', 'last-modified': '2026-06-01T15:37:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.950474'} 2026-06-01 15:37:59,911 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-01 15:37:59,911 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46500107 passed 2026-06-01 15:37:59,912 - DEBUG - ====Verifying policy data for ctest-vn-46500107 in API_Server ====== 2026-06-01 15:37:59,912 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2026-06-01 15:37:59,918 - DEBUG - Requesting: http://10.0.0.57:8082/domain/7af90524-a650-45be-898a-41e0708697bd 2026-06-01 15:37:59,932 - DEBUG - Requesting: http://10.0.0.57:8082/project/316d55ea-d001-4863-8571-0aee1910c29b 2026-06-01 15:38:00,002 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/69b3f7bb-0091-4ea0-9a03-10d26658002e 2026-06-01 15:38:00,013 - DEBUG - ==>Verifying data for policy with id: a0f980d6-3aa7-461b-b848-e14f40f5c52b, fqn: ['default-domain', 'ctest-TestBasicPolicy-18545045', 'ctest-policy-allow-all-68547730'] 2026-06-01 15:38:00,013 - INFO - VN ctest-vn-46500107 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-01 15:38:00,013 - DEBUG - Verifying the vn in opserver 2026-06-01 15:38:00,013 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18545045:ctest-vn-46500107 virtual network link through opserver 10.0.0.57 2026-06-01 15:38:00,014 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2026-06-01 15:38:00,310 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2026-06-01 15:38:00,388 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18545045:ctest-vn-46500107', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18545045:ctest-vn-46500107?flat'} 2026-06-01 15:38:00,388 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18545045:ctest-vn-46500107 is found in opserver 2026-06-01 15:38:00,398 - DEBUG - Do not have enough data to verify VN in agent 2026-06-01 15:38:00,404 - DEBUG - VRF ids for VN ctest-vn-46500107: {} 2026-06-01 15:38:00,404 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2026-06-01 15:38:00,410 - DEBUG - Requesting: http://10.0.0.57:8082/domain/7af90524-a650-45be-898a-41e0708697bd 2026-06-01 15:38:00,423 - DEBUG - Requesting: http://10.0.0.57:8082/project/316d55ea-d001-4863-8571-0aee1910c29b 2026-06-01 15:38:00,493 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/19e27fee-fe9d-4ae5-b92c-8f727149cc74 2026-06-01 15:38:00,506 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/19e27fee-fe9d-4ae5-b92c-8f727149cc74 2026-06-01 15:38:00,517 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/82e0d1db-9349-441c-81b8-b47608818b29 2026-06-01 15:38:00,525 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/82e0d1db-9349-441c-81b8-b47608818b29 2026-06-01 15:38:00,532 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/b809a8c4-6a56-417a-ad76-ecd30ca4dce6 2026-06-01 15:38:00,539 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-01 15:38:00,539 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/19e27fee-fe9d-4ae5-b92c-8f727149cc74 2026-06-01 15:38:00,549 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/82e0d1db-9349-441c-81b8-b47608818b29 2026-06-01 15:38:00,565 - INFO - Verified VN network id 12 for VN 19e27fee-fe9d-4ae5-b92c-8f727149cc74 2026-06-01 15:38:00,566 - INFO - Verifications in API Server for VN ctest-vn-92902366 passed 2026-06-01 15:38:00,566 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/19e27fee-fe9d-4ae5-b92c-8f727149cc74 2026-06-01 15:38:00,576 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/82e0d1db-9349-441c-81b8-b47608818b29 2026-06-01 15:38:00,583 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/82e0d1db-9349-441c-81b8-b47608818b29 2026-06-01 15:38:00,591 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/b809a8c4-6a56-417a-ad76-ecd30ca4dce6 2026-06-01 15:38:00,605 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18545045:ctest-vn-92902366', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18545045', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1865193860135471845', 'uuid-lslong': '13343197517681642612'}, 'enable': 'true', 'created': '2026-06-01T15:37:58', 'last-modified': '2026-06-01T15:37:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.413548'} 2026-06-01 15:38:00,613 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-01 15:38:00,613 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92902366 passed 2026-06-01 15:38:00,613 - DEBUG - ====Verifying policy data for ctest-vn-92902366 in API_Server ====== 2026-06-01 15:38:00,613 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2026-06-01 15:38:00,619 - DEBUG - Requesting: http://10.0.0.57:8082/domain/7af90524-a650-45be-898a-41e0708697bd 2026-06-01 15:38:00,630 - DEBUG - Requesting: http://10.0.0.57:8082/project/316d55ea-d001-4863-8571-0aee1910c29b 2026-06-01 15:38:00,700 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/19e27fee-fe9d-4ae5-b92c-8f727149cc74 2026-06-01 15:38:00,709 - DEBUG - ==>Verifying data for policy with id: a0f980d6-3aa7-461b-b848-e14f40f5c52b, fqn: ['default-domain', 'ctest-TestBasicPolicy-18545045', 'ctest-policy-allow-all-68547730'] 2026-06-01 15:38:00,709 - INFO - VN ctest-vn-92902366 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-01 15:38:00,709 - DEBUG - Verifying the vn in opserver 2026-06-01 15:38:00,709 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18545045:ctest-vn-92902366 virtual network link through opserver 10.0.0.57 2026-06-01 15:38:00,709 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2026-06-01 15:38:00,719 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18545045:ctest-vn-92902366', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18545045:ctest-vn-92902366?flat'} 2026-06-01 15:38:00,719 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18545045:ctest-vn-92902366 is found in opserver 2026-06-01 15:38:00,728 - DEBUG - Do not have enough data to verify VN in agent 2026-06-01 15:38:00,732 - DEBUG - VRF ids for VN ctest-vn-92902366: {} 2026-06-01 15:38:00,790 - DEBUG - Services list from nova: [, , ] 2026-06-01 15:38:01,857 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5871-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5871-1) 2026-06-01 15:38:03,081 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5871-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5871-1) 2026-06-01 15:38:03,081 - INFO - Waiting for VM ctest-TestBasicPolicy-18545045-63667805 to be up.. 2026-06-01 15:38:03,173 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-01 15:38:08,265 - DEBUG - VM is in ACTIVE state now 2026-06-01 15:38:08,265 - INFO - VM name : ctest-TestBasicPolicy-18545045-63667805 2026-06-01 15:38:08,351 - DEBUG - VM ctest-TestBasicPolicy-18545045-63667805 ID is bda26916-7dc2-4c79-ae7f-9957b999fcef 2026-06-01 15:38:08,376 - DEBUG - VM ctest-TestBasicPolicy-18545045-63667805 launched on Node cn-jenkins-deploy-platform-ansible-os-5871-1 2026-06-01 15:38:08,474 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/bda26916-7dc2-4c79-ae7f-9957b999fcef 2026-06-01 15:38:08,483 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/f19bafb0-c474-47f6-8f48-230c444f5dfb 2026-06-01 15:38:11,744 - 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 1030ms') 2026-06-01 15:38:11,744 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18545045-63667805 failed! 2026-06-01 15:38:11,805 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18545045:ctest-vn-46500107 is 180.150.232.1 and allocation pool is NOT set 2026-06-01 15:38:13,863 - 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=2.15 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 = 2.149/6.649/11.149/4.500 ms') 2026-06-01 15:38:13,863 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18545045-63667805 passed 2026-06-01 15:38:14,017 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 15:38:14,017 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18545045-63667805, IP 180.150.232.3, Port 22 2026-06-01 15:38:14,188 - DEBUG - VM ctest-TestBasicPolicy-18545045-63667805 is ready for SSH connections 2026-06-01 15:38:14,188 - INFO - Waiting for VM ctest-TestBasicPolicy-18545045-31132756 to be up.. 2026-06-01 15:38:14,276 - DEBUG - VM is in ACTIVE state now 2026-06-01 15:38:14,276 - INFO - VM name : ctest-TestBasicPolicy-18545045-31132756 2026-06-01 15:38:14,378 - DEBUG - VM ctest-TestBasicPolicy-18545045-31132756 ID is 42bb08e0-0d90-495b-9c69-05785ab66e38 2026-06-01 15:38:14,378 - DEBUG - VM ctest-TestBasicPolicy-18545045-31132756 launched on Node cn-jenkins-deploy-platform-ansible-os-5871-1 2026-06-01 15:38:14,464 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/42bb08e0-0d90-495b-9c69-05785ab66e38 2026-06-01 15:38:14,473 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/e5ec7940-90b2-41ef-8ec3-f1578935a053 2026-06-01 15:38:15,728 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.458 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.458/1.804/3.151/1.346 ms') 2026-06-01 15:38:15,728 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-18545045-31132756 passed 2026-06-01 15:38:15,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 15:38:15,881 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18545045-31132756, IP 37.235.232.131, Port 22 2026-06-01 15:38:16,037 - DEBUG - VM ctest-TestBasicPolicy-18545045-31132756 is ready for SSH connections 2026-06-01 15:38:16,037 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 15:38:16,038 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.235.232.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2026-06-01 15:38:16,038 - DEBUG - ping -s 56 -c 3 -W 1 37.235.232.131 2026-06-01 15:38:20,124 - DEBUG - PING 37.235.232.131 (37.235.232.131): 56 data bytes 64 bytes from 37.235.232.131: seq=0 ttl=63 time=6.312 ms 64 bytes from 37.235.232.131: seq=1 ttl=63 time=0.908 ms 64 bytes from 37.235.232.131: seq=2 ttl=63 time=0.952 ms --- 37.235.232.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.908/2.724/6.312 ms 2026-06-01 15:38:20,125 - INFO - Ping to IP 37.235.232.131 from VM ctest-TestBasicPolicy-18545045-63667805 passed 2026-06-01 15:38:20,305 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a0f980d6-3aa7-461b-b848-e14f40f5c52b", "href": "http://10.0.0.57:8082/network-policy/a0f980d6-3aa7-461b-b848-e14f40f5c52b"}} 2026-06-01 15:38:20,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 15:38:20,305 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.235.232.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2026-06-01 15:38:20,306 - DEBUG - ping -s 56 -c 3 -W 1 37.235.232.131 2026-06-01 15:38:23,534 - DEBUG - PING 37.235.232.131 (37.235.232.131): 56 data bytes --- 37.235.232.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-01 15:38:23,535 - WARNING - Ping to IP 37.235.232.131 from VM ctest-TestBasicPolicy-18545045-63667805 failed 2026-06-01 15:38:23,535 - INFO - Deleting VM ctest-TestBasicPolicy-18545045-31132756 2026-06-01 15:38:23,606 - INFO - Deleting VM ctest-TestBasicPolicy-18545045-63667805 2026-06-01 15:38:24,004 - INFO - Deleted policy ctest-policy-allow-all-68547730 2026-06-01 15:38:24,005 - INFO - Deleting VN ctest-vn-92902366 2026-06-01 15:38:24,052 - DEBUG - VN 19e27fee-fe9d-4ae5-b92c-8f727149cc74 still in use: Unable to complete operation on network 19e27fee-fe9d-4ae5-b92c-8f727149cc74. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b4314fad-d376-4a86-b3f4-f3368d3b582c'] 2026-06-01 15:38:24,052 - WARNING - Deleting VN ctest-vn-92902366 failed..Will retry 2026-06-01 15:38:26,190 - DEBUG - Response for deleting network () 2026-06-01 15:38:26,190 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/82e0d1db-9349-441c-81b8-b47608818b29 2026-06-01 15:38:26,198 - DEBUG - Response Code: 404 2026-06-01 15:38:26,199 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2026-06-01 15:38:26,204 - DEBUG - Requesting: http://10.0.0.57:8082/domain/7af90524-a650-45be-898a-41e0708697bd 2026-06-01 15:38:26,260 - DEBUG - Requesting: http://10.0.0.57:8082/project/316d55ea-d001-4863-8571-0aee1910c29b 2026-06-01 15:38:26,332 - INFO - Validated that VN ctest-vn-92902366 is not found in API Server 2026-06-01 15:38:26,346 - DEBUG - VN ctest-vn-92902366 is not present in Agent 10.0.0.57 2026-06-01 15:38:26,346 - INFO - Validated that VN ctest-vn-92902366 is not in any agent 2026-06-01 15:38:26,361 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92902366 info 2026-06-01 15:38:26,361 - INFO - Deleting VN ctest-vn-46500107 2026-06-01 15:38:26,470 - DEBUG - Response for deleting network () 2026-06-01 15:38:26,471 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d132c1b4-1a22-4fa8-acc4-ff9e01566e01 2026-06-01 15:38:26,481 - DEBUG - Response Code: 404 2026-06-01 15:38:26,481 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2026-06-01 15:38:26,489 - DEBUG - Requesting: http://10.0.0.57:8082/domain/7af90524-a650-45be-898a-41e0708697bd 2026-06-01 15:38:26,543 - DEBUG - Requesting: http://10.0.0.57:8082/project/316d55ea-d001-4863-8571-0aee1910c29b 2026-06-01 15:38:26,613 - INFO - Validated that VN ctest-vn-46500107 is not found in API Server 2026-06-01 15:38:26,623 - DEBUG - VN ctest-vn-46500107 is not present in Agent 10.0.0.57 2026-06-01 15:38:26,623 - INFO - Validated that VN ctest-vn-46500107 is not in any agent 2026-06-01 15:38:26,636 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46500107 info 2026-06-01 15:38:26,890 - DEBUG - No XMPP flaps were noticed during the test
2026-06-01 15:38:26,890 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-06-01 15:38:26,890 - INFO - -------------------------------------------------------------------------------- 2026-06-01 15:38:27,597 - INFO - Deleted project: ctest-TestBasicPolicy-18545045, ID : 316d55ea-d001-4863-8571-0aee1910c29b