2026-04-18 08:46:21,053 - INFO - Domain Default found not creating 2026-04-18 08:46:21,225 - INFO - Project ctest-TestBasicPolicy-80127704 not found, creating it 2026-04-18 08:46:21,698 - INFO - Created Project:ctest-TestBasicPolicy-80127704, ID : eec89b50-6ccf-4a5d-a225-b36da169695a 2026-04-18 08:46:23,205 - INFO - ================================================================================ 2026-04-18 08:46:23,205 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-18 08:46:23,205 - 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-04-18 08:46:23,469 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-04-18 08:46:23,469 - INFO - Initial checks done. Running the testcase now 2026-04-18 08:46:23,469 - INFO - 2026-04-18 08:46:24,008 - DEBUG - Response for create_network : {'network': {'id': '144d4b4c-13d6-4f4a-9406-cc4f523a9e6b', 'name': 'ctest-vn-88842647', 'tenant_id': 'eec89b506ccf4a5da225b36da169695a', 'project_id': 'eec89b506ccf4a5da225b36da169695a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80127704', 'ctest-vn-88842647'], 'port_security_enabled': True, 'description': ''}} 2026-04-18 08:46:24,208 - DEBUG - Response for create_subnet : {'subnet': {'id': '480f7ed8-7914-4652-8906-d11de13bf50c', 'name': '', 'tenant_id': 'eec89b506ccf4a5da225b36da169695a', 'network_id': '144d4b4c-13d6-4f4a-9406-cc4f523a9e6b', 'ip_version': 4, 'cidr': '213.87.242.64/26', 'allocation_pools': [{'start': '213.87.242.66', 'end': '213.87.242.126'}], 'gateway_ip': '213.87.242.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.87.242.66', 'tags': [], 'project_id': 'eec89b506ccf4a5da225b36da169695a'}} 2026-04-18 08:46:24,231 - INFO - Created VN ctest-vn-88842647 2026-04-18 08:46:24,284 - DEBUG - VN ctest-vn-88842647 UUID is 144d4b4c-13d6-4f4a-9406-cc4f523a9e6b 2026-04-18 08:46:24,575 - DEBUG - Response for create_network : {'network': {'id': '6244ccf3-25cc-4aa8-8623-77c72e99573a', 'name': 'ctest-vn-61958773', 'tenant_id': 'eec89b506ccf4a5da225b36da169695a', 'project_id': 'eec89b506ccf4a5da225b36da169695a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80127704', 'ctest-vn-61958773'], 'port_security_enabled': True, 'description': ''}} 2026-04-18 08:46:24,810 - DEBUG - Response for create_subnet : {'subnet': {'id': '64265276-4fc3-4010-9ccd-2c8b56cd63b7', 'name': '', 'tenant_id': 'eec89b506ccf4a5da225b36da169695a', 'network_id': '6244ccf3-25cc-4aa8-8623-77c72e99573a', 'ip_version': 4, 'cidr': '90.45.75.64/26', 'allocation_pools': [{'start': '90.45.75.66', 'end': '90.45.75.126'}], 'gateway_ip': '90.45.75.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.45.75.66', 'tags': [], 'project_id': 'eec89b506ccf4a5da225b36da169695a'}} 2026-04-18 08:46:24,828 - INFO - Created VN ctest-vn-61958773 2026-04-18 08:46:24,880 - DEBUG - VN ctest-vn-61958773 UUID is 6244ccf3-25cc-4aa8-8623-77c72e99573a 2026-04-18 08:46:25,032 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-80127704:ctest-vn-88842647, 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-80127704:ctest-vn-61958773, 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-04-18 08:46:25,314 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '144d4b4c-13d6-4f4a-9406-cc4f523a9e6b', 'name': 'ctest-vn-88842647', 'tenant_id': 'eec89b506ccf4a5da225b36da169695a', 'project_id': 'eec89b506ccf4a5da225b36da169695a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['480f7ed8-7914-4652-8906-d11de13bf50c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80127704', 'ctest-vn-88842647'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80127704', 'ctest-policy-allow-all-43984289']], 'subnet_ipam': [{'subnet_cidr': '213.87.242.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-18 08:46:25,540 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6244ccf3-25cc-4aa8-8623-77c72e99573a', 'name': 'ctest-vn-61958773', 'tenant_id': 'eec89b506ccf4a5da225b36da169695a', 'project_id': 'eec89b506ccf4a5da225b36da169695a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['64265276-4fc3-4010-9ccd-2c8b56cd63b7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80127704', 'ctest-vn-61958773'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80127704', 'ctest-policy-allow-all-43984289']], 'subnet_ipam': [{'subnet_cidr': '90.45.75.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-18 08:46:25,700 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-18 08:46:25,994 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-18 08:46:26,024 - DEBUG - Requesting: http://10.0.0.38:8082/domain/03b75f51-8237-4036-b6db-a5f5b8d0df7b 2026-04-18 08:46:26,036 - DEBUG - Requesting: http://10.0.0.38:8082/project/eec89b50-6ccf-4a5d-a225-b36da169695a 2026-04-18 08:46:26,108 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/144d4b4c-13d6-4f4a-9406-cc4f523a9e6b 2026-04-18 08:46:26,119 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/144d4b4c-13d6-4f4a-9406-cc4f523a9e6b 2026-04-18 08:46:26,127 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c3a85821-963a-48f0-9332-a49df8dcbcfb 2026-04-18 08:46:26,135 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c3a85821-963a-48f0-9332-a49df8dcbcfb 2026-04-18 08:46:26,142 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6d240930-8bd1-4b12-b24e-bab39db600bd 2026-04-18 08:46:26,149 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-18 08:46:26,149 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/144d4b4c-13d6-4f4a-9406-cc4f523a9e6b 2026-04-18 08:46:26,158 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c3a85821-963a-48f0-9332-a49df8dcbcfb 2026-04-18 08:46:26,172 - INFO - Verified VN network id 11 for VN 144d4b4c-13d6-4f4a-9406-cc4f523a9e6b 2026-04-18 08:46:26,172 - INFO - Verifications in API Server for VN ctest-vn-88842647 passed 2026-04-18 08:46:26,172 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/144d4b4c-13d6-4f4a-9406-cc4f523a9e6b 2026-04-18 08:46:26,180 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c3a85821-963a-48f0-9332-a49df8dcbcfb 2026-04-18 08:46:26,187 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c3a85821-963a-48f0-9332-a49df8dcbcfb 2026-04-18 08:46:26,195 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6d240930-8bd1-4b12-b24e-bab39db600bd 2026-04-18 08:46:26,207 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80127704:ctest-vn-88842647', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80127704', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1462908244087689034', 'uuid-lslong': '10666437408527654507'}, 'enable': 'true', 'created': '2026-04-18T08:46:23', 'last-modified': '2026-04-18T08:46:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.912600'} 2026-04-18 08:46:26,214 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-18 08:46:26,214 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88842647 passed 2026-04-18 08:46:26,214 - DEBUG - ====Verifying policy data for ctest-vn-88842647 in API_Server ====== 2026-04-18 08:46:26,215 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-18 08:46:26,220 - DEBUG - Requesting: http://10.0.0.38:8082/domain/03b75f51-8237-4036-b6db-a5f5b8d0df7b 2026-04-18 08:46:26,231 - DEBUG - Requesting: http://10.0.0.38:8082/project/eec89b50-6ccf-4a5d-a225-b36da169695a 2026-04-18 08:46:26,302 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/144d4b4c-13d6-4f4a-9406-cc4f523a9e6b 2026-04-18 08:46:26,311 - DEBUG - ==>Verifying data for policy with id: df8e4ec6-5466-42ee-baed-f504de71af7c, fqn: ['default-domain', 'ctest-TestBasicPolicy-80127704', 'ctest-policy-allow-all-43984289'] 2026-04-18 08:46:26,311 - INFO - VN ctest-vn-88842647 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-18 08:46:26,311 - DEBUG - Verifying the vn in opserver 2026-04-18 08:46:26,311 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80127704:ctest-vn-88842647 virtual network link through opserver 10.0.0.38 2026-04-18 08:46:26,311 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-18 08:46:26,604 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-18 08:46:26,665 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80127704:ctest-vn-88842647', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80127704:ctest-vn-88842647?flat'} 2026-04-18 08:46:26,665 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80127704:ctest-vn-88842647 is found in opserver 2026-04-18 08:46:26,676 - DEBUG - Do not have enough data to verify VN in agent 2026-04-18 08:46:26,681 - DEBUG - VRF ids for VN ctest-vn-88842647: {} 2026-04-18 08:46:26,681 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-18 08:46:26,686 - DEBUG - Requesting: http://10.0.0.38:8082/domain/03b75f51-8237-4036-b6db-a5f5b8d0df7b 2026-04-18 08:46:26,697 - DEBUG - Requesting: http://10.0.0.38:8082/project/eec89b50-6ccf-4a5d-a225-b36da169695a 2026-04-18 08:46:26,763 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6244ccf3-25cc-4aa8-8623-77c72e99573a 2026-04-18 08:46:26,775 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6244ccf3-25cc-4aa8-8623-77c72e99573a 2026-04-18 08:46:26,790 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3908cf89-67d4-461f-bfe6-232d4db6d218 2026-04-18 08:46:26,798 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3908cf89-67d4-461f-bfe6-232d4db6d218 2026-04-18 08:46:26,805 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ca16c338-d6ce-410f-b983-5d2923e1ecde 2026-04-18 08:46:26,812 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-18 08:46:26,812 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6244ccf3-25cc-4aa8-8623-77c72e99573a 2026-04-18 08:46:26,821 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3908cf89-67d4-461f-bfe6-232d4db6d218 2026-04-18 08:46:26,838 - INFO - Verified VN network id 12 for VN 6244ccf3-25cc-4aa8-8623-77c72e99573a 2026-04-18 08:46:26,838 - INFO - Verifications in API Server for VN ctest-vn-61958773 passed 2026-04-18 08:46:26,838 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6244ccf3-25cc-4aa8-8623-77c72e99573a 2026-04-18 08:46:26,847 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3908cf89-67d4-461f-bfe6-232d4db6d218 2026-04-18 08:46:26,853 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3908cf89-67d4-461f-bfe6-232d4db6d218 2026-04-18 08:46:26,860 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ca16c338-d6ce-410f-b983-5d2923e1ecde 2026-04-18 08:46:26,871 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80127704:ctest-vn-61958773', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80127704', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7081009858816527016', 'uuid-lslong': '9665700922631214906'}, 'enable': 'true', 'created': '2026-04-18T08:46:24', 'last-modified': '2026-04-18T08:46:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.345593'} 2026-04-18 08:46:26,877 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-18 08:46:26,877 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61958773 passed 2026-04-18 08:46:26,877 - DEBUG - ====Verifying policy data for ctest-vn-61958773 in API_Server ====== 2026-04-18 08:46:26,877 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-18 08:46:26,882 - DEBUG - Requesting: http://10.0.0.38:8082/domain/03b75f51-8237-4036-b6db-a5f5b8d0df7b 2026-04-18 08:46:26,893 - DEBUG - Requesting: http://10.0.0.38:8082/project/eec89b50-6ccf-4a5d-a225-b36da169695a 2026-04-18 08:46:26,963 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6244ccf3-25cc-4aa8-8623-77c72e99573a 2026-04-18 08:46:26,972 - DEBUG - ==>Verifying data for policy with id: df8e4ec6-5466-42ee-baed-f504de71af7c, fqn: ['default-domain', 'ctest-TestBasicPolicy-80127704', 'ctest-policy-allow-all-43984289'] 2026-04-18 08:46:26,972 - INFO - VN ctest-vn-61958773 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-18 08:46:26,972 - DEBUG - Verifying the vn in opserver 2026-04-18 08:46:26,972 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80127704:ctest-vn-61958773 virtual network link through opserver 10.0.0.38 2026-04-18 08:46:26,972 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-18 08:46:26,982 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80127704:ctest-vn-61958773', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80127704:ctest-vn-61958773?flat'} 2026-04-18 08:46:26,982 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80127704:ctest-vn-61958773 is found in opserver 2026-04-18 08:46:26,993 - DEBUG - Do not have enough data to verify VN in agent 2026-04-18 08:46:26,997 - DEBUG - VRF ids for VN ctest-vn-61958773: {} 2026-04-18 08:46:27,053 - DEBUG - Services list from nova: [, , ] 2026-04-18 08:46:28,080 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5643-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5643-1) 2026-04-18 08:46:29,222 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5643-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5643-1) 2026-04-18 08:46:29,222 - INFO - Waiting for VM ctest-TestBasicPolicy-80127704-62959126 to be up.. 2026-04-18 08:46:29,303 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-18 08:46:34,383 - DEBUG - VM is in ACTIVE state now 2026-04-18 08:46:34,383 - INFO - VM name : ctest-TestBasicPolicy-80127704-62959126 2026-04-18 08:46:34,458 - DEBUG - VM ctest-TestBasicPolicy-80127704-62959126 ID is 24136ac1-614a-4cea-8aa9-8d091b14b752 2026-04-18 08:46:34,481 - DEBUG - VM ctest-TestBasicPolicy-80127704-62959126 launched on Node cn-jenkins-deploy-platform-ansible-os-5643-1 2026-04-18 08:46:34,553 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/24136ac1-614a-4cea-8aa9-8d091b14b752 2026-04-18 08:46:34,563 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ef4eed7c-c10c-4b20-8883-6ca0b1c8ae72 2026-04-18 08:46:37,821 - 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 1027ms') 2026-04-18 08:46:37,821 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80127704-62959126 failed! 2026-04-18 08:46:37,876 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80127704:ctest-vn-88842647 is 213.87.242.65 and allocation pool is NOT set 2026-04-18 08:46:39,939 - 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=7.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.456 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.456/3.771/7.086/3.315 ms') 2026-04-18 08:46:39,939 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80127704-62959126 passed 2026-04-18 08:46:40,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-18 08:46:40,090 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80127704-62959126, IP 213.87.242.67, Port 22 2026-04-18 08:46:40,248 - DEBUG - VM ctest-TestBasicPolicy-80127704-62959126 is ready for SSH connections 2026-04-18 08:46:40,248 - INFO - Waiting for VM ctest-TestBasicPolicy-80127704-42750958 to be up.. 2026-04-18 08:46:40,325 - DEBUG - VM is in ACTIVE state now 2026-04-18 08:46:40,325 - INFO - VM name : ctest-TestBasicPolicy-80127704-42750958 2026-04-18 08:46:40,409 - DEBUG - VM ctest-TestBasicPolicy-80127704-42750958 ID is 19196f55-37f2-4054-8941-9498ed41c186 2026-04-18 08:46:40,409 - DEBUG - VM ctest-TestBasicPolicy-80127704-42750958 launched on Node cn-jenkins-deploy-platform-ansible-os-5643-1 2026-04-18 08:46:40,497 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/19196f55-37f2-4054-8941-9498ed41c186 2026-04-18 08:46:40,507 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/750d6110-7fcb-47d4-8088-4b52c9b67786 2026-04-18 08:46:41,745 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.49 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 = 1.488/3.045/4.602/1.557 ms') 2026-04-18 08:46:41,746 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-80127704-42750958 passed 2026-04-18 08:46:41,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-18 08:46:41,896 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80127704-42750958, IP 90.45.75.67, Port 22 2026-04-18 08:46:41,962 - 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-04-18 08:46:42,036 - DEBUG - VM ctest-TestBasicPolicy-80127704-42750958 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-18 08:46:47,037 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-18 08:46:47,037 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80127704-42750958, IP 90.45.75.67, Port 22 2026-04-18 08:46:47,192 - DEBUG - VM ctest-TestBasicPolicy-80127704-42750958 is ready for SSH connections 2026-04-18 08:46:47,192 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-18 08:46:47,192 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.45.75.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-18 08:46:47,192 - DEBUG - ping -s 56 -c 3 -W 1 90.45.75.67 2026-04-18 08:46:51,258 - DEBUG - PING 90.45.75.67 (90.45.75.67): 56 data bytes 64 bytes from 90.45.75.67: seq=0 ttl=63 time=4.931 ms 64 bytes from 90.45.75.67: seq=1 ttl=63 time=0.832 ms 64 bytes from 90.45.75.67: seq=2 ttl=63 time=0.885 ms --- 90.45.75.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.832/2.216/4.931 ms 2026-04-18 08:46:51,258 - INFO - Ping to IP 90.45.75.67 from VM ctest-TestBasicPolicy-80127704-62959126 passed 2026-04-18 08:46:51,452 - DEBUG - Policy Update Response {"network-policy": {"uuid": "df8e4ec6-5466-42ee-baed-f504de71af7c", "href": "http://10.0.0.38:8082/network-policy/df8e4ec6-5466-42ee-baed-f504de71af7c"}} 2026-04-18 08:46:51,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-18 08:46:51,452 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.45.75.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-18 08:46:51,452 - DEBUG - ping -s 56 -c 3 -W 1 90.45.75.67 2026-04-18 08:46:54,677 - DEBUG - PING 90.45.75.67 (90.45.75.67): 56 data bytes --- 90.45.75.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-18 08:46:54,677 - WARNING - Ping to IP 90.45.75.67 from VM ctest-TestBasicPolicy-80127704-62959126 failed 2026-04-18 08:46:54,677 - INFO - Deleting VM ctest-TestBasicPolicy-80127704-42750958 2026-04-18 08:46:54,755 - INFO - Deleting VM ctest-TestBasicPolicy-80127704-62959126 2026-04-18 08:46:55,164 - INFO - Deleted policy ctest-policy-allow-all-43984289 2026-04-18 08:46:55,164 - INFO - Deleting VN ctest-vn-61958773 2026-04-18 08:46:55,201 - DEBUG - VN 6244ccf3-25cc-4aa8-8623-77c72e99573a still in use: Unable to complete operation on network 6244ccf3-25cc-4aa8-8623-77c72e99573a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-118ead37-a9b6-4c64-a8d4-20facc21a5a1'] 2026-04-18 08:46:55,201 - WARNING - Deleting VN ctest-vn-61958773 failed..Will retry 2026-04-18 08:46:57,294 - DEBUG - Response for deleting network () 2026-04-18 08:46:57,294 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3908cf89-67d4-461f-bfe6-232d4db6d218 2026-04-18 08:46:57,300 - DEBUG - Response Code: 404 2026-04-18 08:46:57,300 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-18 08:46:57,305 - DEBUG - Requesting: http://10.0.0.38:8082/domain/03b75f51-8237-4036-b6db-a5f5b8d0df7b 2026-04-18 08:46:57,357 - DEBUG - Requesting: http://10.0.0.38:8082/project/eec89b50-6ccf-4a5d-a225-b36da169695a 2026-04-18 08:46:57,426 - INFO - Validated that VN ctest-vn-61958773 is not found in API Server 2026-04-18 08:46:57,437 - DEBUG - VN ctest-vn-61958773 is not present in Agent 10.0.0.38 2026-04-18 08:46:57,437 - INFO - Validated that VN ctest-vn-61958773 is not in any agent 2026-04-18 08:46:57,452 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61958773 info 2026-04-18 08:46:57,452 - INFO - Deleting VN ctest-vn-88842647 2026-04-18 08:46:57,553 - DEBUG - Response for deleting network () 2026-04-18 08:46:57,553 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c3a85821-963a-48f0-9332-a49df8dcbcfb 2026-04-18 08:46:57,558 - DEBUG - Response Code: 404 2026-04-18 08:46:57,559 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-18 08:46:57,564 - DEBUG - Requesting: http://10.0.0.38:8082/domain/03b75f51-8237-4036-b6db-a5f5b8d0df7b 2026-04-18 08:46:57,617 - DEBUG - Requesting: http://10.0.0.38:8082/project/eec89b50-6ccf-4a5d-a225-b36da169695a 2026-04-18 08:46:57,689 - INFO - Validated that VN ctest-vn-88842647 is not found in API Server 2026-04-18 08:46:57,699 - DEBUG - VN ctest-vn-88842647 is not present in Agent 10.0.0.38 2026-04-18 08:46:57,699 - INFO - Validated that VN ctest-vn-88842647 is not in any agent 2026-04-18 08:46:57,717 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88842647 info 2026-04-18 08:46:57,990 - DEBUG - No XMPP flaps were noticed during the test
2026-04-18 08:46:57,990 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2026-04-18 08:46:57,990 - INFO - -------------------------------------------------------------------------------- 2026-04-18 08:46:58,689 - INFO - Deleted project: ctest-TestBasicPolicy-80127704, ID : eec89b50-6ccf-4a5d-a225-b36da169695a