2025-01-14 08:34:17,300 - INFO - Domain Default found not creating 2025-01-14 08:34:17,475 - INFO - Project ctest-TestRoutersBasic-12922600 not found, creating it 2025-01-14 08:34:18,007 - INFO - Created Project:ctest-TestRoutersBasic-12922600, ID : 44570002-fced-49c5-bd34-adea88cbf3f0 2025-01-14 08:34:19,510 - INFO - ================================================================================ 2025-01-14 08:34:19,510 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-14 08:34:19,510 - INFO - TEST DESCRIPTION : Create an external network, a router set router-gateway to external network launch a private network and attach it to router validate left vm pinging right vm through Snat 2025-01-14 08:34:19,771 - DEBUG - Nothing to compare xmpp stats {'10.0.0.55': {'10.20.0.23': '0'}} with 2025-01-14 08:34:19,771 - INFO - Initial checks done. Running the testcase now 2025-01-14 08:34:19,771 - INFO - 2025-01-14 08:34:20,538 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-12922600 2025-01-14 08:34:20,639 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-12922600 2025-01-14 08:34:20,983 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12922600', 'default']} 2025-01-14 08:34:21,305 - DEBUG - Response for create_network : {'network': {'id': '9af0e62b-71f5-4c2f-8d78-f1fbb2a2f629', 'name': 'ctest-vn-54586755', 'tenant_id': '44570002fced49c5bd34adea88cbf3f0', 'project_id': '44570002fced49c5bd34adea88cbf3f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12922600', 'ctest-vn-54586755'], 'port_security_enabled': True, 'description': ''}} 2025-01-14 08:34:21,489 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca99f05d-a160-46e7-ac74-fe82962eba47', 'name': '', 'tenant_id': '44570002fced49c5bd34adea88cbf3f0', 'network_id': '9af0e62b-71f5-4c2f-8d78-f1fbb2a2f629', 'ip_version': 4, 'cidr': '27.224.161.128/26', 'allocation_pools': [{'start': '27.224.161.130', 'end': '27.224.161.190'}], 'gateway_ip': '27.224.161.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.224.161.130', 'tags': [], 'project_id': '44570002fced49c5bd34adea88cbf3f0'}} 2025-01-14 08:34:21,509 - INFO - Created VN ctest-vn-54586755 2025-01-14 08:34:21,563 - DEBUG - VN ctest-vn-54586755 UUID is 9af0e62b-71f5-4c2f-8d78-f1fbb2a2f629 2025-01-14 08:34:21,932 - DEBUG - Response for create_network : {'network': {'id': 'fa76cb35-d5ce-4b40-9f70-b0ab002ae9eb', 'name': 'ctest-ext_vn-38847605', 'tenant_id': '44570002fced49c5bd34adea88cbf3f0', 'project_id': '44570002fced49c5bd34adea88cbf3f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12922600', 'ctest-ext_vn-38847605'], 'port_security_enabled': True, 'description': ''}} 2025-01-14 08:34:22,172 - DEBUG - Response for create_subnet : {'subnet': {'id': '4f1a6b9d-0a5f-4223-944c-1c87681651e9', 'name': '', 'tenant_id': '44570002fced49c5bd34adea88cbf3f0', 'network_id': 'fa76cb35-d5ce-4b40-9f70-b0ab002ae9eb', 'ip_version': 4, 'cidr': '11.158.140.0/26', 'allocation_pools': [{'start': '11.158.140.2', 'end': '11.158.140.62'}], 'gateway_ip': '11.158.140.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.158.140.2', 'tags': [], 'project_id': '44570002fced49c5bd34adea88cbf3f0'}} 2025-01-14 08:34:22,194 - INFO - Created VN ctest-ext_vn-38847605 2025-01-14 08:34:22,251 - DEBUG - VN ctest-ext_vn-38847605 UUID is fa76cb35-d5ce-4b40-9f70-b0ab002ae9eb 2025-01-14 08:34:22,444 - DEBUG - Services list from nova: [, , ] 2025-01-14 08:34:23,502 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2620-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2620-1) 2025-01-14 08:34:24,812 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2620-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2620-1) 2025-01-14 08:34:24,908 - INFO - Setting gateway for router 6b5c8c69-e685-4bc8-9018-b6733778e2d2 to network fa76cb35-d5ce-4b40-9f70-b0ab002ae9eb 2025-01-14 08:34:25,002 - INFO - Adding interface with subnet_id ca99f05d-a160-46e7-ac74-fe82962eba47, port_id None to router 6b5c8c69-e685-4bc8-9018-b6733778e2d2 2025-01-14 08:34:25,486 - INFO - Waiting for VM ctest-TestRoutersBasic-12922600-67092858 to be up.. 2025-01-14 08:34:25,675 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-14 08:34:30,767 - DEBUG - VM is in ACTIVE state now 2025-01-14 08:34:30,767 - INFO - VM name : ctest-TestRoutersBasic-12922600-67092858 2025-01-14 08:34:30,873 - DEBUG - VM ctest-TestRoutersBasic-12922600-67092858 ID is 664396b4-e20b-40cb-b3b9-ea3cbb11aa4e 2025-01-14 08:34:30,899 - DEBUG - VM ctest-TestRoutersBasic-12922600-67092858 launched on Node cn-jenkins-deploy-platform-ansible-os-2620-1 2025-01-14 08:34:30,996 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine/664396b4-e20b-40cb-b3b9-ea3cbb11aa4e 2025-01-14 08:34:31,308 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine/664396b4-e20b-40cb-b3b9-ea3cbb11aa4e 2025-01-14 08:34:31,348 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine-interface/b76cfda6-6dcd-4f3f-ad04-b7a6f7ab7f26 2025-01-14 08:34:34,633 - 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-14 08:34:34,634 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12922600-67092858 failed! 2025-01-14 08:34:34,691 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-12922600:ctest-vn-54586755 is 27.224.161.129 and allocation pool is NOT set 2025-01-14 08:34:36,764 - 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.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.619 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.619/2.042/3.466/1.423 ms') 2025-01-14 08:34:36,764 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12922600-67092858 passed 2025-01-14 08:34:36,919 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 08:34:36,919 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12922600-67092858, IP 27.224.161.131, Port 22 2025-01-14 08:34:37,085 - DEBUG - VM ctest-TestRoutersBasic-12922600-67092858 is ready for SSH connections 2025-01-14 08:34:37,085 - INFO - Waiting for VM ctest-TestRoutersBasic-12922600-04037014 to be up.. 2025-01-14 08:34:37,174 - DEBUG - VM is in ACTIVE state now 2025-01-14 08:34:37,174 - INFO - VM name : ctest-TestRoutersBasic-12922600-04037014 2025-01-14 08:34:37,272 - DEBUG - VM ctest-TestRoutersBasic-12922600-04037014 ID is ec29af9b-b3ec-49c4-bcad-8d6c062c598b 2025-01-14 08:34:37,272 - DEBUG - VM ctest-TestRoutersBasic-12922600-04037014 launched on Node cn-jenkins-deploy-platform-ansible-os-2620-1 2025-01-14 08:34:37,359 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine/ec29af9b-b3ec-49c4-bcad-8d6c062c598b 2025-01-14 08:34:37,369 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine-interface/b5fd8f4d-3bb3-4ee1-aaaf-bb1f6e4242a5 2025-01-14 08:34:38,638 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.03 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 = 1.034/2.253/3.472/1.219 ms') 2025-01-14 08:34:38,638 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-12922600-04037014 passed 2025-01-14 08:34:38,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 08:34:38,795 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12922600-04037014, IP 11.158.140.3, Port 22 2025-01-14 08:34:38,973 - DEBUG - VM ctest-TestRoutersBasic-12922600-04037014 is ready for SSH connections 2025-01-14 08:34:38,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 08:34:38,973 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.158.140.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.55, gateway password: c0ntrail123 2025-01-14 08:34:38,974 - DEBUG - ping -s 56 -c 3 -W 1 11.158.140.3 2025-01-14 08:34:42,678 - DEBUG - PING 11.158.140.3 (11.158.140.3): 56 data bytes 64 bytes from 11.158.140.3: seq=0 ttl=62 time=5.350 ms 64 bytes from 11.158.140.3: seq=1 ttl=62 time=0.884 ms 64 bytes from 11.158.140.3: seq=2 ttl=62 time=1.037 ms --- 11.158.140.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.884/2.423/5.350 ms 2025-01-14 08:34:42,679 - INFO - Ping to IP 11.158.140.3 from VM ctest-TestRoutersBasic-12922600-67092858 passed 2025-01-14 08:34:42,679 - INFO - Deleting interface with subnet_id ca99f05d-a160-46e7-ac74-fe82962eba47, port_id None from router 6b5c8c69-e685-4bc8-9018-b6733778e2d2 2025-01-14 08:34:42,925 - INFO - Deleting VM ctest-TestRoutersBasic-12922600-04037014 2025-01-14 08:34:43,011 - INFO - Deleting VM ctest-TestRoutersBasic-12922600-67092858 2025-01-14 08:34:43,106 - INFO - Deleting VN ctest-ext_vn-38847605 2025-01-14 08:34:43,189 - DEBUG - VN fa76cb35-d5ce-4b40-9f70-b0ab002ae9eb still in use: Unable to complete operation on network fa76cb35-d5ce-4b40-9f70-b0ab002ae9eb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3256ac50-d69b-47b2-a893-07fc9db9dbf7'] 2025-01-14 08:34:43,189 - WARNING - Deleting VN ctest-ext_vn-38847605 failed..Will retry 2025-01-14 08:34:45,321 - DEBUG - Response for deleting network () 2025-01-14 08:34:45,321 - INFO - Deleting VN ctest-vn-54586755 2025-01-14 08:34:45,486 - DEBUG - Response for deleting network () 2025-01-14 08:34:45,753 - DEBUG - No XMPP flaps were noticed during the test 2025-01-14 08:34:45,753 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-01-14 08:34:45,753 - INFO - -------------------------------------------------------------------------------- 2025-01-14 08:34:46,495 - INFO - Deleted project: ctest-TestRoutersBasic-12922600, ID : 44570002-fced-49c5-bd34-adea88cbf3f0