2025-11-05 08:09:18,870 - INFO - Domain Default found not creating 2025-11-05 08:09:19,015 - INFO - Project ctest-TestBasicPolicy-88050662 not found, creating it 2025-11-05 08:09:19,434 - INFO - Created Project:ctest-TestBasicPolicy-88050662, ID : 29f0ddc6-7e04-4fa3-a007-d861c2823328 2025-11-05 08:09:20,903 - INFO - ================================================================================ 2025-11-05 08:09:20,903 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-05 08:09:20,903 - 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 2025-11-05 08:09:21,160 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with 2025-11-05 08:09:21,160 - INFO - Initial checks done. Running the testcase now 2025-11-05 08:09:21,160 - INFO - 2025-11-05 08:09:21,698 - DEBUG - Response for create_network : {'network': {'id': 'b2d7fa61-3315-4ab5-847f-ba3afc1cb989', 'name': 'ctest-vn-11322034', 'tenant_id': '29f0ddc67e044fa3a007d861c2823328', 'project_id': '29f0ddc67e044fa3a007d861c2823328', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88050662', 'ctest-vn-11322034'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:09:21,897 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e080d2b-e22c-409e-877e-0c07f0360308', 'name': '', 'tenant_id': '29f0ddc67e044fa3a007d861c2823328', 'network_id': 'b2d7fa61-3315-4ab5-847f-ba3afc1cb989', 'ip_version': 4, 'cidr': '62.187.111.128/26', 'allocation_pools': [{'start': '62.187.111.130', 'end': '62.187.111.190'}], 'gateway_ip': '62.187.111.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.187.111.130', 'tags': [], 'project_id': '29f0ddc67e044fa3a007d861c2823328'}} 2025-11-05 08:09:21,911 - INFO - Created VN ctest-vn-11322034 2025-11-05 08:09:21,963 - DEBUG - VN ctest-vn-11322034 UUID is b2d7fa61-3315-4ab5-847f-ba3afc1cb989 2025-11-05 08:09:22,252 - DEBUG - Response for create_network : {'network': {'id': '4618ddbd-9d29-4f90-9268-0352f997a69e', 'name': 'ctest-vn-96790788', 'tenant_id': '29f0ddc67e044fa3a007d861c2823328', 'project_id': '29f0ddc67e044fa3a007d861c2823328', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88050662', 'ctest-vn-96790788'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:09:22,453 - DEBUG - Response for create_subnet : {'subnet': {'id': '9be6a9b2-bdf4-42c9-a089-f72dd051b726', 'name': '', 'tenant_id': '29f0ddc67e044fa3a007d861c2823328', 'network_id': '4618ddbd-9d29-4f90-9268-0352f997a69e', 'ip_version': 4, 'cidr': '80.100.217.128/26', 'allocation_pools': [{'start': '80.100.217.130', 'end': '80.100.217.190'}], 'gateway_ip': '80.100.217.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.100.217.130', 'tags': [], 'project_id': '29f0ddc67e044fa3a007d861c2823328'}} 2025-11-05 08:09:22,469 - INFO - Created VN ctest-vn-96790788 2025-11-05 08:09:22,523 - DEBUG - VN ctest-vn-96790788 UUID is 4618ddbd-9d29-4f90-9268-0352f997a69e 2025-11-05 08:09:22,671 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88050662:ctest-vn-11322034, 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-88050662:ctest-vn-96790788, 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] 2025-11-05 08:09:22,951 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b2d7fa61-3315-4ab5-847f-ba3afc1cb989', 'name': 'ctest-vn-11322034', 'tenant_id': '29f0ddc67e044fa3a007d861c2823328', 'project_id': '29f0ddc67e044fa3a007d861c2823328', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5e080d2b-e22c-409e-877e-0c07f0360308'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88050662', 'ctest-vn-11322034'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88050662', 'ctest-policy-allow-all-05236894']], 'subnet_ipam': [{'subnet_cidr': '62.187.111.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:09:23,166 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4618ddbd-9d29-4f90-9268-0352f997a69e', 'name': 'ctest-vn-96790788', 'tenant_id': '29f0ddc67e044fa3a007d861c2823328', 'project_id': '29f0ddc67e044fa3a007d861c2823328', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9be6a9b2-bdf4-42c9-a089-f72dd051b726'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88050662', 'ctest-vn-96790788'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88050662', 'ctest-policy-allow-all-05236894']], 'subnet_ipam': [{'subnet_cidr': '80.100.217.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:09:23,327 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-05 08:09:23,645 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-05 08:09:23,670 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b34f7d32-1cd6-4635-9d9f-b9212815f555 2025-11-05 08:09:23,680 - DEBUG - Requesting: http://10.0.0.141:8082/project/29f0ddc6-7e04-4fa3-a007-d861c2823328 2025-11-05 08:09:23,748 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b2d7fa61-3315-4ab5-847f-ba3afc1cb989 2025-11-05 08:09:23,758 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b2d7fa61-3315-4ab5-847f-ba3afc1cb989 2025-11-05 08:09:23,766 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d933f6c3-5522-4d89-af36-b67948992601 2025-11-05 08:09:23,772 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d933f6c3-5522-4d89-af36-b67948992601 2025-11-05 08:09:23,777 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/802f25fe-5bd5-4db1-bdc6-8bbeea1922aa 2025-11-05 08:09:23,782 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 08:09:23,782 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b2d7fa61-3315-4ab5-847f-ba3afc1cb989 2025-11-05 08:09:23,789 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d933f6c3-5522-4d89-af36-b67948992601 2025-11-05 08:09:23,801 - INFO - Verified VN network id 11 for VN b2d7fa61-3315-4ab5-847f-ba3afc1cb989 2025-11-05 08:09:23,801 - INFO - Verifications in API Server for VN ctest-vn-11322034 passed 2025-11-05 08:09:23,801 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b2d7fa61-3315-4ab5-847f-ba3afc1cb989 2025-11-05 08:09:23,808 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d933f6c3-5522-4d89-af36-b67948992601 2025-11-05 08:09:23,813 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d933f6c3-5522-4d89-af36-b67948992601 2025-11-05 08:09:23,818 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/802f25fe-5bd5-4db1-bdc6-8bbeea1922aa 2025-11-05 08:09:23,828 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88050662:ctest-vn-11322034', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88050662', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12887044154119768757', 'uuid-lslong': '9547554497549351305'}, 'enable': 'true', 'created': '2025-11-05T08:09:21', 'last-modified': '2025-11-05T08:09:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.893752'} 2025-11-05 08:09:23,834 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 08:09:23,834 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11322034 passed 2025-11-05 08:09:23,834 - DEBUG - ====Verifying policy data for ctest-vn-11322034 in API_Server ====== 2025-11-05 08:09:23,834 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-05 08:09:23,839 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b34f7d32-1cd6-4635-9d9f-b9212815f555 2025-11-05 08:09:23,850 - DEBUG - Requesting: http://10.0.0.141:8082/project/29f0ddc6-7e04-4fa3-a007-d861c2823328 2025-11-05 08:09:23,923 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b2d7fa61-3315-4ab5-847f-ba3afc1cb989 2025-11-05 08:09:23,931 - DEBUG - ==>Verifying data for policy with id: 0b808769-e7b2-4525-8cd3-8b5c4753c31c, fqn: ['default-domain', 'ctest-TestBasicPolicy-88050662', 'ctest-policy-allow-all-05236894'] 2025-11-05 08:09:23,931 - INFO - VN ctest-vn-11322034 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 08:09:23,931 - DEBUG - Verifying the vn in opserver 2025-11-05 08:09:23,931 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88050662:ctest-vn-11322034 virtual network link through opserver 10.0.0.141 2025-11-05 08:09:23,931 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-11-05 08:09:24,251 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-11-05 08:09:24,308 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88050662:ctest-vn-11322034', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88050662:ctest-vn-11322034?flat'} 2025-11-05 08:09:24,308 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88050662:ctest-vn-11322034 is found in opserver 2025-11-05 08:09:24,316 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 08:09:24,320 - DEBUG - VRF ids for VN ctest-vn-11322034: {} 2025-11-05 08:09:24,321 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-05 08:09:24,325 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b34f7d32-1cd6-4635-9d9f-b9212815f555 2025-11-05 08:09:24,334 - DEBUG - Requesting: http://10.0.0.141:8082/project/29f0ddc6-7e04-4fa3-a007-d861c2823328 2025-11-05 08:09:24,401 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4618ddbd-9d29-4f90-9268-0352f997a69e 2025-11-05 08:09:24,413 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4618ddbd-9d29-4f90-9268-0352f997a69e 2025-11-05 08:09:24,421 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9229939d-fec6-43bd-bcec-3063bb7a6f72 2025-11-05 08:09:24,426 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9229939d-fec6-43bd-bcec-3063bb7a6f72 2025-11-05 08:09:24,431 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/da154fdd-2138-4028-8e78-07cdab573e9b 2025-11-05 08:09:24,437 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 08:09:24,437 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4618ddbd-9d29-4f90-9268-0352f997a69e 2025-11-05 08:09:24,444 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9229939d-fec6-43bd-bcec-3063bb7a6f72 2025-11-05 08:09:24,454 - INFO - Verified VN network id 12 for VN 4618ddbd-9d29-4f90-9268-0352f997a69e 2025-11-05 08:09:24,455 - INFO - Verifications in API Server for VN ctest-vn-96790788 passed 2025-11-05 08:09:24,455 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4618ddbd-9d29-4f90-9268-0352f997a69e 2025-11-05 08:09:24,461 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9229939d-fec6-43bd-bcec-3063bb7a6f72 2025-11-05 08:09:24,466 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9229939d-fec6-43bd-bcec-3063bb7a6f72 2025-11-05 08:09:24,472 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/da154fdd-2138-4028-8e78-07cdab573e9b 2025-11-05 08:09:24,480 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88050662:ctest-vn-96790788', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88050662', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5051030788551298960', 'uuid-lslong': '10549685782025053854'}, 'enable': 'true', 'created': '2025-11-05T08:09:22', 'last-modified': '2025-11-05T08:09:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.334912'} 2025-11-05 08:09:24,485 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 08:09:24,485 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96790788 passed 2025-11-05 08:09:24,485 - DEBUG - ====Verifying policy data for ctest-vn-96790788 in API_Server ====== 2025-11-05 08:09:24,485 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-05 08:09:24,489 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b34f7d32-1cd6-4635-9d9f-b9212815f555 2025-11-05 08:09:24,498 - DEBUG - Requesting: http://10.0.0.141:8082/project/29f0ddc6-7e04-4fa3-a007-d861c2823328 2025-11-05 08:09:24,562 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4618ddbd-9d29-4f90-9268-0352f997a69e 2025-11-05 08:09:24,570 - DEBUG - ==>Verifying data for policy with id: 0b808769-e7b2-4525-8cd3-8b5c4753c31c, fqn: ['default-domain', 'ctest-TestBasicPolicy-88050662', 'ctest-policy-allow-all-05236894'] 2025-11-05 08:09:24,570 - INFO - VN ctest-vn-96790788 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 08:09:24,570 - DEBUG - Verifying the vn in opserver 2025-11-05 08:09:24,570 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88050662:ctest-vn-96790788 virtual network link through opserver 10.0.0.141 2025-11-05 08:09:24,570 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-11-05 08:09:24,579 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88050662:ctest-vn-96790788', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88050662:ctest-vn-96790788?flat'} 2025-11-05 08:09:24,579 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88050662:ctest-vn-96790788 is found in opserver 2025-11-05 08:09:24,586 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 08:09:24,590 - DEBUG - VRF ids for VN ctest-vn-96790788: {} 2025-11-05 08:09:24,640 - DEBUG - Services list from nova: [, , ] 2025-11-05 08:09:25,642 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4629-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4629-1) 2025-11-05 08:09:26,795 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4629-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4629-1) 2025-11-05 08:09:26,795 - INFO - Waiting for VM ctest-TestBasicPolicy-88050662-66914485 to be up.. 2025-11-05 08:09:26,868 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 08:09:31,937 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:09:31,937 - INFO - VM name : ctest-TestBasicPolicy-88050662-66914485 2025-11-05 08:09:31,998 - DEBUG - VM ctest-TestBasicPolicy-88050662-66914485 ID is 5321bbae-a7fc-485a-a627-d1664333f7eb 2025-11-05 08:09:32,014 - DEBUG - VM ctest-TestBasicPolicy-88050662-66914485 launched on Node cn-jenkins-deploy-platform-ansible-os-4629-1 2025-11-05 08:09:32,082 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/5321bbae-a7fc-485a-a627-d1664333f7eb 2025-11-05 08:09:32,089 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/82e7b8e4-68c7-4002-85c6-3513a429fff3 2025-11-05 08:09:35,336 - 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=4.65 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 4.648/4.648/4.648/0.000 ms') 2025-11-05 08:09:35,336 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88050662-66914485 passed 2025-11-05 08:09:35,483 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:09:35,483 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88050662-66914485, IP 62.187.111.131, Port 22 2025-11-05 08:09:35,649 - DEBUG - VM ctest-TestBasicPolicy-88050662-66914485 is ready for SSH connections 2025-11-05 08:09:35,649 - INFO - Waiting for VM ctest-TestBasicPolicy-88050662-33874661 to be up.. 2025-11-05 08:09:35,721 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:09:35,722 - INFO - VM name : ctest-TestBasicPolicy-88050662-33874661 2025-11-05 08:09:35,788 - DEBUG - VM ctest-TestBasicPolicy-88050662-33874661 ID is bb9e6b79-26db-4da4-b5e8-b3e02f9f7059 2025-11-05 08:09:35,788 - DEBUG - VM ctest-TestBasicPolicy-88050662-33874661 launched on Node cn-jenkins-deploy-platform-ansible-os-4629-1 2025-11-05 08:09:35,858 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/bb9e6b79-26db-4da4-b5e8-b3e02f9f7059 2025-11-05 08:09:35,867 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/761eee69-ef9d-48b7-bd85-eaa9a26bb44a 2025-11-05 08:09:37,118 - 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=5.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.47 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.467/3.740/5.014/1.273 ms') 2025-11-05 08:09:37,118 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-88050662-33874661 passed 2025-11-05 08:09:37,271 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:09:37,271 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88050662-33874661, IP 80.100.217.131, Port 22 2025-11-05 08:09:37,337 - 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': ''} 2025-11-05 08:09:37,405 - DEBUG - VM ctest-TestBasicPolicy-88050662-33874661 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-05 08:09:42,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:09:42,407 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88050662-33874661, IP 80.100.217.131, Port 22 2025-11-05 08:09:42,559 - DEBUG - VM ctest-TestBasicPolicy-88050662-33874661 is ready for SSH connections 2025-11-05 08:09:42,559 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:09:42,559 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.100.217.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-05 08:09:42,559 - DEBUG - ping -s 56 -c 3 -W 1 80.100.217.131 2025-11-05 08:09:46,459 - DEBUG - PING 80.100.217.131 (80.100.217.131): 56 data bytes 64 bytes from 80.100.217.131: seq=0 ttl=63 time=3.597 ms 64 bytes from 80.100.217.131: seq=1 ttl=63 time=1.244 ms 64 bytes from 80.100.217.131: seq=2 ttl=63 time=1.064 ms --- 80.100.217.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.064/1.968/3.597 ms 2025-11-05 08:09:46,459 - INFO - Ping to IP 80.100.217.131 from VM ctest-TestBasicPolicy-88050662-66914485 passed 2025-11-05 08:09:46,642 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0b808769-e7b2-4525-8cd3-8b5c4753c31c", "href": "http://10.0.0.141:8082/network-policy/0b808769-e7b2-4525-8cd3-8b5c4753c31c"}} 2025-11-05 08:09:46,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:09:46,643 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.100.217.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-05 08:09:46,643 - DEBUG - ping -s 56 -c 3 -W 1 80.100.217.131 2025-11-05 08:09:49,764 - DEBUG - PING 80.100.217.131 (80.100.217.131): 56 data bytes 64 bytes from 80.100.217.131: seq=0 ttl=63 time=1.631 ms --- 80.100.217.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.631/1.631/1.631 ms 2025-11-05 08:09:49,765 - WARNING - Ping to IP 80.100.217.131 from VM ctest-TestBasicPolicy-88050662-66914485 failed 2025-11-05 08:09:49,765 - INFO - Deleting VM ctest-TestBasicPolicy-88050662-33874661 2025-11-05 08:09:49,829 - INFO - Deleting VM ctest-TestBasicPolicy-88050662-66914485 2025-11-05 08:09:50,142 - INFO - Deleted policy ctest-policy-allow-all-05236894 2025-11-05 08:09:50,143 - INFO - Deleting VN ctest-vn-96790788 2025-11-05 08:09:50,170 - DEBUG - VN 4618ddbd-9d29-4f90-9268-0352f997a69e still in use: Unable to complete operation on network 4618ddbd-9d29-4f90-9268-0352f997a69e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1a07e678-c666-45aa-818b-962bfec81be8'] 2025-11-05 08:09:50,170 - WARNING - Deleting VN ctest-vn-96790788 failed..Will retry 2025-11-05 08:09:52,256 - DEBUG - Response for deleting network () 2025-11-05 08:09:52,256 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9229939d-fec6-43bd-bcec-3063bb7a6f72 2025-11-05 08:09:52,265 - DEBUG - Response Code: 404 2025-11-05 08:09:52,265 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-05 08:09:52,270 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b34f7d32-1cd6-4635-9d9f-b9212815f555 2025-11-05 08:09:52,324 - DEBUG - Requesting: http://10.0.0.141:8082/project/29f0ddc6-7e04-4fa3-a007-d861c2823328 2025-11-05 08:09:52,389 - INFO - Validated that VN ctest-vn-96790788 is not found in API Server 2025-11-05 08:09:52,398 - DEBUG - VN ctest-vn-96790788 is not present in Agent 10.0.0.141 2025-11-05 08:09:52,398 - INFO - Validated that VN ctest-vn-96790788 is not in any agent 2025-11-05 08:09:52,411 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96790788 info 2025-11-05 08:09:52,411 - INFO - Deleting VN ctest-vn-11322034 2025-11-05 08:09:52,509 - DEBUG - Response for deleting network () 2025-11-05 08:09:52,509 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d933f6c3-5522-4d89-af36-b67948992601 2025-11-05 08:09:52,514 - DEBUG - Response Code: 404 2025-11-05 08:09:52,514 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-05 08:09:52,521 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b34f7d32-1cd6-4635-9d9f-b9212815f555 2025-11-05 08:09:52,571 - DEBUG - Requesting: http://10.0.0.141:8082/project/29f0ddc6-7e04-4fa3-a007-d861c2823328 2025-11-05 08:09:52,639 - INFO - Validated that VN ctest-vn-11322034 is not found in API Server 2025-11-05 08:09:52,647 - DEBUG - VN ctest-vn-11322034 is not present in Agent 10.0.0.141 2025-11-05 08:09:52,647 - INFO - Validated that VN ctest-vn-11322034 is not in any agent 2025-11-05 08:09:52,659 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11322034 info 2025-11-05 08:09:52,911 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 08:09:52,911 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:32] 2025-11-05 08:09:52,911 - INFO - -------------------------------------------------------------------------------- 2025-11-05 08:09:53,594 - INFO - Deleted project: ctest-TestBasicPolicy-88050662, ID : 29f0ddc6-7e04-4fa3-a007-d861c2823328