2025-01-04 21:31:38,864 - INFO - Domain Default found not creating 2025-01-04 21:31:39,064 - INFO - Project ctest-TestBasicPolicy-31996070 not found, creating it 2025-01-04 21:31:39,601 - INFO - Created Project:ctest-TestBasicPolicy-31996070, ID : c3cff154-8f6e-4eeb-8f01-b4cf28382d5d 2025-01-04 21:31:41,341 - INFO - ================================================================================ 2025-01-04 21:31:41,342 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-04 21:31:41,342 - 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-01-04 21:31:41,617 - DEBUG - Nothing to compare xmpp stats {'10.0.0.54': {'10.20.0.8': '0'}} with 2025-01-04 21:31:41,618 - INFO - Initial checks done. Running the testcase now 2025-01-04 21:31:41,618 - INFO - 2025-01-04 21:31:42,237 - DEBUG - Response for create_network : {'network': {'id': 'a4d70f1f-ab62-4a4c-845c-03d839d2b92f', 'name': 'ctest-vn-38741352', 'tenant_id': 'c3cff1548f6e4eeb8f01b4cf28382d5d', 'project_id': 'c3cff1548f6e4eeb8f01b4cf28382d5d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31996070', 'ctest-vn-38741352'], 'port_security_enabled': True, 'description': ''}} 2025-01-04 21:31:42,512 - DEBUG - Response for create_subnet : {'subnet': {'id': '894e3b61-b634-4954-b5c7-2b0cd47f743b', 'name': '', 'tenant_id': 'c3cff1548f6e4eeb8f01b4cf28382d5d', 'network_id': 'a4d70f1f-ab62-4a4c-845c-03d839d2b92f', 'ip_version': 4, 'cidr': '5.245.172.192/26', 'allocation_pools': [{'start': '5.245.172.194', 'end': '5.245.172.254'}], 'gateway_ip': '5.245.172.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.245.172.194', 'tags': [], 'project_id': 'c3cff1548f6e4eeb8f01b4cf28382d5d'}} 2025-01-04 21:31:42,536 - INFO - Created VN ctest-vn-38741352 2025-01-04 21:31:42,593 - DEBUG - VN ctest-vn-38741352 UUID is a4d70f1f-ab62-4a4c-845c-03d839d2b92f 2025-01-04 21:31:42,955 - DEBUG - Response for create_network : {'network': {'id': '4c181bd8-3d29-459c-9680-fb29c5b4e02b', 'name': 'ctest-vn-40148069', 'tenant_id': 'c3cff1548f6e4eeb8f01b4cf28382d5d', 'project_id': 'c3cff1548f6e4eeb8f01b4cf28382d5d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31996070', 'ctest-vn-40148069'], 'port_security_enabled': True, 'description': ''}} 2025-01-04 21:31:43,215 - DEBUG - Response for create_subnet : {'subnet': {'id': '528b5a8b-c2f2-4564-b809-50e9886935d8', 'name': '', 'tenant_id': 'c3cff1548f6e4eeb8f01b4cf28382d5d', 'network_id': '4c181bd8-3d29-459c-9680-fb29c5b4e02b', 'ip_version': 4, 'cidr': '175.247.110.128/26', 'allocation_pools': [{'start': '175.247.110.130', 'end': '175.247.110.190'}], 'gateway_ip': '175.247.110.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.247.110.130', 'tags': [], 'project_id': 'c3cff1548f6e4eeb8f01b4cf28382d5d'}} 2025-01-04 21:31:43,247 - INFO - Created VN ctest-vn-40148069 2025-01-04 21:31:43,305 - DEBUG - VN ctest-vn-40148069 UUID is 4c181bd8-3d29-459c-9680-fb29c5b4e02b 2025-01-04 21:31:43,436 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-31996070:ctest-vn-38741352, 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-31996070:ctest-vn-40148069, 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-01-04 21:31:43,753 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a4d70f1f-ab62-4a4c-845c-03d839d2b92f', 'name': 'ctest-vn-38741352', 'tenant_id': 'c3cff1548f6e4eeb8f01b4cf28382d5d', 'project_id': 'c3cff1548f6e4eeb8f01b4cf28382d5d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['894e3b61-b634-4954-b5c7-2b0cd47f743b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31996070', 'ctest-vn-38741352'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31996070', 'ctest-policy-allow-all-13149519']], 'subnet_ipam': [{'subnet_cidr': '5.245.172.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-04 21:31:44,045 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4c181bd8-3d29-459c-9680-fb29c5b4e02b', 'name': 'ctest-vn-40148069', 'tenant_id': 'c3cff1548f6e4eeb8f01b4cf28382d5d', 'project_id': 'c3cff1548f6e4eeb8f01b4cf28382d5d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['528b5a8b-c2f2-4564-b809-50e9886935d8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31996070', 'ctest-vn-40148069'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31996070', 'ctest-policy-allow-all-13149519']], 'subnet_ipam': [{'subnet_cidr': '175.247.110.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-04 21:31:44,197 - DEBUG - Requesting: http://10.0.0.54:8082/domains 2025-01-04 21:31:44,497 - DEBUG - Requesting: http://10.0.0.54:8082/domains 2025-01-04 21:31:44,545 - DEBUG - Requesting: http://10.0.0.54:8082/domain/734335af-f8cb-4cf6-91cc-546b65e52802 2025-01-04 21:31:44,564 - DEBUG - Requesting: http://10.0.0.54:8082/project/c3cff154-8f6e-4eeb-8f01-b4cf28382d5d 2025-01-04 21:31:44,657 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-network/a4d70f1f-ab62-4a4c-845c-03d839d2b92f 2025-01-04 21:31:44,676 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-network/a4d70f1f-ab62-4a4c-845c-03d839d2b92f 2025-01-04 21:31:44,694 - DEBUG - Requesting: http://10.0.0.54:8082/routing-instance/72938b01-fa29-4d7d-885e-f3c54b8c8da2 2025-01-04 21:31:44,706 - DEBUG - Requesting: http://10.0.0.54:8082/routing-instance/72938b01-fa29-4d7d-885e-f3c54b8c8da2 2025-01-04 21:31:44,718 - DEBUG - Requesting: http://10.0.0.54:8082/route-target/fa981987-08f5-4dc9-9c48-0b275e471f7c 2025-01-04 21:31:44,728 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-04 21:31:44,728 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-network/a4d70f1f-ab62-4a4c-845c-03d839d2b92f 2025-01-04 21:31:44,740 - DEBUG - Requesting: http://10.0.0.54:8082/routing-instance/72938b01-fa29-4d7d-885e-f3c54b8c8da2 2025-01-04 21:31:44,759 - INFO - Verified VN network id 8 for VN a4d70f1f-ab62-4a4c-845c-03d839d2b92f 2025-01-04 21:31:44,759 - INFO - Verifications in API Server for VN ctest-vn-38741352 passed 2025-01-04 21:31:44,759 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-network/a4d70f1f-ab62-4a4c-845c-03d839d2b92f 2025-01-04 21:31:44,771 - DEBUG - Requesting: http://10.0.0.54:8082/routing-instance/72938b01-fa29-4d7d-885e-f3c54b8c8da2 2025-01-04 21:31:44,781 - DEBUG - Requesting: http://10.0.0.54:8082/routing-instance/72938b01-fa29-4d7d-885e-f3c54b8c8da2 2025-01-04 21:31:44,792 - DEBUG - Requesting: http://10.0.0.54:8082/route-target/fa981987-08f5-4dc9-9c48-0b275e471f7c 2025-01-04 21:31:44,806 - DEBUG - Control-node 10.0.0.54 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31996070:ctest-vn-38741352', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31996070', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11877979170906720844', 'uuid-lslong': '9537502338081798447'}, 'enable': 'true', 'created': '2025-01-04T21:31:42', 'last-modified': '2025-01-04T21:31:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.076020'} 2025-01-04 21:31:44,813 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-04 21:31:44,813 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38741352 passed 2025-01-04 21:31:44,814 - DEBUG - ====Verifying policy data for ctest-vn-38741352 in API_Server ====== 2025-01-04 21:31:44,814 - DEBUG - Requesting: http://10.0.0.54:8082/domains 2025-01-04 21:31:44,820 - DEBUG - Requesting: http://10.0.0.54:8082/domain/734335af-f8cb-4cf6-91cc-546b65e52802 2025-01-04 21:31:44,832 - DEBUG - Requesting: http://10.0.0.54:8082/project/c3cff154-8f6e-4eeb-8f01-b4cf28382d5d 2025-01-04 21:31:44,913 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-network/a4d70f1f-ab62-4a4c-845c-03d839d2b92f 2025-01-04 21:31:44,934 - DEBUG - ==>Verifying data for policy with id: 03658c27-830e-4e52-b110-748bb9fb741b, fqn: ['default-domain', 'ctest-TestBasicPolicy-31996070', 'ctest-policy-allow-all-13149519'] 2025-01-04 21:31:44,934 - INFO - VN ctest-vn-38741352 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-04 21:31:44,935 - DEBUG - Verifying the vn in opserver 2025-01-04 21:31:44,935 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31996070:ctest-vn-38741352 virtual network link through opserver 10.0.0.54 2025-01-04 21:31:44,935 - DEBUG - Requesting: http://10.0.0.54:8081/analytics/uves/virtual-networks 2025-01-04 21:31:45,246 - DEBUG - Requesting: http://10.0.0.54:8081/analytics/uves/virtual-networks 2025-01-04 21:31:45,323 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31996070:ctest-vn-38741352', 'href': 'http://10.0.0.54:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31996070:ctest-vn-38741352?flat'} 2025-01-04 21:31:45,323 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31996070:ctest-vn-38741352 is found in opserver 2025-01-04 21:31:45,335 - DEBUG - Do not have enough data to verify VN in agent 2025-01-04 21:31:45,342 - DEBUG - VRF ids for VN ctest-vn-38741352: {} 2025-01-04 21:31:45,342 - DEBUG - Requesting: http://10.0.0.54:8082/domains 2025-01-04 21:31:45,349 - DEBUG - Requesting: http://10.0.0.54:8082/domain/734335af-f8cb-4cf6-91cc-546b65e52802 2025-01-04 21:31:45,363 - DEBUG - Requesting: http://10.0.0.54:8082/project/c3cff154-8f6e-4eeb-8f01-b4cf28382d5d 2025-01-04 21:31:45,445 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-network/4c181bd8-3d29-459c-9680-fb29c5b4e02b 2025-01-04 21:31:45,463 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-network/4c181bd8-3d29-459c-9680-fb29c5b4e02b 2025-01-04 21:31:45,477 - DEBUG - Requesting: http://10.0.0.54:8082/routing-instance/457a9c64-8203-4821-93ae-3fbfb886b19b 2025-01-04 21:31:45,487 - DEBUG - Requesting: http://10.0.0.54:8082/routing-instance/457a9c64-8203-4821-93ae-3fbfb886b19b 2025-01-04 21:31:45,495 - DEBUG - Requesting: http://10.0.0.54:8082/route-target/ceb5a087-2181-495f-91f3-8e242d8bbd8a 2025-01-04 21:31:45,503 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-04 21:31:45,503 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-network/4c181bd8-3d29-459c-9680-fb29c5b4e02b 2025-01-04 21:31:45,515 - DEBUG - Requesting: http://10.0.0.54:8082/routing-instance/457a9c64-8203-4821-93ae-3fbfb886b19b 2025-01-04 21:31:45,542 - INFO - Verified VN network id 9 for VN 4c181bd8-3d29-459c-9680-fb29c5b4e02b 2025-01-04 21:31:45,542 - INFO - Verifications in API Server for VN ctest-vn-40148069 passed 2025-01-04 21:31:45,543 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-network/4c181bd8-3d29-459c-9680-fb29c5b4e02b 2025-01-04 21:31:45,555 - DEBUG - Requesting: http://10.0.0.54:8082/routing-instance/457a9c64-8203-4821-93ae-3fbfb886b19b 2025-01-04 21:31:45,566 - DEBUG - Requesting: http://10.0.0.54:8082/routing-instance/457a9c64-8203-4821-93ae-3fbfb886b19b 2025-01-04 21:31:45,579 - DEBUG - Requesting: http://10.0.0.54:8082/route-target/ceb5a087-2181-495f-91f3-8e242d8bbd8a 2025-01-04 21:31:45,604 - DEBUG - Control-node 10.0.0.54 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31996070:ctest-vn-40148069', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31996070', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5483163161876579740', 'uuid-lslong': '10844944059537350699'}, 'enable': 'true', 'created': '2025-01-04T21:31:42', 'last-modified': '2025-01-04T21:31:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.628007'} 2025-01-04 21:31:45,613 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-04 21:31:45,613 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40148069 passed 2025-01-04 21:31:45,613 - DEBUG - ====Verifying policy data for ctest-vn-40148069 in API_Server ====== 2025-01-04 21:31:45,613 - DEBUG - Requesting: http://10.0.0.54:8082/domains 2025-01-04 21:31:45,621 - DEBUG - Requesting: http://10.0.0.54:8082/domain/734335af-f8cb-4cf6-91cc-546b65e52802 2025-01-04 21:31:45,638 - DEBUG - Requesting: http://10.0.0.54:8082/project/c3cff154-8f6e-4eeb-8f01-b4cf28382d5d 2025-01-04 21:31:45,721 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-network/4c181bd8-3d29-459c-9680-fb29c5b4e02b 2025-01-04 21:31:45,734 - DEBUG - ==>Verifying data for policy with id: 03658c27-830e-4e52-b110-748bb9fb741b, fqn: ['default-domain', 'ctest-TestBasicPolicy-31996070', 'ctest-policy-allow-all-13149519'] 2025-01-04 21:31:45,734 - INFO - VN ctest-vn-40148069 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-04 21:31:45,734 - DEBUG - Verifying the vn in opserver 2025-01-04 21:31:45,734 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31996070:ctest-vn-40148069 virtual network link through opserver 10.0.0.54 2025-01-04 21:31:45,735 - DEBUG - Requesting: http://10.0.0.54:8081/analytics/uves/virtual-networks 2025-01-04 21:31:45,749 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31996070:ctest-vn-40148069', 'href': 'http://10.0.0.54:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31996070:ctest-vn-40148069?flat'} 2025-01-04 21:31:45,749 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31996070:ctest-vn-40148069 is found in opserver 2025-01-04 21:31:45,761 - DEBUG - Do not have enough data to verify VN in agent 2025-01-04 21:31:45,767 - DEBUG - VRF ids for VN ctest-vn-40148069: {} 2025-01-04 21:31:45,851 - DEBUG - Services list from nova: [, , ] 2025-01-04 21:31:47,068 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2531-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2531-1) 2025-01-04 21:31:48,318 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2531-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2531-1) 2025-01-04 21:31:48,318 - INFO - Waiting for VM ctest-TestBasicPolicy-31996070-99685018 to be up.. 2025-01-04 21:31:48,434 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-04 21:31:53,532 - DEBUG - VM is in ACTIVE state now 2025-01-04 21:31:53,532 - INFO - VM name : ctest-TestBasicPolicy-31996070-99685018 2025-01-04 21:31:53,621 - DEBUG - VM ctest-TestBasicPolicy-31996070-99685018 ID is 9f4c0d0c-ad9f-48af-8600-5f51e42cedef 2025-01-04 21:31:53,643 - DEBUG - VM ctest-TestBasicPolicy-31996070-99685018 launched on Node cn-jenkins-deploy-platform-ansible-os-2531-1 2025-01-04 21:31:53,750 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/9f4c0d0c-ad9f-48af-8600-5f51e42cedef 2025-01-04 21:31:53,762 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine-interface/9598a584-3fd5-43b2-a31a-ea4212c25c47 2025-01-04 21:31:57,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 1029ms') 2025-01-04 21:31:57,044 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31996070-99685018 failed! 2025-01-04 21:31:57,109 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31996070:ctest-vn-38741352 is 5.245.172.193 and allocation pool is NOT set 2025-01-04 21:31:59,177 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.436 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.436/3.927/7.419/3.491 ms') 2025-01-04 21:31:59,177 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31996070-99685018 passed 2025-01-04 21:31:59,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 21:31:59,333 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31996070-99685018, IP 5.245.172.195, Port 22 2025-01-04 21:31:59,492 - DEBUG - VM ctest-TestBasicPolicy-31996070-99685018 is ready for SSH connections 2025-01-04 21:31:59,492 - INFO - Waiting for VM ctest-TestBasicPolicy-31996070-51734946 to be up.. 2025-01-04 21:31:59,583 - DEBUG - VM is in ACTIVE state now 2025-01-04 21:31:59,584 - INFO - VM name : ctest-TestBasicPolicy-31996070-51734946 2025-01-04 21:31:59,672 - DEBUG - VM ctest-TestBasicPolicy-31996070-51734946 ID is 6ce68e2a-0a50-47d7-b64f-88735344a689 2025-01-04 21:31:59,672 - DEBUG - VM ctest-TestBasicPolicy-31996070-51734946 launched on Node cn-jenkins-deploy-platform-ansible-os-2531-1 2025-01-04 21:31:59,760 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/6ce68e2a-0a50-47d7-b64f-88735344a689 2025-01-04 21:31:59,771 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine-interface/92714111-1eea-4edd-be43-06b211f7b548 2025-01-04 21:32:01,023 - 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=10.4 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.965 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.965/5.658/10.352/4.693 ms') 2025-01-04 21:32:01,023 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-31996070-51734946 passed 2025-01-04 21:32:01,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 21:32:01,177 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31996070-51734946, IP 175.247.110.131, Port 22 2025-01-04 21:32:01,340 - DEBUG - VM ctest-TestBasicPolicy-31996070-51734946 is ready for SSH connections 2025-01-04 21:32:01,340 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 21:32:01,340 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.247.110.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.54, gateway password: c0ntrail123 2025-01-04 21:32:01,341 - DEBUG - ping -s 56 -c 3 -W 1 175.247.110.131 2025-01-04 21:32:05,111 - DEBUG - PING 175.247.110.131 (175.247.110.131): 56 data bytes 64 bytes from 175.247.110.131: seq=0 ttl=63 time=4.975 ms 64 bytes from 175.247.110.131: seq=1 ttl=63 time=0.972 ms 64 bytes from 175.247.110.131: seq=2 ttl=63 time=0.920 ms --- 175.247.110.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.920/2.289/4.975 ms 2025-01-04 21:32:05,111 - INFO - Ping to IP 175.247.110.131 from VM ctest-TestBasicPolicy-31996070-99685018 passed 2025-01-04 21:32:05,301 - DEBUG - Policy Update Response {"network-policy": {"uuid": "03658c27-830e-4e52-b110-748bb9fb741b", "href": "http://10.0.0.54:8082/network-policy/03658c27-830e-4e52-b110-748bb9fb741b"}} 2025-01-04 21:32:05,301 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 21:32:05,301 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.247.110.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.54, gateway password: c0ntrail123 2025-01-04 21:32:05,301 - DEBUG - ping -s 56 -c 3 -W 1 175.247.110.131 2025-01-04 21:32:08,593 - DEBUG - PING 175.247.110.131 (175.247.110.131): 56 data bytes 64 bytes from 175.247.110.131: seq=0 ttl=63 time=1.952 ms --- 175.247.110.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.952/1.952/1.952 ms 2025-01-04 21:32:08,593 - WARNING - Ping to IP 175.247.110.131 from VM ctest-TestBasicPolicy-31996070-99685018 failed 2025-01-04 21:32:08,593 - INFO - Deleting VM ctest-TestBasicPolicy-31996070-51734946 2025-01-04 21:32:08,686 - INFO - Deleting VM ctest-TestBasicPolicy-31996070-99685018 2025-01-04 21:32:09,187 - INFO - Deleted policy ctest-policy-allow-all-13149519 2025-01-04 21:32:09,187 - INFO - Deleting VN ctest-vn-40148069 2025-01-04 21:32:09,236 - DEBUG - VN 4c181bd8-3d29-459c-9680-fb29c5b4e02b still in use: Unable to complete operation on network 4c181bd8-3d29-459c-9680-fb29c5b4e02b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b64a7fd7-d94e-4ee2-a607-972d8d8b92d2'] 2025-01-04 21:32:09,236 - WARNING - Deleting VN ctest-vn-40148069 failed..Will retry 2025-01-04 21:32:11,381 - DEBUG - Response for deleting network () 2025-01-04 21:32:11,382 - DEBUG - Requesting: http://10.0.0.54:8082/routing-instance/457a9c64-8203-4821-93ae-3fbfb886b19b 2025-01-04 21:32:11,394 - DEBUG - Response Code: 404 2025-01-04 21:32:11,394 - DEBUG - Requesting: http://10.0.0.54:8082/domains 2025-01-04 21:32:11,403 - DEBUG - Requesting: http://10.0.0.54:8082/domain/734335af-f8cb-4cf6-91cc-546b65e52802 2025-01-04 21:32:11,461 - DEBUG - Requesting: http://10.0.0.54:8082/project/c3cff154-8f6e-4eeb-8f01-b4cf28382d5d 2025-01-04 21:32:11,543 - INFO - Validated that VN ctest-vn-40148069 is not found in API Server 2025-01-04 21:32:11,557 - DEBUG - VN ctest-vn-40148069 is not present in Agent 10.0.0.54 2025-01-04 21:32:11,557 - INFO - Validated that VN ctest-vn-40148069 is not in any agent 2025-01-04 21:32:11,578 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40148069 info 2025-01-04 21:32:11,578 - INFO - Deleting VN ctest-vn-38741352 2025-01-04 21:32:11,707 - DEBUG - Response for deleting network () 2025-01-04 21:32:11,707 - DEBUG - Requesting: http://10.0.0.54:8082/routing-instance/72938b01-fa29-4d7d-885e-f3c54b8c8da2 2025-01-04 21:32:11,716 - DEBUG - Response Code: 404 2025-01-04 21:32:11,716 - DEBUG - Requesting: http://10.0.0.54:8082/domains 2025-01-04 21:32:11,723 - DEBUG - Requesting: http://10.0.0.54:8082/domain/734335af-f8cb-4cf6-91cc-546b65e52802 2025-01-04 21:32:11,783 - DEBUG - Requesting: http://10.0.0.54:8082/project/c3cff154-8f6e-4eeb-8f01-b4cf28382d5d 2025-01-04 21:32:11,856 - INFO - Validated that VN ctest-vn-38741352 is not found in API Server 2025-01-04 21:32:11,869 - DEBUG - VN ctest-vn-38741352 is not present in Agent 10.0.0.54 2025-01-04 21:32:11,869 - INFO - Validated that VN ctest-vn-38741352 is not in any agent 2025-01-04 21:32:11,890 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38741352 info 2025-01-04 21:32:12,155 - DEBUG - No XMPP flaps were noticed during the test 2025-01-04 21:32:12,155 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-01-04 21:32:12,155 - INFO - -------------------------------------------------------------------------------- 2025-01-04 21:32:12,860 - INFO - Deleted project: ctest-TestBasicPolicy-31996070, ID : c3cff154-8f6e-4eeb-8f01-b4cf28382d5d