2026-07-18 14:36:46,092 - INFO - Domain Default found not creating 2026-07-18 14:36:46,282 - INFO - Project ctest-TestBasicPolicy-69011500 not found, creating it 2026-07-18 14:36:46,804 - INFO - Created Project:ctest-TestBasicPolicy-69011500, ID : 3a988c39-25db-4853-af43-6ba514e57d35 2026-07-18 14:36:48,584 - INFO - ================================================================================ 2026-07-18 14:36:48,584 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-18 14:36:48,584 - 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-07-18 14:36:48,868 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2026-07-18 14:36:48,868 - INFO - Initial checks done. Running the testcase now 2026-07-18 14:36:48,868 - INFO - 2026-07-18 14:36:49,524 - DEBUG - Response for create_network : {'network': {'id': 'ad64de44-eb85-4c68-aae4-8dcd7dabd8af', 'name': 'ctest-vn-27140863', 'tenant_id': '3a988c3925db4853af436ba514e57d35', 'project_id': '3a988c3925db4853af436ba514e57d35', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69011500', 'ctest-vn-27140863'], 'port_security_enabled': True, 'description': ''}} 2026-07-18 14:36:49,712 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bbec4a19-c669-4494-8d4c-905d562f6d40', 'name': '', 'tenant_id': '3a988c3925db4853af436ba514e57d35', 'network_id': 'ad64de44-eb85-4c68-aae4-8dcd7dabd8af', 'ip_version': 4, 'cidr': '60.169.2.128/26', 'allocation_pools': [{'start': '60.169.2.130', 'end': '60.169.2.190'}], 'gateway_ip': '60.169.2.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.169.2.130', 'tags': [], 'project_id': '3a988c3925db4853af436ba514e57d35'}} 2026-07-18 14:36:49,733 - INFO - Created VN ctest-vn-27140863 2026-07-18 14:36:49,790 - DEBUG - VN ctest-vn-27140863 UUID is ad64de44-eb85-4c68-aae4-8dcd7dabd8af 2026-07-18 14:36:50,096 - DEBUG - Response for create_network : {'network': {'id': '5f2e494a-1809-4311-8d6e-50a5bdf12c66', 'name': 'ctest-vn-10290155', 'tenant_id': '3a988c3925db4853af436ba514e57d35', 'project_id': '3a988c3925db4853af436ba514e57d35', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69011500', 'ctest-vn-10290155'], 'port_security_enabled': True, 'description': ''}} 2026-07-18 14:36:50,334 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dda7051d-2841-4dd3-b62d-2d2baa52442d', 'name': '', 'tenant_id': '3a988c3925db4853af436ba514e57d35', 'network_id': '5f2e494a-1809-4311-8d6e-50a5bdf12c66', 'ip_version': 4, 'cidr': '140.183.216.192/26', 'allocation_pools': [{'start': '140.183.216.194', 'end': '140.183.216.254'}], 'gateway_ip': '140.183.216.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.183.216.194', 'tags': [], 'project_id': '3a988c3925db4853af436ba514e57d35'}} 2026-07-18 14:36:50,352 - INFO - Created VN ctest-vn-10290155 2026-07-18 14:36:50,410 - DEBUG - VN ctest-vn-10290155 UUID is 5f2e494a-1809-4311-8d6e-50a5bdf12c66 2026-07-18 14:36:50,529 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-69011500:ctest-vn-27140863, 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-69011500:ctest-vn-10290155, 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-07-18 14:36:50,840 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ad64de44-eb85-4c68-aae4-8dcd7dabd8af', 'name': 'ctest-vn-27140863', 'tenant_id': '3a988c3925db4853af436ba514e57d35', 'project_id': '3a988c3925db4853af436ba514e57d35', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bbec4a19-c669-4494-8d4c-905d562f6d40'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69011500', 'ctest-vn-27140863'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69011500', 'ctest-policy-allow-all-27106918']], 'subnet_ipam': [{'subnet_cidr': '60.169.2.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-18 14:36:51,106 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5f2e494a-1809-4311-8d6e-50a5bdf12c66', 'name': 'ctest-vn-10290155', 'tenant_id': '3a988c3925db4853af436ba514e57d35', 'project_id': '3a988c3925db4853af436ba514e57d35', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dda7051d-2841-4dd3-b62d-2d2baa52442d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69011500', 'ctest-vn-10290155'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69011500', 'ctest-policy-allow-all-27106918']], 'subnet_ipam': [{'subnet_cidr': '140.183.216.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-18 14:36:51,274 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-07-18 14:36:51,649 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-07-18 14:36:51,681 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e5d71531-1c93-46fb-84d4-bc8ea547b5f2 2026-07-18 14:36:51,696 - DEBUG - Requesting: http://10.0.0.242:8082/project/3a988c39-25db-4853-af43-6ba514e57d35 2026-07-18 14:36:51,782 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ad64de44-eb85-4c68-aae4-8dcd7dabd8af 2026-07-18 14:36:51,798 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ad64de44-eb85-4c68-aae4-8dcd7dabd8af 2026-07-18 14:36:51,812 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/48e2d75f-23fb-4c4f-9cc5-8445df886662 2026-07-18 14:36:51,822 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/48e2d75f-23fb-4c4f-9cc5-8445df886662 2026-07-18 14:36:51,830 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/90cdbb78-1448-4d8e-b12d-6ea6061c522e 2026-07-18 14:36:51,837 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-18 14:36:51,837 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ad64de44-eb85-4c68-aae4-8dcd7dabd8af 2026-07-18 14:36:51,847 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/48e2d75f-23fb-4c4f-9cc5-8445df886662 2026-07-18 14:36:51,863 - INFO - Verified VN network id 11 for VN ad64de44-eb85-4c68-aae4-8dcd7dabd8af 2026-07-18 14:36:51,863 - INFO - Verifications in API Server for VN ctest-vn-27140863 passed 2026-07-18 14:36:51,863 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ad64de44-eb85-4c68-aae4-8dcd7dabd8af 2026-07-18 14:36:51,874 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/48e2d75f-23fb-4c4f-9cc5-8445df886662 2026-07-18 14:36:51,882 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/48e2d75f-23fb-4c4f-9cc5-8445df886662 2026-07-18 14:36:51,891 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/90cdbb78-1448-4d8e-b12d-6ea6061c522e 2026-07-18 14:36:51,906 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69011500:ctest-vn-27140863', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69011500', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12494355653823122536', 'uuid-lslong': '12314123194854004911'}, 'enable': 'true', 'created': '2026-07-18T14:36:49', 'last-modified': '2026-07-18T14:36:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.092487'} 2026-07-18 14:36:51,914 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-18 14:36:51,914 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27140863 passed 2026-07-18 14:36:51,914 - DEBUG - ====Verifying policy data for ctest-vn-27140863 in API_Server ====== 2026-07-18 14:36:51,914 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-07-18 14:36:51,921 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e5d71531-1c93-46fb-84d4-bc8ea547b5f2 2026-07-18 14:36:51,935 - DEBUG - Requesting: http://10.0.0.242:8082/project/3a988c39-25db-4853-af43-6ba514e57d35 2026-07-18 14:36:52,014 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ad64de44-eb85-4c68-aae4-8dcd7dabd8af 2026-07-18 14:36:52,025 - DEBUG - ==>Verifying data for policy with id: 6b106c25-5126-4bf9-8ee3-85372c0f980c, fqn: ['default-domain', 'ctest-TestBasicPolicy-69011500', 'ctest-policy-allow-all-27106918'] 2026-07-18 14:36:52,026 - INFO - VN ctest-vn-27140863 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-18 14:36:52,026 - DEBUG - Verifying the vn in opserver 2026-07-18 14:36:52,026 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69011500:ctest-vn-27140863 virtual network link through opserver 10.0.0.242 2026-07-18 14:36:52,026 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-07-18 14:36:52,397 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-07-18 14:36:52,457 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69011500:ctest-vn-27140863', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69011500:ctest-vn-27140863?flat'} 2026-07-18 14:36:52,457 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69011500:ctest-vn-27140863 is found in opserver 2026-07-18 14:36:52,469 - DEBUG - Do not have enough data to verify VN in agent 2026-07-18 14:36:52,474 - DEBUG - VRF ids for VN ctest-vn-27140863: {} 2026-07-18 14:36:52,474 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-07-18 14:36:52,480 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e5d71531-1c93-46fb-84d4-bc8ea547b5f2 2026-07-18 14:36:52,492 - DEBUG - Requesting: http://10.0.0.242:8082/project/3a988c39-25db-4853-af43-6ba514e57d35 2026-07-18 14:36:52,575 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5f2e494a-1809-4311-8d6e-50a5bdf12c66 2026-07-18 14:36:52,591 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5f2e494a-1809-4311-8d6e-50a5bdf12c66 2026-07-18 14:36:52,603 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e20b3afb-6193-43bc-af54-065258645c44 2026-07-18 14:36:52,611 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e20b3afb-6193-43bc-af54-065258645c44 2026-07-18 14:36:52,620 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/6fee92e6-ed3f-4ada-8a77-9f3f91c57808 2026-07-18 14:36:52,627 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-18 14:36:52,627 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5f2e494a-1809-4311-8d6e-50a5bdf12c66 2026-07-18 14:36:52,639 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e20b3afb-6193-43bc-af54-065258645c44 2026-07-18 14:36:52,657 - INFO - Verified VN network id 12 for VN 5f2e494a-1809-4311-8d6e-50a5bdf12c66 2026-07-18 14:36:52,657 - INFO - Verifications in API Server for VN ctest-vn-10290155 passed 2026-07-18 14:36:52,657 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5f2e494a-1809-4311-8d6e-50a5bdf12c66 2026-07-18 14:36:52,668 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e20b3afb-6193-43bc-af54-065258645c44 2026-07-18 14:36:52,677 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e20b3afb-6193-43bc-af54-065258645c44 2026-07-18 14:36:52,685 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/6fee92e6-ed3f-4ada-8a77-9f3f91c57808 2026-07-18 14:36:52,699 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69011500:ctest-vn-10290155', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69011500', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6858499865111511825', 'uuid-lslong': '10191171679572536422'}, 'enable': 'true', 'created': '2026-07-18T14:36:50', 'last-modified': '2026-07-18T14:36:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.623113'} 2026-07-18 14:36:52,707 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-18 14:36:52,707 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10290155 passed 2026-07-18 14:36:52,707 - DEBUG - ====Verifying policy data for ctest-vn-10290155 in API_Server ====== 2026-07-18 14:36:52,707 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-07-18 14:36:52,713 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e5d71531-1c93-46fb-84d4-bc8ea547b5f2 2026-07-18 14:36:52,725 - DEBUG - Requesting: http://10.0.0.242:8082/project/3a988c39-25db-4853-af43-6ba514e57d35 2026-07-18 14:36:52,811 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5f2e494a-1809-4311-8d6e-50a5bdf12c66 2026-07-18 14:36:52,824 - DEBUG - ==>Verifying data for policy with id: 6b106c25-5126-4bf9-8ee3-85372c0f980c, fqn: ['default-domain', 'ctest-TestBasicPolicy-69011500', 'ctest-policy-allow-all-27106918'] 2026-07-18 14:36:52,824 - INFO - VN ctest-vn-10290155 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-18 14:36:52,824 - DEBUG - Verifying the vn in opserver 2026-07-18 14:36:52,824 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69011500:ctest-vn-10290155 virtual network link through opserver 10.0.0.242 2026-07-18 14:36:52,824 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-07-18 14:36:52,837 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69011500:ctest-vn-10290155', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69011500:ctest-vn-10290155?flat'} 2026-07-18 14:36:52,837 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69011500:ctest-vn-10290155 is found in opserver 2026-07-18 14:36:52,849 - DEBUG - Do not have enough data to verify VN in agent 2026-07-18 14:36:52,854 - DEBUG - VRF ids for VN ctest-vn-10290155: {} 2026-07-18 14:36:52,929 - DEBUG - Services list from nova: [, , ] 2026-07-18 14:36:53,401 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6104-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6104-1) 2026-07-18 14:36:53,828 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6104-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6104-1) 2026-07-18 14:36:53,828 - INFO - Waiting for VM ctest-TestBasicPolicy-69011500-12221628 to be up.. 2026-07-18 14:36:53,869 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 14:36:58,961 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 14:37:04,052 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 14:37:09,134 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 14:37:14,223 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 14:37:19,309 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 14:37:24,396 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 14:37:29,480 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 14:37:34,576 - DEBUG - VM is in ACTIVE state now 2026-07-18 14:37:34,577 - INFO - VM name : ctest-TestBasicPolicy-69011500-12221628 2026-07-18 14:37:34,664 - DEBUG - VM ctest-TestBasicPolicy-69011500-12221628 ID is 6aa41fce-b4ae-4fe2-9cd3-69eb98448f36 2026-07-18 14:37:34,687 - DEBUG - VM ctest-TestBasicPolicy-69011500-12221628 launched on Node cn-jenkins-deploy-platform-ansible-os-6104-1 2026-07-18 14:37:34,771 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/6aa41fce-b4ae-4fe2-9cd3-69eb98448f36 2026-07-18 14:37:34,781 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/f7040b32-6aa3-452f-9945-513ba33c76f1 2026-07-18 14:37:38,044 - 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 1008ms') 2026-07-18 14:37:38,044 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69011500-12221628 failed! 2026-07-18 14:37:38,102 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-69011500:ctest-vn-27140863 is 60.169.2.129 and allocation pool is NOT set 2026-07-18 14:37:40,162 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.480 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.480/2.558/4.636/2.078 ms') 2026-07-18 14:37:40,162 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69011500-12221628 passed 2026-07-18 14:37:40,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 14:37:40,318 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69011500-12221628, IP 60.169.2.131, Port 22 2026-07-18 14:37:40,485 - DEBUG - VM ctest-TestBasicPolicy-69011500-12221628 is ready for SSH connections 2026-07-18 14:37:40,485 - INFO - Waiting for VM ctest-TestBasicPolicy-69011500-32492178 to be up.. 2026-07-18 14:37:40,565 - DEBUG - VM is in ACTIVE state now 2026-07-18 14:37:40,566 - INFO - VM name : ctest-TestBasicPolicy-69011500-32492178 2026-07-18 14:37:40,646 - DEBUG - VM ctest-TestBasicPolicy-69011500-32492178 ID is ddddbb13-34ef-4b4c-ad56-896a12838f09 2026-07-18 14:37:40,646 - DEBUG - VM ctest-TestBasicPolicy-69011500-32492178 launched on Node cn-jenkins-deploy-platform-ansible-os-6104-1 2026-07-18 14:37:40,732 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/ddddbb13-34ef-4b4c-ad56-896a12838f09 2026-07-18 14:37:40,742 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/f5cbf4eb-b34c-4f1b-8b27-f882e8c29be2 2026-07-18 14:37:41,987 - 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=8.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.447 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.447/4.555/8.663/4.108 ms') 2026-07-18 14:37:41,987 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-69011500-32492178 passed 2026-07-18 14:37:42,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 14:37:42,142 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69011500-32492178, IP 140.183.216.195, Port 22 2026-07-18 14:37:42,313 - DEBUG - VM ctest-TestBasicPolicy-69011500-32492178 is ready for SSH connections 2026-07-18 14:37:42,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 14:37:42,313 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.183.216.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-07-18 14:37:42,313 - DEBUG - ping -s 56 -c 3 -W 1 140.183.216.195 2026-07-18 14:37:46,344 - DEBUG - PING 140.183.216.195 (140.183.216.195): 56 data bytes 64 bytes from 140.183.216.195: seq=0 ttl=63 time=5.416 ms 64 bytes from 140.183.216.195: seq=1 ttl=63 time=1.144 ms 64 bytes from 140.183.216.195: seq=2 ttl=63 time=1.294 ms --- 140.183.216.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.144/2.618/5.416 ms 2026-07-18 14:37:46,345 - INFO - Ping to IP 140.183.216.195 from VM ctest-TestBasicPolicy-69011500-12221628 passed 2026-07-18 14:37:46,530 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6b106c25-5126-4bf9-8ee3-85372c0f980c", "href": "http://10.0.0.242:8082/network-policy/6b106c25-5126-4bf9-8ee3-85372c0f980c"}} 2026-07-18 14:37:46,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 14:37:46,530 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.183.216.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-07-18 14:37:46,530 - DEBUG - ping -s 56 -c 3 -W 1 140.183.216.195 2026-07-18 14:37:49,655 - DEBUG - PING 140.183.216.195 (140.183.216.195): 56 data bytes 64 bytes from 140.183.216.195: seq=0 ttl=63 time=1.587 ms --- 140.183.216.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.587/1.587/1.587 ms 2026-07-18 14:37:49,655 - WARNING - Ping to IP 140.183.216.195 from VM ctest-TestBasicPolicy-69011500-12221628 failed 2026-07-18 14:37:49,655 - INFO - Deleting VM ctest-TestBasicPolicy-69011500-32492178 2026-07-18 14:37:49,735 - INFO - Deleting VM ctest-TestBasicPolicy-69011500-12221628 2026-07-18 14:37:50,135 - INFO - Deleted policy ctest-policy-allow-all-27106918 2026-07-18 14:37:50,135 - INFO - Deleting VN ctest-vn-10290155 2026-07-18 14:37:50,175 - DEBUG - VN 5f2e494a-1809-4311-8d6e-50a5bdf12c66 still in use: Unable to complete operation on network 5f2e494a-1809-4311-8d6e-50a5bdf12c66. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2f19d6f6-e3a0-4751-8daf-a152e1f35a35'] 2026-07-18 14:37:50,175 - WARNING - Deleting VN ctest-vn-10290155 failed..Will retry 2026-07-18 14:37:52,301 - DEBUG - Response for deleting network () 2026-07-18 14:37:52,301 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e20b3afb-6193-43bc-af54-065258645c44 2026-07-18 14:37:52,309 - DEBUG - Response Code: 404 2026-07-18 14:37:52,309 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-07-18 14:37:52,315 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e5d71531-1c93-46fb-84d4-bc8ea547b5f2 2026-07-18 14:37:52,371 - DEBUG - Requesting: http://10.0.0.242:8082/project/3a988c39-25db-4853-af43-6ba514e57d35 2026-07-18 14:37:52,450 - INFO - Validated that VN ctest-vn-10290155 is not found in API Server 2026-07-18 14:37:52,464 - DEBUG - VN ctest-vn-10290155 is not present in Agent 10.0.0.242 2026-07-18 14:37:52,464 - INFO - Validated that VN ctest-vn-10290155 is not in any agent 2026-07-18 14:37:52,481 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10290155 info 2026-07-18 14:37:52,482 - INFO - Deleting VN ctest-vn-27140863 2026-07-18 14:37:52,595 - DEBUG - Response for deleting network () 2026-07-18 14:37:52,596 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/48e2d75f-23fb-4c4f-9cc5-8445df886662 2026-07-18 14:37:52,605 - DEBUG - Response Code: 404 2026-07-18 14:37:52,606 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-07-18 14:37:52,612 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e5d71531-1c93-46fb-84d4-bc8ea547b5f2 2026-07-18 14:37:52,668 - DEBUG - Requesting: http://10.0.0.242:8082/project/3a988c39-25db-4853-af43-6ba514e57d35 2026-07-18 14:37:52,744 - INFO - Validated that VN ctest-vn-27140863 is not found in API Server 2026-07-18 14:37:52,758 - DEBUG - VN ctest-vn-27140863 is not present in Agent 10.0.0.242 2026-07-18 14:37:52,758 - INFO - Validated that VN ctest-vn-27140863 is not in any agent 2026-07-18 14:37:52,783 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27140863 info 2026-07-18 14:37:53,056 - DEBUG - No XMPP flaps were noticed during the test 2026-07-18 14:37:53,056 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:05] 2026-07-18 14:37:53,056 - INFO - -------------------------------------------------------------------------------- 2026-07-18 14:37:53,843 - INFO - Deleted project: ctest-TestBasicPolicy-69011500, ID : 3a988c39-25db-4853-af43-6ba514e57d35