2026-08-14 17:24:19,646 - INFO - Domain Default found not creating 2026-08-14 17:24:19,832 - INFO - Project ctest-TestBasicPolicy-65314738 not found, creating it 2026-08-14 17:24:20,311 - INFO - Created Project:ctest-TestBasicPolicy-65314738, ID : 74ef791e-8de0-44b4-9639-fc3d5525fc67 2026-08-14 17:24:22,095 - INFO - ================================================================================ 2026-08-14 17:24:22,096 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-14 17:24:22,096 - 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-08-14 17:24:22,368 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.17': '0'}} with 2026-08-14 17:24:22,368 - INFO - Initial checks done. Running the testcase now 2026-08-14 17:24:22,369 - INFO - 2026-08-14 17:24:23,053 - DEBUG - Response for create_network : {'network': {'id': '639442cb-c99c-466c-8144-fdc85e8d5804', 'name': 'ctest-vn-25862491', 'tenant_id': '74ef791e8de044b49639fc3d5525fc67', 'project_id': '74ef791e8de044b49639fc3d5525fc67', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65314738', 'ctest-vn-25862491'], 'port_security_enabled': True, 'description': ''}} 2026-08-14 17:24:23,237 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ce33f8c-354a-4bb4-a936-5e1cef348bf6', 'name': '', 'tenant_id': '74ef791e8de044b49639fc3d5525fc67', 'network_id': '639442cb-c99c-466c-8144-fdc85e8d5804', 'ip_version': 4, 'cidr': '56.23.89.192/26', 'allocation_pools': [{'start': '56.23.89.194', 'end': '56.23.89.254'}], 'gateway_ip': '56.23.89.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.23.89.194', 'tags': [], 'project_id': '74ef791e8de044b49639fc3d5525fc67'}} 2026-08-14 17:24:23,264 - INFO - Created VN ctest-vn-25862491 2026-08-14 17:24:23,319 - DEBUG - VN ctest-vn-25862491 UUID is 639442cb-c99c-466c-8144-fdc85e8d5804 2026-08-14 17:24:23,657 - DEBUG - Response for create_network : {'network': {'id': '77b0a50b-9259-4105-b9d8-2089f48049f1', 'name': 'ctest-vn-38169859', 'tenant_id': '74ef791e8de044b49639fc3d5525fc67', 'project_id': '74ef791e8de044b49639fc3d5525fc67', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65314738', 'ctest-vn-38169859'], 'port_security_enabled': True, 'description': ''}} 2026-08-14 17:24:23,905 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6df8b60-4128-4208-bcc0-3f04077c616d', 'name': '', 'tenant_id': '74ef791e8de044b49639fc3d5525fc67', 'network_id': '77b0a50b-9259-4105-b9d8-2089f48049f1', 'ip_version': 4, 'cidr': '140.239.14.192/26', 'allocation_pools': [{'start': '140.239.14.194', 'end': '140.239.14.254'}], 'gateway_ip': '140.239.14.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.239.14.194', 'tags': [], 'project_id': '74ef791e8de044b49639fc3d5525fc67'}} 2026-08-14 17:24:23,926 - INFO - Created VN ctest-vn-38169859 2026-08-14 17:24:23,979 - DEBUG - VN ctest-vn-38169859 UUID is 77b0a50b-9259-4105-b9d8-2089f48049f1 2026-08-14 17:24:24,102 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65314738:ctest-vn-25862491, 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-65314738:ctest-vn-38169859, 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-08-14 17:24:24,424 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '639442cb-c99c-466c-8144-fdc85e8d5804', 'name': 'ctest-vn-25862491', 'tenant_id': '74ef791e8de044b49639fc3d5525fc67', 'project_id': '74ef791e8de044b49639fc3d5525fc67', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5ce33f8c-354a-4bb4-a936-5e1cef348bf6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65314738', 'ctest-vn-25862491'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65314738', 'ctest-policy-allow-all-85685930']], 'subnet_ipam': [{'subnet_cidr': '56.23.89.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-14 17:24:24,672 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '77b0a50b-9259-4105-b9d8-2089f48049f1', 'name': 'ctest-vn-38169859', 'tenant_id': '74ef791e8de044b49639fc3d5525fc67', 'project_id': '74ef791e8de044b49639fc3d5525fc67', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b6df8b60-4128-4208-bcc0-3f04077c616d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65314738', 'ctest-vn-38169859'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65314738', 'ctest-policy-allow-all-85685930']], 'subnet_ipam': [{'subnet_cidr': '140.239.14.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-14 17:24:24,851 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-14 17:24:25,219 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-14 17:24:25,258 - DEBUG - Requesting: http://10.0.0.162:8082/domain/c6a1433e-a96d-4510-bc4e-5b4db46bda40 2026-08-14 17:24:25,272 - DEBUG - Requesting: http://10.0.0.162:8082/project/74ef791e-8de0-44b4-9639-fc3d5525fc67 2026-08-14 17:24:25,355 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/639442cb-c99c-466c-8144-fdc85e8d5804 2026-08-14 17:24:25,369 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/639442cb-c99c-466c-8144-fdc85e8d5804 2026-08-14 17:24:25,379 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/0670203b-0cce-4a2b-b66d-0e1fb04ac08a 2026-08-14 17:24:25,388 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/0670203b-0cce-4a2b-b66d-0e1fb04ac08a 2026-08-14 17:24:25,396 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/f931788a-015f-475f-ab0c-7fb601882232 2026-08-14 17:24:25,405 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-14 17:24:25,405 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/639442cb-c99c-466c-8144-fdc85e8d5804 2026-08-14 17:24:25,417 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/0670203b-0cce-4a2b-b66d-0e1fb04ac08a 2026-08-14 17:24:25,440 - INFO - Verified VN network id 12 for VN 639442cb-c99c-466c-8144-fdc85e8d5804 2026-08-14 17:24:25,440 - INFO - Verifications in API Server for VN ctest-vn-25862491 passed 2026-08-14 17:24:25,440 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/639442cb-c99c-466c-8144-fdc85e8d5804 2026-08-14 17:24:25,452 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/0670203b-0cce-4a2b-b66d-0e1fb04ac08a 2026-08-14 17:24:25,461 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/0670203b-0cce-4a2b-b66d-0e1fb04ac08a 2026-08-14 17:24:25,472 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/f931788a-015f-475f-ab0c-7fb601882232 2026-08-14 17:24:25,487 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65314738:ctest-vn-25862491', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65314738', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7175433549336299116', 'uuid-lslong': '9314848966330636292'}, 'enable': 'true', 'created': '2026-08-14T17:24:23', 'last-modified': '2026-08-14T17:24:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.087559'} 2026-08-14 17:24:25,496 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-14 17:24:25,496 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25862491 passed 2026-08-14 17:24:25,496 - DEBUG - ====Verifying policy data for ctest-vn-25862491 in API_Server ====== 2026-08-14 17:24:25,496 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-14 17:24:25,503 - DEBUG - Requesting: http://10.0.0.162:8082/domain/c6a1433e-a96d-4510-bc4e-5b4db46bda40 2026-08-14 17:24:25,516 - DEBUG - Requesting: http://10.0.0.162:8082/project/74ef791e-8de0-44b4-9639-fc3d5525fc67 2026-08-14 17:24:25,605 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/639442cb-c99c-466c-8144-fdc85e8d5804 2026-08-14 17:24:25,618 - DEBUG - ==>Verifying data for policy with id: 871303ef-fb54-4398-9484-ec7738b82780, fqn: ['default-domain', 'ctest-TestBasicPolicy-65314738', 'ctest-policy-allow-all-85685930'] 2026-08-14 17:24:25,618 - INFO - VN ctest-vn-25862491 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-14 17:24:25,618 - DEBUG - Verifying the vn in opserver 2026-08-14 17:24:25,618 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65314738:ctest-vn-25862491 virtual network link through opserver 10.0.0.162 2026-08-14 17:24:25,618 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-08-14 17:24:26,004 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-08-14 17:24:26,065 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65314738:ctest-vn-25862491', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65314738:ctest-vn-25862491?flat'} 2026-08-14 17:24:26,065 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65314738:ctest-vn-25862491 is found in opserver 2026-08-14 17:24:26,077 - DEBUG - Do not have enough data to verify VN in agent 2026-08-14 17:24:26,082 - DEBUG - VRF ids for VN ctest-vn-25862491: {} 2026-08-14 17:24:26,082 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-14 17:24:26,090 - DEBUG - Requesting: http://10.0.0.162:8082/domain/c6a1433e-a96d-4510-bc4e-5b4db46bda40 2026-08-14 17:24:26,103 - DEBUG - Requesting: http://10.0.0.162:8082/project/74ef791e-8de0-44b4-9639-fc3d5525fc67 2026-08-14 17:24:26,177 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/77b0a50b-9259-4105-b9d8-2089f48049f1 2026-08-14 17:24:26,192 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/77b0a50b-9259-4105-b9d8-2089f48049f1 2026-08-14 17:24:26,204 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/6da72582-1ab4-44b4-b9e6-0e9a83f62b47 2026-08-14 17:24:26,213 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/6da72582-1ab4-44b4-b9e6-0e9a83f62b47 2026-08-14 17:24:26,222 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/516274f5-54be-452a-95a4-a3e8821af610 2026-08-14 17:24:26,231 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-14 17:24:26,231 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/77b0a50b-9259-4105-b9d8-2089f48049f1 2026-08-14 17:24:26,242 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/6da72582-1ab4-44b4-b9e6-0e9a83f62b47 2026-08-14 17:24:26,260 - INFO - Verified VN network id 13 for VN 77b0a50b-9259-4105-b9d8-2089f48049f1 2026-08-14 17:24:26,260 - INFO - Verifications in API Server for VN ctest-vn-38169859 passed 2026-08-14 17:24:26,260 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/77b0a50b-9259-4105-b9d8-2089f48049f1 2026-08-14 17:24:26,272 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/6da72582-1ab4-44b4-b9e6-0e9a83f62b47 2026-08-14 17:24:26,280 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/6da72582-1ab4-44b4-b9e6-0e9a83f62b47 2026-08-14 17:24:26,289 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/516274f5-54be-452a-95a4-a3e8821af610 2026-08-14 17:24:26,304 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65314738:ctest-vn-38169859', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65314738', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8624574755533046021', 'uuid-lslong': '13391489268870826481'}, 'enable': 'true', 'created': '2026-08-14T17:24:23', 'last-modified': '2026-08-14T17:24:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.659164'} 2026-08-14 17:24:26,314 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-14 17:24:26,314 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38169859 passed 2026-08-14 17:24:26,315 - DEBUG - ====Verifying policy data for ctest-vn-38169859 in API_Server ====== 2026-08-14 17:24:26,315 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-14 17:24:26,321 - DEBUG - Requesting: http://10.0.0.162:8082/domain/c6a1433e-a96d-4510-bc4e-5b4db46bda40 2026-08-14 17:24:26,336 - DEBUG - Requesting: http://10.0.0.162:8082/project/74ef791e-8de0-44b4-9639-fc3d5525fc67 2026-08-14 17:24:26,421 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/77b0a50b-9259-4105-b9d8-2089f48049f1 2026-08-14 17:24:26,432 - DEBUG - ==>Verifying data for policy with id: 871303ef-fb54-4398-9484-ec7738b82780, fqn: ['default-domain', 'ctest-TestBasicPolicy-65314738', 'ctest-policy-allow-all-85685930'] 2026-08-14 17:24:26,432 - INFO - VN ctest-vn-38169859 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-14 17:24:26,432 - DEBUG - Verifying the vn in opserver 2026-08-14 17:24:26,432 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65314738:ctest-vn-38169859 virtual network link through opserver 10.0.0.162 2026-08-14 17:24:26,433 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-08-14 17:24:26,444 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65314738:ctest-vn-38169859', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65314738:ctest-vn-38169859?flat'} 2026-08-14 17:24:26,444 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65314738:ctest-vn-38169859 is found in opserver 2026-08-14 17:24:26,458 - DEBUG - Do not have enough data to verify VN in agent 2026-08-14 17:24:26,465 - DEBUG - VRF ids for VN ctest-vn-38169859: {} 2026-08-14 17:24:26,538 - DEBUG - Services list from nova: [, , ] 2026-08-14 17:24:27,042 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6164-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6164-1) 2026-08-14 17:24:27,476 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6164-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6164-1) 2026-08-14 17:24:27,476 - INFO - Waiting for VM ctest-TestBasicPolicy-65314738-08461879 to be up.. 2026-08-14 17:24:27,521 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 17:24:32,614 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 17:24:37,713 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 17:24:42,825 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 17:24:47,918 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 17:24:53,008 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 17:24:58,100 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 17:25:03,206 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 17:25:08,303 - DEBUG - VM is in ACTIVE state now 2026-08-14 17:25:08,303 - INFO - VM name : ctest-TestBasicPolicy-65314738-08461879 2026-08-14 17:25:08,415 - DEBUG - VM ctest-TestBasicPolicy-65314738-08461879 ID is 15861c63-be28-4654-bc07-9486a1591e3e 2026-08-14 17:25:08,442 - DEBUG - VM ctest-TestBasicPolicy-65314738-08461879 launched on Node cn-jenkins-deploy-platform-ansible-os-6164-1 2026-08-14 17:25:08,552 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/15861c63-be28-4654-bc07-9486a1591e3e 2026-08-14 17:25:08,567 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/0d8e7189-27ca-4db9-ad8c-a53890e1a6b5 2026-08-14 17:25:11,847 - 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 1015ms') 2026-08-14 17:25:11,847 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65314738-08461879 failed! 2026-08-14 17:25:11,903 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65314738:ctest-vn-25862491 is 56.23.89.193 and allocation pool is NOT set 2026-08-14 17:25:15,970 - 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=2 ttl=63 time=3.82 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 3.824/3.824/3.824/0.000 ms') 2026-08-14 17:25:15,971 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65314738-08461879 passed 2026-08-14 17:25:16,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 17:25:16,127 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65314738-08461879, IP 56.23.89.195, Port 22 2026-08-14 17:25:16,297 - DEBUG - VM ctest-TestBasicPolicy-65314738-08461879 is ready for SSH connections 2026-08-14 17:25:16,297 - INFO - Waiting for VM ctest-TestBasicPolicy-65314738-85321033 to be up.. 2026-08-14 17:25:16,385 - DEBUG - VM is in ACTIVE state now 2026-08-14 17:25:16,385 - INFO - VM name : ctest-TestBasicPolicy-65314738-85321033 2026-08-14 17:25:16,474 - DEBUG - VM ctest-TestBasicPolicy-65314738-85321033 ID is 935003e3-46a4-4ff4-bf67-c21e1d28cde1 2026-08-14 17:25:16,474 - DEBUG - VM ctest-TestBasicPolicy-65314738-85321033 launched on Node cn-jenkins-deploy-platform-ansible-os-6164-1 2026-08-14 17:25:16,569 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/935003e3-46a4-4ff4-bf67-c21e1d28cde1 2026-08-14 17:25:16,580 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/e2f7fc68-98be-490f-8182-c5e61f2b7922 2026-08-14 17:25:17,833 - 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.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=4.01 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 = 4.013/4.195/4.377/0.182 ms') 2026-08-14 17:25:17,833 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-65314738-85321033 passed 2026-08-14 17:25:17,995 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 17:25:17,996 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65314738-85321033, IP 140.239.14.195, Port 22 2026-08-14 17:25:18,061 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-08-14 17:25:18,144 - DEBUG - VM ctest-TestBasicPolicy-65314738-85321033 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-14 17:25:23,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 17:25:23,145 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65314738-85321033, IP 140.239.14.195, Port 22 2026-08-14 17:25:23,317 - DEBUG - VM ctest-TestBasicPolicy-65314738-85321033 is ready for SSH connections 2026-08-14 17:25:23,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 17:25:23,317 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.239.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-08-14 17:25:23,317 - DEBUG - ping -s 56 -c 3 -W 1 140.239.14.195 2026-08-14 17:25:27,397 - DEBUG - PING 140.239.14.195 (140.239.14.195): 56 data bytes 64 bytes from 140.239.14.195: seq=0 ttl=63 time=5.343 ms 64 bytes from 140.239.14.195: seq=1 ttl=63 time=1.383 ms 64 bytes from 140.239.14.195: seq=2 ttl=63 time=1.032 ms --- 140.239.14.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.032/2.586/5.343 ms 2026-08-14 17:25:27,397 - INFO - Ping to IP 140.239.14.195 from VM ctest-TestBasicPolicy-65314738-08461879 passed 2026-08-14 17:25:27,579 - DEBUG - Policy Update Response {"network-policy": {"uuid": "871303ef-fb54-4398-9484-ec7738b82780", "href": "http://10.0.0.162:8082/network-policy/871303ef-fb54-4398-9484-ec7738b82780"}} 2026-08-14 17:25:27,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 17:25:27,579 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.239.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-08-14 17:25:27,579 - DEBUG - ping -s 56 -c 3 -W 1 140.239.14.195 2026-08-14 17:25:30,732 - DEBUG - PING 140.239.14.195 (140.239.14.195): 56 data bytes 64 bytes from 140.239.14.195: seq=0 ttl=63 time=1.945 ms --- 140.239.14.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.945/1.945/1.945 ms 2026-08-14 17:25:30,732 - WARNING - Ping to IP 140.239.14.195 from VM ctest-TestBasicPolicy-65314738-08461879 failed 2026-08-14 17:25:30,732 - INFO - Deleting VM ctest-TestBasicPolicy-65314738-85321033 2026-08-14 17:25:30,821 - INFO - Deleting VM ctest-TestBasicPolicy-65314738-08461879 2026-08-14 17:25:31,256 - INFO - Deleted policy ctest-policy-allow-all-85685930 2026-08-14 17:25:31,257 - INFO - Deleting VN ctest-vn-38169859 2026-08-14 17:25:31,295 - DEBUG - VN 77b0a50b-9259-4105-b9d8-2089f48049f1 still in use: Unable to complete operation on network 77b0a50b-9259-4105-b9d8-2089f48049f1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bc820c72-9830-4a33-a554-b923a94a4c49'] 2026-08-14 17:25:31,295 - WARNING - Deleting VN ctest-vn-38169859 failed..Will retry 2026-08-14 17:25:33,426 - DEBUG - Response for deleting network () 2026-08-14 17:25:33,426 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/6da72582-1ab4-44b4-b9e6-0e9a83f62b47 2026-08-14 17:25:33,433 - DEBUG - Response Code: 404 2026-08-14 17:25:33,433 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-14 17:25:33,447 - DEBUG - Requesting: http://10.0.0.162:8082/domain/c6a1433e-a96d-4510-bc4e-5b4db46bda40 2026-08-14 17:25:33,502 - DEBUG - Requesting: http://10.0.0.162:8082/project/74ef791e-8de0-44b4-9639-fc3d5525fc67 2026-08-14 17:25:33,591 - INFO - Validated that VN ctest-vn-38169859 is not found in API Server 2026-08-14 17:25:33,604 - DEBUG - VN ctest-vn-38169859 is not present in Agent 10.0.0.162 2026-08-14 17:25:33,604 - INFO - Validated that VN ctest-vn-38169859 is not in any agent 2026-08-14 17:25:33,627 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38169859 info 2026-08-14 17:25:33,627 - INFO - Deleting VN ctest-vn-25862491 2026-08-14 17:25:33,760 - DEBUG - Response for deleting network () 2026-08-14 17:25:33,761 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/0670203b-0cce-4a2b-b66d-0e1fb04ac08a 2026-08-14 17:25:33,768 - DEBUG - Response Code: 404 2026-08-14 17:25:33,768 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-14 17:25:33,774 - DEBUG - Requesting: http://10.0.0.162:8082/domain/c6a1433e-a96d-4510-bc4e-5b4db46bda40 2026-08-14 17:25:33,838 - DEBUG - Requesting: http://10.0.0.162:8082/project/74ef791e-8de0-44b4-9639-fc3d5525fc67 2026-08-14 17:25:33,921 - INFO - Validated that VN ctest-vn-25862491 is not found in API Server 2026-08-14 17:25:33,934 - DEBUG - VN ctest-vn-25862491 is not present in Agent 10.0.0.162 2026-08-14 17:25:33,934 - INFO - Validated that VN ctest-vn-25862491 is not in any agent 2026-08-14 17:25:33,950 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25862491 info 2026-08-14 17:25:34,228 - DEBUG - No XMPP flaps were noticed during the test 2026-08-14 17:25:34,228 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:12] 2026-08-14 17:25:34,228 - INFO - -------------------------------------------------------------------------------- 2026-08-14 17:25:35,032 - INFO - Deleted project: ctest-TestBasicPolicy-65314738, ID : 74ef791e-8de0-44b4-9639-fc3d5525fc67