2025-06-09 17:20:44,005 - INFO - Domain Default found not creating 2025-06-09 17:20:44,156 - INFO - Project ctest-TestBasicPolicy-33355735 not found, creating it 2025-06-09 17:20:44,626 - INFO - Created Project:ctest-TestBasicPolicy-33355735, ID : a7de4e62-0eb9-43d2-bf86-c583a3d5107f 2025-06-09 17:20:46,097 - INFO - ================================================================================ 2025-06-09 17:20:46,097 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-09 17:20:46,097 - 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-06-09 17:20:46,354 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-06-09 17:20:46,354 - INFO - Initial checks done. Running the testcase now 2025-06-09 17:20:46,355 - INFO - 2025-06-09 17:20:46,885 - DEBUG - Response for create_network : {'network': {'id': '25632074-a0d4-4ea4-b123-a727b90388d2', 'name': 'ctest-vn-14338139', 'tenant_id': 'a7de4e620eb943d2bf86c583a3d5107f', 'project_id': 'a7de4e620eb943d2bf86c583a3d5107f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33355735', 'ctest-vn-14338139'], 'port_security_enabled': True, 'description': ''}} 2025-06-09 17:20:47,063 - DEBUG - Response for create_subnet : {'subnet': {'id': '6704228b-73bc-4296-ad4f-d2aa39f7b6b1', 'name': '', 'tenant_id': 'a7de4e620eb943d2bf86c583a3d5107f', 'network_id': '25632074-a0d4-4ea4-b123-a727b90388d2', 'ip_version': 4, 'cidr': '220.206.55.64/26', 'allocation_pools': [{'start': '220.206.55.66', 'end': '220.206.55.126'}], 'gateway_ip': '220.206.55.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.206.55.66', 'tags': [], 'project_id': 'a7de4e620eb943d2bf86c583a3d5107f'}} 2025-06-09 17:20:47,079 - INFO - Created VN ctest-vn-14338139 2025-06-09 17:20:47,131 - DEBUG - VN ctest-vn-14338139 UUID is 25632074-a0d4-4ea4-b123-a727b90388d2 2025-06-09 17:20:47,438 - DEBUG - Response for create_network : {'network': {'id': '2f266598-52f0-4eae-8814-fb97de8ffbab', 'name': 'ctest-vn-52733220', 'tenant_id': 'a7de4e620eb943d2bf86c583a3d5107f', 'project_id': 'a7de4e620eb943d2bf86c583a3d5107f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33355735', 'ctest-vn-52733220'], 'port_security_enabled': True, 'description': ''}} 2025-06-09 17:20:47,597 - DEBUG - Response for create_subnet : {'subnet': {'id': '7653705d-321d-4844-a5be-906002fca839', 'name': '', 'tenant_id': 'a7de4e620eb943d2bf86c583a3d5107f', 'network_id': '2f266598-52f0-4eae-8814-fb97de8ffbab', 'ip_version': 4, 'cidr': '49.190.192.0/26', 'allocation_pools': [{'start': '49.190.192.2', 'end': '49.190.192.62'}], 'gateway_ip': '49.190.192.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.190.192.2', 'tags': [], 'project_id': 'a7de4e620eb943d2bf86c583a3d5107f'}} 2025-06-09 17:20:47,749 - INFO - Created VN ctest-vn-52733220 2025-06-09 17:20:47,803 - DEBUG - VN ctest-vn-52733220 UUID is 2f266598-52f0-4eae-8814-fb97de8ffbab 2025-06-09 17:20:47,954 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-33355735:ctest-vn-14338139, 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-33355735:ctest-vn-52733220, 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-06-09 17:20:48,246 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '25632074-a0d4-4ea4-b123-a727b90388d2', 'name': 'ctest-vn-14338139', 'tenant_id': 'a7de4e620eb943d2bf86c583a3d5107f', 'project_id': 'a7de4e620eb943d2bf86c583a3d5107f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6704228b-73bc-4296-ad4f-d2aa39f7b6b1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33355735', 'ctest-vn-14338139'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33355735', 'ctest-policy-allow-all-32060049']], 'subnet_ipam': [{'subnet_cidr': '220.206.55.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-09 17:20:48,481 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2f266598-52f0-4eae-8814-fb97de8ffbab', 'name': 'ctest-vn-52733220', 'tenant_id': 'a7de4e620eb943d2bf86c583a3d5107f', 'project_id': 'a7de4e620eb943d2bf86c583a3d5107f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7653705d-321d-4844-a5be-906002fca839'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33355735', 'ctest-vn-52733220'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33355735', 'ctest-policy-allow-all-32060049']], 'subnet_ipam': [{'subnet_cidr': '49.190.192.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-09 17:20:48,647 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-06-09 17:20:48,941 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-06-09 17:20:48,972 - DEBUG - Requesting: http://10.0.0.27:8082/domain/96a0cb43-5fb2-4db1-9653-5e3103eb5893 2025-06-09 17:20:48,987 - DEBUG - Requesting: http://10.0.0.27:8082/project/a7de4e62-0eb9-43d2-bf86-c583a3d5107f 2025-06-09 17:20:49,069 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/25632074-a0d4-4ea4-b123-a727b90388d2 2025-06-09 17:20:49,080 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/25632074-a0d4-4ea4-b123-a727b90388d2 2025-06-09 17:20:49,091 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b070e107-6f56-42e9-9d09-c990f760691b 2025-06-09 17:20:49,099 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b070e107-6f56-42e9-9d09-c990f760691b 2025-06-09 17:20:49,105 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/2e540855-3622-4a9f-bf5c-51b757b271ac 2025-06-09 17:20:49,111 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-09 17:20:49,111 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/25632074-a0d4-4ea4-b123-a727b90388d2 2025-06-09 17:20:49,120 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b070e107-6f56-42e9-9d09-c990f760691b 2025-06-09 17:20:49,133 - INFO - Verified VN network id 8 for VN 25632074-a0d4-4ea4-b123-a727b90388d2 2025-06-09 17:20:49,133 - INFO - Verifications in API Server for VN ctest-vn-14338139 passed 2025-06-09 17:20:49,133 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/25632074-a0d4-4ea4-b123-a727b90388d2 2025-06-09 17:20:49,143 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b070e107-6f56-42e9-9d09-c990f760691b 2025-06-09 17:20:49,149 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b070e107-6f56-42e9-9d09-c990f760691b 2025-06-09 17:20:49,156 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/2e540855-3622-4a9f-bf5c-51b757b271ac 2025-06-09 17:20:49,167 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33355735:ctest-vn-14338139', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33355735', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2694032687384252068', 'uuid-lslong': '12764229557947697362'}, 'enable': 'true', 'created': '2025-06-09T17:20:46', 'last-modified': '2025-06-09T17:20:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.948270'} 2025-06-09 17:20:49,173 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-09 17:20:49,173 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14338139 passed 2025-06-09 17:20:49,174 - DEBUG - ====Verifying policy data for ctest-vn-14338139 in API_Server ====== 2025-06-09 17:20:49,174 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-06-09 17:20:49,179 - DEBUG - Requesting: http://10.0.0.27:8082/domain/96a0cb43-5fb2-4db1-9653-5e3103eb5893 2025-06-09 17:20:49,191 - DEBUG - Requesting: http://10.0.0.27:8082/project/a7de4e62-0eb9-43d2-bf86-c583a3d5107f 2025-06-09 17:20:49,259 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/25632074-a0d4-4ea4-b123-a727b90388d2 2025-06-09 17:20:49,269 - DEBUG - ==>Verifying data for policy with id: 7b953b4a-70f0-4e47-9d7f-440d263d1286, fqn: ['default-domain', 'ctest-TestBasicPolicy-33355735', 'ctest-policy-allow-all-32060049'] 2025-06-09 17:20:49,269 - INFO - VN ctest-vn-14338139 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-09 17:20:49,269 - DEBUG - Verifying the vn in opserver 2025-06-09 17:20:49,269 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33355735:ctest-vn-14338139 virtual network link through opserver 10.0.0.27 2025-06-09 17:20:49,269 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-06-09 17:20:49,560 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-06-09 17:20:49,614 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33355735:ctest-vn-14338139', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33355735:ctest-vn-14338139?flat'} 2025-06-09 17:20:49,614 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33355735:ctest-vn-14338139 is found in opserver 2025-06-09 17:20:49,625 - DEBUG - Do not have enough data to verify VN in agent 2025-06-09 17:20:49,630 - DEBUG - VRF ids for VN ctest-vn-14338139: {} 2025-06-09 17:20:49,630 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-06-09 17:20:49,636 - DEBUG - Requesting: http://10.0.0.27:8082/domain/96a0cb43-5fb2-4db1-9653-5e3103eb5893 2025-06-09 17:20:49,647 - DEBUG - Requesting: http://10.0.0.27:8082/project/a7de4e62-0eb9-43d2-bf86-c583a3d5107f 2025-06-09 17:20:49,720 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2f266598-52f0-4eae-8814-fb97de8ffbab 2025-06-09 17:20:49,734 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2f266598-52f0-4eae-8814-fb97de8ffbab 2025-06-09 17:20:49,746 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/9126a42b-934e-4d97-bcb2-0bc3bfc2cb7f 2025-06-09 17:20:49,755 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/9126a42b-934e-4d97-bcb2-0bc3bfc2cb7f 2025-06-09 17:20:49,762 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/c914d312-8717-485e-8ecf-aa6bb685d6eb 2025-06-09 17:20:49,769 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-09 17:20:49,769 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2f266598-52f0-4eae-8814-fb97de8ffbab 2025-06-09 17:20:49,778 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/9126a42b-934e-4d97-bcb2-0bc3bfc2cb7f 2025-06-09 17:20:49,793 - INFO - Verified VN network id 9 for VN 2f266598-52f0-4eae-8814-fb97de8ffbab 2025-06-09 17:20:49,793 - INFO - Verifications in API Server for VN ctest-vn-52733220 passed 2025-06-09 17:20:49,794 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2f266598-52f0-4eae-8814-fb97de8ffbab 2025-06-09 17:20:49,806 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/9126a42b-934e-4d97-bcb2-0bc3bfc2cb7f 2025-06-09 17:20:49,814 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/9126a42b-934e-4d97-bcb2-0bc3bfc2cb7f 2025-06-09 17:20:49,821 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/c914d312-8717-485e-8ecf-aa6bb685d6eb 2025-06-09 17:20:49,834 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33355735:ctest-vn-52733220', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33355735', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3397514673798532782', 'uuid-lslong': '9805738918385023915'}, 'enable': 'true', 'created': '2025-06-09T17:20:47', 'last-modified': '2025-06-09T17:20:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.378408'} 2025-06-09 17:20:49,840 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-09 17:20:49,840 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52733220 passed 2025-06-09 17:20:49,840 - DEBUG - ====Verifying policy data for ctest-vn-52733220 in API_Server ====== 2025-06-09 17:20:49,840 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-06-09 17:20:49,847 - DEBUG - Requesting: http://10.0.0.27:8082/domain/96a0cb43-5fb2-4db1-9653-5e3103eb5893 2025-06-09 17:20:49,859 - DEBUG - Requesting: http://10.0.0.27:8082/project/a7de4e62-0eb9-43d2-bf86-c583a3d5107f 2025-06-09 17:20:49,936 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2f266598-52f0-4eae-8814-fb97de8ffbab 2025-06-09 17:20:49,946 - DEBUG - ==>Verifying data for policy with id: 7b953b4a-70f0-4e47-9d7f-440d263d1286, fqn: ['default-domain', 'ctest-TestBasicPolicy-33355735', 'ctest-policy-allow-all-32060049'] 2025-06-09 17:20:49,947 - INFO - VN ctest-vn-52733220 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-09 17:20:49,947 - DEBUG - Verifying the vn in opserver 2025-06-09 17:20:49,947 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33355735:ctest-vn-52733220 virtual network link through opserver 10.0.0.27 2025-06-09 17:20:49,947 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-06-09 17:20:49,957 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33355735:ctest-vn-52733220', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33355735:ctest-vn-52733220?flat'} 2025-06-09 17:20:49,957 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33355735:ctest-vn-52733220 is found in opserver 2025-06-09 17:20:49,969 - DEBUG - Do not have enough data to verify VN in agent 2025-06-09 17:20:49,974 - DEBUG - VRF ids for VN ctest-vn-52733220: {} 2025-06-09 17:20:50,031 - DEBUG - Services list from nova: [, , ] 2025-06-09 17:20:51,062 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3427-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3427-1) 2025-06-09 17:20:52,260 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3427-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3427-1) 2025-06-09 17:20:52,260 - INFO - Waiting for VM ctest-TestBasicPolicy-33355735-60813553 to be up.. 2025-06-09 17:20:52,344 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-09 17:20:57,438 - DEBUG - VM is in ACTIVE state now 2025-06-09 17:20:57,438 - INFO - VM name : ctest-TestBasicPolicy-33355735-60813553 2025-06-09 17:20:57,521 - DEBUG - VM ctest-TestBasicPolicy-33355735-60813553 ID is 2aef44dd-85fa-4c8d-be0e-8ad02fe088a3 2025-06-09 17:20:57,543 - DEBUG - VM ctest-TestBasicPolicy-33355735-60813553 launched on Node cn-jenkins-deploy-platform-ansible-os-3427-1 2025-06-09 17:20:57,628 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/2aef44dd-85fa-4c8d-be0e-8ad02fe088a3 2025-06-09 17:20:57,637 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/943a8ba8-1c1b-4b38-9066-5d70f708fbb0 2025-06-09 17:21:00,901 - 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 1028ms') 2025-06-09 17:21:00,901 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33355735-60813553 failed! 2025-06-09 17:21:00,955 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-33355735:ctest-vn-14338139 is 220.206.55.65 and allocation pool is NOT set 2025-06-09 17:21:03,012 - 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.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.740 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.740/4.493/8.246/3.753 ms') 2025-06-09 17:21:03,012 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33355735-60813553 passed 2025-06-09 17:21:03,163 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 17:21:03,163 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33355735-60813553, IP 220.206.55.67, Port 22 2025-06-09 17:21:03,318 - DEBUG - VM ctest-TestBasicPolicy-33355735-60813553 is ready for SSH connections 2025-06-09 17:21:03,318 - INFO - Waiting for VM ctest-TestBasicPolicy-33355735-06038152 to be up.. 2025-06-09 17:21:03,399 - DEBUG - VM is in ACTIVE state now 2025-06-09 17:21:03,399 - INFO - VM name : ctest-TestBasicPolicy-33355735-06038152 2025-06-09 17:21:03,469 - DEBUG - VM ctest-TestBasicPolicy-33355735-06038152 ID is 6aaa4fd0-ce35-45a7-bdad-917229ece29f 2025-06-09 17:21:03,470 - DEBUG - VM ctest-TestBasicPolicy-33355735-06038152 launched on Node cn-jenkins-deploy-platform-ansible-os-3427-1 2025-06-09 17:21:03,546 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/6aaa4fd0-ce35-45a7-bdad-917229ece29f 2025-06-09 17:21:03,554 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/e3215c2a-2136-47ef-a799-6df0260c0c22 2025-06-09 17:21:04,796 - 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=2.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.425 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.425/1.536/2.647/1.111 ms') 2025-06-09 17:21:04,796 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-33355735-06038152 passed 2025-06-09 17:21:04,951 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 17:21:04,951 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33355735-06038152, IP 49.190.192.3, Port 22 2025-06-09 17:21:05,117 - DEBUG - VM ctest-TestBasicPolicy-33355735-06038152 is ready for SSH connections 2025-06-09 17:21:05,117 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 17:21:05,117 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.190.192.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-06-09 17:21:05,117 - DEBUG - ping -s 56 -c 3 -W 1 49.190.192.3 2025-06-09 17:21:09,092 - DEBUG - PING 49.190.192.3 (49.190.192.3): 56 data bytes 64 bytes from 49.190.192.3: seq=0 ttl=63 time=5.058 ms 64 bytes from 49.190.192.3: seq=1 ttl=63 time=1.158 ms 64 bytes from 49.190.192.3: seq=2 ttl=63 time=0.874 ms --- 49.190.192.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.874/2.363/5.058 ms 2025-06-09 17:21:09,092 - INFO - Ping to IP 49.190.192.3 from VM ctest-TestBasicPolicy-33355735-60813553 passed 2025-06-09 17:21:09,274 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7b953b4a-70f0-4e47-9d7f-440d263d1286", "href": "http://10.0.0.27:8082/network-policy/7b953b4a-70f0-4e47-9d7f-440d263d1286"}} 2025-06-09 17:21:09,274 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 17:21:09,275 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.190.192.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-06-09 17:21:09,275 - DEBUG - ping -s 56 -c 3 -W 1 49.190.192.3 2025-06-09 17:21:12,482 - DEBUG - PING 49.190.192.3 (49.190.192.3): 56 data bytes --- 49.190.192.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-09 17:21:12,482 - WARNING - Ping to IP 49.190.192.3 from VM ctest-TestBasicPolicy-33355735-60813553 failed 2025-06-09 17:21:12,482 - INFO - Deleting VM ctest-TestBasicPolicy-33355735-06038152 2025-06-09 17:21:12,544 - INFO - Deleting VM ctest-TestBasicPolicy-33355735-60813553 2025-06-09 17:21:12,937 - INFO - Deleted policy ctest-policy-allow-all-32060049 2025-06-09 17:21:12,938 - INFO - Deleting VN ctest-vn-52733220 2025-06-09 17:21:12,980 - DEBUG - VN 2f266598-52f0-4eae-8814-fb97de8ffbab still in use: Unable to complete operation on network 2f266598-52f0-4eae-8814-fb97de8ffbab. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b9f84785-0e88-4d9e-983d-b83f682e4d7c'] 2025-06-09 17:21:12,980 - WARNING - Deleting VN ctest-vn-52733220 failed..Will retry 2025-06-09 17:21:15,092 - DEBUG - Response for deleting network () 2025-06-09 17:21:15,092 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/9126a42b-934e-4d97-bcb2-0bc3bfc2cb7f 2025-06-09 17:21:15,099 - DEBUG - Response Code: 404 2025-06-09 17:21:15,099 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-06-09 17:21:15,105 - DEBUG - Requesting: http://10.0.0.27:8082/domain/96a0cb43-5fb2-4db1-9653-5e3103eb5893 2025-06-09 17:21:15,160 - DEBUG - Requesting: http://10.0.0.27:8082/project/a7de4e62-0eb9-43d2-bf86-c583a3d5107f 2025-06-09 17:21:15,228 - INFO - Validated that VN ctest-vn-52733220 is not found in API Server 2025-06-09 17:21:15,239 - DEBUG - VN ctest-vn-52733220 is not present in Agent 10.0.0.27 2025-06-09 17:21:15,239 - INFO - Validated that VN ctest-vn-52733220 is not in any agent 2025-06-09 17:21:15,254 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52733220 info 2025-06-09 17:21:15,254 - INFO - Deleting VN ctest-vn-14338139 2025-06-09 17:21:15,356 - DEBUG - Response for deleting network () 2025-06-09 17:21:15,356 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b070e107-6f56-42e9-9d09-c990f760691b 2025-06-09 17:21:15,362 - DEBUG - Response Code: 404 2025-06-09 17:21:15,362 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-06-09 17:21:15,368 - DEBUG - Requesting: http://10.0.0.27:8082/domain/96a0cb43-5fb2-4db1-9653-5e3103eb5893 2025-06-09 17:21:15,420 - DEBUG - Requesting: http://10.0.0.27:8082/project/a7de4e62-0eb9-43d2-bf86-c583a3d5107f 2025-06-09 17:21:15,490 - INFO - Validated that VN ctest-vn-14338139 is not found in API Server 2025-06-09 17:21:15,501 - DEBUG - VN ctest-vn-14338139 is not present in Agent 10.0.0.27 2025-06-09 17:21:15,501 - INFO - Validated that VN ctest-vn-14338139 is not in any agent 2025-06-09 17:21:15,520 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14338139 info 2025-06-09 17:21:15,773 - DEBUG - No XMPP flaps were noticed during the test
2025-06-09 17:21:15,773 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-06-09 17:21:15,773 - INFO - -------------------------------------------------------------------------------- 2025-06-09 17:21:16,460 - INFO - Deleted project: ctest-TestBasicPolicy-33355735, ID : a7de4e62-0eb9-43d2-bf86-c583a3d5107f