2026-06-05 16:24:46,898 - INFO - Domain Default found not creating 2026-06-05 16:24:47,090 - INFO - Project ctest-TestBasicPolicy-86356632 not found, creating it 2026-06-05 16:24:47,587 - INFO - Created Project:ctest-TestBasicPolicy-86356632, ID : 3ac187d0-6255-4eff-93d7-ce1badd1af2e 2026-06-05 16:24:49,203 - INFO - ================================================================================ 2026-06-05 16:24:49,203 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-05 16:24:49,203 - 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-05 16:24:49,458 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2026-06-05 16:24:49,458 - INFO - Initial checks done. Running the testcase now 2026-06-05 16:24:49,463 - INFO - 2026-06-05 16:24:50,044 - DEBUG - Response for create_network : {'network': {'id': '5ea7c893-1315-460f-9e8e-acaeec5c6bd1', 'name': 'ctest-vn-42111537', 'tenant_id': '3ac187d062554eff93d7ce1badd1af2e', 'project_id': '3ac187d062554eff93d7ce1badd1af2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86356632', 'ctest-vn-42111537'], 'port_security_enabled': True, 'description': ''}} 2026-06-05 16:24:50,239 - DEBUG - Response for create_subnet : {'subnet': {'id': '07439072-038b-4b69-abcf-e2a08d9e7aea', 'name': '', 'tenant_id': '3ac187d062554eff93d7ce1badd1af2e', 'network_id': '5ea7c893-1315-460f-9e8e-acaeec5c6bd1', 'ip_version': 4, 'cidr': '177.29.156.192/26', 'allocation_pools': [{'start': '177.29.156.194', 'end': '177.29.156.254'}], 'gateway_ip': '177.29.156.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.29.156.194', 'tags': [], 'project_id': '3ac187d062554eff93d7ce1badd1af2e'}} 2026-06-05 16:24:50,258 - INFO - Created VN ctest-vn-42111537 2026-06-05 16:24:50,313 - DEBUG - VN ctest-vn-42111537 UUID is 5ea7c893-1315-460f-9e8e-acaeec5c6bd1 2026-06-05 16:24:50,619 - DEBUG - Response for create_network : {'network': {'id': '6ae456fd-6683-4b0a-9e35-d80b7cb9bc73', 'name': 'ctest-vn-20165884', 'tenant_id': '3ac187d062554eff93d7ce1badd1af2e', 'project_id': '3ac187d062554eff93d7ce1badd1af2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86356632', 'ctest-vn-20165884'], 'port_security_enabled': True, 'description': ''}} 2026-06-05 16:24:50,839 - DEBUG - Response for create_subnet : {'subnet': {'id': '900144bd-505c-4b5d-b94d-200274d256a4', 'name': '', 'tenant_id': '3ac187d062554eff93d7ce1badd1af2e', 'network_id': '6ae456fd-6683-4b0a-9e35-d80b7cb9bc73', 'ip_version': 4, 'cidr': '141.160.17.0/26', 'allocation_pools': [{'start': '141.160.17.2', 'end': '141.160.17.62'}], 'gateway_ip': '141.160.17.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.160.17.2', 'tags': [], 'project_id': '3ac187d062554eff93d7ce1badd1af2e'}} 2026-06-05 16:24:50,857 - INFO - Created VN ctest-vn-20165884 2026-06-05 16:24:50,909 - DEBUG - VN ctest-vn-20165884 UUID is 6ae456fd-6683-4b0a-9e35-d80b7cb9bc73 2026-06-05 16:24:51,030 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86356632:ctest-vn-42111537, 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-86356632:ctest-vn-20165884, 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-05 16:24:51,329 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5ea7c893-1315-460f-9e8e-acaeec5c6bd1', 'name': 'ctest-vn-42111537', 'tenant_id': '3ac187d062554eff93d7ce1badd1af2e', 'project_id': '3ac187d062554eff93d7ce1badd1af2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['07439072-038b-4b69-abcf-e2a08d9e7aea'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86356632', 'ctest-vn-42111537'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86356632', 'ctest-policy-allow-all-88654939']], 'subnet_ipam': [{'subnet_cidr': '177.29.156.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-05 16:24:51,573 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6ae456fd-6683-4b0a-9e35-d80b7cb9bc73', 'name': 'ctest-vn-20165884', 'tenant_id': '3ac187d062554eff93d7ce1badd1af2e', 'project_id': '3ac187d062554eff93d7ce1badd1af2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['900144bd-505c-4b5d-b94d-200274d256a4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86356632', 'ctest-vn-20165884'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86356632', 'ctest-policy-allow-all-88654939']], 'subnet_ipam': [{'subnet_cidr': '141.160.17.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-05 16:24:51,741 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-05 16:24:52,043 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-05 16:24:52,080 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5f60cd65-8df6-4136-846d-53675938c3e1 2026-06-05 16:24:52,093 - DEBUG - Requesting: http://10.0.0.249:8082/project/3ac187d0-6255-4eff-93d7-ce1badd1af2e 2026-06-05 16:24:52,169 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5ea7c893-1315-460f-9e8e-acaeec5c6bd1 2026-06-05 16:24:52,180 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5ea7c893-1315-460f-9e8e-acaeec5c6bd1 2026-06-05 16:24:52,191 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1e4f4f47-d827-4824-a896-c1a65c06fc3f 2026-06-05 16:24:52,200 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1e4f4f47-d827-4824-a896-c1a65c06fc3f 2026-06-05 16:24:52,209 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/fc31b42a-e3bc-4d83-a8a9-425a4447ca2a 2026-06-05 16:24:52,218 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-05 16:24:52,218 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5ea7c893-1315-460f-9e8e-acaeec5c6bd1 2026-06-05 16:24:52,231 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1e4f4f47-d827-4824-a896-c1a65c06fc3f 2026-06-05 16:24:52,249 - INFO - Verified VN network id 11 for VN 5ea7c893-1315-460f-9e8e-acaeec5c6bd1 2026-06-05 16:24:52,249 - INFO - Verifications in API Server for VN ctest-vn-42111537 passed 2026-06-05 16:24:52,249 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5ea7c893-1315-460f-9e8e-acaeec5c6bd1 2026-06-05 16:24:52,260 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1e4f4f47-d827-4824-a896-c1a65c06fc3f 2026-06-05 16:24:52,270 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1e4f4f47-d827-4824-a896-c1a65c06fc3f 2026-06-05 16:24:52,277 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/fc31b42a-e3bc-4d83-a8a9-425a4447ca2a 2026-06-05 16:24:52,290 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86356632:ctest-vn-42111537', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86356632', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6820640694681814543', 'uuid-lslong': '11425259171975293905'}, 'enable': 'true', 'created': '2026-06-05T16:24:50', 'last-modified': '2026-06-05T16:24:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.985029'} 2026-06-05 16:24:52,297 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-05 16:24:52,297 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42111537 passed 2026-06-05 16:24:52,298 - DEBUG - ====Verifying policy data for ctest-vn-42111537 in API_Server ====== 2026-06-05 16:24:52,298 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-05 16:24:52,304 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5f60cd65-8df6-4136-846d-53675938c3e1 2026-06-05 16:24:52,319 - DEBUG - Requesting: http://10.0.0.249:8082/project/3ac187d0-6255-4eff-93d7-ce1badd1af2e 2026-06-05 16:24:52,389 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5ea7c893-1315-460f-9e8e-acaeec5c6bd1 2026-06-05 16:24:52,398 - DEBUG - ==>Verifying data for policy with id: 6a34728e-37d0-4a4b-a975-8cb69975bd39, fqn: ['default-domain', 'ctest-TestBasicPolicy-86356632', 'ctest-policy-allow-all-88654939'] 2026-06-05 16:24:52,398 - INFO - VN ctest-vn-42111537 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-05 16:24:52,398 - DEBUG - Verifying the vn in opserver 2026-06-05 16:24:52,398 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86356632:ctest-vn-42111537 virtual network link through opserver 10.0.0.249 2026-06-05 16:24:52,398 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-06-05 16:24:52,690 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-06-05 16:24:52,752 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86356632:ctest-vn-42111537', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86356632:ctest-vn-42111537?flat'} 2026-06-05 16:24:52,752 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86356632:ctest-vn-42111537 is found in opserver 2026-06-05 16:24:52,762 - DEBUG - Do not have enough data to verify VN in agent 2026-06-05 16:24:52,766 - DEBUG - VRF ids for VN ctest-vn-42111537: {} 2026-06-05 16:24:52,766 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-05 16:24:52,771 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5f60cd65-8df6-4136-846d-53675938c3e1 2026-06-05 16:24:52,782 - DEBUG - Requesting: http://10.0.0.249:8082/project/3ac187d0-6255-4eff-93d7-ce1badd1af2e 2026-06-05 16:24:52,851 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6ae456fd-6683-4b0a-9e35-d80b7cb9bc73 2026-06-05 16:24:52,862 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6ae456fd-6683-4b0a-9e35-d80b7cb9bc73 2026-06-05 16:24:52,871 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/6e1ba6e1-ea7a-413d-b626-466a577dc5f3 2026-06-05 16:24:52,878 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/6e1ba6e1-ea7a-413d-b626-466a577dc5f3 2026-06-05 16:24:52,886 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/4b88ec64-bd5b-4f91-8646-c927ef6fd011 2026-06-05 16:24:52,893 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-05 16:24:52,893 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6ae456fd-6683-4b0a-9e35-d80b7cb9bc73 2026-06-05 16:24:52,903 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/6e1ba6e1-ea7a-413d-b626-466a577dc5f3 2026-06-05 16:24:52,919 - INFO - Verified VN network id 12 for VN 6ae456fd-6683-4b0a-9e35-d80b7cb9bc73 2026-06-05 16:24:52,919 - INFO - Verifications in API Server for VN ctest-vn-20165884 passed 2026-06-05 16:24:52,919 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6ae456fd-6683-4b0a-9e35-d80b7cb9bc73 2026-06-05 16:24:52,928 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/6e1ba6e1-ea7a-413d-b626-466a577dc5f3 2026-06-05 16:24:52,935 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/6e1ba6e1-ea7a-413d-b626-466a577dc5f3 2026-06-05 16:24:52,942 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/4b88ec64-bd5b-4f91-8646-c927ef6fd011 2026-06-05 16:24:52,957 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86356632:ctest-vn-20165884', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86356632', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7702376909056985866', 'uuid-lslong': '11400255575607065715'}, 'enable': 'true', 'created': '2026-06-05T16:24:50', 'last-modified': '2026-06-05T16:24:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.408027'} 2026-06-05 16:24:52,963 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-05 16:24:52,963 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20165884 passed 2026-06-05 16:24:52,964 - DEBUG - ====Verifying policy data for ctest-vn-20165884 in API_Server ====== 2026-06-05 16:24:52,964 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-05 16:24:52,968 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5f60cd65-8df6-4136-846d-53675938c3e1 2026-06-05 16:24:52,980 - DEBUG - Requesting: http://10.0.0.249:8082/project/3ac187d0-6255-4eff-93d7-ce1badd1af2e 2026-06-05 16:24:53,051 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6ae456fd-6683-4b0a-9e35-d80b7cb9bc73 2026-06-05 16:24:53,060 - DEBUG - ==>Verifying data for policy with id: 6a34728e-37d0-4a4b-a975-8cb69975bd39, fqn: ['default-domain', 'ctest-TestBasicPolicy-86356632', 'ctest-policy-allow-all-88654939'] 2026-06-05 16:24:53,060 - INFO - VN ctest-vn-20165884 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-05 16:24:53,060 - DEBUG - Verifying the vn in opserver 2026-06-05 16:24:53,060 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86356632:ctest-vn-20165884 virtual network link through opserver 10.0.0.249 2026-06-05 16:24:53,060 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-06-05 16:24:53,070 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86356632:ctest-vn-20165884', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86356632:ctest-vn-20165884?flat'} 2026-06-05 16:24:53,070 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86356632:ctest-vn-20165884 is found in opserver 2026-06-05 16:24:53,079 - DEBUG - Do not have enough data to verify VN in agent 2026-06-05 16:24:53,083 - DEBUG - VRF ids for VN ctest-vn-20165884: {} 2026-06-05 16:24:53,139 - DEBUG - Services list from nova: [, , ] 2026-06-05 16:24:54,203 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5897-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5897-1) 2026-06-05 16:24:55,417 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5897-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5897-1) 2026-06-05 16:24:55,417 - INFO - Waiting for VM ctest-TestBasicPolicy-86356632-66186716 to be up.. 2026-06-05 16:24:55,509 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-05 16:25:00,591 - DEBUG - VM is in ACTIVE state now 2026-06-05 16:25:00,591 - INFO - VM name : ctest-TestBasicPolicy-86356632-66186716 2026-06-05 16:25:00,689 - DEBUG - VM ctest-TestBasicPolicy-86356632-66186716 ID is 0f2996fc-fc2b-4b1a-b56b-eff069bdd20e 2026-06-05 16:25:00,711 - DEBUG - VM ctest-TestBasicPolicy-86356632-66186716 launched on Node cn-jenkins-deploy-platform-ansible-os-5897-1 2026-06-05 16:25:00,800 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/0f2996fc-fc2b-4b1a-b56b-eff069bdd20e 2026-06-05 16:25:00,809 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a899934a-2e4c-4a0b-98d2-64c3e60cd9b5 2026-06-05 16:25:04,023 - 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-06-05 16:25:04,023 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86356632-66186716 failed! 2026-06-05 16:25:04,081 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86356632:ctest-vn-42111537 is 177.29.156.193 and allocation pool is NOT set 2026-06-05 16:25:06,146 - 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=12.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.57 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 = 1.573/6.818/12.064/5.245 ms') 2026-06-05 16:25:06,146 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86356632-66186716 passed 2026-06-05 16:25:06,297 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-05 16:25:06,297 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86356632-66186716, IP 177.29.156.195, Port 22 2026-06-05 16:25:06,463 - DEBUG - VM ctest-TestBasicPolicy-86356632-66186716 is ready for SSH connections 2026-06-05 16:25:06,463 - INFO - Waiting for VM ctest-TestBasicPolicy-86356632-00536034 to be up.. 2026-06-05 16:25:06,549 - DEBUG - VM is in ACTIVE state now 2026-06-05 16:25:06,549 - INFO - VM name : ctest-TestBasicPolicy-86356632-00536034 2026-06-05 16:25:06,628 - DEBUG - VM ctest-TestBasicPolicy-86356632-00536034 ID is 74ea9402-10ad-453a-94fd-b8d1ede3694d 2026-06-05 16:25:06,629 - DEBUG - VM ctest-TestBasicPolicy-86356632-00536034 launched on Node cn-jenkins-deploy-platform-ansible-os-5897-1 2026-06-05 16:25:06,707 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/74ea9402-10ad-453a-94fd-b8d1ede3694d 2026-06-05 16:25:06,716 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/0edb3d06-f781-424c-aea4-798ee12d7e40 2026-06-05 16:25:07,946 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.569 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.569/1.950/3.332/1.381 ms') 2026-06-05 16:25:07,947 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-86356632-00536034 passed 2026-06-05 16:25:08,105 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-05 16:25:08,105 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86356632-00536034, IP 141.160.17.3, Port 22 2026-06-05 16:25:08,264 - DEBUG - VM ctest-TestBasicPolicy-86356632-00536034 is ready for SSH connections 2026-06-05 16:25:08,264 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-05 16:25:08,264 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.160.17.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-06-05 16:25:08,264 - DEBUG - ping -s 56 -c 3 -W 1 141.160.17.3 2026-06-05 16:25:12,315 - DEBUG - PING 141.160.17.3 (141.160.17.3): 56 data bytes 64 bytes from 141.160.17.3: seq=0 ttl=63 time=3.775 ms 64 bytes from 141.160.17.3: seq=1 ttl=63 time=1.055 ms 64 bytes from 141.160.17.3: seq=2 ttl=63 time=0.801 ms --- 141.160.17.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.801/1.877/3.775 ms 2026-06-05 16:25:12,316 - INFO - Ping to IP 141.160.17.3 from VM ctest-TestBasicPolicy-86356632-66186716 passed 2026-06-05 16:25:12,500 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6a34728e-37d0-4a4b-a975-8cb69975bd39", "href": "http://10.0.0.249:8082/network-policy/6a34728e-37d0-4a4b-a975-8cb69975bd39"}} 2026-06-05 16:25:12,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-05 16:25:12,501 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.160.17.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-06-05 16:25:12,501 - DEBUG - ping -s 56 -c 3 -W 1 141.160.17.3 2026-06-05 16:25:15,736 - DEBUG - PING 141.160.17.3 (141.160.17.3): 56 data bytes --- 141.160.17.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-05 16:25:15,736 - WARNING - Ping to IP 141.160.17.3 from VM ctest-TestBasicPolicy-86356632-66186716 failed 2026-06-05 16:25:15,736 - INFO - Deleting VM ctest-TestBasicPolicy-86356632-00536034 2026-06-05 16:25:15,805 - INFO - Deleting VM ctest-TestBasicPolicy-86356632-66186716 2026-06-05 16:25:16,182 - INFO - Deleted policy ctest-policy-allow-all-88654939 2026-06-05 16:25:16,183 - INFO - Deleting VN ctest-vn-20165884 2026-06-05 16:25:16,220 - DEBUG - VN 6ae456fd-6683-4b0a-9e35-d80b7cb9bc73 still in use: Unable to complete operation on network 6ae456fd-6683-4b0a-9e35-d80b7cb9bc73. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-df0567f5-2f86-483c-b037-833299d34f8c'] 2026-06-05 16:25:16,221 - WARNING - Deleting VN ctest-vn-20165884 failed..Will retry 2026-06-05 16:25:18,326 - DEBUG - Response for deleting network () 2026-06-05 16:25:18,327 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/6e1ba6e1-ea7a-413d-b626-466a577dc5f3 2026-06-05 16:25:18,336 - DEBUG - Response Code: 404 2026-06-05 16:25:18,336 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-05 16:25:18,340 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5f60cd65-8df6-4136-846d-53675938c3e1 2026-06-05 16:25:18,394 - DEBUG - Requesting: http://10.0.0.249:8082/project/3ac187d0-6255-4eff-93d7-ce1badd1af2e 2026-06-05 16:25:18,468 - INFO - Validated that VN ctest-vn-20165884 is not found in API Server 2026-06-05 16:25:18,477 - DEBUG - VN ctest-vn-20165884 is not present in Agent 10.0.0.249 2026-06-05 16:25:18,477 - INFO - Validated that VN ctest-vn-20165884 is not in any agent 2026-06-05 16:25:18,490 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20165884 info 2026-06-05 16:25:18,490 - INFO - Deleting VN ctest-vn-42111537 2026-06-05 16:25:18,590 - DEBUG - Response for deleting network () 2026-06-05 16:25:18,590 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1e4f4f47-d827-4824-a896-c1a65c06fc3f 2026-06-05 16:25:18,597 - DEBUG - Response Code: 404 2026-06-05 16:25:18,598 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-05 16:25:18,605 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5f60cd65-8df6-4136-846d-53675938c3e1 2026-06-05 16:25:18,657 - DEBUG - Requesting: http://10.0.0.249:8082/project/3ac187d0-6255-4eff-93d7-ce1badd1af2e 2026-06-05 16:25:18,729 - INFO - Validated that VN ctest-vn-42111537 is not found in API Server 2026-06-05 16:25:18,741 - DEBUG - VN ctest-vn-42111537 is not present in Agent 10.0.0.249 2026-06-05 16:25:18,741 - INFO - Validated that VN ctest-vn-42111537 is not in any agent 2026-06-05 16:25:18,759 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42111537 info 2026-06-05 16:25:19,027 - DEBUG - No XMPP flaps were noticed during the test
2026-06-05 16:25:19,027 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-06-05 16:25:19,027 - INFO - -------------------------------------------------------------------------------- 2026-06-05 16:25:19,749 - INFO - Deleted project: ctest-TestBasicPolicy-86356632, ID : 3ac187d0-6255-4eff-93d7-ce1badd1af2e