2026-02-20 02:36:19,667 - INFO - Domain Default found not creating 2026-02-20 02:36:19,849 - INFO - Project ctest-TestBasicPolicy-88332286 not found, creating it 2026-02-20 02:36:20,304 - INFO - Created Project:ctest-TestBasicPolicy-88332286, ID : a1ae06bf-3681-4a46-b377-be76f45ebbaa 2026-02-20 02:36:21,868 - INFO - ================================================================================ 2026-02-20 02:36:21,868 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-20 02:36:21,868 - 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-02-20 02:36:22,127 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with 2026-02-20 02:36:22,127 - INFO - Initial checks done. Running the testcase now 2026-02-20 02:36:22,127 - INFO - 2026-02-20 02:36:22,694 - DEBUG - Response for create_network : {'network': {'id': '233eaa07-00ce-4d37-8843-8cbfdcad3c6c', 'name': 'ctest-vn-30121798', 'tenant_id': 'a1ae06bf36814a46b377be76f45ebbaa', 'project_id': 'a1ae06bf36814a46b377be76f45ebbaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88332286', 'ctest-vn-30121798'], 'port_security_enabled': True, 'description': ''}} 2026-02-20 02:36:22,855 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f348f029-48e8-44f6-9207-e4c94f3f537a', 'name': '', 'tenant_id': 'a1ae06bf36814a46b377be76f45ebbaa', 'network_id': '233eaa07-00ce-4d37-8843-8cbfdcad3c6c', 'ip_version': 4, 'cidr': '110.152.253.192/26', 'allocation_pools': [{'start': '110.152.253.194', 'end': '110.152.253.254'}], 'gateway_ip': '110.152.253.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.152.253.194', 'tags': [], 'project_id': 'a1ae06bf36814a46b377be76f45ebbaa'}} 2026-02-20 02:36:22,876 - INFO - Created VN ctest-vn-30121798 2026-02-20 02:36:22,933 - DEBUG - VN ctest-vn-30121798 UUID is 233eaa07-00ce-4d37-8843-8cbfdcad3c6c 2026-02-20 02:36:23,227 - DEBUG - Response for create_network : {'network': {'id': '28abc231-bff6-4a41-871a-b1553d1f6dc4', 'name': 'ctest-vn-84467708', 'tenant_id': 'a1ae06bf36814a46b377be76f45ebbaa', 'project_id': 'a1ae06bf36814a46b377be76f45ebbaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88332286', 'ctest-vn-84467708'], 'port_security_enabled': True, 'description': ''}} 2026-02-20 02:36:23,375 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1f24cb6-9966-4682-9291-9e2842402a99', 'name': '', 'tenant_id': 'a1ae06bf36814a46b377be76f45ebbaa', 'network_id': '28abc231-bff6-4a41-871a-b1553d1f6dc4', 'ip_version': 4, 'cidr': '109.156.1.192/26', 'allocation_pools': [{'start': '109.156.1.194', 'end': '109.156.1.254'}], 'gateway_ip': '109.156.1.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.156.1.194', 'tags': [], 'project_id': 'a1ae06bf36814a46b377be76f45ebbaa'}} 2026-02-20 02:36:23,392 - INFO - Created VN ctest-vn-84467708 2026-02-20 02:36:23,441 - DEBUG - VN ctest-vn-84467708 UUID is 28abc231-bff6-4a41-871a-b1553d1f6dc4 2026-02-20 02:36:23,558 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88332286:ctest-vn-30121798, 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-88332286:ctest-vn-84467708, 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-02-20 02:36:23,861 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '233eaa07-00ce-4d37-8843-8cbfdcad3c6c', 'name': 'ctest-vn-30121798', 'tenant_id': 'a1ae06bf36814a46b377be76f45ebbaa', 'project_id': 'a1ae06bf36814a46b377be76f45ebbaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f348f029-48e8-44f6-9207-e4c94f3f537a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88332286', 'ctest-vn-30121798'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88332286', 'ctest-policy-allow-all-70474851']], 'subnet_ipam': [{'subnet_cidr': '110.152.253.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-20 02:36:24,105 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '28abc231-bff6-4a41-871a-b1553d1f6dc4', 'name': 'ctest-vn-84467708', 'tenant_id': 'a1ae06bf36814a46b377be76f45ebbaa', 'project_id': 'a1ae06bf36814a46b377be76f45ebbaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d1f24cb6-9966-4682-9291-9e2842402a99'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88332286', 'ctest-vn-84467708'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88332286', 'ctest-policy-allow-all-70474851']], 'subnet_ipam': [{'subnet_cidr': '109.156.1.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-20 02:36:24,273 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-02-20 02:36:24,577 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-02-20 02:36:24,611 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ca049275-da47-401c-96b2-d127b0814970 2026-02-20 02:36:24,624 - DEBUG - Requesting: http://10.0.0.141:8082/project/a1ae06bf-3681-4a46-b377-be76f45ebbaa 2026-02-20 02:36:24,698 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/233eaa07-00ce-4d37-8843-8cbfdcad3c6c 2026-02-20 02:36:24,708 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/233eaa07-00ce-4d37-8843-8cbfdcad3c6c 2026-02-20 02:36:24,717 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2695e2c6-927c-453c-89f2-66901fabbf49 2026-02-20 02:36:24,724 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2695e2c6-927c-453c-89f2-66901fabbf49 2026-02-20 02:36:24,731 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/8fbb2dd5-5fd9-4711-85d6-4159ee37e760 2026-02-20 02:36:24,739 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-20 02:36:24,739 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/233eaa07-00ce-4d37-8843-8cbfdcad3c6c 2026-02-20 02:36:24,748 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2695e2c6-927c-453c-89f2-66901fabbf49 2026-02-20 02:36:24,763 - INFO - Verified VN network id 12 for VN 233eaa07-00ce-4d37-8843-8cbfdcad3c6c 2026-02-20 02:36:24,763 - INFO - Verifications in API Server for VN ctest-vn-30121798 passed 2026-02-20 02:36:24,763 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/233eaa07-00ce-4d37-8843-8cbfdcad3c6c 2026-02-20 02:36:24,772 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2695e2c6-927c-453c-89f2-66901fabbf49 2026-02-20 02:36:24,779 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2695e2c6-927c-453c-89f2-66901fabbf49 2026-02-20 02:36:24,785 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/8fbb2dd5-5fd9-4711-85d6-4159ee37e760 2026-02-20 02:36:24,797 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88332286:ctest-vn-30121798', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88332286', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2539654186938551607', 'uuid-lslong': '9818846368266796140'}, 'enable': 'true', 'created': '2026-02-20T02:36:22', 'last-modified': '2026-02-20T02:36:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.962144'} 2026-02-20 02:36:24,803 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-20 02:36:24,803 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30121798 passed 2026-02-20 02:36:24,803 - DEBUG - ====Verifying policy data for ctest-vn-30121798 in API_Server ====== 2026-02-20 02:36:24,803 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-02-20 02:36:24,808 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ca049275-da47-401c-96b2-d127b0814970 2026-02-20 02:36:24,819 - DEBUG - Requesting: http://10.0.0.141:8082/project/a1ae06bf-3681-4a46-b377-be76f45ebbaa 2026-02-20 02:36:24,891 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/233eaa07-00ce-4d37-8843-8cbfdcad3c6c 2026-02-20 02:36:24,902 - DEBUG - ==>Verifying data for policy with id: 7aa5ee6c-5474-49b9-bfa9-3e084c97c639, fqn: ['default-domain', 'ctest-TestBasicPolicy-88332286', 'ctest-policy-allow-all-70474851'] 2026-02-20 02:36:24,902 - INFO - VN ctest-vn-30121798 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-20 02:36:24,902 - DEBUG - Verifying the vn in opserver 2026-02-20 02:36:24,902 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88332286:ctest-vn-30121798 virtual network link through opserver 10.0.0.141 2026-02-20 02:36:24,902 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-02-20 02:36:25,215 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-02-20 02:36:25,295 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88332286:ctest-vn-30121798', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88332286:ctest-vn-30121798?flat'} 2026-02-20 02:36:25,295 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88332286:ctest-vn-30121798 is found in opserver 2026-02-20 02:36:25,306 - DEBUG - Do not have enough data to verify VN in agent 2026-02-20 02:36:25,310 - DEBUG - VRF ids for VN ctest-vn-30121798: {} 2026-02-20 02:36:25,310 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-02-20 02:36:25,316 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ca049275-da47-401c-96b2-d127b0814970 2026-02-20 02:36:25,325 - DEBUG - Requesting: http://10.0.0.141:8082/project/a1ae06bf-3681-4a46-b377-be76f45ebbaa 2026-02-20 02:36:25,396 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/28abc231-bff6-4a41-871a-b1553d1f6dc4 2026-02-20 02:36:25,408 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/28abc231-bff6-4a41-871a-b1553d1f6dc4 2026-02-20 02:36:25,417 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6f784ee3-bb57-4502-ab6b-6af732064895 2026-02-20 02:36:25,425 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6f784ee3-bb57-4502-ab6b-6af732064895 2026-02-20 02:36:25,431 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/fe2d10b6-b34c-4632-8719-1580f1c5602c 2026-02-20 02:36:25,438 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-20 02:36:25,438 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/28abc231-bff6-4a41-871a-b1553d1f6dc4 2026-02-20 02:36:25,447 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6f784ee3-bb57-4502-ab6b-6af732064895 2026-02-20 02:36:25,463 - INFO - Verified VN network id 13 for VN 28abc231-bff6-4a41-871a-b1553d1f6dc4 2026-02-20 02:36:25,463 - INFO - Verifications in API Server for VN ctest-vn-84467708 passed 2026-02-20 02:36:25,464 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/28abc231-bff6-4a41-871a-b1553d1f6dc4 2026-02-20 02:36:25,474 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6f784ee3-bb57-4502-ab6b-6af732064895 2026-02-20 02:36:25,482 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6f784ee3-bb57-4502-ab6b-6af732064895 2026-02-20 02:36:25,489 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/fe2d10b6-b34c-4632-8719-1580f1c5602c 2026-02-20 02:36:25,503 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88332286:ctest-vn-84467708', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88332286', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2930649501464414785', 'uuid-lslong': '9735288524170554820'}, 'enable': 'true', 'created': '2026-02-20T02:36:23', 'last-modified': '2026-02-20T02:36:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.440135'} 2026-02-20 02:36:25,512 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-20 02:36:25,512 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84467708 passed 2026-02-20 02:36:25,512 - DEBUG - ====Verifying policy data for ctest-vn-84467708 in API_Server ====== 2026-02-20 02:36:25,512 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-02-20 02:36:25,518 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ca049275-da47-401c-96b2-d127b0814970 2026-02-20 02:36:25,529 - DEBUG - Requesting: http://10.0.0.141:8082/project/a1ae06bf-3681-4a46-b377-be76f45ebbaa 2026-02-20 02:36:25,603 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/28abc231-bff6-4a41-871a-b1553d1f6dc4 2026-02-20 02:36:25,612 - DEBUG - ==>Verifying data for policy with id: 7aa5ee6c-5474-49b9-bfa9-3e084c97c639, fqn: ['default-domain', 'ctest-TestBasicPolicy-88332286', 'ctest-policy-allow-all-70474851'] 2026-02-20 02:36:25,612 - INFO - VN ctest-vn-84467708 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-20 02:36:25,612 - DEBUG - Verifying the vn in opserver 2026-02-20 02:36:25,612 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88332286:ctest-vn-84467708 virtual network link through opserver 10.0.0.141 2026-02-20 02:36:25,612 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-02-20 02:36:25,620 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88332286:ctest-vn-84467708', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88332286:ctest-vn-84467708?flat'} 2026-02-20 02:36:25,621 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88332286:ctest-vn-84467708 is found in opserver 2026-02-20 02:36:25,630 - DEBUG - Do not have enough data to verify VN in agent 2026-02-20 02:36:25,633 - DEBUG - VRF ids for VN ctest-vn-84467708: {} 2026-02-20 02:36:25,689 - DEBUG - Services list from nova: [, , ] 2026-02-20 02:36:26,737 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5366-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5366-1) 2026-02-20 02:36:27,912 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5366-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5366-1) 2026-02-20 02:36:27,912 - INFO - Waiting for VM ctest-TestBasicPolicy-88332286-33283405 to be up.. 2026-02-20 02:36:28,007 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-20 02:36:33,099 - DEBUG - VM is in ACTIVE state now 2026-02-20 02:36:33,100 - INFO - VM name : ctest-TestBasicPolicy-88332286-33283405 2026-02-20 02:36:33,182 - DEBUG - VM ctest-TestBasicPolicy-88332286-33283405 ID is 8ff18c28-c8e6-4496-96af-e55b3a352c91 2026-02-20 02:36:33,209 - DEBUG - VM ctest-TestBasicPolicy-88332286-33283405 launched on Node cn-jenkins-deploy-platform-ansible-os-5366-1 2026-02-20 02:36:33,290 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/8ff18c28-c8e6-4496-96af-e55b3a352c91 2026-02-20 02:36:33,300 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/29130ab7-1f62-4749-8eb2-1cbf96bffdf6 2026-02-20 02:36:36,568 - 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 1022ms') 2026-02-20 02:36:36,568 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88332286-33283405 failed! 2026-02-20 02:36:36,625 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-88332286:ctest-vn-30121798 is 110.152.253.193 and allocation pool is NOT set 2026-02-20 02:36:38,682 - 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=0.304 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.304/5.701/11.098/5.397 ms') 2026-02-20 02:36:38,682 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88332286-33283405 passed 2026-02-20 02:36:38,833 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 02:36:38,833 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88332286-33283405, IP 110.152.253.195, Port 22 2026-02-20 02:36:38,993 - DEBUG - VM ctest-TestBasicPolicy-88332286-33283405 is ready for SSH connections 2026-02-20 02:36:38,993 - INFO - Waiting for VM ctest-TestBasicPolicy-88332286-90972558 to be up.. 2026-02-20 02:36:39,080 - DEBUG - VM is in ACTIVE state now 2026-02-20 02:36:39,080 - INFO - VM name : ctest-TestBasicPolicy-88332286-90972558 2026-02-20 02:36:39,163 - DEBUG - VM ctest-TestBasicPolicy-88332286-90972558 ID is 82dad810-44b1-422a-aa0c-53f1cba5612c 2026-02-20 02:36:39,163 - DEBUG - VM ctest-TestBasicPolicy-88332286-90972558 launched on Node cn-jenkins-deploy-platform-ansible-os-5366-1 2026-02-20 02:36:39,246 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/82dad810-44b1-422a-aa0c-53f1cba5612c 2026-02-20 02:36:39,254 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/21a63f03-1b83-4a62-9eb2-d6113c3420a3 2026-02-20 02:36:40,497 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.72 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 = 2.722/2.995/3.269/0.273 ms') 2026-02-20 02:36:40,497 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-88332286-90972558 passed 2026-02-20 02:36:40,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 02:36:40,654 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88332286-90972558, IP 109.156.1.195, Port 22 2026-02-20 02:36:40,710 - 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-02-20 02:36:40,786 - DEBUG - VM ctest-TestBasicPolicy-88332286-90972558 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-20 02:36:45,786 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 02:36:45,787 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88332286-90972558, IP 109.156.1.195, Port 22 2026-02-20 02:36:45,957 - DEBUG - VM ctest-TestBasicPolicy-88332286-90972558 is ready for SSH connections 2026-02-20 02:36:45,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 02:36:45,957 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.156.1.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-02-20 02:36:45,958 - DEBUG - ping -s 56 -c 3 -W 1 109.156.1.195 2026-02-20 02:36:50,006 - DEBUG - PING 109.156.1.195 (109.156.1.195): 56 data bytes 64 bytes from 109.156.1.195: seq=0 ttl=63 time=3.167 ms 64 bytes from 109.156.1.195: seq=1 ttl=63 time=1.093 ms 64 bytes from 109.156.1.195: seq=2 ttl=63 time=1.270 ms --- 109.156.1.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.093/1.843/3.167 ms 2026-02-20 02:36:50,006 - INFO - Ping to IP 109.156.1.195 from VM ctest-TestBasicPolicy-88332286-33283405 passed 2026-02-20 02:36:50,185 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7aa5ee6c-5474-49b9-bfa9-3e084c97c639", "href": "http://10.0.0.141:8082/network-policy/7aa5ee6c-5474-49b9-bfa9-3e084c97c639"}} 2026-02-20 02:36:50,185 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 02:36:50,185 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.156.1.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-02-20 02:36:50,185 - DEBUG - ping -s 56 -c 3 -W 1 109.156.1.195 2026-02-20 02:36:53,414 - DEBUG - PING 109.156.1.195 (109.156.1.195): 56 data bytes --- 109.156.1.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-20 02:36:53,414 - WARNING - Ping to IP 109.156.1.195 from VM ctest-TestBasicPolicy-88332286-33283405 failed 2026-02-20 02:36:53,414 - INFO - Deleting VM ctest-TestBasicPolicy-88332286-90972558 2026-02-20 02:36:53,490 - INFO - Deleting VM ctest-TestBasicPolicy-88332286-33283405 2026-02-20 02:36:53,898 - INFO - Deleted policy ctest-policy-allow-all-70474851 2026-02-20 02:36:53,898 - INFO - Deleting VN ctest-vn-84467708 2026-02-20 02:36:53,936 - DEBUG - VN 28abc231-bff6-4a41-871a-b1553d1f6dc4 still in use: Unable to complete operation on network 28abc231-bff6-4a41-871a-b1553d1f6dc4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8135759f-0e55-4b81-a2f0-73268391c9e2'] 2026-02-20 02:36:53,937 - WARNING - Deleting VN ctest-vn-84467708 failed..Will retry 2026-02-20 02:36:56,039 - DEBUG - Response for deleting network () 2026-02-20 02:36:56,039 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6f784ee3-bb57-4502-ab6b-6af732064895 2026-02-20 02:36:56,047 - DEBUG - Response Code: 404 2026-02-20 02:36:56,047 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-02-20 02:36:56,052 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ca049275-da47-401c-96b2-d127b0814970 2026-02-20 02:36:56,107 - DEBUG - Requesting: http://10.0.0.141:8082/project/a1ae06bf-3681-4a46-b377-be76f45ebbaa 2026-02-20 02:36:56,178 - INFO - Validated that VN ctest-vn-84467708 is not found in API Server 2026-02-20 02:36:56,188 - DEBUG - VN ctest-vn-84467708 is not present in Agent 10.0.0.141 2026-02-20 02:36:56,188 - INFO - Validated that VN ctest-vn-84467708 is not in any agent 2026-02-20 02:36:56,203 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84467708 info 2026-02-20 02:36:56,203 - INFO - Deleting VN ctest-vn-30121798 2026-02-20 02:36:56,315 - DEBUG - Response for deleting network () 2026-02-20 02:36:56,315 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2695e2c6-927c-453c-89f2-66901fabbf49 2026-02-20 02:36:56,321 - DEBUG - Response Code: 404 2026-02-20 02:36:56,321 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-02-20 02:36:56,326 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ca049275-da47-401c-96b2-d127b0814970 2026-02-20 02:36:56,378 - DEBUG - Requesting: http://10.0.0.141:8082/project/a1ae06bf-3681-4a46-b377-be76f45ebbaa 2026-02-20 02:36:56,443 - INFO - Validated that VN ctest-vn-30121798 is not found in API Server 2026-02-20 02:36:56,451 - DEBUG - VN ctest-vn-30121798 is not present in Agent 10.0.0.141 2026-02-20 02:36:56,451 - INFO - Validated that VN ctest-vn-30121798 is not in any agent 2026-02-20 02:36:56,467 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30121798 info 2026-02-20 02:36:56,746 - DEBUG - No XMPP flaps were noticed during the test 2026-02-20 02:36:56,746 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-02-20 02:36:56,746 - INFO - -------------------------------------------------------------------------------- 2026-02-20 02:36:57,464 - INFO - Deleted project: ctest-TestBasicPolicy-88332286, ID : a1ae06bf-3681-4a46-b377-be76f45ebbaa