2025-01-08 19:55:25,946 - INFO - Domain Default found not creating 2025-01-08 19:55:26,111 - INFO - Project ctest-TestBasicPolicy-27331205 not found, creating it 2025-01-08 19:55:26,598 - INFO - Created Project:ctest-TestBasicPolicy-27331205, ID : 298e0001-7323-45ed-ad6b-a5511dce80f5 2025-01-08 19:55:28,089 - INFO - ================================================================================ 2025-01-08 19:55:28,089 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-08 19:55:28,089 - 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-08 19:55:28,354 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.17': '0'}} with 2025-01-08 19:55:28,354 - INFO - Initial checks done. Running the testcase now 2025-01-08 19:55:28,354 - INFO - 2025-01-08 19:55:28,930 - DEBUG - Response for create_network : {'network': {'id': '483887d6-d807-43d4-8425-29a00996c44f', 'name': 'ctest-vn-00838928', 'tenant_id': '298e0001732345edad6ba5511dce80f5', 'project_id': '298e0001732345edad6ba5511dce80f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27331205', 'ctest-vn-00838928'], 'port_security_enabled': True, 'description': ''}} 2025-01-08 19:55:29,084 - DEBUG - Response for create_subnet : {'subnet': {'id': '953ad883-7e4d-4463-af4c-59ccc02c2314', 'name': '', 'tenant_id': '298e0001732345edad6ba5511dce80f5', 'network_id': '483887d6-d807-43d4-8425-29a00996c44f', 'ip_version': 4, 'cidr': '22.5.250.192/26', 'allocation_pools': [{'start': '22.5.250.194', 'end': '22.5.250.254'}], 'gateway_ip': '22.5.250.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.5.250.194', 'tags': [], 'project_id': '298e0001732345edad6ba5511dce80f5'}} 2025-01-08 19:55:29,106 - INFO - Created VN ctest-vn-00838928 2025-01-08 19:55:29,161 - DEBUG - VN ctest-vn-00838928 UUID is 483887d6-d807-43d4-8425-29a00996c44f 2025-01-08 19:55:29,496 - DEBUG - Response for create_network : {'network': {'id': 'cf029399-1ff8-47e4-a488-e7d24555fd87', 'name': 'ctest-vn-79268021', 'tenant_id': '298e0001732345edad6ba5511dce80f5', 'project_id': '298e0001732345edad6ba5511dce80f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27331205', 'ctest-vn-79268021'], 'port_security_enabled': True, 'description': ''}} 2025-01-08 19:55:29,691 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e170643-1211-41ae-bbc3-527d445ea8bd', 'name': '', 'tenant_id': '298e0001732345edad6ba5511dce80f5', 'network_id': 'cf029399-1ff8-47e4-a488-e7d24555fd87', 'ip_version': 4, 'cidr': '2.100.31.64/26', 'allocation_pools': [{'start': '2.100.31.66', 'end': '2.100.31.126'}], 'gateway_ip': '2.100.31.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.100.31.66', 'tags': [], 'project_id': '298e0001732345edad6ba5511dce80f5'}} 2025-01-08 19:55:29,710 - INFO - Created VN ctest-vn-79268021 2025-01-08 19:55:29,769 - DEBUG - VN ctest-vn-79268021 UUID is cf029399-1ff8-47e4-a488-e7d24555fd87 2025-01-08 19:55:29,890 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-27331205:ctest-vn-00838928, 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-27331205:ctest-vn-79268021, 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-08 19:55:30,224 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '483887d6-d807-43d4-8425-29a00996c44f', 'name': 'ctest-vn-00838928', 'tenant_id': '298e0001732345edad6ba5511dce80f5', 'project_id': '298e0001732345edad6ba5511dce80f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['953ad883-7e4d-4463-af4c-59ccc02c2314'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27331205', 'ctest-vn-00838928'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27331205', 'ctest-policy-allow-all-44853845']], 'subnet_ipam': [{'subnet_cidr': '22.5.250.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-08 19:55:30,490 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf029399-1ff8-47e4-a488-e7d24555fd87', 'name': 'ctest-vn-79268021', 'tenant_id': '298e0001732345edad6ba5511dce80f5', 'project_id': '298e0001732345edad6ba5511dce80f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6e170643-1211-41ae-bbc3-527d445ea8bd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27331205', 'ctest-vn-79268021'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27331205', 'ctest-policy-allow-all-44853845']], 'subnet_ipam': [{'subnet_cidr': '2.100.31.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-08 19:55:30,657 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-01-08 19:55:30,958 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-01-08 19:55:30,988 - DEBUG - Requesting: http://10.0.0.28:8082/domain/d1a06cc7-a618-4d5f-8819-9626b2748811 2025-01-08 19:55:31,003 - DEBUG - Requesting: http://10.0.0.28:8082/project/298e0001-7323-45ed-ad6b-a5511dce80f5 2025-01-08 19:55:31,087 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/483887d6-d807-43d4-8425-29a00996c44f 2025-01-08 19:55:31,101 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/483887d6-d807-43d4-8425-29a00996c44f 2025-01-08 19:55:31,113 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/c7c335d8-83e0-4cfb-b2a8-03fa06682ada 2025-01-08 19:55:31,121 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/c7c335d8-83e0-4cfb-b2a8-03fa06682ada 2025-01-08 19:55:31,129 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/050e66f6-378d-4b7e-99b0-16ae33d91760 2025-01-08 19:55:31,136 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-08 19:55:31,136 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/483887d6-d807-43d4-8425-29a00996c44f 2025-01-08 19:55:31,146 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/c7c335d8-83e0-4cfb-b2a8-03fa06682ada 2025-01-08 19:55:31,160 - INFO - Verified VN network id 9 for VN 483887d6-d807-43d4-8425-29a00996c44f 2025-01-08 19:55:31,161 - INFO - Verifications in API Server for VN ctest-vn-00838928 passed 2025-01-08 19:55:31,161 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/483887d6-d807-43d4-8425-29a00996c44f 2025-01-08 19:55:31,172 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/c7c335d8-83e0-4cfb-b2a8-03fa06682ada 2025-01-08 19:55:31,182 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/c7c335d8-83e0-4cfb-b2a8-03fa06682ada 2025-01-08 19:55:31,191 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/050e66f6-378d-4b7e-99b0-16ae33d91760 2025-01-08 19:55:31,204 - DEBUG - Control-node 10.0.0.28 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27331205:ctest-vn-00838928', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27331205', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5204058726243714004', 'uuid-lslong': '9522062754477163599'}, 'enable': 'true', 'created': '2025-01-08T19:55:28', 'last-modified': '2025-01-08T19:55:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.012429'} 2025-01-08 19:55:31,212 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-08 19:55:31,212 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00838928 passed 2025-01-08 19:55:31,212 - DEBUG - ====Verifying policy data for ctest-vn-00838928 in API_Server ====== 2025-01-08 19:55:31,212 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-01-08 19:55:31,219 - DEBUG - Requesting: http://10.0.0.28:8082/domain/d1a06cc7-a618-4d5f-8819-9626b2748811 2025-01-08 19:55:31,234 - DEBUG - Requesting: http://10.0.0.28:8082/project/298e0001-7323-45ed-ad6b-a5511dce80f5 2025-01-08 19:55:31,309 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/483887d6-d807-43d4-8425-29a00996c44f 2025-01-08 19:55:31,322 - DEBUG - ==>Verifying data for policy with id: c4d94665-dd33-4acc-949b-3db10dba8eb9, fqn: ['default-domain', 'ctest-TestBasicPolicy-27331205', 'ctest-policy-allow-all-44853845'] 2025-01-08 19:55:31,322 - INFO - VN ctest-vn-00838928 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-08 19:55:31,322 - DEBUG - Verifying the vn in opserver 2025-01-08 19:55:31,322 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27331205:ctest-vn-00838928 virtual network link through opserver 10.0.0.28 2025-01-08 19:55:31,322 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2025-01-08 19:55:31,617 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2025-01-08 19:55:31,681 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27331205:ctest-vn-00838928', 'href': 'http://10.0.0.28:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27331205:ctest-vn-00838928?flat'} 2025-01-08 19:55:31,681 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27331205:ctest-vn-00838928 is found in opserver 2025-01-08 19:55:31,696 - DEBUG - Do not have enough data to verify VN in agent 2025-01-08 19:55:31,703 - DEBUG - VRF ids for VN ctest-vn-00838928: {} 2025-01-08 19:55:31,703 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-01-08 19:55:31,710 - DEBUG - Requesting: http://10.0.0.28:8082/domain/d1a06cc7-a618-4d5f-8819-9626b2748811 2025-01-08 19:55:31,723 - DEBUG - Requesting: http://10.0.0.28:8082/project/298e0001-7323-45ed-ad6b-a5511dce80f5 2025-01-08 19:55:31,799 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/cf029399-1ff8-47e4-a488-e7d24555fd87 2025-01-08 19:55:31,814 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/cf029399-1ff8-47e4-a488-e7d24555fd87 2025-01-08 19:55:31,829 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/6a5e9aef-2256-4782-9e0f-d9cb1e56bf53 2025-01-08 19:55:31,840 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/6a5e9aef-2256-4782-9e0f-d9cb1e56bf53 2025-01-08 19:55:31,849 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/f4b931f9-17cb-4380-9b77-a1950644482b 2025-01-08 19:55:31,860 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-08 19:55:31,860 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/cf029399-1ff8-47e4-a488-e7d24555fd87 2025-01-08 19:55:31,874 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/6a5e9aef-2256-4782-9e0f-d9cb1e56bf53 2025-01-08 19:55:31,892 - INFO - Verified VN network id 10 for VN cf029399-1ff8-47e4-a488-e7d24555fd87 2025-01-08 19:55:31,892 - INFO - Verifications in API Server for VN ctest-vn-79268021 passed 2025-01-08 19:55:31,892 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/cf029399-1ff8-47e4-a488-e7d24555fd87 2025-01-08 19:55:31,903 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/6a5e9aef-2256-4782-9e0f-d9cb1e56bf53 2025-01-08 19:55:31,912 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/6a5e9aef-2256-4782-9e0f-d9cb1e56bf53 2025-01-08 19:55:31,923 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/f4b931f9-17cb-4380-9b77-a1950644482b 2025-01-08 19:55:31,940 - DEBUG - Control-node 10.0.0.28 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27331205:ctest-vn-79268021', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27331205', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14916647201680148452', 'uuid-lslong': '11855980909345242503'}, 'enable': 'true', 'created': '2025-01-08T19:55:29', 'last-modified': '2025-01-08T19:55:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.480899'} 2025-01-08 19:55:31,949 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-08 19:55:31,949 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79268021 passed 2025-01-08 19:55:31,949 - DEBUG - ====Verifying policy data for ctest-vn-79268021 in API_Server ====== 2025-01-08 19:55:31,949 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-01-08 19:55:31,956 - DEBUG - Requesting: http://10.0.0.28:8082/domain/d1a06cc7-a618-4d5f-8819-9626b2748811 2025-01-08 19:55:31,969 - DEBUG - Requesting: http://10.0.0.28:8082/project/298e0001-7323-45ed-ad6b-a5511dce80f5 2025-01-08 19:55:32,052 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/cf029399-1ff8-47e4-a488-e7d24555fd87 2025-01-08 19:55:32,065 - DEBUG - ==>Verifying data for policy with id: c4d94665-dd33-4acc-949b-3db10dba8eb9, fqn: ['default-domain', 'ctest-TestBasicPolicy-27331205', 'ctest-policy-allow-all-44853845'] 2025-01-08 19:55:32,065 - INFO - VN ctest-vn-79268021 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-08 19:55:32,065 - DEBUG - Verifying the vn in opserver 2025-01-08 19:55:32,065 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27331205:ctest-vn-79268021 virtual network link through opserver 10.0.0.28 2025-01-08 19:55:32,065 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2025-01-08 19:55:32,077 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27331205:ctest-vn-79268021', 'href': 'http://10.0.0.28:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27331205:ctest-vn-79268021?flat'} 2025-01-08 19:55:32,077 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27331205:ctest-vn-79268021 is found in opserver 2025-01-08 19:55:32,089 - DEBUG - Do not have enough data to verify VN in agent 2025-01-08 19:55:32,094 - DEBUG - VRF ids for VN ctest-vn-79268021: {} 2025-01-08 19:55:32,160 - DEBUG - Services list from nova: [, , ] 2025-01-08 19:55:33,219 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2567-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2567-1) 2025-01-08 19:55:34,511 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2567-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2567-1) 2025-01-08 19:55:34,513 - INFO - Waiting for VM ctest-TestBasicPolicy-27331205-89485842 to be up.. 2025-01-08 19:55:34,621 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-08 19:55:39,708 - DEBUG - VM is in ACTIVE state now 2025-01-08 19:55:39,708 - INFO - VM name : ctest-TestBasicPolicy-27331205-89485842 2025-01-08 19:55:39,811 - DEBUG - VM ctest-TestBasicPolicy-27331205-89485842 ID is 1a8d85be-7d5a-4d72-bda4-5879d4277cee 2025-01-08 19:55:39,834 - DEBUG - VM ctest-TestBasicPolicy-27331205-89485842 launched on Node cn-jenkins-deploy-platform-ansible-os-2567-1 2025-01-08 19:55:39,940 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/1a8d85be-7d5a-4d72-bda4-5879d4277cee 2025-01-08 19:55:39,955 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/d27659de-664d-403f-ab29-67b95906f1ce 2025-01-08 19:55:43,192 - 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 1009ms') 2025-01-08 19:55:43,192 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27331205-89485842 failed! 2025-01-08 19:55:43,265 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-27331205:ctest-vn-00838928 is 22.5.250.193 and allocation pool is NOT set 2025-01-08 19:55:45,337 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.91 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 = 3.909/6.125/8.342/2.216 ms') 2025-01-08 19:55:45,338 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27331205-89485842 passed 2025-01-08 19:55:45,493 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 19:55:45,493 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27331205-89485842, IP 22.5.250.195, Port 22 2025-01-08 19:55:45,559 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-01-08 19:55:45,655 - DEBUG - VM ctest-TestBasicPolicy-27331205-89485842 is NOT ready for SSH connections, VM status: ACTIVE 2025-01-08 19:55:50,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 19:55:50,656 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27331205-89485842, IP 22.5.250.195, Port 22 2025-01-08 19:55:50,816 - DEBUG - VM ctest-TestBasicPolicy-27331205-89485842 is ready for SSH connections 2025-01-08 19:55:50,817 - INFO - Waiting for VM ctest-TestBasicPolicy-27331205-56868404 to be up.. 2025-01-08 19:55:50,909 - DEBUG - VM is in ACTIVE state now 2025-01-08 19:55:50,909 - INFO - VM name : ctest-TestBasicPolicy-27331205-56868404 2025-01-08 19:55:50,995 - DEBUG - VM ctest-TestBasicPolicy-27331205-56868404 ID is dd116470-96d8-4853-ae55-fb069d0b6093 2025-01-08 19:55:50,995 - DEBUG - VM ctest-TestBasicPolicy-27331205-56868404 launched on Node cn-jenkins-deploy-platform-ansible-os-2567-1 2025-01-08 19:55:51,079 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/dd116470-96d8-4853-ae55-fb069d0b6093 2025-01-08 19:55:51,091 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/39aa0acc-8f04-4376-a9f7-744bca0be339 2025-01-08 19:55:52,349 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.485 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.485/1.652/2.820/1.167 ms') 2025-01-08 19:55:52,349 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-27331205-56868404 passed 2025-01-08 19:55:52,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 19:55:52,505 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27331205-56868404, IP 2.100.31.67, Port 22 2025-01-08 19:55:52,684 - DEBUG - VM ctest-TestBasicPolicy-27331205-56868404 is ready for SSH connections 2025-01-08 19:55:52,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 19:55:52,684 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.100.31.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2025-01-08 19:55:52,684 - DEBUG - ping -s 56 -c 3 -W 1 2.100.31.67 2025-01-08 19:55:56,727 - DEBUG - PING 2.100.31.67 (2.100.31.67): 56 data bytes 64 bytes from 2.100.31.67: seq=0 ttl=63 time=4.618 ms 64 bytes from 2.100.31.67: seq=1 ttl=63 time=0.923 ms 64 bytes from 2.100.31.67: seq=2 ttl=63 time=0.909 ms --- 2.100.31.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.909/2.150/4.618 ms 2025-01-08 19:55:56,727 - INFO - Ping to IP 2.100.31.67 from VM ctest-TestBasicPolicy-27331205-89485842 passed 2025-01-08 19:55:56,908 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c4d94665-dd33-4acc-949b-3db10dba8eb9", "href": "http://10.0.0.28:8082/network-policy/c4d94665-dd33-4acc-949b-3db10dba8eb9"}} 2025-01-08 19:55:56,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 19:55:56,909 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.100.31.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2025-01-08 19:55:56,909 - DEBUG - ping -s 56 -c 3 -W 1 2.100.31.67 2025-01-08 19:56:00,121 - DEBUG - PING 2.100.31.67 (2.100.31.67): 56 data bytes 64 bytes from 2.100.31.67: seq=0 ttl=63 time=1.403 ms --- 2.100.31.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.403/1.403/1.403 ms 2025-01-08 19:56:00,121 - WARNING - Ping to IP 2.100.31.67 from VM ctest-TestBasicPolicy-27331205-89485842 failed 2025-01-08 19:56:00,122 - INFO - Deleting VM ctest-TestBasicPolicy-27331205-56868404 2025-01-08 19:56:00,216 - INFO - Deleting VM ctest-TestBasicPolicy-27331205-89485842 2025-01-08 19:56:00,726 - INFO - Deleted policy ctest-policy-allow-all-44853845 2025-01-08 19:56:00,726 - INFO - Deleting VN ctest-vn-79268021 2025-01-08 19:56:00,784 - DEBUG - VN cf029399-1ff8-47e4-a488-e7d24555fd87 still in use: Unable to complete operation on network cf029399-1ff8-47e4-a488-e7d24555fd87. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-96731b46-ca55-4f26-b3ac-2a1f6b1832f8'] 2025-01-08 19:56:00,784 - WARNING - Deleting VN ctest-vn-79268021 failed..Will retry 2025-01-08 19:56:02,906 - DEBUG - Response for deleting network () 2025-01-08 19:56:02,906 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/6a5e9aef-2256-4782-9e0f-d9cb1e56bf53 2025-01-08 19:56:02,916 - DEBUG - Response Code: 404 2025-01-08 19:56:02,917 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-01-08 19:56:02,923 - DEBUG - Requesting: http://10.0.0.28:8082/domain/d1a06cc7-a618-4d5f-8819-9626b2748811 2025-01-08 19:56:02,982 - DEBUG - Requesting: http://10.0.0.28:8082/project/298e0001-7323-45ed-ad6b-a5511dce80f5 2025-01-08 19:56:03,076 - INFO - Validated that VN ctest-vn-79268021 is not found in API Server 2025-01-08 19:56:03,088 - DEBUG - VN ctest-vn-79268021 is not present in Agent 10.0.0.28 2025-01-08 19:56:03,088 - INFO - Validated that VN ctest-vn-79268021 is not in any agent 2025-01-08 19:56:03,105 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79268021 info 2025-01-08 19:56:03,105 - INFO - Deleting VN ctest-vn-00838928 2025-01-08 19:56:03,224 - DEBUG - Response for deleting network () 2025-01-08 19:56:03,224 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/c7c335d8-83e0-4cfb-b2a8-03fa06682ada 2025-01-08 19:56:03,233 - DEBUG - Response Code: 404 2025-01-08 19:56:03,233 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-01-08 19:56:03,245 - DEBUG - Requesting: http://10.0.0.28:8082/domain/d1a06cc7-a618-4d5f-8819-9626b2748811 2025-01-08 19:56:03,303 - DEBUG - Requesting: http://10.0.0.28:8082/project/298e0001-7323-45ed-ad6b-a5511dce80f5 2025-01-08 19:56:03,381 - INFO - Validated that VN ctest-vn-00838928 is not found in API Server 2025-01-08 19:56:03,393 - DEBUG - VN ctest-vn-00838928 is not present in Agent 10.0.0.28 2025-01-08 19:56:03,393 - INFO - Validated that VN ctest-vn-00838928 is not in any agent 2025-01-08 19:56:03,413 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00838928 info 2025-01-08 19:56:03,668 - DEBUG - No XMPP flaps were noticed during the test 2025-01-08 19:56:03,668 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-01-08 19:56:03,668 - INFO - -------------------------------------------------------------------------------- 2025-01-08 19:56:04,393 - INFO - Deleted project: ctest-TestBasicPolicy-27331205, ID : 298e0001-7323-45ed-ad6b-a5511dce80f5