2025-04-24 02:07:16,624 - INFO - Domain Default found not creating 2025-04-24 02:07:16,750 - INFO - Project ctest-TestBasicPolicy-27230703 not found, creating it 2025-04-24 02:07:17,180 - INFO - Created Project:ctest-TestBasicPolicy-27230703, ID : b6e8df70-e242-4df5-be60-9ffa86dc9b27 2025-04-24 02:07:18,540 - INFO - ================================================================================ 2025-04-24 02:07:18,540 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-24 02:07:18,540 - 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-04-24 02:07:18,800 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-04-24 02:07:18,800 - INFO - Initial checks done. Running the testcase now 2025-04-24 02:07:18,800 - INFO - 2025-04-24 02:07:19,338 - DEBUG - Response for create_network : {'network': {'id': 'e17bb781-602d-4732-84c3-0400e213405d', 'name': 'ctest-vn-95626285', 'tenant_id': 'b6e8df70e2424df5be609ffa86dc9b27', 'project_id': 'b6e8df70e2424df5be609ffa86dc9b27', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27230703', 'ctest-vn-95626285'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 02:07:19,480 - DEBUG - Response for create_subnet : {'subnet': {'id': '5fa58258-7a67-46ca-8200-b4c7376bb586', 'name': '', 'tenant_id': 'b6e8df70e2424df5be609ffa86dc9b27', 'network_id': 'e17bb781-602d-4732-84c3-0400e213405d', 'ip_version': 4, 'cidr': '181.127.208.64/26', 'allocation_pools': [{'start': '181.127.208.66', 'end': '181.127.208.126'}], 'gateway_ip': '181.127.208.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.127.208.66', 'tags': [], 'project_id': 'b6e8df70e2424df5be609ffa86dc9b27'}} 2025-04-24 02:07:19,497 - INFO - Created VN ctest-vn-95626285 2025-04-24 02:07:19,550 - DEBUG - VN ctest-vn-95626285 UUID is e17bb781-602d-4732-84c3-0400e213405d 2025-04-24 02:07:19,890 - DEBUG - Response for create_network : {'network': {'id': 'a29ce6ab-9ac2-41ea-9877-42194ed42050', 'name': 'ctest-vn-23818587', 'tenant_id': 'b6e8df70e2424df5be609ffa86dc9b27', 'project_id': 'b6e8df70e2424df5be609ffa86dc9b27', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27230703', 'ctest-vn-23818587'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 02:07:20,100 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a12d9542-6276-4722-83fa-c57572fe2088', 'name': '', 'tenant_id': 'b6e8df70e2424df5be609ffa86dc9b27', 'network_id': 'a29ce6ab-9ac2-41ea-9877-42194ed42050', 'ip_version': 4, 'cidr': '92.167.35.192/26', 'allocation_pools': [{'start': '92.167.35.194', 'end': '92.167.35.254'}], 'gateway_ip': '92.167.35.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.167.35.194', 'tags': [], 'project_id': 'b6e8df70e2424df5be609ffa86dc9b27'}} 2025-04-24 02:07:20,116 - INFO - Created VN ctest-vn-23818587 2025-04-24 02:07:20,170 - DEBUG - VN ctest-vn-23818587 UUID is a29ce6ab-9ac2-41ea-9877-42194ed42050 2025-04-24 02:07:20,283 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-27230703:ctest-vn-95626285, 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-27230703:ctest-vn-23818587, 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-04-24 02:07:20,576 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e17bb781-602d-4732-84c3-0400e213405d', 'name': 'ctest-vn-95626285', 'tenant_id': 'b6e8df70e2424df5be609ffa86dc9b27', 'project_id': 'b6e8df70e2424df5be609ffa86dc9b27', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5fa58258-7a67-46ca-8200-b4c7376bb586'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27230703', 'ctest-vn-95626285'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27230703', 'ctest-policy-allow-all-02803106']], 'subnet_ipam': [{'subnet_cidr': '181.127.208.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-24 02:07:20,805 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a29ce6ab-9ac2-41ea-9877-42194ed42050', 'name': 'ctest-vn-23818587', 'tenant_id': 'b6e8df70e2424df5be609ffa86dc9b27', 'project_id': 'b6e8df70e2424df5be609ffa86dc9b27', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a12d9542-6276-4722-83fa-c57572fe2088'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27230703', 'ctest-vn-23818587'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27230703', 'ctest-policy-allow-all-02803106']], 'subnet_ipam': [{'subnet_cidr': '92.167.35.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-24 02:07:20,966 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-24 02:07:21,265 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-24 02:07:21,292 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fb48d406-8274-43cc-b347-0e571b82ec59 2025-04-24 02:07:21,305 - DEBUG - Requesting: http://10.0.0.38:8082/project/b6e8df70-e242-4df5-be60-9ffa86dc9b27 2025-04-24 02:07:21,380 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e17bb781-602d-4732-84c3-0400e213405d 2025-04-24 02:07:21,391 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e17bb781-602d-4732-84c3-0400e213405d 2025-04-24 02:07:21,400 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4ae9ce6a-4b10-478a-9d61-ef644ab1f8cd 2025-04-24 02:07:21,407 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4ae9ce6a-4b10-478a-9d61-ef644ab1f8cd 2025-04-24 02:07:21,413 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9e145c1b-a4c3-4456-8a04-11d218f47a0b 2025-04-24 02:07:21,419 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-24 02:07:21,419 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e17bb781-602d-4732-84c3-0400e213405d 2025-04-24 02:07:21,427 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4ae9ce6a-4b10-478a-9d61-ef644ab1f8cd 2025-04-24 02:07:21,440 - INFO - Verified VN network id 8 for VN e17bb781-602d-4732-84c3-0400e213405d 2025-04-24 02:07:21,440 - INFO - Verifications in API Server for VN ctest-vn-95626285 passed 2025-04-24 02:07:21,440 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e17bb781-602d-4732-84c3-0400e213405d 2025-04-24 02:07:21,449 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4ae9ce6a-4b10-478a-9d61-ef644ab1f8cd 2025-04-24 02:07:21,455 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4ae9ce6a-4b10-478a-9d61-ef644ab1f8cd 2025-04-24 02:07:21,461 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9e145c1b-a4c3-4456-8a04-11d218f47a0b 2025-04-24 02:07:21,472 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27230703:ctest-vn-95626285', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27230703', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16247781846961440562', 'uuid-lslong': '9566494435304489053'}, 'enable': 'true', 'created': '2025-04-24T02:07:19', 'last-modified': '2025-04-24T02:07:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.919453'} 2025-04-24 02:07:21,478 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-24 02:07:21,478 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95626285 passed 2025-04-24 02:07:21,478 - DEBUG - ====Verifying policy data for ctest-vn-95626285 in API_Server ====== 2025-04-24 02:07:21,478 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-24 02:07:21,483 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fb48d406-8274-43cc-b347-0e571b82ec59 2025-04-24 02:07:21,494 - DEBUG - Requesting: http://10.0.0.38:8082/project/b6e8df70-e242-4df5-be60-9ffa86dc9b27 2025-04-24 02:07:21,566 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e17bb781-602d-4732-84c3-0400e213405d 2025-04-24 02:07:21,575 - DEBUG - ==>Verifying data for policy with id: 28d4dd7c-d6b3-4169-bcf8-53e201ccd3b6, fqn: ['default-domain', 'ctest-TestBasicPolicy-27230703', 'ctest-policy-allow-all-02803106'] 2025-04-24 02:07:21,575 - INFO - VN ctest-vn-95626285 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-24 02:07:21,575 - DEBUG - Verifying the vn in opserver 2025-04-24 02:07:21,575 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27230703:ctest-vn-95626285 virtual network link through opserver 10.0.0.38 2025-04-24 02:07:21,575 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-24 02:07:21,866 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-24 02:07:21,917 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27230703:ctest-vn-95626285', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27230703:ctest-vn-95626285?flat'} 2025-04-24 02:07:21,918 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27230703:ctest-vn-95626285 is found in opserver 2025-04-24 02:07:21,929 - DEBUG - Do not have enough data to verify VN in agent 2025-04-24 02:07:21,933 - DEBUG - VRF ids for VN ctest-vn-95626285: {} 2025-04-24 02:07:21,934 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-24 02:07:21,939 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fb48d406-8274-43cc-b347-0e571b82ec59 2025-04-24 02:07:21,949 - DEBUG - Requesting: http://10.0.0.38:8082/project/b6e8df70-e242-4df5-be60-9ffa86dc9b27 2025-04-24 02:07:22,020 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a29ce6ab-9ac2-41ea-9877-42194ed42050 2025-04-24 02:07:22,035 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a29ce6ab-9ac2-41ea-9877-42194ed42050 2025-04-24 02:07:22,043 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/848eab46-e29e-464a-8c22-32bb8ea776e3 2025-04-24 02:07:22,050 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/848eab46-e29e-464a-8c22-32bb8ea776e3 2025-04-24 02:07:22,056 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/eafc5e6c-7710-4b18-9145-8932a5fa2a77 2025-04-24 02:07:22,061 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-24 02:07:22,061 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a29ce6ab-9ac2-41ea-9877-42194ed42050 2025-04-24 02:07:22,070 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/848eab46-e29e-464a-8c22-32bb8ea776e3 2025-04-24 02:07:22,083 - INFO - Verified VN network id 9 for VN a29ce6ab-9ac2-41ea-9877-42194ed42050 2025-04-24 02:07:22,083 - INFO - Verifications in API Server for VN ctest-vn-23818587 passed 2025-04-24 02:07:22,083 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a29ce6ab-9ac2-41ea-9877-42194ed42050 2025-04-24 02:07:22,091 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/848eab46-e29e-464a-8c22-32bb8ea776e3 2025-04-24 02:07:22,097 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/848eab46-e29e-464a-8c22-32bb8ea776e3 2025-04-24 02:07:22,104 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/eafc5e6c-7710-4b18-9145-8932a5fa2a77 2025-04-24 02:07:22,114 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27230703:ctest-vn-23818587', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27230703', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11717493955221406186', 'uuid-lslong': '10986322492457754704'}, 'enable': 'true', 'created': '2025-04-24T02:07:19', 'last-modified': '2025-04-24T02:07:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.328505'} 2025-04-24 02:07:22,120 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-24 02:07:22,120 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23818587 passed 2025-04-24 02:07:22,120 - DEBUG - ====Verifying policy data for ctest-vn-23818587 in API_Server ====== 2025-04-24 02:07:22,120 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-24 02:07:22,125 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fb48d406-8274-43cc-b347-0e571b82ec59 2025-04-24 02:07:22,135 - DEBUG - Requesting: http://10.0.0.38:8082/project/b6e8df70-e242-4df5-be60-9ffa86dc9b27 2025-04-24 02:07:22,206 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a29ce6ab-9ac2-41ea-9877-42194ed42050 2025-04-24 02:07:22,215 - DEBUG - ==>Verifying data for policy with id: 28d4dd7c-d6b3-4169-bcf8-53e201ccd3b6, fqn: ['default-domain', 'ctest-TestBasicPolicy-27230703', 'ctest-policy-allow-all-02803106'] 2025-04-24 02:07:22,215 - INFO - VN ctest-vn-23818587 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-24 02:07:22,215 - DEBUG - Verifying the vn in opserver 2025-04-24 02:07:22,215 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27230703:ctest-vn-23818587 virtual network link through opserver 10.0.0.38 2025-04-24 02:07:22,215 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-24 02:07:22,225 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27230703:ctest-vn-23818587', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27230703:ctest-vn-23818587?flat'} 2025-04-24 02:07:22,225 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27230703:ctest-vn-23818587 is found in opserver 2025-04-24 02:07:22,235 - DEBUG - Do not have enough data to verify VN in agent 2025-04-24 02:07:22,240 - DEBUG - VRF ids for VN ctest-vn-23818587: {} 2025-04-24 02:07:22,291 - DEBUG - Services list from nova: [, , ] 2025-04-24 02:07:23,269 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3198-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3198-1) 2025-04-24 02:07:24,483 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3198-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3198-1) 2025-04-24 02:07:24,484 - INFO - Waiting for VM ctest-TestBasicPolicy-27230703-61716613 to be up.. 2025-04-24 02:07:24,574 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-24 02:07:29,648 - DEBUG - VM is in ACTIVE state now 2025-04-24 02:07:29,649 - INFO - VM name : ctest-TestBasicPolicy-27230703-61716613 2025-04-24 02:07:29,715 - DEBUG - VM ctest-TestBasicPolicy-27230703-61716613 ID is e5ad9c36-3c96-4000-ae4f-19a8b98226b3 2025-04-24 02:07:29,732 - DEBUG - VM ctest-TestBasicPolicy-27230703-61716613 launched on Node cn-jenkins-deploy-platform-ansible-os-3198-1 2025-04-24 02:07:29,797 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e5ad9c36-3c96-4000-ae4f-19a8b98226b3 2025-04-24 02:07:29,804 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4c4a0c90-927c-49a0-9ad4-b634f26dd6fa 2025-04-24 02:07:33,044 - 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') 2025-04-24 02:07:33,044 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27230703-61716613 failed! 2025-04-24 02:07:33,098 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-27230703:ctest-vn-95626285 is 181.127.208.65 and allocation pool is NOT set 2025-04-24 02:07:35,154 - 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.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.394 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.394/1.765/3.136/1.371 ms') 2025-04-24 02:07:35,154 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27230703-61716613 passed 2025-04-24 02:07:35,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 02:07:35,314 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27230703-61716613, IP 181.127.208.67, Port 22 2025-04-24 02:07:35,480 - DEBUG - VM ctest-TestBasicPolicy-27230703-61716613 is ready for SSH connections 2025-04-24 02:07:35,480 - INFO - Waiting for VM ctest-TestBasicPolicy-27230703-88676175 to be up.. 2025-04-24 02:07:35,553 - DEBUG - VM is in ACTIVE state now 2025-04-24 02:07:35,553 - INFO - VM name : ctest-TestBasicPolicy-27230703-88676175 2025-04-24 02:07:35,623 - DEBUG - VM ctest-TestBasicPolicy-27230703-88676175 ID is 1fda0138-810e-4b5c-84de-878198afb8c5 2025-04-24 02:07:35,623 - DEBUG - VM ctest-TestBasicPolicy-27230703-88676175 launched on Node cn-jenkins-deploy-platform-ansible-os-3198-1 2025-04-24 02:07:35,700 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1fda0138-810e-4b5c-84de-878198afb8c5 2025-04-24 02:07:35,708 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/07012111-779c-4f18-981e-483b5d5f48e9 2025-04-24 02:07:36,955 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.376 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.376/1.492/2.608/1.116 ms') 2025-04-24 02:07:36,955 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-27230703-88676175 passed 2025-04-24 02:07:37,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 02:07:37,106 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27230703-88676175, IP 92.167.35.195, Port 22 2025-04-24 02:07:37,266 - DEBUG - VM ctest-TestBasicPolicy-27230703-88676175 is ready for SSH connections 2025-04-24 02:07:37,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 02:07:37,266 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.167.35.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-24 02:07:37,266 - DEBUG - ping -s 56 -c 3 -W 1 92.167.35.195 2025-04-24 02:07:40,915 - DEBUG - PING 92.167.35.195 (92.167.35.195): 56 data bytes 64 bytes from 92.167.35.195: seq=0 ttl=63 time=3.127 ms 64 bytes from 92.167.35.195: seq=1 ttl=63 time=0.832 ms 64 bytes from 92.167.35.195: seq=2 ttl=63 time=1.225 ms --- 92.167.35.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.832/1.728/3.127 ms 2025-04-24 02:07:40,915 - INFO - Ping to IP 92.167.35.195 from VM ctest-TestBasicPolicy-27230703-61716613 passed 2025-04-24 02:07:41,106 - DEBUG - Policy Update Response {"network-policy": {"uuid": "28d4dd7c-d6b3-4169-bcf8-53e201ccd3b6", "href": "http://10.0.0.38:8082/network-policy/28d4dd7c-d6b3-4169-bcf8-53e201ccd3b6"}} 2025-04-24 02:07:41,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 02:07:41,106 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.167.35.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-24 02:07:41,106 - DEBUG - ping -s 56 -c 3 -W 1 92.167.35.195 2025-04-24 02:07:44,301 - DEBUG - PING 92.167.35.195 (92.167.35.195): 56 data bytes --- 92.167.35.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-24 02:07:44,301 - WARNING - Ping to IP 92.167.35.195 from VM ctest-TestBasicPolicy-27230703-61716613 failed 2025-04-24 02:07:44,301 - INFO - Deleting VM ctest-TestBasicPolicy-27230703-88676175 2025-04-24 02:07:44,369 - INFO - Deleting VM ctest-TestBasicPolicy-27230703-61716613 2025-04-24 02:07:44,742 - INFO - Deleted policy ctest-policy-allow-all-02803106 2025-04-24 02:07:44,743 - INFO - Deleting VN ctest-vn-23818587 2025-04-24 02:07:44,780 - DEBUG - VN a29ce6ab-9ac2-41ea-9877-42194ed42050 still in use: Unable to complete operation on network a29ce6ab-9ac2-41ea-9877-42194ed42050. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1684be05-af91-4e6f-ba76-8f858bf117d2'] 2025-04-24 02:07:44,780 - WARNING - Deleting VN ctest-vn-23818587 failed..Will retry 2025-04-24 02:07:46,876 - DEBUG - Response for deleting network () 2025-04-24 02:07:46,876 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/848eab46-e29e-464a-8c22-32bb8ea776e3 2025-04-24 02:07:46,882 - DEBUG - Response Code: 404 2025-04-24 02:07:46,882 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-24 02:07:46,887 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fb48d406-8274-43cc-b347-0e571b82ec59 2025-04-24 02:07:46,940 - DEBUG - Requesting: http://10.0.0.38:8082/project/b6e8df70-e242-4df5-be60-9ffa86dc9b27 2025-04-24 02:07:47,014 - INFO - Validated that VN ctest-vn-23818587 is not found in API Server 2025-04-24 02:07:47,024 - DEBUG - VN ctest-vn-23818587 is not present in Agent 10.0.0.38 2025-04-24 02:07:47,025 - INFO - Validated that VN ctest-vn-23818587 is not in any agent 2025-04-24 02:07:47,039 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23818587 info 2025-04-24 02:07:47,040 - INFO - Deleting VN ctest-vn-95626285 2025-04-24 02:07:47,138 - DEBUG - Response for deleting network () 2025-04-24 02:07:47,138 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4ae9ce6a-4b10-478a-9d61-ef644ab1f8cd 2025-04-24 02:07:47,144 - DEBUG - Response Code: 404 2025-04-24 02:07:47,144 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-24 02:07:47,149 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fb48d406-8274-43cc-b347-0e571b82ec59 2025-04-24 02:07:47,208 - DEBUG - Requesting: http://10.0.0.38:8082/project/b6e8df70-e242-4df5-be60-9ffa86dc9b27 2025-04-24 02:07:47,279 - INFO - Validated that VN ctest-vn-95626285 is not found in API Server 2025-04-24 02:07:47,290 - DEBUG - VN ctest-vn-95626285 is not present in Agent 10.0.0.38 2025-04-24 02:07:47,290 - INFO - Validated that VN ctest-vn-95626285 is not in any agent 2025-04-24 02:07:47,305 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95626285 info 2025-04-24 02:07:47,564 - DEBUG - No XMPP flaps were noticed during the test 2025-04-24 02:07:47,564 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-04-24 02:07:47,564 - INFO - -------------------------------------------------------------------------------- 2025-04-24 02:07:48,194 - INFO - Deleted project: ctest-TestBasicPolicy-27230703, ID : b6e8df70-e242-4df5-be60-9ffa86dc9b27