2024-12-30 20:32:45,116 - INFO - Domain Default found not creating 2024-12-30 20:32:45,253 - INFO - Project ctest-TestRoutersBasic-96199957 not found, creating it 2024-12-30 20:32:45,716 - INFO - Created Project:ctest-TestRoutersBasic-96199957, ID : 96b9feda-1654-4d7e-8f72-4f5e1cab15b3 2024-12-30 20:32:47,229 - INFO - ================================================================================ 2024-12-30 20:32:47,229 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-12-30 20:32:47,230 - 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 2024-12-30 20:32:47,485 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.5': '0'}} with 2024-12-30 20:32:47,485 - INFO - Initial checks done. Running the testcase now 2024-12-30 20:32:47,485 - INFO - 2024-12-30 20:32:48,180 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-96199957 2024-12-30 20:32:48,280 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-96199957 2024-12-30 20:32:48,603 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96199957', 'default']} 2024-12-30 20:32:48,891 - DEBUG - Response for create_network : {'network': {'id': 'adf32d59-dbad-4e0d-ad15-5e4a9855735b', 'name': 'ctest-vn-77816433', 'tenant_id': '96b9feda16544d7e8f724f5e1cab15b3', 'project_id': '96b9feda16544d7e8f724f5e1cab15b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96199957', 'ctest-vn-77816433'], 'port_security_enabled': True, 'description': ''}} 2024-12-30 20:32:49,067 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b8b65690-f2df-44f7-8c32-93e85639afd5', 'name': '', 'tenant_id': '96b9feda16544d7e8f724f5e1cab15b3', 'network_id': 'adf32d59-dbad-4e0d-ad15-5e4a9855735b', 'ip_version': 4, 'cidr': '193.6.183.192/26', 'allocation_pools': [{'start': '193.6.183.194', 'end': '193.6.183.254'}], 'gateway_ip': '193.6.183.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.6.183.194', 'tags': [], 'project_id': '96b9feda16544d7e8f724f5e1cab15b3'}} 2024-12-30 20:32:49,085 - INFO - Created VN ctest-vn-77816433 2024-12-30 20:32:49,139 - DEBUG - VN ctest-vn-77816433 UUID is adf32d59-dbad-4e0d-ad15-5e4a9855735b 2024-12-30 20:32:49,443 - DEBUG - Response for create_network : {'network': {'id': '4ab759a6-3a2f-42cd-bbee-2f957dc4ff35', 'name': 'ctest-ext_vn-62929781', 'tenant_id': '96b9feda16544d7e8f724f5e1cab15b3', 'project_id': '96b9feda16544d7e8f724f5e1cab15b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96199957', 'ctest-ext_vn-62929781'], 'port_security_enabled': True, 'description': ''}} 2024-12-30 20:32:49,594 - DEBUG - Response for create_subnet : {'subnet': {'id': '600b4875-1e4c-41bb-87a8-b1d58e2756bb', 'name': '', 'tenant_id': '96b9feda16544d7e8f724f5e1cab15b3', 'network_id': '4ab759a6-3a2f-42cd-bbee-2f957dc4ff35', 'ip_version': 4, 'cidr': '54.247.183.128/26', 'allocation_pools': [{'start': '54.247.183.130', 'end': '54.247.183.190'}], 'gateway_ip': '54.247.183.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.247.183.130', 'tags': [], 'project_id': '96b9feda16544d7e8f724f5e1cab15b3'}} 2024-12-30 20:32:49,612 - INFO - Created VN ctest-ext_vn-62929781 2024-12-30 20:32:49,663 - DEBUG - VN ctest-ext_vn-62929781 UUID is 4ab759a6-3a2f-42cd-bbee-2f957dc4ff35 2024-12-30 20:32:49,824 - DEBUG - Services list from nova: [, , ] 2024-12-30 20:32:50,815 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2503-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2503-1) 2024-12-30 20:32:51,937 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2503-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2503-1) 2024-12-30 20:32:52,007 - INFO - Setting gateway for router 6d05d2d0-63a9-4c9e-9b30-3af67bdcf9a6 to network 4ab759a6-3a2f-42cd-bbee-2f957dc4ff35 2024-12-30 20:32:52,076 - INFO - Adding interface with subnet_id b8b65690-f2df-44f7-8c32-93e85639afd5, port_id None to router 6d05d2d0-63a9-4c9e-9b30-3af67bdcf9a6 2024-12-30 20:32:52,406 - INFO - Waiting for VM ctest-TestRoutersBasic-96199957-91677205 to be up.. 2024-12-30 20:32:52,634 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-12-30 20:32:57,714 - DEBUG - VM is in ACTIVE state now 2024-12-30 20:32:57,714 - INFO - VM name : ctest-TestRoutersBasic-96199957-91677205 2024-12-30 20:32:57,792 - DEBUG - VM ctest-TestRoutersBasic-96199957-91677205 ID is 5e3c12d1-1f1d-479f-9429-3479d10ea2ca 2024-12-30 20:32:57,811 - DEBUG - VM ctest-TestRoutersBasic-96199957-91677205 launched on Node cn-jenkins-deploy-platform-ansible-os-2503-1 2024-12-30 20:32:57,891 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/5e3c12d1-1f1d-479f-9429-3479d10ea2ca 2024-12-30 20:32:58,185 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/5e3c12d1-1f1d-479f-9429-3479d10ea2ca 2024-12-30 20:32:58,216 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/cc10f837-f6e6-40ac-903c-2a6cb3278342 2024-12-30 20:33:01,477 - 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 1015ms') 2024-12-30 20:33:01,477 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96199957-91677205 failed! 2024-12-30 20:33:01,531 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-96199957:ctest-vn-77816433 is 193.6.183.193 and allocation pool is NOT set 2024-12-30 20:33:03,589 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.505 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.505/2.219/3.933/1.714 ms') 2024-12-30 20:33:03,589 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96199957-91677205 passed 2024-12-30 20:33:03,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 20:33:03,748 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96199957-91677205, IP 193.6.183.195, Port 22 2024-12-30 20:33:03,903 - DEBUG - VM ctest-TestRoutersBasic-96199957-91677205 is ready for SSH connections 2024-12-30 20:33:03,904 - INFO - Waiting for VM ctest-TestRoutersBasic-96199957-69837773 to be up.. 2024-12-30 20:33:03,983 - DEBUG - VM is in ACTIVE state now 2024-12-30 20:33:03,983 - INFO - VM name : ctest-TestRoutersBasic-96199957-69837773 2024-12-30 20:33:04,056 - DEBUG - VM ctest-TestRoutersBasic-96199957-69837773 ID is 09e1e1eb-5f17-4e54-a140-210a764ad094 2024-12-30 20:33:04,056 - DEBUG - VM ctest-TestRoutersBasic-96199957-69837773 launched on Node cn-jenkins-deploy-platform-ansible-os-2503-1 2024-12-30 20:33:04,128 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/09e1e1eb-5f17-4e54-a140-210a764ad094 2024-12-30 20:33:04,136 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/4a4f9a31-d32e-47c2-828e-478df07c71bf 2024-12-30 20:33:05,375 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.277 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.277/1.540/2.804/1.263 ms') 2024-12-30 20:33:05,376 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-96199957-69837773 passed 2024-12-30 20:33:05,524 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 20:33:05,524 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96199957-69837773, IP 54.247.183.131, Port 22 2024-12-30 20:33:05,675 - DEBUG - VM ctest-TestRoutersBasic-96199957-69837773 is ready for SSH connections 2024-12-30 20:33:05,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 20:33:05,675 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.247.183.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2024-12-30 20:33:05,675 - DEBUG - ping -s 56 -c 3 -W 1 54.247.183.131 2024-12-30 20:33:09,358 - DEBUG - PING 54.247.183.131 (54.247.183.131): 56 data bytes 64 bytes from 54.247.183.131: seq=0 ttl=62 time=5.510 ms 64 bytes from 54.247.183.131: seq=1 ttl=62 time=1.030 ms 64 bytes from 54.247.183.131: seq=2 ttl=62 time=0.935 ms --- 54.247.183.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.935/2.491/5.510 ms 2024-12-30 20:33:09,358 - INFO - Ping to IP 54.247.183.131 from VM ctest-TestRoutersBasic-96199957-91677205 passed 2024-12-30 20:33:09,358 - INFO - Deleting interface with subnet_id b8b65690-f2df-44f7-8c32-93e85639afd5, port_id None from router 6d05d2d0-63a9-4c9e-9b30-3af67bdcf9a6 2024-12-30 20:33:09,560 - INFO - Deleting VM ctest-TestRoutersBasic-96199957-69837773 2024-12-30 20:33:09,642 - INFO - Deleting VM ctest-TestRoutersBasic-96199957-91677205 2024-12-30 20:33:09,728 - INFO - Deleting VN ctest-ext_vn-62929781 2024-12-30 20:33:09,811 - DEBUG - VN 4ab759a6-3a2f-42cd-bbee-2f957dc4ff35 still in use: Unable to complete operation on network 4ab759a6-3a2f-42cd-bbee-2f957dc4ff35. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9143aa2a-744d-4dcd-955c-d8e77cd8a3a9'] 2024-12-30 20:33:09,811 - WARNING - Deleting VN ctest-ext_vn-62929781 failed..Will retry 2024-12-30 20:33:11,921 - DEBUG - Response for deleting network () 2024-12-30 20:33:11,921 - INFO - Deleting VN ctest-vn-77816433 2024-12-30 20:33:12,034 - DEBUG - Response for deleting network () 2024-12-30 20:33:12,295 - DEBUG - No XMPP flaps were noticed during the test 2024-12-30 20:33:12,296 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2024-12-30 20:33:12,296 - INFO - -------------------------------------------------------------------------------- 2024-12-30 20:33:12,976 - INFO - Deleted project: ctest-TestRoutersBasic-96199957, ID : 96b9feda-1654-4d7e-8f72-4f5e1cab15b3