2026-09-30 16:21:07,109 - INFO - Domain Default found not creating 2026-09-30 16:21:07,251 - INFO - Project ctest-TestBasicPolicy-41626724 not found, creating it 2026-09-30 16:21:07,686 - INFO - Created Project:ctest-TestBasicPolicy-41626724, ID : 3cc63024-c00f-411d-a360-f1a786df2fd7 2026-09-30 16:21:09,808 - INFO - ================================================================================ 2026-09-30 16:21:09,808 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-30 16:21:09,808 - 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-09-30 16:21:10,064 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.25': '0'}} with 2026-09-30 16:21:10,064 - INFO - Initial checks done. Running the testcase now 2026-09-30 16:21:10,064 - INFO - 2026-09-30 16:21:10,617 - DEBUG - Response for create_network : {'network': {'id': '15e91948-e691-4eb4-be72-be93834dbb43', 'name': 'ctest-vn-83067631', 'tenant_id': '3cc63024c00f411da360f1a786df2fd7', 'project_id': '3cc63024c00f411da360f1a786df2fd7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41626724', 'ctest-vn-83067631'], 'port_security_enabled': True, 'description': ''}} 2026-09-30 16:21:10,799 - DEBUG - Response for create_subnet : {'subnet': {'id': '164e5404-ea53-4f08-af8b-312f33337e86', 'name': '', 'tenant_id': '3cc63024c00f411da360f1a786df2fd7', 'network_id': '15e91948-e691-4eb4-be72-be93834dbb43', 'ip_version': 4, 'cidr': '20.229.3.128/26', 'allocation_pools': [{'start': '20.229.3.130', 'end': '20.229.3.190'}], 'gateway_ip': '20.229.3.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.229.3.130', 'tags': [], 'project_id': '3cc63024c00f411da360f1a786df2fd7'}} 2026-09-30 16:21:10,821 - INFO - Created VN ctest-vn-83067631 2026-09-30 16:21:10,874 - DEBUG - VN ctest-vn-83067631 UUID is 15e91948-e691-4eb4-be72-be93834dbb43 2026-09-30 16:21:11,216 - DEBUG - Response for create_network : {'network': {'id': 'a6dd1083-568e-43d8-9c11-86ce02230753', 'name': 'ctest-vn-09688418', 'tenant_id': '3cc63024c00f411da360f1a786df2fd7', 'project_id': '3cc63024c00f411da360f1a786df2fd7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41626724', 'ctest-vn-09688418'], 'port_security_enabled': True, 'description': ''}} 2026-09-30 16:21:11,411 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e15e6d3a-3192-4e70-812a-ed6812183e73', 'name': '', 'tenant_id': '3cc63024c00f411da360f1a786df2fd7', 'network_id': 'a6dd1083-568e-43d8-9c11-86ce02230753', 'ip_version': 4, 'cidr': '12.28.61.128/26', 'allocation_pools': [{'start': '12.28.61.130', 'end': '12.28.61.190'}], 'gateway_ip': '12.28.61.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.28.61.130', 'tags': [], 'project_id': '3cc63024c00f411da360f1a786df2fd7'}} 2026-09-30 16:21:11,426 - INFO - Created VN ctest-vn-09688418 2026-09-30 16:21:11,478 - DEBUG - VN ctest-vn-09688418 UUID is a6dd1083-568e-43d8-9c11-86ce02230753 2026-09-30 16:21:11,626 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41626724:ctest-vn-83067631, 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-41626724:ctest-vn-09688418, 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-09-30 16:21:11,932 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '15e91948-e691-4eb4-be72-be93834dbb43', 'name': 'ctest-vn-83067631', 'tenant_id': '3cc63024c00f411da360f1a786df2fd7', 'project_id': '3cc63024c00f411da360f1a786df2fd7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['164e5404-ea53-4f08-af8b-312f33337e86'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41626724', 'ctest-vn-83067631'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41626724', 'ctest-policy-allow-all-50519278']], 'subnet_ipam': [{'subnet_cidr': '20.229.3.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-30 16:21:12,161 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a6dd1083-568e-43d8-9c11-86ce02230753', 'name': 'ctest-vn-09688418', 'tenant_id': '3cc63024c00f411da360f1a786df2fd7', 'project_id': '3cc63024c00f411da360f1a786df2fd7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e15e6d3a-3192-4e70-812a-ed6812183e73'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41626724', 'ctest-vn-09688418'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41626724', 'ctest-policy-allow-all-50519278']], 'subnet_ipam': [{'subnet_cidr': '12.28.61.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-30 16:21:12,310 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-30 16:21:12,626 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-30 16:21:12,651 - DEBUG - Requesting: http://10.0.0.189:8082/domain/5d11a5b1-94ab-4c0d-ab72-36b6ed4e5368 2026-09-30 16:21:12,663 - DEBUG - Requesting: http://10.0.0.189:8082/project/3cc63024-c00f-411d-a360-f1a786df2fd7 2026-09-30 16:21:12,734 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/15e91948-e691-4eb4-be72-be93834dbb43 2026-09-30 16:21:12,746 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/15e91948-e691-4eb4-be72-be93834dbb43 2026-09-30 16:21:12,756 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0ca3874f-9a91-4f44-aa4a-3860f6b3ffcd 2026-09-30 16:21:12,763 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0ca3874f-9a91-4f44-aa4a-3860f6b3ffcd 2026-09-30 16:21:12,771 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/612ac1e5-a8a5-4f86-9e3d-555b76ba0c30 2026-09-30 16:21:12,777 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-30 16:21:12,777 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/15e91948-e691-4eb4-be72-be93834dbb43 2026-09-30 16:21:12,785 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0ca3874f-9a91-4f44-aa4a-3860f6b3ffcd 2026-09-30 16:21:12,802 - INFO - Verified VN network id 12 for VN 15e91948-e691-4eb4-be72-be93834dbb43 2026-09-30 16:21:12,802 - INFO - Verifications in API Server for VN ctest-vn-83067631 passed 2026-09-30 16:21:12,802 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/15e91948-e691-4eb4-be72-be93834dbb43 2026-09-30 16:21:12,812 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0ca3874f-9a91-4f44-aa4a-3860f6b3ffcd 2026-09-30 16:21:12,820 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0ca3874f-9a91-4f44-aa4a-3860f6b3ffcd 2026-09-30 16:21:12,827 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/612ac1e5-a8a5-4f86-9e3d-555b76ba0c30 2026-09-30 16:21:12,839 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41626724:ctest-vn-83067631', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41626724', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1578820945266691764', 'uuid-lslong': '13723240555323702083'}, 'enable': 'true', 'created': '2026-09-30T16:21:10', 'last-modified': '2026-09-30T16:21:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.935755'} 2026-09-30 16:21:12,846 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-30 16:21:12,846 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83067631 passed 2026-09-30 16:21:12,846 - DEBUG - ====Verifying policy data for ctest-vn-83067631 in API_Server ====== 2026-09-30 16:21:12,846 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-30 16:21:12,852 - DEBUG - Requesting: http://10.0.0.189:8082/domain/5d11a5b1-94ab-4c0d-ab72-36b6ed4e5368 2026-09-30 16:21:12,866 - DEBUG - Requesting: http://10.0.0.189:8082/project/3cc63024-c00f-411d-a360-f1a786df2fd7 2026-09-30 16:21:12,938 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/15e91948-e691-4eb4-be72-be93834dbb43 2026-09-30 16:21:12,946 - DEBUG - ==>Verifying data for policy with id: 2a884b62-9f6b-4bfc-9500-b418ab3b88de, fqn: ['default-domain', 'ctest-TestBasicPolicy-41626724', 'ctest-policy-allow-all-50519278'] 2026-09-30 16:21:12,946 - INFO - VN ctest-vn-83067631 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-30 16:21:12,947 - DEBUG - Verifying the vn in opserver 2026-09-30 16:21:12,947 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41626724:ctest-vn-83067631 virtual network link through opserver 10.0.0.189 2026-09-30 16:21:12,947 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-09-30 16:21:13,261 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-09-30 16:21:13,311 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41626724:ctest-vn-83067631', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41626724:ctest-vn-83067631?flat'} 2026-09-30 16:21:13,311 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41626724:ctest-vn-83067631 is found in opserver 2026-09-30 16:21:13,321 - DEBUG - Do not have enough data to verify VN in agent 2026-09-30 16:21:13,326 - DEBUG - VRF ids for VN ctest-vn-83067631: {} 2026-09-30 16:21:13,326 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-30 16:21:13,331 - DEBUG - Requesting: http://10.0.0.189:8082/domain/5d11a5b1-94ab-4c0d-ab72-36b6ed4e5368 2026-09-30 16:21:13,341 - DEBUG - Requesting: http://10.0.0.189:8082/project/3cc63024-c00f-411d-a360-f1a786df2fd7 2026-09-30 16:21:13,410 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/a6dd1083-568e-43d8-9c11-86ce02230753 2026-09-30 16:21:13,422 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/a6dd1083-568e-43d8-9c11-86ce02230753 2026-09-30 16:21:13,432 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/2aa963b5-72e0-4ebb-830f-d384ffb3d9a4 2026-09-30 16:21:13,439 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/2aa963b5-72e0-4ebb-830f-d384ffb3d9a4 2026-09-30 16:21:13,446 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/63a54027-29ed-4fe8-be47-85a39661ad99 2026-09-30 16:21:13,453 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-30 16:21:13,453 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/a6dd1083-568e-43d8-9c11-86ce02230753 2026-09-30 16:21:13,462 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/2aa963b5-72e0-4ebb-830f-d384ffb3d9a4 2026-09-30 16:21:13,476 - INFO - Verified VN network id 13 for VN a6dd1083-568e-43d8-9c11-86ce02230753 2026-09-30 16:21:13,476 - INFO - Verifications in API Server for VN ctest-vn-09688418 passed 2026-09-30 16:21:13,476 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/a6dd1083-568e-43d8-9c11-86ce02230753 2026-09-30 16:21:13,485 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/2aa963b5-72e0-4ebb-830f-d384ffb3d9a4 2026-09-30 16:21:13,493 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/2aa963b5-72e0-4ebb-830f-d384ffb3d9a4 2026-09-30 16:21:13,500 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/63a54027-29ed-4fe8-be47-85a39661ad99 2026-09-30 16:21:13,512 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41626724:ctest-vn-09688418', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41626724', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12023784736428016600', 'uuid-lslong': '11245917963878074195'}, 'enable': 'true', 'created': '2026-09-30T16:21:11', 'last-modified': '2026-09-30T16:21:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.379469'} 2026-09-30 16:21:13,519 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-30 16:21:13,519 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09688418 passed 2026-09-30 16:21:13,519 - DEBUG - ====Verifying policy data for ctest-vn-09688418 in API_Server ====== 2026-09-30 16:21:13,519 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-30 16:21:13,524 - DEBUG - Requesting: http://10.0.0.189:8082/domain/5d11a5b1-94ab-4c0d-ab72-36b6ed4e5368 2026-09-30 16:21:13,535 - DEBUG - Requesting: http://10.0.0.189:8082/project/3cc63024-c00f-411d-a360-f1a786df2fd7 2026-09-30 16:21:13,603 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/a6dd1083-568e-43d8-9c11-86ce02230753 2026-09-30 16:21:13,612 - DEBUG - ==>Verifying data for policy with id: 2a884b62-9f6b-4bfc-9500-b418ab3b88de, fqn: ['default-domain', 'ctest-TestBasicPolicy-41626724', 'ctest-policy-allow-all-50519278'] 2026-09-30 16:21:13,612 - INFO - VN ctest-vn-09688418 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-30 16:21:13,612 - DEBUG - Verifying the vn in opserver 2026-09-30 16:21:13,612 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41626724:ctest-vn-09688418 virtual network link through opserver 10.0.0.189 2026-09-30 16:21:13,612 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-09-30 16:21:13,622 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41626724:ctest-vn-09688418', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41626724:ctest-vn-09688418?flat'} 2026-09-30 16:21:13,622 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41626724:ctest-vn-09688418 is found in opserver 2026-09-30 16:21:13,632 - DEBUG - Do not have enough data to verify VN in agent 2026-09-30 16:21:13,639 - DEBUG - VRF ids for VN ctest-vn-09688418: {} 2026-09-30 16:21:13,695 - DEBUG - Services list from nova: [, , ] 2026-09-30 16:21:14,071 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6334-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6334-1) 2026-09-30 16:21:14,400 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6334-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6334-1) 2026-09-30 16:21:14,400 - INFO - Waiting for VM ctest-TestBasicPolicy-41626724-80244158 to be up.. 2026-09-30 16:21:14,434 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 16:21:19,513 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 16:21:24,588 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 16:21:29,656 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 16:21:34,723 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 16:21:39,791 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 16:21:44,861 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 16:21:49,925 - DEBUG - VM is in ACTIVE state now 2026-09-30 16:21:49,925 - INFO - VM name : ctest-TestBasicPolicy-41626724-80244158 2026-09-30 16:21:49,991 - DEBUG - VM ctest-TestBasicPolicy-41626724-80244158 ID is 2188b0ea-d72c-418b-8451-df3eecf07101 2026-09-30 16:21:50,011 - DEBUG - VM ctest-TestBasicPolicy-41626724-80244158 launched on Node cn-jenkins-deploy-platform-ansible-os-6334-1 2026-09-30 16:21:50,076 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/2188b0ea-d72c-418b-8451-df3eecf07101 2026-09-30 16:21:50,085 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/4e698468-29cc-4647-a66c-54fff1e81111 2026-09-30 16:21:53,331 - 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 1007ms') 2026-09-30 16:21:53,331 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41626724-80244158 failed! 2026-09-30 16:21:53,386 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41626724:ctest-vn-83067631 is 20.229.3.129 and allocation pool is NOT set 2026-09-30 16:21:55,447 - 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=8.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.209 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.209/4.570/8.932/4.361 ms') 2026-09-30 16:21:55,447 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41626724-80244158 passed 2026-09-30 16:21:55,594 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-30 16:21:55,594 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41626724-80244158, IP 20.229.3.131, Port 22 2026-09-30 16:21:55,750 - DEBUG - VM ctest-TestBasicPolicy-41626724-80244158 is ready for SSH connections 2026-09-30 16:21:55,750 - INFO - Waiting for VM ctest-TestBasicPolicy-41626724-62233855 to be up.. 2026-09-30 16:21:55,815 - DEBUG - VM is in ACTIVE state now 2026-09-30 16:21:55,815 - INFO - VM name : ctest-TestBasicPolicy-41626724-62233855 2026-09-30 16:21:55,881 - DEBUG - VM ctest-TestBasicPolicy-41626724-62233855 ID is bb5d4ded-ae8e-436d-9c12-d64c6d568146 2026-09-30 16:21:55,882 - DEBUG - VM ctest-TestBasicPolicy-41626724-62233855 launched on Node cn-jenkins-deploy-platform-ansible-os-6334-1 2026-09-30 16:21:55,947 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/bb5d4ded-ae8e-436d-9c12-d64c6d568146 2026-09-30 16:21:55,954 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/b2a0ad0c-236e-4b40-b439-7f9542c7ff09 2026-09-30 16:21:59,224 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1031ms') 2026-09-30 16:21:59,224 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-41626724-62233855 failed! 2026-09-30 16:21:59,278 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41626724:ctest-vn-09688418 is 12.28.61.129 and allocation pool is NOT set 2026-09-30 16:22:01,337 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.373 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 = 0.373/2.262/4.151/1.889 ms') 2026-09-30 16:22:01,338 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-41626724-62233855 passed 2026-09-30 16:22:01,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-30 16:22:01,486 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41626724-62233855, IP 12.28.61.131, Port 22 2026-09-30 16:22:01,650 - DEBUG - VM ctest-TestBasicPolicy-41626724-62233855 is ready for SSH connections 2026-09-30 16:22:01,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-30 16:22:01,650 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.28.61.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-09-30 16:22:01,650 - DEBUG - ping -s 56 -c 3 -W 1 12.28.61.131 2026-09-30 16:22:05,531 - DEBUG - PING 12.28.61.131 (12.28.61.131): 56 data bytes 64 bytes from 12.28.61.131: seq=0 ttl=63 time=3.673 ms 64 bytes from 12.28.61.131: seq=1 ttl=63 time=0.917 ms 64 bytes from 12.28.61.131: seq=2 ttl=63 time=0.888 ms --- 12.28.61.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.888/1.826/3.673 ms 2026-09-30 16:22:05,531 - INFO - Ping to IP 12.28.61.131 from VM ctest-TestBasicPolicy-41626724-80244158 passed 2026-09-30 16:22:05,702 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2a884b62-9f6b-4bfc-9500-b418ab3b88de", "href": "http://10.0.0.189:8082/network-policy/2a884b62-9f6b-4bfc-9500-b418ab3b88de"}} 2026-09-30 16:22:05,702 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-30 16:22:05,702 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.28.61.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-09-30 16:22:05,702 - DEBUG - ping -s 56 -c 3 -W 1 12.28.61.131 2026-09-30 16:22:08,817 - DEBUG - PING 12.28.61.131 (12.28.61.131): 56 data bytes 64 bytes from 12.28.61.131: seq=0 ttl=63 time=1.756 ms --- 12.28.61.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.756/1.756/1.756 ms 2026-09-30 16:22:08,817 - WARNING - Ping to IP 12.28.61.131 from VM ctest-TestBasicPolicy-41626724-80244158 failed 2026-09-30 16:22:08,817 - INFO - Deleting VM ctest-TestBasicPolicy-41626724-62233855 2026-09-30 16:22:08,889 - INFO - Deleting VM ctest-TestBasicPolicy-41626724-80244158 2026-09-30 16:22:09,255 - INFO - Deleted policy ctest-policy-allow-all-50519278 2026-09-30 16:22:09,256 - INFO - Deleting VN ctest-vn-09688418 2026-09-30 16:22:09,286 - DEBUG - VN a6dd1083-568e-43d8-9c11-86ce02230753 still in use: Unable to complete operation on network a6dd1083-568e-43d8-9c11-86ce02230753. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fac2e663-e23a-4a37-bfc3-7a030cf2493e'] 2026-09-30 16:22:09,287 - WARNING - Deleting VN ctest-vn-09688418 failed..Will retry 2026-09-30 16:22:11,380 - DEBUG - Response for deleting network () 2026-09-30 16:22:11,380 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/2aa963b5-72e0-4ebb-830f-d384ffb3d9a4 2026-09-30 16:22:11,386 - DEBUG - Response Code: 404 2026-09-30 16:22:11,386 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-30 16:22:11,392 - DEBUG - Requesting: http://10.0.0.189:8082/domain/5d11a5b1-94ab-4c0d-ab72-36b6ed4e5368 2026-09-30 16:22:11,447 - DEBUG - Requesting: http://10.0.0.189:8082/project/3cc63024-c00f-411d-a360-f1a786df2fd7 2026-09-30 16:22:11,517 - INFO - Validated that VN ctest-vn-09688418 is not found in API Server 2026-09-30 16:22:11,529 - DEBUG - VN ctest-vn-09688418 is not present in Agent 10.0.0.189 2026-09-30 16:22:11,529 - INFO - Validated that VN ctest-vn-09688418 is not in any agent 2026-09-30 16:22:11,544 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09688418 info 2026-09-30 16:22:11,544 - INFO - Deleting VN ctest-vn-83067631 2026-09-30 16:22:11,650 - DEBUG - Response for deleting network () 2026-09-30 16:22:11,650 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0ca3874f-9a91-4f44-aa4a-3860f6b3ffcd 2026-09-30 16:22:11,657 - DEBUG - Response Code: 404 2026-09-30 16:22:11,657 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-30 16:22:11,662 - DEBUG - Requesting: http://10.0.0.189:8082/domain/5d11a5b1-94ab-4c0d-ab72-36b6ed4e5368 2026-09-30 16:22:11,714 - DEBUG - Requesting: http://10.0.0.189:8082/project/3cc63024-c00f-411d-a360-f1a786df2fd7 2026-09-30 16:22:11,785 - INFO - Validated that VN ctest-vn-83067631 is not found in API Server 2026-09-30 16:22:11,794 - DEBUG - VN ctest-vn-83067631 is not present in Agent 10.0.0.189 2026-09-30 16:22:11,794 - INFO - Validated that VN ctest-vn-83067631 is not in any agent 2026-09-30 16:22:11,812 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83067631 info 2026-09-30 16:22:12,071 - DEBUG - No XMPP flaps were noticed during the test 2026-09-30 16:22:12,071 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:03] 2026-09-30 16:22:12,071 - INFO - -------------------------------------------------------------------------------- 2026-09-30 16:22:12,775 - INFO - Deleted project: ctest-TestBasicPolicy-41626724, ID : 3cc63024-c00f-411d-a360-f1a786df2fd7