2025-10-30 09:37:58,877 - INFO - Domain Default found not creating 2025-10-30 09:37:59,030 - INFO - Project ctest-TestBasicPolicy-08402986 not found, creating it 2025-10-30 09:37:59,470 - INFO - Created Project:ctest-TestBasicPolicy-08402986, ID : 3c9a9c95-62ec-473f-89af-37d795602c36 2025-10-30 09:38:01,059 - INFO - ================================================================================ 2025-10-30 09:38:01,059 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-30 09:38:01,059 - 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 2025-10-30 09:38:01,331 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-30 09:38:01,331 - INFO - Initial checks done. Running the testcase now 2025-10-30 09:38:01,331 - INFO - 2025-10-30 09:38:01,940 - DEBUG - Response for create_network : {'network': {'id': 'd6c0630b-88ae-462b-ba5f-22095f0542a7', 'name': 'ctest-vn-56949357', 'tenant_id': '3c9a9c9562ec473f89af37d795602c36', 'project_id': '3c9a9c9562ec473f89af37d795602c36', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08402986', 'ctest-vn-56949357'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 09:38:02,132 - DEBUG - Response for create_subnet : {'subnet': {'id': '32c035ed-efad-4bff-9243-b315bb8fa4b2', 'name': '', 'tenant_id': '3c9a9c9562ec473f89af37d795602c36', 'network_id': 'd6c0630b-88ae-462b-ba5f-22095f0542a7', 'ip_version': 4, 'cidr': '118.154.13.128/26', 'allocation_pools': [{'start': '118.154.13.130', 'end': '118.154.13.190'}], 'gateway_ip': '118.154.13.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.154.13.130', 'tags': [], 'project_id': '3c9a9c9562ec473f89af37d795602c36'}} 2025-10-30 09:38:02,151 - INFO - Created VN ctest-vn-56949357 2025-10-30 09:38:02,207 - DEBUG - VN ctest-vn-56949357 UUID is d6c0630b-88ae-462b-ba5f-22095f0542a7 2025-10-30 09:38:02,521 - DEBUG - Response for create_network : {'network': {'id': '84b58581-1165-4101-a61a-624db3d8e383', 'name': 'ctest-vn-99767947', 'tenant_id': '3c9a9c9562ec473f89af37d795602c36', 'project_id': '3c9a9c9562ec473f89af37d795602c36', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08402986', 'ctest-vn-99767947'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 09:38:02,755 - DEBUG - Response for create_subnet : {'subnet': {'id': '137fa04b-c98c-429f-a5c7-625e7377b61e', 'name': '', 'tenant_id': '3c9a9c9562ec473f89af37d795602c36', 'network_id': '84b58581-1165-4101-a61a-624db3d8e383', 'ip_version': 4, 'cidr': '37.193.88.192/26', 'allocation_pools': [{'start': '37.193.88.194', 'end': '37.193.88.254'}], 'gateway_ip': '37.193.88.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.193.88.194', 'tags': [], 'project_id': '3c9a9c9562ec473f89af37d795602c36'}} 2025-10-30 09:38:02,779 - INFO - Created VN ctest-vn-99767947 2025-10-30 09:38:02,831 - DEBUG - VN ctest-vn-99767947 UUID is 84b58581-1165-4101-a61a-624db3d8e383 2025-10-30 09:38:02,951 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-08402986:ctest-vn-56949357, 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-08402986:ctest-vn-99767947, 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] 2025-10-30 09:38:03,238 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd6c0630b-88ae-462b-ba5f-22095f0542a7', 'name': 'ctest-vn-56949357', 'tenant_id': '3c9a9c9562ec473f89af37d795602c36', 'project_id': '3c9a9c9562ec473f89af37d795602c36', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['32c035ed-efad-4bff-9243-b315bb8fa4b2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08402986', 'ctest-vn-56949357'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08402986', 'ctest-policy-allow-all-19878609']], 'subnet_ipam': [{'subnet_cidr': '118.154.13.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 09:38:03,476 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '84b58581-1165-4101-a61a-624db3d8e383', 'name': 'ctest-vn-99767947', 'tenant_id': '3c9a9c9562ec473f89af37d795602c36', 'project_id': '3c9a9c9562ec473f89af37d795602c36', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['137fa04b-c98c-429f-a5c7-625e7377b61e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08402986', 'ctest-vn-99767947'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08402986', 'ctest-policy-allow-all-19878609']], 'subnet_ipam': [{'subnet_cidr': '37.193.88.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 09:38:03,647 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 09:38:03,981 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 09:38:04,009 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e8842c49-fe20-49e3-9e4a-a5a397df3378 2025-10-30 09:38:04,020 - DEBUG - Requesting: http://10.0.0.254:8082/project/3c9a9c95-62ec-473f-89af-37d795602c36 2025-10-30 09:38:04,092 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d6c0630b-88ae-462b-ba5f-22095f0542a7 2025-10-30 09:38:04,104 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d6c0630b-88ae-462b-ba5f-22095f0542a7 2025-10-30 09:38:04,114 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/eceadaff-6997-4a7f-991d-1c381dad5d92 2025-10-30 09:38:04,121 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/eceadaff-6997-4a7f-991d-1c381dad5d92 2025-10-30 09:38:04,127 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/3e6daa47-dbd6-46d6-afc3-8efaacef246e 2025-10-30 09:38:04,133 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 09:38:04,133 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d6c0630b-88ae-462b-ba5f-22095f0542a7 2025-10-30 09:38:04,142 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/eceadaff-6997-4a7f-991d-1c381dad5d92 2025-10-30 09:38:04,155 - INFO - Verified VN network id 11 for VN d6c0630b-88ae-462b-ba5f-22095f0542a7 2025-10-30 09:38:04,155 - INFO - Verifications in API Server for VN ctest-vn-56949357 passed 2025-10-30 09:38:04,155 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d6c0630b-88ae-462b-ba5f-22095f0542a7 2025-10-30 09:38:04,165 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/eceadaff-6997-4a7f-991d-1c381dad5d92 2025-10-30 09:38:04,171 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/eceadaff-6997-4a7f-991d-1c381dad5d92 2025-10-30 09:38:04,178 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/3e6daa47-dbd6-46d6-afc3-8efaacef246e 2025-10-30 09:38:04,190 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08402986:ctest-vn-56949357', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08402986', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15474477220833936939', 'uuid-lslong': '13429490037486338727'}, 'enable': 'true', 'created': '2025-10-30T09:38:01', 'last-modified': '2025-10-30T09:38:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.970134'} 2025-10-30 09:38:04,197 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 09:38:04,197 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56949357 passed 2025-10-30 09:38:04,197 - DEBUG - ====Verifying policy data for ctest-vn-56949357 in API_Server ====== 2025-10-30 09:38:04,197 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 09:38:04,202 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e8842c49-fe20-49e3-9e4a-a5a397df3378 2025-10-30 09:38:04,213 - DEBUG - Requesting: http://10.0.0.254:8082/project/3c9a9c95-62ec-473f-89af-37d795602c36 2025-10-30 09:38:04,281 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d6c0630b-88ae-462b-ba5f-22095f0542a7 2025-10-30 09:38:04,290 - DEBUG - ==>Verifying data for policy with id: a0efcb91-c497-4f4f-a658-f54649bcee69, fqn: ['default-domain', 'ctest-TestBasicPolicy-08402986', 'ctest-policy-allow-all-19878609'] 2025-10-30 09:38:04,290 - INFO - VN ctest-vn-56949357 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 09:38:04,290 - DEBUG - Verifying the vn in opserver 2025-10-30 09:38:04,290 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08402986:ctest-vn-56949357 virtual network link through opserver 10.0.0.254 2025-10-30 09:38:04,290 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-30 09:38:04,620 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-30 09:38:04,674 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08402986:ctest-vn-56949357', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08402986:ctest-vn-56949357?flat'} 2025-10-30 09:38:04,674 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08402986:ctest-vn-56949357 is found in opserver 2025-10-30 09:38:04,684 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 09:38:04,689 - DEBUG - VRF ids for VN ctest-vn-56949357: {} 2025-10-30 09:38:04,689 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 09:38:04,693 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e8842c49-fe20-49e3-9e4a-a5a397df3378 2025-10-30 09:38:04,705 - DEBUG - Requesting: http://10.0.0.254:8082/project/3c9a9c95-62ec-473f-89af-37d795602c36 2025-10-30 09:38:04,773 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/84b58581-1165-4101-a61a-624db3d8e383 2025-10-30 09:38:04,785 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/84b58581-1165-4101-a61a-624db3d8e383 2025-10-30 09:38:04,794 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/704397a8-b326-4514-81d8-1a6e147b7e9f 2025-10-30 09:38:04,800 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/704397a8-b326-4514-81d8-1a6e147b7e9f 2025-10-30 09:38:04,807 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/445bbbd6-495d-478c-8b53-6627fee56e60 2025-10-30 09:38:04,814 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 09:38:04,814 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/84b58581-1165-4101-a61a-624db3d8e383 2025-10-30 09:38:04,823 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/704397a8-b326-4514-81d8-1a6e147b7e9f 2025-10-30 09:38:04,838 - INFO - Verified VN network id 12 for VN 84b58581-1165-4101-a61a-624db3d8e383 2025-10-30 09:38:04,838 - INFO - Verifications in API Server for VN ctest-vn-99767947 passed 2025-10-30 09:38:04,838 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/84b58581-1165-4101-a61a-624db3d8e383 2025-10-30 09:38:04,847 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/704397a8-b326-4514-81d8-1a6e147b7e9f 2025-10-30 09:38:04,853 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/704397a8-b326-4514-81d8-1a6e147b7e9f 2025-10-30 09:38:04,858 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/445bbbd6-495d-478c-8b53-6627fee56e60 2025-10-30 09:38:04,868 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08402986:ctest-vn-99767947', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08402986', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9562696173180240129', 'uuid-lslong': '11968987045559853955'}, 'enable': 'true', 'created': '2025-10-30T09:38:02', 'last-modified': '2025-10-30T09:38:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.422458'} 2025-10-30 09:38:04,873 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 09:38:04,873 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99767947 passed 2025-10-30 09:38:04,873 - DEBUG - ====Verifying policy data for ctest-vn-99767947 in API_Server ====== 2025-10-30 09:38:04,873 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 09:38:04,878 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e8842c49-fe20-49e3-9e4a-a5a397df3378 2025-10-30 09:38:04,888 - DEBUG - Requesting: http://10.0.0.254:8082/project/3c9a9c95-62ec-473f-89af-37d795602c36 2025-10-30 09:38:04,955 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/84b58581-1165-4101-a61a-624db3d8e383 2025-10-30 09:38:04,963 - DEBUG - ==>Verifying data for policy with id: a0efcb91-c497-4f4f-a658-f54649bcee69, fqn: ['default-domain', 'ctest-TestBasicPolicy-08402986', 'ctest-policy-allow-all-19878609'] 2025-10-30 09:38:04,963 - INFO - VN ctest-vn-99767947 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 09:38:04,963 - DEBUG - Verifying the vn in opserver 2025-10-30 09:38:04,963 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08402986:ctest-vn-99767947 virtual network link through opserver 10.0.0.254 2025-10-30 09:38:04,963 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-30 09:38:04,973 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08402986:ctest-vn-99767947', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08402986:ctest-vn-99767947?flat'} 2025-10-30 09:38:04,973 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08402986:ctest-vn-99767947 is found in opserver 2025-10-30 09:38:04,982 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 09:38:04,986 - DEBUG - VRF ids for VN ctest-vn-99767947: {} 2025-10-30 09:38:05,045 - DEBUG - Services list from nova: [, , ] 2025-10-30 09:38:06,144 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4538-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4538-1) 2025-10-30 09:38:07,380 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4538-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4538-1) 2025-10-30 09:38:07,380 - INFO - Waiting for VM ctest-TestBasicPolicy-08402986-35932814 to be up.. 2025-10-30 09:38:07,455 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 09:38:12,540 - DEBUG - VM is in ACTIVE state now 2025-10-30 09:38:12,540 - INFO - VM name : ctest-TestBasicPolicy-08402986-35932814 2025-10-30 09:38:12,621 - DEBUG - VM ctest-TestBasicPolicy-08402986-35932814 ID is f6272064-4118-49b5-9d5a-2670fd87d18e 2025-10-30 09:38:12,641 - DEBUG - VM ctest-TestBasicPolicy-08402986-35932814 launched on Node cn-jenkins-deploy-platform-ansible-os-4538-1 2025-10-30 09:38:12,719 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f6272064-4118-49b5-9d5a-2670fd87d18e 2025-10-30 09:38:12,728 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ad33d2e9-0e0f-49a4-8f55-1c5a3a80897c 2025-10-30 09:38:15,994 - 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 1022ms') 2025-10-30 09:38:15,994 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08402986-35932814 failed! 2025-10-30 09:38:16,051 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-08402986:ctest-vn-56949357 is 118.154.13.129 and allocation pool is NOT set 2025-10-30 09:38:18,115 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=7.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.427 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.427/4.095/7.763/3.668 ms') 2025-10-30 09:38:18,115 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08402986-35932814 passed 2025-10-30 09:38:18,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:38:18,263 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08402986-35932814, IP 118.154.13.131, Port 22 2025-10-30 09:38:18,430 - DEBUG - VM ctest-TestBasicPolicy-08402986-35932814 is ready for SSH connections 2025-10-30 09:38:18,430 - INFO - Waiting for VM ctest-TestBasicPolicy-08402986-41617276 to be up.. 2025-10-30 09:38:18,519 - DEBUG - VM is in ACTIVE state now 2025-10-30 09:38:18,519 - INFO - VM name : ctest-TestBasicPolicy-08402986-41617276 2025-10-30 09:38:18,596 - DEBUG - VM ctest-TestBasicPolicy-08402986-41617276 ID is 41e4a2ca-6c46-4cc5-8fe2-7f5a8f56a979 2025-10-30 09:38:18,597 - DEBUG - VM ctest-TestBasicPolicy-08402986-41617276 launched on Node cn-jenkins-deploy-platform-ansible-os-4538-1 2025-10-30 09:38:18,668 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/41e4a2ca-6c46-4cc5-8fe2-7f5a8f56a979 2025-10-30 09:38:18,676 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9deddad4-dd31-4e45-8d54-011be509219f 2025-10-30 09:38:19,918 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.891 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.891/2.129/3.367/1.238 ms') 2025-10-30 09:38:19,918 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-08402986-41617276 passed 2025-10-30 09:38:20,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:38:20,067 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08402986-41617276, IP 37.193.88.195, Port 22 2025-10-30 09:38:20,223 - DEBUG - VM ctest-TestBasicPolicy-08402986-41617276 is ready for SSH connections 2025-10-30 09:38:20,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:38:20,223 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.193.88.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-30 09:38:20,223 - DEBUG - ping -s 56 -c 3 -W 1 37.193.88.195 2025-10-30 09:38:24,296 - DEBUG - PING 37.193.88.195 (37.193.88.195): 56 data bytes 64 bytes from 37.193.88.195: seq=0 ttl=63 time=3.945 ms 64 bytes from 37.193.88.195: seq=1 ttl=63 time=0.787 ms 64 bytes from 37.193.88.195: seq=2 ttl=63 time=0.804 ms --- 37.193.88.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.787/1.845/3.945 ms 2025-10-30 09:38:24,296 - INFO - Ping to IP 37.193.88.195 from VM ctest-TestBasicPolicy-08402986-35932814 passed 2025-10-30 09:38:24,475 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a0efcb91-c497-4f4f-a658-f54649bcee69", "href": "http://10.0.0.254:8082/network-policy/a0efcb91-c497-4f4f-a658-f54649bcee69"}} 2025-10-30 09:38:24,475 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:38:24,475 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.193.88.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-30 09:38:24,475 - DEBUG - ping -s 56 -c 3 -W 1 37.193.88.195 2025-10-30 09:38:27,705 - DEBUG - PING 37.193.88.195 (37.193.88.195): 56 data bytes --- 37.193.88.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 09:38:27,705 - WARNING - Ping to IP 37.193.88.195 from VM ctest-TestBasicPolicy-08402986-35932814 failed 2025-10-30 09:38:27,705 - INFO - Deleting VM ctest-TestBasicPolicy-08402986-41617276 2025-10-30 09:38:27,789 - INFO - Deleting VM ctest-TestBasicPolicy-08402986-35932814 2025-10-30 09:38:28,158 - INFO - Deleted policy ctest-policy-allow-all-19878609 2025-10-30 09:38:28,158 - INFO - Deleting VN ctest-vn-99767947 2025-10-30 09:38:28,198 - DEBUG - VN 84b58581-1165-4101-a61a-624db3d8e383 still in use: Unable to complete operation on network 84b58581-1165-4101-a61a-624db3d8e383. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-df554a5b-b259-4f61-b584-873faadb5a50'] 2025-10-30 09:38:28,199 - WARNING - Deleting VN ctest-vn-99767947 failed..Will retry 2025-10-30 09:38:30,375 - DEBUG - Response for deleting network () 2025-10-30 09:38:30,375 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/704397a8-b326-4514-81d8-1a6e147b7e9f 2025-10-30 09:38:30,380 - DEBUG - Response Code: 404 2025-10-30 09:38:30,381 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 09:38:30,385 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e8842c49-fe20-49e3-9e4a-a5a397df3378 2025-10-30 09:38:30,445 - DEBUG - Requesting: http://10.0.0.254:8082/project/3c9a9c95-62ec-473f-89af-37d795602c36 2025-10-30 09:38:30,519 - INFO - Validated that VN ctest-vn-99767947 is not found in API Server 2025-10-30 09:38:30,529 - DEBUG - VN ctest-vn-99767947 is not present in Agent 10.0.0.254 2025-10-30 09:38:30,529 - INFO - Validated that VN ctest-vn-99767947 is not in any agent 2025-10-30 09:38:30,543 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99767947 info 2025-10-30 09:38:30,543 - INFO - Deleting VN ctest-vn-56949357 2025-10-30 09:38:30,646 - DEBUG - Response for deleting network () 2025-10-30 09:38:30,646 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/eceadaff-6997-4a7f-991d-1c381dad5d92 2025-10-30 09:38:30,654 - DEBUG - Response Code: 404 2025-10-30 09:38:30,654 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 09:38:30,659 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e8842c49-fe20-49e3-9e4a-a5a397df3378 2025-10-30 09:38:30,712 - DEBUG - Requesting: http://10.0.0.254:8082/project/3c9a9c95-62ec-473f-89af-37d795602c36 2025-10-30 09:38:30,784 - INFO - Validated that VN ctest-vn-56949357 is not found in API Server 2025-10-30 09:38:30,794 - DEBUG - VN ctest-vn-56949357 is not present in Agent 10.0.0.254 2025-10-30 09:38:30,794 - INFO - Validated that VN ctest-vn-56949357 is not in any agent 2025-10-30 09:38:30,808 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56949357 info 2025-10-30 09:38:31,063 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 09:38:31,063 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-10-30 09:38:31,064 - INFO - -------------------------------------------------------------------------------- 2025-10-30 09:38:31,861 - INFO - Deleted project: ctest-TestBasicPolicy-08402986, ID : 3c9a9c95-62ec-473f-89af-37d795602c36