2026-07-10 17:41:29,808 - INFO - Domain Default found not creating 2026-07-10 17:41:29,979 - INFO - Project ctest-TestBasicPolicy-10082453 not found, creating it 2026-07-10 17:41:30,496 - INFO - Created Project:ctest-TestBasicPolicy-10082453, ID : 4a30c6b2-f2ce-4d6c-b672-cb455979ee8d 2026-07-10 17:41:32,170 - INFO - ================================================================================ 2026-07-10 17:41:32,171 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-10 17:41:32,171 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-07-10 17:41:32,426 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-07-10 17:41:32,426 - INFO - Initial checks done. Running the testcase now 2026-07-10 17:41:32,426 - INFO - 2026-07-10 17:41:33,001 - DEBUG - Response for create_network : {'network': {'id': '1b749d6b-e985-4a9f-86c4-857a1c10443f', 'name': 'ctest-vn-92263863', 'tenant_id': '4a30c6b2f2ce4d6cb672cb455979ee8d', 'project_id': '4a30c6b2f2ce4d6cb672cb455979ee8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10082453', 'ctest-vn-92263863'], 'port_security_enabled': True, 'description': ''}} 2026-07-10 17:41:33,206 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f2a6858-e809-4782-9fc3-a8dd8b629552', 'name': '', 'tenant_id': '4a30c6b2f2ce4d6cb672cb455979ee8d', 'network_id': '1b749d6b-e985-4a9f-86c4-857a1c10443f', 'ip_version': 4, 'cidr': '85.245.240.64/26', 'allocation_pools': [{'start': '85.245.240.66', 'end': '85.245.240.126'}], 'gateway_ip': '85.245.240.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.245.240.66', 'tags': [], 'project_id': '4a30c6b2f2ce4d6cb672cb455979ee8d'}} 2026-07-10 17:41:33,224 - INFO - Created VN ctest-vn-92263863 2026-07-10 17:41:33,278 - DEBUG - VN ctest-vn-92263863 UUID is 1b749d6b-e985-4a9f-86c4-857a1c10443f 2026-07-10 17:41:33,630 - DEBUG - Response for create_network : {'network': {'id': '1fb5af17-ef4a-4af4-8a3c-b3295da0e57f', 'name': 'ctest-vn-66007633', 'tenant_id': '4a30c6b2f2ce4d6cb672cb455979ee8d', 'project_id': '4a30c6b2f2ce4d6cb672cb455979ee8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10082453', 'ctest-vn-66007633'], 'port_security_enabled': True, 'description': ''}} 2026-07-10 17:41:33,830 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f29c2cc8-1b91-4e96-ad00-c93738dc0c4f', 'name': '', 'tenant_id': '4a30c6b2f2ce4d6cb672cb455979ee8d', 'network_id': '1fb5af17-ef4a-4af4-8a3c-b3295da0e57f', 'ip_version': 4, 'cidr': '41.206.140.128/26', 'allocation_pools': [{'start': '41.206.140.130', 'end': '41.206.140.190'}], 'gateway_ip': '41.206.140.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.206.140.130', 'tags': [], 'project_id': '4a30c6b2f2ce4d6cb672cb455979ee8d'}} 2026-07-10 17:41:33,851 - INFO - Created VN ctest-vn-66007633 2026-07-10 17:41:33,910 - DEBUG - VN ctest-vn-66007633 UUID is 1fb5af17-ef4a-4af4-8a3c-b3295da0e57f 2026-07-10 17:41:34,034 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-10082453:ctest-vn-92263863, 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-10082453:ctest-vn-66007633, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-07-10 17:41:34,363 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1b749d6b-e985-4a9f-86c4-857a1c10443f', 'name': 'ctest-vn-92263863', 'tenant_id': '4a30c6b2f2ce4d6cb672cb455979ee8d', 'project_id': '4a30c6b2f2ce4d6cb672cb455979ee8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0f2a6858-e809-4782-9fc3-a8dd8b629552'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10082453', 'ctest-vn-92263863'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10082453', 'ctest-policy-allow-all-95678629']], 'subnet_ipam': [{'subnet_cidr': '85.245.240.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-10 17:41:34,608 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1fb5af17-ef4a-4af4-8a3c-b3295da0e57f', 'name': 'ctest-vn-66007633', 'tenant_id': '4a30c6b2f2ce4d6cb672cb455979ee8d', 'project_id': '4a30c6b2f2ce4d6cb672cb455979ee8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f29c2cc8-1b91-4e96-ad00-c93738dc0c4f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10082453', 'ctest-vn-66007633'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10082453', 'ctest-policy-allow-all-95678629']], 'subnet_ipam': [{'subnet_cidr': '41.206.140.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-10 17:41:34,779 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-10 17:41:35,126 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-10 17:41:35,155 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5f3898a9-a7f8-4174-b697-0aed186c0f37 2026-07-10 17:41:35,170 - DEBUG - Requesting: http://10.0.0.38:8082/project/4a30c6b2-f2ce-4d6c-b672-cb455979ee8d 2026-07-10 17:41:35,246 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1b749d6b-e985-4a9f-86c4-857a1c10443f 2026-07-10 17:41:35,259 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1b749d6b-e985-4a9f-86c4-857a1c10443f 2026-07-10 17:41:35,269 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/edc9562d-35fa-4d51-8b6b-ea36188a8ac0 2026-07-10 17:41:35,277 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/edc9562d-35fa-4d51-8b6b-ea36188a8ac0 2026-07-10 17:41:35,285 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e0898d91-c05b-487f-babb-7a386432c1d6 2026-07-10 17:41:35,293 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-10 17:41:35,293 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1b749d6b-e985-4a9f-86c4-857a1c10443f 2026-07-10 17:41:35,307 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/edc9562d-35fa-4d51-8b6b-ea36188a8ac0 2026-07-10 17:41:35,321 - INFO - Verified VN network id 11 for VN 1b749d6b-e985-4a9f-86c4-857a1c10443f 2026-07-10 17:41:35,321 - INFO - Verifications in API Server for VN ctest-vn-92263863 passed 2026-07-10 17:41:35,321 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1b749d6b-e985-4a9f-86c4-857a1c10443f 2026-07-10 17:41:35,331 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/edc9562d-35fa-4d51-8b6b-ea36188a8ac0 2026-07-10 17:41:35,339 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/edc9562d-35fa-4d51-8b6b-ea36188a8ac0 2026-07-10 17:41:35,350 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e0898d91-c05b-487f-babb-7a386432c1d6 2026-07-10 17:41:35,362 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10082453:ctest-vn-92263863', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10082453', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1978379223127378591', 'uuid-lslong': '9711033456020964415'}, 'enable': 'true', 'created': '2026-07-10T17:41:32', 'last-modified': '2026-07-10T17:41:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.013482'} 2026-07-10 17:41:35,370 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-10 17:41:35,370 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92263863 passed 2026-07-10 17:41:35,370 - DEBUG - ====Verifying policy data for ctest-vn-92263863 in API_Server ====== 2026-07-10 17:41:35,371 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-10 17:41:35,377 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5f3898a9-a7f8-4174-b697-0aed186c0f37 2026-07-10 17:41:35,388 - DEBUG - Requesting: http://10.0.0.38:8082/project/4a30c6b2-f2ce-4d6c-b672-cb455979ee8d 2026-07-10 17:41:35,463 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1b749d6b-e985-4a9f-86c4-857a1c10443f 2026-07-10 17:41:35,474 - DEBUG - ==>Verifying data for policy with id: 2d390014-e9bd-46bb-a8b8-f95b16b14501, fqn: ['default-domain', 'ctest-TestBasicPolicy-10082453', 'ctest-policy-allow-all-95678629'] 2026-07-10 17:41:35,474 - INFO - VN ctest-vn-92263863 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-10 17:41:35,474 - DEBUG - Verifying the vn in opserver 2026-07-10 17:41:35,474 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10082453:ctest-vn-92263863 virtual network link through opserver 10.0.0.38 2026-07-10 17:41:35,474 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-07-10 17:41:35,810 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-07-10 17:41:35,868 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10082453:ctest-vn-92263863', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10082453:ctest-vn-92263863?flat'} 2026-07-10 17:41:35,868 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10082453:ctest-vn-92263863 is found in opserver 2026-07-10 17:41:35,878 - DEBUG - Do not have enough data to verify VN in agent 2026-07-10 17:41:35,885 - DEBUG - VRF ids for VN ctest-vn-92263863: {} 2026-07-10 17:41:35,885 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-10 17:41:35,891 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5f3898a9-a7f8-4174-b697-0aed186c0f37 2026-07-10 17:41:35,902 - DEBUG - Requesting: http://10.0.0.38:8082/project/4a30c6b2-f2ce-4d6c-b672-cb455979ee8d 2026-07-10 17:41:35,977 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1fb5af17-ef4a-4af4-8a3c-b3295da0e57f 2026-07-10 17:41:35,990 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1fb5af17-ef4a-4af4-8a3c-b3295da0e57f 2026-07-10 17:41:36,001 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fa1f1693-28e8-47d7-9860-71867078e1d0 2026-07-10 17:41:36,010 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fa1f1693-28e8-47d7-9860-71867078e1d0 2026-07-10 17:41:36,020 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b4605674-7e73-43c7-9936-463b79190693 2026-07-10 17:41:36,027 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-10 17:41:36,027 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1fb5af17-ef4a-4af4-8a3c-b3295da0e57f 2026-07-10 17:41:36,037 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fa1f1693-28e8-47d7-9860-71867078e1d0 2026-07-10 17:41:36,052 - INFO - Verified VN network id 12 for VN 1fb5af17-ef4a-4af4-8a3c-b3295da0e57f 2026-07-10 17:41:36,052 - INFO - Verifications in API Server for VN ctest-vn-66007633 passed 2026-07-10 17:41:36,052 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1fb5af17-ef4a-4af4-8a3c-b3295da0e57f 2026-07-10 17:41:36,063 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fa1f1693-28e8-47d7-9860-71867078e1d0 2026-07-10 17:41:36,070 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fa1f1693-28e8-47d7-9860-71867078e1d0 2026-07-10 17:41:36,079 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b4605674-7e73-43c7-9936-463b79190693 2026-07-10 17:41:36,093 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10082453:ctest-vn-66007633', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10082453', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2284924903294126836', 'uuid-lslong': '9961033466082551167'}, 'enable': 'true', 'created': '2026-07-10T17:41:33', 'last-modified': '2026-07-10T17:41:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.500678'} 2026-07-10 17:41:36,100 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-10 17:41:36,101 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66007633 passed 2026-07-10 17:41:36,101 - DEBUG - ====Verifying policy data for ctest-vn-66007633 in API_Server ====== 2026-07-10 17:41:36,101 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-10 17:41:36,107 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5f3898a9-a7f8-4174-b697-0aed186c0f37 2026-07-10 17:41:36,120 - DEBUG - Requesting: http://10.0.0.38:8082/project/4a30c6b2-f2ce-4d6c-b672-cb455979ee8d 2026-07-10 17:41:36,199 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1fb5af17-ef4a-4af4-8a3c-b3295da0e57f 2026-07-10 17:41:36,209 - DEBUG - ==>Verifying data for policy with id: 2d390014-e9bd-46bb-a8b8-f95b16b14501, fqn: ['default-domain', 'ctest-TestBasicPolicy-10082453', 'ctest-policy-allow-all-95678629'] 2026-07-10 17:41:36,209 - INFO - VN ctest-vn-66007633 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-10 17:41:36,209 - DEBUG - Verifying the vn in opserver 2026-07-10 17:41:36,209 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10082453:ctest-vn-66007633 virtual network link through opserver 10.0.0.38 2026-07-10 17:41:36,209 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-07-10 17:41:36,220 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10082453:ctest-vn-66007633', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10082453:ctest-vn-66007633?flat'} 2026-07-10 17:41:36,220 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10082453:ctest-vn-66007633 is found in opserver 2026-07-10 17:41:36,232 - DEBUG - Do not have enough data to verify VN in agent 2026-07-10 17:41:36,238 - DEBUG - VRF ids for VN ctest-vn-66007633: {} 2026-07-10 17:41:36,328 - DEBUG - Services list from nova: [, , ] 2026-07-10 17:41:36,767 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6090-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6090-1) 2026-07-10 17:41:37,197 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6090-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6090-1) 2026-07-10 17:41:37,198 - INFO - Waiting for VM ctest-TestBasicPolicy-10082453-17646629 to be up.. 2026-07-10 17:41:37,243 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-10 17:41:42,331 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-10 17:41:47,447 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-10 17:41:52,607 - DEBUG - VM is in ACTIVE state now 2026-07-10 17:41:52,608 - INFO - VM name : ctest-TestBasicPolicy-10082453-17646629 2026-07-10 17:41:52,746 - DEBUG - VM ctest-TestBasicPolicy-10082453-17646629 ID is 89b63ed1-8d70-478f-80f0-b50b19cfda82 2026-07-10 17:41:52,789 - DEBUG - VM ctest-TestBasicPolicy-10082453-17646629 launched on Node cn-jenkins-deploy-platform-ansible-os-6090-1 2026-07-10 17:41:53,045 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/89b63ed1-8d70-478f-80f0-b50b19cfda82 2026-07-10 17:41:53,057 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fb20734c-8c69-4acd-9c81-17f14f1843eb 2026-07-10 17:41:54,295 - 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=6.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.95 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 = 2.952/4.615/6.278/1.663 ms') 2026-07-10 17:41:54,295 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10082453-17646629 passed 2026-07-10 17:41:54,450 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-10 17:41:54,451 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10082453-17646629, IP 85.245.240.67, Port 22 2026-07-10 17:41:54,620 - DEBUG - VM ctest-TestBasicPolicy-10082453-17646629 is ready for SSH connections 2026-07-10 17:41:54,620 - INFO - Waiting for VM ctest-TestBasicPolicy-10082453-51563510 to be up.. 2026-07-10 17:41:54,701 - DEBUG - VM is in ACTIVE state now 2026-07-10 17:41:54,701 - INFO - VM name : ctest-TestBasicPolicy-10082453-51563510 2026-07-10 17:41:54,778 - DEBUG - VM ctest-TestBasicPolicy-10082453-51563510 ID is 0b0e7c0c-7079-425d-8fe1-d69b7ab3ecf6 2026-07-10 17:41:54,779 - DEBUG - VM ctest-TestBasicPolicy-10082453-51563510 launched on Node cn-jenkins-deploy-platform-ansible-os-6090-1 2026-07-10 17:41:54,855 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0b0e7c0c-7079-425d-8fe1-d69b7ab3ecf6 2026-07-10 17:41:54,864 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/84781bc3-eb3b-4b34-ba8f-9a28c99edd4e 2026-07-10 17:41:56,113 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.22 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 = 2.216/3.034/3.852/0.818 ms') 2026-07-10 17:41:56,113 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-10082453-51563510 passed 2026-07-10 17:41:56,262 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-10 17:41:56,263 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10082453-51563510, IP 41.206.140.131, Port 22 2026-07-10 17:41:56,328 - 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-07-10 17:41:56,405 - DEBUG - VM ctest-TestBasicPolicy-10082453-51563510 is NOT ready for SSH connections, VM status: ACTIVE 2026-07-10 17:42:01,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-10 17:42:01,406 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10082453-51563510, IP 41.206.140.131, Port 22 2026-07-10 17:42:01,582 - DEBUG - VM ctest-TestBasicPolicy-10082453-51563510 is ready for SSH connections 2026-07-10 17:42:01,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-10 17:42:01,582 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.206.140.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-07-10 17:42:01,582 - DEBUG - ping -s 56 -c 3 -W 1 41.206.140.131 2026-07-10 17:42:05,575 - DEBUG - PING 41.206.140.131 (41.206.140.131): 56 data bytes 64 bytes from 41.206.140.131: seq=0 ttl=63 time=3.762 ms 64 bytes from 41.206.140.131: seq=1 ttl=63 time=1.153 ms 64 bytes from 41.206.140.131: seq=2 ttl=63 time=1.277 ms --- 41.206.140.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.153/2.064/3.762 ms 2026-07-10 17:42:05,575 - INFO - Ping to IP 41.206.140.131 from VM ctest-TestBasicPolicy-10082453-17646629 passed 2026-07-10 17:42:05,774 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2d390014-e9bd-46bb-a8b8-f95b16b14501", "href": "http://10.0.0.38:8082/network-policy/2d390014-e9bd-46bb-a8b8-f95b16b14501"}} 2026-07-10 17:42:05,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-10 17:42:05,775 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.206.140.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-07-10 17:42:05,775 - DEBUG - ping -s 56 -c 3 -W 1 41.206.140.131 2026-07-10 17:42:08,908 - DEBUG - PING 41.206.140.131 (41.206.140.131): 56 data bytes --- 41.206.140.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-07-10 17:42:08,908 - WARNING - Ping to IP 41.206.140.131 from VM ctest-TestBasicPolicy-10082453-17646629 failed 2026-07-10 17:42:08,908 - INFO - Deleting VM ctest-TestBasicPolicy-10082453-51563510 2026-07-10 17:42:08,989 - INFO - Deleting VM ctest-TestBasicPolicy-10082453-17646629 2026-07-10 17:42:09,352 - INFO - Deleted policy ctest-policy-allow-all-95678629 2026-07-10 17:42:09,352 - INFO - Deleting VN ctest-vn-66007633 2026-07-10 17:42:09,385 - DEBUG - VN 1fb5af17-ef4a-4af4-8a3c-b3295da0e57f still in use: Unable to complete operation on network 1fb5af17-ef4a-4af4-8a3c-b3295da0e57f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-867e6a47-3a98-49b2-9809-05bb09e247bc'] 2026-07-10 17:42:09,386 - WARNING - Deleting VN ctest-vn-66007633 failed..Will retry 2026-07-10 17:42:11,518 - DEBUG - Response for deleting network () 2026-07-10 17:42:11,518 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fa1f1693-28e8-47d7-9860-71867078e1d0 2026-07-10 17:42:11,526 - DEBUG - Response Code: 404 2026-07-10 17:42:11,527 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-10 17:42:11,533 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5f3898a9-a7f8-4174-b697-0aed186c0f37 2026-07-10 17:42:11,588 - DEBUG - Requesting: http://10.0.0.38:8082/project/4a30c6b2-f2ce-4d6c-b672-cb455979ee8d 2026-07-10 17:42:11,671 - INFO - Validated that VN ctest-vn-66007633 is not found in API Server 2026-07-10 17:42:11,682 - DEBUG - VN ctest-vn-66007633 is not present in Agent 10.0.0.38 2026-07-10 17:42:11,682 - INFO - Validated that VN ctest-vn-66007633 is not in any agent 2026-07-10 17:42:11,702 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66007633 info 2026-07-10 17:42:11,702 - INFO - Deleting VN ctest-vn-92263863 2026-07-10 17:42:11,834 - DEBUG - Response for deleting network () 2026-07-10 17:42:11,834 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/edc9562d-35fa-4d51-8b6b-ea36188a8ac0 2026-07-10 17:42:11,840 - DEBUG - Response Code: 404 2026-07-10 17:42:11,840 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-10 17:42:11,854 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5f3898a9-a7f8-4174-b697-0aed186c0f37 2026-07-10 17:42:11,908 - DEBUG - Requesting: http://10.0.0.38:8082/project/4a30c6b2-f2ce-4d6c-b672-cb455979ee8d 2026-07-10 17:42:11,986 - INFO - Validated that VN ctest-vn-92263863 is not found in API Server 2026-07-10 17:42:11,998 - DEBUG - VN ctest-vn-92263863 is not present in Agent 10.0.0.38 2026-07-10 17:42:11,998 - INFO - Validated that VN ctest-vn-92263863 is not in any agent 2026-07-10 17:42:12,015 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92263863 info 2026-07-10 17:42:12,303 - DEBUG - No XMPP flaps were noticed during the test
2026-07-10 17:42:12,304 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:40]
2026-07-10 17:42:12,304 - INFO - -------------------------------------------------------------------------------- 2026-07-10 17:42:13,110 - INFO - Deleted project: ctest-TestBasicPolicy-10082453, ID : 4a30c6b2-f2ce-4d6c-b672-cb455979ee8d