2026-06-19 18:33:10,477 - INFO - Domain Default found not creating 2026-06-19 18:33:10,605 - INFO - Project ctest-TestBasicPolicy-41746745 not found, creating it 2026-06-19 18:33:11,044 - INFO - Created Project:ctest-TestBasicPolicy-41746745, ID : a9ea24bc-0259-4f9f-a041-4fb390297029 2026-06-19 18:33:12,418 - INFO - ================================================================================ 2026-06-19 18:33:12,419 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-19 18:33:12,419 - 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-06-19 18:33:12,683 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2026-06-19 18:33:12,683 - INFO - Initial checks done. Running the testcase now 2026-06-19 18:33:12,683 - INFO - 2026-06-19 18:33:13,211 - DEBUG - Response for create_network : {'network': {'id': 'a6f8e58d-e3cf-4962-87b4-8a3562490591', 'name': 'ctest-vn-10436109', 'tenant_id': 'a9ea24bc02594f9fa0414fb390297029', 'project_id': 'a9ea24bc02594f9fa0414fb390297029', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41746745', 'ctest-vn-10436109'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 18:33:13,345 - DEBUG - Response for create_subnet : {'subnet': {'id': '57f72dd9-bfbd-45a2-bf64-4077f6e47955', 'name': '', 'tenant_id': 'a9ea24bc02594f9fa0414fb390297029', 'network_id': 'a6f8e58d-e3cf-4962-87b4-8a3562490591', 'ip_version': 4, 'cidr': '20.41.126.128/26', 'allocation_pools': [{'start': '20.41.126.130', 'end': '20.41.126.190'}], 'gateway_ip': '20.41.126.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.41.126.130', 'tags': [], 'project_id': 'a9ea24bc02594f9fa0414fb390297029'}} 2026-06-19 18:33:13,359 - INFO - Created VN ctest-vn-10436109 2026-06-19 18:33:13,407 - DEBUG - VN ctest-vn-10436109 UUID is a6f8e58d-e3cf-4962-87b4-8a3562490591 2026-06-19 18:33:13,702 - DEBUG - Response for create_network : {'network': {'id': '48939dea-2eeb-49ec-abdf-fc7b78d587cf', 'name': 'ctest-vn-56165683', 'tenant_id': 'a9ea24bc02594f9fa0414fb390297029', 'project_id': 'a9ea24bc02594f9fa0414fb390297029', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41746745', 'ctest-vn-56165683'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 18:33:13,854 - DEBUG - Response for create_subnet : {'subnet': {'id': '684bf47e-5ca2-4825-bb0c-2d3c8bfcf3bc', 'name': '', 'tenant_id': 'a9ea24bc02594f9fa0414fb390297029', 'network_id': '48939dea-2eeb-49ec-abdf-fc7b78d587cf', 'ip_version': 4, 'cidr': '198.140.172.192/26', 'allocation_pools': [{'start': '198.140.172.194', 'end': '198.140.172.254'}], 'gateway_ip': '198.140.172.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.140.172.194', 'tags': [], 'project_id': 'a9ea24bc02594f9fa0414fb390297029'}} 2026-06-19 18:33:13,867 - INFO - Created VN ctest-vn-56165683 2026-06-19 18:33:13,919 - DEBUG - VN ctest-vn-56165683 UUID is 48939dea-2eeb-49ec-abdf-fc7b78d587cf 2026-06-19 18:33:14,055 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41746745:ctest-vn-10436109, 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-41746745:ctest-vn-56165683, 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-06-19 18:33:14,327 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a6f8e58d-e3cf-4962-87b4-8a3562490591', 'name': 'ctest-vn-10436109', 'tenant_id': 'a9ea24bc02594f9fa0414fb390297029', 'project_id': 'a9ea24bc02594f9fa0414fb390297029', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['57f72dd9-bfbd-45a2-bf64-4077f6e47955'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41746745', 'ctest-vn-10436109'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41746745', 'ctest-policy-allow-all-70213622']], 'subnet_ipam': [{'subnet_cidr': '20.41.126.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-19 18:33:14,532 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '48939dea-2eeb-49ec-abdf-fc7b78d587cf', 'name': 'ctest-vn-56165683', 'tenant_id': 'a9ea24bc02594f9fa0414fb390297029', 'project_id': 'a9ea24bc02594f9fa0414fb390297029', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['684bf47e-5ca2-4825-bb0c-2d3c8bfcf3bc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41746745', 'ctest-vn-56165683'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41746745', 'ctest-policy-allow-all-70213622']], 'subnet_ipam': [{'subnet_cidr': '198.140.172.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-19 18:33:14,687 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-19 18:33:15,001 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-19 18:33:15,023 - DEBUG - Requesting: http://10.0.0.33:8082/domain/557505ac-6a99-45d5-8320-cac4d8aae725 2026-06-19 18:33:15,034 - DEBUG - Requesting: http://10.0.0.33:8082/project/a9ea24bc-0259-4f9f-a041-4fb390297029 2026-06-19 18:33:15,102 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a6f8e58d-e3cf-4962-87b4-8a3562490591 2026-06-19 18:33:15,111 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a6f8e58d-e3cf-4962-87b4-8a3562490591 2026-06-19 18:33:15,118 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/812ee153-a58d-4249-9526-88dd25026e0b 2026-06-19 18:33:15,123 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/812ee153-a58d-4249-9526-88dd25026e0b 2026-06-19 18:33:15,128 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/f6ec4e8e-de24-4c7f-8ae5-e5b87abe1086 2026-06-19 18:33:15,133 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-19 18:33:15,133 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a6f8e58d-e3cf-4962-87b4-8a3562490591 2026-06-19 18:33:15,139 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/812ee153-a58d-4249-9526-88dd25026e0b 2026-06-19 18:33:15,149 - INFO - Verified VN network id 11 for VN a6f8e58d-e3cf-4962-87b4-8a3562490591 2026-06-19 18:33:15,149 - INFO - Verifications in API Server for VN ctest-vn-10436109 passed 2026-06-19 18:33:15,149 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a6f8e58d-e3cf-4962-87b4-8a3562490591 2026-06-19 18:33:15,156 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/812ee153-a58d-4249-9526-88dd25026e0b 2026-06-19 18:33:15,161 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/812ee153-a58d-4249-9526-88dd25026e0b 2026-06-19 18:33:15,166 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/f6ec4e8e-de24-4c7f-8ae5-e5b87abe1086 2026-06-19 18:33:15,175 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41746745:ctest-vn-10436109', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41746745', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12031618802095442274', 'uuid-lslong': '9778592652815041937'}, 'enable': 'true', 'created': '2026-06-19T18:33:13', 'last-modified': '2026-06-19T18:33:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.867077'} 2026-06-19 18:33:15,180 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-19 18:33:15,180 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10436109 passed 2026-06-19 18:33:15,180 - DEBUG - ====Verifying policy data for ctest-vn-10436109 in API_Server ====== 2026-06-19 18:33:15,180 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-19 18:33:15,184 - DEBUG - Requesting: http://10.0.0.33:8082/domain/557505ac-6a99-45d5-8320-cac4d8aae725 2026-06-19 18:33:15,193 - DEBUG - Requesting: http://10.0.0.33:8082/project/a9ea24bc-0259-4f9f-a041-4fb390297029 2026-06-19 18:33:15,258 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a6f8e58d-e3cf-4962-87b4-8a3562490591 2026-06-19 18:33:15,266 - DEBUG - ==>Verifying data for policy with id: 297473c6-66c7-4e3a-a1d3-bdc492c2f303, fqn: ['default-domain', 'ctest-TestBasicPolicy-41746745', 'ctest-policy-allow-all-70213622'] 2026-06-19 18:33:15,266 - INFO - VN ctest-vn-10436109 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-19 18:33:15,266 - DEBUG - Verifying the vn in opserver 2026-06-19 18:33:15,266 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41746745:ctest-vn-10436109 virtual network link through opserver 10.0.0.33 2026-06-19 18:33:15,266 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-19 18:33:15,578 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-19 18:33:15,620 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41746745:ctest-vn-10436109', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41746745:ctest-vn-10436109?flat'} 2026-06-19 18:33:15,620 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41746745:ctest-vn-10436109 is found in opserver 2026-06-19 18:33:15,634 - DEBUG - Do not have enough data to verify VN in agent 2026-06-19 18:33:15,640 - DEBUG - VRF ids for VN ctest-vn-10436109: {} 2026-06-19 18:33:15,640 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-19 18:33:15,644 - DEBUG - Requesting: http://10.0.0.33:8082/domain/557505ac-6a99-45d5-8320-cac4d8aae725 2026-06-19 18:33:15,653 - DEBUG - Requesting: http://10.0.0.33:8082/project/a9ea24bc-0259-4f9f-a041-4fb390297029 2026-06-19 18:33:15,718 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48939dea-2eeb-49ec-abdf-fc7b78d587cf 2026-06-19 18:33:15,728 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48939dea-2eeb-49ec-abdf-fc7b78d587cf 2026-06-19 18:33:15,735 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9018e295-92c6-4608-a5dd-86c3f6617e59 2026-06-19 18:33:15,740 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9018e295-92c6-4608-a5dd-86c3f6617e59 2026-06-19 18:33:15,745 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/23a0c9fa-5e64-42b0-bedf-8597de0911e7 2026-06-19 18:33:15,750 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-19 18:33:15,750 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48939dea-2eeb-49ec-abdf-fc7b78d587cf 2026-06-19 18:33:15,757 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9018e295-92c6-4608-a5dd-86c3f6617e59 2026-06-19 18:33:15,767 - INFO - Verified VN network id 12 for VN 48939dea-2eeb-49ec-abdf-fc7b78d587cf 2026-06-19 18:33:15,767 - INFO - Verifications in API Server for VN ctest-vn-56165683 passed 2026-06-19 18:33:15,767 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48939dea-2eeb-49ec-abdf-fc7b78d587cf 2026-06-19 18:33:15,774 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9018e295-92c6-4608-a5dd-86c3f6617e59 2026-06-19 18:33:15,779 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9018e295-92c6-4608-a5dd-86c3f6617e59 2026-06-19 18:33:15,784 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/23a0c9fa-5e64-42b0-bedf-8597de0911e7 2026-06-19 18:33:15,794 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41746745:ctest-vn-56165683', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41746745', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5229697221442357740', 'uuid-lslong': '12384895107530590159'}, 'enable': 'true', 'created': '2026-06-19T18:33:13', 'last-modified': '2026-06-19T18:33:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.280400'} 2026-06-19 18:33:15,799 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-19 18:33:15,800 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56165683 passed 2026-06-19 18:33:15,800 - DEBUG - ====Verifying policy data for ctest-vn-56165683 in API_Server ====== 2026-06-19 18:33:15,800 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-19 18:33:15,804 - DEBUG - Requesting: http://10.0.0.33:8082/domain/557505ac-6a99-45d5-8320-cac4d8aae725 2026-06-19 18:33:15,812 - DEBUG - Requesting: http://10.0.0.33:8082/project/a9ea24bc-0259-4f9f-a041-4fb390297029 2026-06-19 18:33:15,880 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48939dea-2eeb-49ec-abdf-fc7b78d587cf 2026-06-19 18:33:15,888 - DEBUG - ==>Verifying data for policy with id: 297473c6-66c7-4e3a-a1d3-bdc492c2f303, fqn: ['default-domain', 'ctest-TestBasicPolicy-41746745', 'ctest-policy-allow-all-70213622'] 2026-06-19 18:33:15,888 - INFO - VN ctest-vn-56165683 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-19 18:33:15,888 - DEBUG - Verifying the vn in opserver 2026-06-19 18:33:15,889 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41746745:ctest-vn-56165683 virtual network link through opserver 10.0.0.33 2026-06-19 18:33:15,889 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-19 18:33:15,896 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41746745:ctest-vn-56165683', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41746745:ctest-vn-56165683?flat'} 2026-06-19 18:33:15,896 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41746745:ctest-vn-56165683 is found in opserver 2026-06-19 18:33:15,905 - DEBUG - Do not have enough data to verify VN in agent 2026-06-19 18:33:15,910 - DEBUG - VRF ids for VN ctest-vn-56165683: {} 2026-06-19 18:33:15,958 - DEBUG - Services list from nova: [, , ] 2026-06-19 18:33:16,917 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5999-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5999-1) 2026-06-19 18:33:17,934 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5999-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5999-1) 2026-06-19 18:33:17,934 - INFO - Waiting for VM ctest-TestBasicPolicy-41746745-05208688 to be up.. 2026-06-19 18:33:17,972 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 18:33:23,030 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 18:33:28,118 - DEBUG - VM is in ACTIVE state now 2026-06-19 18:33:28,118 - INFO - VM name : ctest-TestBasicPolicy-41746745-05208688 2026-06-19 18:33:28,181 - DEBUG - VM ctest-TestBasicPolicy-41746745-05208688 ID is 20faea9a-b6a8-4f84-9b13-e875e63ecf77 2026-06-19 18:33:28,198 - DEBUG - VM ctest-TestBasicPolicy-41746745-05208688 launched on Node cn-jenkins-deploy-platform-ansible-os-5999-1 2026-06-19 18:33:28,256 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/20faea9a-b6a8-4f84-9b13-e875e63ecf77 2026-06-19 18:33:28,263 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/7af6e601-e471-4df7-9f22-8783a8c55ae4 2026-06-19 18:33:31,518 - 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 1032ms') 2026-06-19 18:33:31,518 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41746745-05208688 failed! 2026-06-19 18:33:31,571 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41746745:ctest-vn-10436109 is 20.41.126.129 and allocation pool is NOT set 2026-06-19 18:33:33,637 - 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=3.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.435 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.435/2.102/3.769/1.667 ms') 2026-06-19 18:33:33,637 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41746745-05208688 passed 2026-06-19 18:33:33,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 18:33:33,787 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41746745-05208688, IP 20.41.126.131, Port 22 2026-06-19 18:33:33,942 - DEBUG - VM ctest-TestBasicPolicy-41746745-05208688 is ready for SSH connections 2026-06-19 18:33:33,942 - INFO - Waiting for VM ctest-TestBasicPolicy-41746745-05538340 to be up.. 2026-06-19 18:33:34,000 - DEBUG - VM is in ACTIVE state now 2026-06-19 18:33:34,000 - INFO - VM name : ctest-TestBasicPolicy-41746745-05538340 2026-06-19 18:33:34,062 - DEBUG - VM ctest-TestBasicPolicy-41746745-05538340 ID is 223972dc-6c07-46d1-80e0-53acedcb001e 2026-06-19 18:33:34,062 - DEBUG - VM ctest-TestBasicPolicy-41746745-05538340 launched on Node cn-jenkins-deploy-platform-ansible-os-5999-1 2026-06-19 18:33:34,119 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/223972dc-6c07-46d1-80e0-53acedcb001e 2026-06-19 18:33:34,125 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/84e49af7-a72d-46c7-a8dd-3ec37b7963d8 2026-06-19 18:33:35,352 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.842 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.842/2.799/4.757/1.957 ms') 2026-06-19 18:33:35,352 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-41746745-05538340 passed 2026-06-19 18:33:35,499 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 18:33:35,499 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41746745-05538340, IP 198.140.172.195, Port 22 2026-06-19 18:33:35,658 - DEBUG - VM ctest-TestBasicPolicy-41746745-05538340 is ready for SSH connections 2026-06-19 18:33:35,658 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 18:33:35,658 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.140.172.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-06-19 18:33:35,658 - DEBUG - ping -s 56 -c 3 -W 1 198.140.172.195 2026-06-19 18:33:39,505 - DEBUG - PING 198.140.172.195 (198.140.172.195): 56 data bytes 64 bytes from 198.140.172.195: seq=0 ttl=63 time=3.752 ms 64 bytes from 198.140.172.195: seq=1 ttl=63 time=0.807 ms 64 bytes from 198.140.172.195: seq=2 ttl=63 time=0.777 ms --- 198.140.172.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.777/1.778/3.752 ms 2026-06-19 18:33:39,505 - INFO - Ping to IP 198.140.172.195 from VM ctest-TestBasicPolicy-41746745-05208688 passed 2026-06-19 18:33:39,691 - DEBUG - Policy Update Response {"network-policy": {"uuid": "297473c6-66c7-4e3a-a1d3-bdc492c2f303", "href": "http://10.0.0.33:8082/network-policy/297473c6-66c7-4e3a-a1d3-bdc492c2f303"}} 2026-06-19 18:33:39,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 18:33:39,691 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.140.172.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-06-19 18:33:39,691 - DEBUG - ping -s 56 -c 3 -W 1 198.140.172.195 2026-06-19 18:33:42,807 - DEBUG - PING 198.140.172.195 (198.140.172.195): 56 data bytes --- 198.140.172.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-19 18:33:42,807 - WARNING - Ping to IP 198.140.172.195 from VM ctest-TestBasicPolicy-41746745-05208688 failed 2026-06-19 18:33:42,807 - INFO - Deleting VM ctest-TestBasicPolicy-41746745-05538340 2026-06-19 18:33:42,867 - INFO - Deleting VM ctest-TestBasicPolicy-41746745-05208688 2026-06-19 18:33:43,183 - INFO - Deleted policy ctest-policy-allow-all-70213622 2026-06-19 18:33:43,183 - INFO - Deleting VN ctest-vn-56165683 2026-06-19 18:33:43,208 - DEBUG - VN 48939dea-2eeb-49ec-abdf-fc7b78d587cf still in use: Unable to complete operation on network 48939dea-2eeb-49ec-abdf-fc7b78d587cf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-23a1d5fe-ac9a-4a35-b86d-e4ee25591c34'] 2026-06-19 18:33:43,208 - WARNING - Deleting VN ctest-vn-56165683 failed..Will retry 2026-06-19 18:33:45,290 - DEBUG - Response for deleting network () 2026-06-19 18:33:45,290 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9018e295-92c6-4608-a5dd-86c3f6617e59 2026-06-19 18:33:45,297 - DEBUG - Response Code: 404 2026-06-19 18:33:45,297 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-19 18:33:45,302 - DEBUG - Requesting: http://10.0.0.33:8082/domain/557505ac-6a99-45d5-8320-cac4d8aae725 2026-06-19 18:33:45,352 - DEBUG - Requesting: http://10.0.0.33:8082/project/a9ea24bc-0259-4f9f-a041-4fb390297029 2026-06-19 18:33:45,420 - INFO - Validated that VN ctest-vn-56165683 is not found in API Server 2026-06-19 18:33:45,428 - DEBUG - VN ctest-vn-56165683 is not present in Agent 10.0.0.33 2026-06-19 18:33:45,428 - INFO - Validated that VN ctest-vn-56165683 is not in any agent 2026-06-19 18:33:45,439 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56165683 info 2026-06-19 18:33:45,439 - INFO - Deleting VN ctest-vn-10436109 2026-06-19 18:33:45,526 - DEBUG - Response for deleting network () 2026-06-19 18:33:45,526 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/812ee153-a58d-4249-9526-88dd25026e0b 2026-06-19 18:33:45,531 - DEBUG - Response Code: 404 2026-06-19 18:33:45,531 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-19 18:33:45,536 - DEBUG - Requesting: http://10.0.0.33:8082/domain/557505ac-6a99-45d5-8320-cac4d8aae725 2026-06-19 18:33:45,587 - DEBUG - Requesting: http://10.0.0.33:8082/project/a9ea24bc-0259-4f9f-a041-4fb390297029 2026-06-19 18:33:45,657 - INFO - Validated that VN ctest-vn-10436109 is not found in API Server 2026-06-19 18:33:45,666 - DEBUG - VN ctest-vn-10436109 is not present in Agent 10.0.0.33 2026-06-19 18:33:45,666 - INFO - Validated that VN ctest-vn-10436109 is not in any agent 2026-06-19 18:33:45,678 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10436109 info 2026-06-19 18:33:45,943 - DEBUG - No XMPP flaps were noticed during the test
2026-06-19 18:33:45,943 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33]
2026-06-19 18:33:45,943 - INFO - -------------------------------------------------------------------------------- 2026-06-19 18:33:46,603 - INFO - Deleted project: ctest-TestBasicPolicy-41746745, ID : a9ea24bc-0259-4f9f-a041-4fb390297029