2026-01-06 14:09:12,930 - INFO - Domain Default found not creating 2026-01-06 14:09:13,079 - INFO - Project ctest-TestBasicPolicy-02295513 not found, creating it 2026-01-06 14:09:13,501 - INFO - Created Project:ctest-TestBasicPolicy-02295513, ID : 9434cc5f-a1ba-434e-8137-6bbb4af52011 2026-01-06 14:09:14,954 - INFO - ================================================================================ 2026-01-06 14:09:14,954 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-06 14:09:14,954 - 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-01-06 14:09:15,210 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-01-06 14:09:15,210 - INFO - Initial checks done. Running the testcase now 2026-01-06 14:09:15,210 - INFO - 2026-01-06 14:09:15,731 - DEBUG - Response for create_network : {'network': {'id': '5f04b870-c3bb-40c8-8ceb-6fe0bef28cd6', 'name': 'ctest-vn-38177725', 'tenant_id': '9434cc5fa1ba434e81376bbb4af52011', 'project_id': '9434cc5fa1ba434e81376bbb4af52011', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02295513', 'ctest-vn-38177725'], 'port_security_enabled': True, 'description': ''}} 2026-01-06 14:09:15,924 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb1b0816-1bb5-4cf5-9c89-6e4ec414c814', 'name': '', 'tenant_id': '9434cc5fa1ba434e81376bbb4af52011', 'network_id': '5f04b870-c3bb-40c8-8ceb-6fe0bef28cd6', 'ip_version': 4, 'cidr': '77.39.1.128/26', 'allocation_pools': [{'start': '77.39.1.130', 'end': '77.39.1.190'}], 'gateway_ip': '77.39.1.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.39.1.130', 'tags': [], 'project_id': '9434cc5fa1ba434e81376bbb4af52011'}} 2026-01-06 14:09:15,940 - INFO - Created VN ctest-vn-38177725 2026-01-06 14:09:15,992 - DEBUG - VN ctest-vn-38177725 UUID is 5f04b870-c3bb-40c8-8ceb-6fe0bef28cd6 2026-01-06 14:09:16,303 - DEBUG - Response for create_network : {'network': {'id': '310c5267-7108-4794-937a-8701938e8fba', 'name': 'ctest-vn-99452432', 'tenant_id': '9434cc5fa1ba434e81376bbb4af52011', 'project_id': '9434cc5fa1ba434e81376bbb4af52011', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02295513', 'ctest-vn-99452432'], 'port_security_enabled': True, 'description': ''}} 2026-01-06 14:09:16,480 - DEBUG - Response for create_subnet : {'subnet': {'id': '259ca0f2-7d51-41ad-b531-ab2d5ae68e51', 'name': '', 'tenant_id': '9434cc5fa1ba434e81376bbb4af52011', 'network_id': '310c5267-7108-4794-937a-8701938e8fba', 'ip_version': 4, 'cidr': '214.142.223.0/26', 'allocation_pools': [{'start': '214.142.223.2', 'end': '214.142.223.62'}], 'gateway_ip': '214.142.223.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.142.223.2', 'tags': [], 'project_id': '9434cc5fa1ba434e81376bbb4af52011'}} 2026-01-06 14:09:16,498 - INFO - Created VN ctest-vn-99452432 2026-01-06 14:09:16,548 - DEBUG - VN ctest-vn-99452432 UUID is 310c5267-7108-4794-937a-8701938e8fba 2026-01-06 14:09:16,692 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02295513:ctest-vn-38177725, 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-02295513:ctest-vn-99452432, 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-01-06 14:09:16,972 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5f04b870-c3bb-40c8-8ceb-6fe0bef28cd6', 'name': 'ctest-vn-38177725', 'tenant_id': '9434cc5fa1ba434e81376bbb4af52011', 'project_id': '9434cc5fa1ba434e81376bbb4af52011', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cb1b0816-1bb5-4cf5-9c89-6e4ec414c814'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02295513', 'ctest-vn-38177725'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02295513', 'ctest-policy-allow-all-21086227']], 'subnet_ipam': [{'subnet_cidr': '77.39.1.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-06 14:09:17,190 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '310c5267-7108-4794-937a-8701938e8fba', 'name': 'ctest-vn-99452432', 'tenant_id': '9434cc5fa1ba434e81376bbb4af52011', 'project_id': '9434cc5fa1ba434e81376bbb4af52011', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['259ca0f2-7d51-41ad-b531-ab2d5ae68e51'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02295513', 'ctest-vn-99452432'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02295513', 'ctest-policy-allow-all-21086227']], 'subnet_ipam': [{'subnet_cidr': '214.142.223.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-06 14:09:17,348 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-06 14:09:17,641 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-06 14:09:17,669 - DEBUG - Requesting: http://10.0.0.38:8082/domain/65ec345c-9b48-4231-96b9-1badb46d1b06 2026-01-06 14:09:17,680 - DEBUG - Requesting: http://10.0.0.38:8082/project/9434cc5f-a1ba-434e-8137-6bbb4af52011 2026-01-06 14:09:17,750 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5f04b870-c3bb-40c8-8ceb-6fe0bef28cd6 2026-01-06 14:09:17,763 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5f04b870-c3bb-40c8-8ceb-6fe0bef28cd6 2026-01-06 14:09:17,771 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cf35e92a-ef7c-4ab0-953c-c287400ee55a 2026-01-06 14:09:17,777 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cf35e92a-ef7c-4ab0-953c-c287400ee55a 2026-01-06 14:09:17,783 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e5a2ee3e-e5e1-42c1-9c53-88cf971dc5f2 2026-01-06 14:09:17,788 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-06 14:09:17,788 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5f04b870-c3bb-40c8-8ceb-6fe0bef28cd6 2026-01-06 14:09:17,795 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cf35e92a-ef7c-4ab0-953c-c287400ee55a 2026-01-06 14:09:17,809 - INFO - Verified VN network id 11 for VN 5f04b870-c3bb-40c8-8ceb-6fe0bef28cd6 2026-01-06 14:09:17,809 - INFO - Verifications in API Server for VN ctest-vn-38177725 passed 2026-01-06 14:09:17,809 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5f04b870-c3bb-40c8-8ceb-6fe0bef28cd6 2026-01-06 14:09:17,817 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cf35e92a-ef7c-4ab0-953c-c287400ee55a 2026-01-06 14:09:17,823 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cf35e92a-ef7c-4ab0-953c-c287400ee55a 2026-01-06 14:09:17,829 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e5a2ee3e-e5e1-42c1-9c53-88cf971dc5f2 2026-01-06 14:09:17,839 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02295513:ctest-vn-38177725', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02295513', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6846800127969673416', 'uuid-lslong': '10154332795903839446'}, 'enable': 'true', 'created': '2026-01-06T14:09:15', 'last-modified': '2026-01-06T14:09:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.885472'} 2026-01-06 14:09:17,844 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-06 14:09:17,844 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38177725 passed 2026-01-06 14:09:17,844 - DEBUG - ====Verifying policy data for ctest-vn-38177725 in API_Server ====== 2026-01-06 14:09:17,844 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-06 14:09:17,849 - DEBUG - Requesting: http://10.0.0.38:8082/domain/65ec345c-9b48-4231-96b9-1badb46d1b06 2026-01-06 14:09:17,860 - DEBUG - Requesting: http://10.0.0.38:8082/project/9434cc5f-a1ba-434e-8137-6bbb4af52011 2026-01-06 14:09:17,929 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5f04b870-c3bb-40c8-8ceb-6fe0bef28cd6 2026-01-06 14:09:17,937 - DEBUG - ==>Verifying data for policy with id: 4dcf3b57-4de1-41d1-aa82-4aa1665ef95c, fqn: ['default-domain', 'ctest-TestBasicPolicy-02295513', 'ctest-policy-allow-all-21086227'] 2026-01-06 14:09:17,937 - INFO - VN ctest-vn-38177725 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-06 14:09:17,938 - DEBUG - Verifying the vn in opserver 2026-01-06 14:09:17,938 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02295513:ctest-vn-38177725 virtual network link through opserver 10.0.0.38 2026-01-06 14:09:17,938 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-06 14:09:18,226 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-06 14:09:18,281 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02295513:ctest-vn-38177725', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02295513:ctest-vn-38177725?flat'} 2026-01-06 14:09:18,281 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02295513:ctest-vn-38177725 is found in opserver 2026-01-06 14:09:18,289 - DEBUG - Do not have enough data to verify VN in agent 2026-01-06 14:09:18,293 - DEBUG - VRF ids for VN ctest-vn-38177725: {} 2026-01-06 14:09:18,293 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-06 14:09:18,297 - DEBUG - Requesting: http://10.0.0.38:8082/domain/65ec345c-9b48-4231-96b9-1badb46d1b06 2026-01-06 14:09:18,306 - DEBUG - Requesting: http://10.0.0.38:8082/project/9434cc5f-a1ba-434e-8137-6bbb4af52011 2026-01-06 14:09:18,372 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/310c5267-7108-4794-937a-8701938e8fba 2026-01-06 14:09:18,381 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/310c5267-7108-4794-937a-8701938e8fba 2026-01-06 14:09:18,388 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/53ca3109-41ec-4d63-97bd-8239d367e5fd 2026-01-06 14:09:18,394 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/53ca3109-41ec-4d63-97bd-8239d367e5fd 2026-01-06 14:09:18,400 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4d8fa5f8-4be7-4972-bbd1-3ae7568e76ee 2026-01-06 14:09:18,405 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-06 14:09:18,405 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/310c5267-7108-4794-937a-8701938e8fba 2026-01-06 14:09:18,412 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/53ca3109-41ec-4d63-97bd-8239d367e5fd 2026-01-06 14:09:18,422 - INFO - Verified VN network id 12 for VN 310c5267-7108-4794-937a-8701938e8fba 2026-01-06 14:09:18,422 - INFO - Verifications in API Server for VN ctest-vn-99452432 passed 2026-01-06 14:09:18,423 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/310c5267-7108-4794-937a-8701938e8fba 2026-01-06 14:09:18,430 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/53ca3109-41ec-4d63-97bd-8239d367e5fd 2026-01-06 14:09:18,435 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/53ca3109-41ec-4d63-97bd-8239d367e5fd 2026-01-06 14:09:18,440 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4d8fa5f8-4be7-4972-bbd1-3ae7568e76ee 2026-01-06 14:09:18,449 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02295513:ctest-vn-99452432', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02295513', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3534290411810473876', 'uuid-lslong': '10626954711574417338'}, 'enable': 'true', 'created': '2026-01-06T14:09:16', 'last-modified': '2026-01-06T14:09:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.280063'} 2026-01-06 14:09:18,455 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-06 14:09:18,455 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99452432 passed 2026-01-06 14:09:18,455 - DEBUG - ====Verifying policy data for ctest-vn-99452432 in API_Server ====== 2026-01-06 14:09:18,455 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-06 14:09:18,459 - DEBUG - Requesting: http://10.0.0.38:8082/domain/65ec345c-9b48-4231-96b9-1badb46d1b06 2026-01-06 14:09:18,468 - DEBUG - Requesting: http://10.0.0.38:8082/project/9434cc5f-a1ba-434e-8137-6bbb4af52011 2026-01-06 14:09:18,533 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/310c5267-7108-4794-937a-8701938e8fba 2026-01-06 14:09:18,540 - DEBUG - ==>Verifying data for policy with id: 4dcf3b57-4de1-41d1-aa82-4aa1665ef95c, fqn: ['default-domain', 'ctest-TestBasicPolicy-02295513', 'ctest-policy-allow-all-21086227'] 2026-01-06 14:09:18,541 - INFO - VN ctest-vn-99452432 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-06 14:09:18,541 - DEBUG - Verifying the vn in opserver 2026-01-06 14:09:18,541 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02295513:ctest-vn-99452432 virtual network link through opserver 10.0.0.38 2026-01-06 14:09:18,541 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-06 14:09:18,548 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02295513:ctest-vn-99452432', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02295513:ctest-vn-99452432?flat'} 2026-01-06 14:09:18,548 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02295513:ctest-vn-99452432 is found in opserver 2026-01-06 14:09:18,557 - DEBUG - Do not have enough data to verify VN in agent 2026-01-06 14:09:18,561 - DEBUG - VRF ids for VN ctest-vn-99452432: {} 2026-01-06 14:09:18,610 - DEBUG - Services list from nova: [, , ] 2026-01-06 14:09:19,585 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4969-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4969-1) 2026-01-06 14:09:20,646 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4969-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4969-1) 2026-01-06 14:09:20,646 - INFO - Waiting for VM ctest-TestBasicPolicy-02295513-07060456 to be up.. 2026-01-06 14:09:20,719 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-06 14:09:25,784 - DEBUG - VM is in ACTIVE state now 2026-01-06 14:09:25,784 - INFO - VM name : ctest-TestBasicPolicy-02295513-07060456 2026-01-06 14:09:25,858 - DEBUG - VM ctest-TestBasicPolicy-02295513-07060456 ID is b4a8d20b-5fb8-4778-9580-7d1fbb7789fb 2026-01-06 14:09:25,879 - DEBUG - VM ctest-TestBasicPolicy-02295513-07060456 launched on Node cn-jenkins-deploy-platform-ansible-os-4969-1 2026-01-06 14:09:25,953 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b4a8d20b-5fb8-4778-9580-7d1fbb7789fb 2026-01-06 14:09:25,961 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/40508378-72bd-4ee3-bc27-0f7bff1e0bd5 2026-01-06 14:09:29,204 - 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 1012ms') 2026-01-06 14:09:29,204 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02295513-07060456 failed! 2026-01-06 14:09:29,256 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-02295513:ctest-vn-38177725 is 77.39.1.129 and allocation pool is NOT set 2026-01-06 14:09:31,320 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.426 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.426/2.548/4.670/2.122 ms') 2026-01-06 14:09:31,320 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02295513-07060456 passed 2026-01-06 14:09:31,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-06 14:09:31,468 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02295513-07060456, IP 77.39.1.131, Port 22 2026-01-06 14:09:31,624 - DEBUG - VM ctest-TestBasicPolicy-02295513-07060456 is ready for SSH connections 2026-01-06 14:09:31,624 - INFO - Waiting for VM ctest-TestBasicPolicy-02295513-11072877 to be up.. 2026-01-06 14:09:31,692 - DEBUG - VM is in ACTIVE state now 2026-01-06 14:09:31,692 - INFO - VM name : ctest-TestBasicPolicy-02295513-11072877 2026-01-06 14:09:31,765 - DEBUG - VM ctest-TestBasicPolicy-02295513-11072877 ID is b315abce-5026-4f34-9e3a-3909f3f923b9 2026-01-06 14:09:31,765 - DEBUG - VM ctest-TestBasicPolicy-02295513-11072877 launched on Node cn-jenkins-deploy-platform-ansible-os-4969-1 2026-01-06 14:09:31,838 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b315abce-5026-4f34-9e3a-3909f3f923b9 2026-01-06 14:09:31,846 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7baca869-207a-4067-86a7-0f612a415237 2026-01-06 14:09:33,090 - 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=2.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.350 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 = 0.350/1.566/2.782/1.216 ms') 2026-01-06 14:09:33,090 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-02295513-11072877 passed 2026-01-06 14:09:33,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-06 14:09:33,236 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02295513-11072877, IP 214.142.223.3, Port 22 2026-01-06 14:09:33,391 - DEBUG - VM ctest-TestBasicPolicy-02295513-11072877 is ready for SSH connections 2026-01-06 14:09:33,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-06 14:09:33,391 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.142.223.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-06 14:09:33,392 - DEBUG - ping -s 56 -c 3 -W 1 214.142.223.3 2026-01-06 14:09:37,071 - DEBUG - PING 214.142.223.3 (214.142.223.3): 56 data bytes 64 bytes from 214.142.223.3: seq=0 ttl=63 time=3.089 ms 64 bytes from 214.142.223.3: seq=1 ttl=63 time=0.709 ms 64 bytes from 214.142.223.3: seq=2 ttl=63 time=0.797 ms --- 214.142.223.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.709/1.531/3.089 ms 2026-01-06 14:09:37,072 - INFO - Ping to IP 214.142.223.3 from VM ctest-TestBasicPolicy-02295513-07060456 passed 2026-01-06 14:09:37,252 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4dcf3b57-4de1-41d1-aa82-4aa1665ef95c", "href": "http://10.0.0.38:8082/network-policy/4dcf3b57-4de1-41d1-aa82-4aa1665ef95c"}} 2026-01-06 14:09:37,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-06 14:09:37,252 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.142.223.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-06 14:09:37,252 - DEBUG - ping -s 56 -c 3 -W 1 214.142.223.3 2026-01-06 14:09:40,452 - DEBUG - PING 214.142.223.3 (214.142.223.3): 56 data bytes --- 214.142.223.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-06 14:09:40,452 - WARNING - Ping to IP 214.142.223.3 from VM ctest-TestBasicPolicy-02295513-07060456 failed 2026-01-06 14:09:40,452 - INFO - Deleting VM ctest-TestBasicPolicy-02295513-11072877 2026-01-06 14:09:40,511 - INFO - Deleting VM ctest-TestBasicPolicy-02295513-07060456 2026-01-06 14:09:40,858 - INFO - Deleted policy ctest-policy-allow-all-21086227 2026-01-06 14:09:40,858 - INFO - Deleting VN ctest-vn-99452432 2026-01-06 14:09:40,889 - DEBUG - VN 310c5267-7108-4794-937a-8701938e8fba still in use: Unable to complete operation on network 310c5267-7108-4794-937a-8701938e8fba. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8d6637ad-2ce6-4f07-8616-12d1c3a39f3d'] 2026-01-06 14:09:40,889 - WARNING - Deleting VN ctest-vn-99452432 failed..Will retry 2026-01-06 14:09:42,974 - DEBUG - Response for deleting network () 2026-01-06 14:09:42,974 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/53ca3109-41ec-4d63-97bd-8239d367e5fd 2026-01-06 14:09:42,980 - DEBUG - Response Code: 404 2026-01-06 14:09:42,980 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-06 14:09:42,986 - DEBUG - Requesting: http://10.0.0.38:8082/domain/65ec345c-9b48-4231-96b9-1badb46d1b06 2026-01-06 14:09:43,037 - DEBUG - Requesting: http://10.0.0.38:8082/project/9434cc5f-a1ba-434e-8137-6bbb4af52011 2026-01-06 14:09:43,107 - INFO - Validated that VN ctest-vn-99452432 is not found in API Server 2026-01-06 14:09:43,118 - DEBUG - VN ctest-vn-99452432 is not present in Agent 10.0.0.38 2026-01-06 14:09:43,119 - INFO - Validated that VN ctest-vn-99452432 is not in any agent 2026-01-06 14:09:43,131 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99452432 info 2026-01-06 14:09:43,131 - INFO - Deleting VN ctest-vn-38177725 2026-01-06 14:09:43,213 - DEBUG - Response for deleting network () 2026-01-06 14:09:43,213 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cf35e92a-ef7c-4ab0-953c-c287400ee55a 2026-01-06 14:09:43,218 - DEBUG - Response Code: 404 2026-01-06 14:09:43,219 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-06 14:09:43,223 - DEBUG - Requesting: http://10.0.0.38:8082/domain/65ec345c-9b48-4231-96b9-1badb46d1b06 2026-01-06 14:09:43,272 - DEBUG - Requesting: http://10.0.0.38:8082/project/9434cc5f-a1ba-434e-8137-6bbb4af52011 2026-01-06 14:09:43,372 - INFO - Validated that VN ctest-vn-38177725 is not found in API Server 2026-01-06 14:09:43,380 - DEBUG - VN ctest-vn-38177725 is not present in Agent 10.0.0.38 2026-01-06 14:09:43,380 - INFO - Validated that VN ctest-vn-38177725 is not in any agent 2026-01-06 14:09:43,393 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38177725 info 2026-01-06 14:09:43,645 - DEBUG - No XMPP flaps were noticed during the test 2026-01-06 14:09:43,645 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-01-06 14:09:43,645 - INFO - -------------------------------------------------------------------------------- 2026-01-06 14:09:44,319 - INFO - Deleted project: ctest-TestBasicPolicy-02295513, ID : 9434cc5f-a1ba-434e-8137-6bbb4af52011