2025-01-16 02:27:06,206 - INFO - Domain Default found not creating 2025-01-16 02:27:06,350 - INFO - Project ctest-TestRoutersBasic-05376920 not found, creating it 2025-01-16 02:27:06,797 - INFO - Created Project:ctest-TestRoutersBasic-05376920, ID : 91e53506-31af-4658-b67d-1f4392dd20a8 2025-01-16 02:27:08,264 - INFO - ================================================================================ 2025-01-16 02:27:08,264 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-16 02:27:08,264 - 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-16 02:27:08,523 - DEBUG - Nothing to compare xmpp stats {'10.0.0.44': {'10.20.0.19': '0'}} with 2025-01-16 02:27:08,523 - INFO - Initial checks done. Running the testcase now 2025-01-16 02:27:08,523 - INFO - 2025-01-16 02:27:09,228 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-05376920 2025-01-16 02:27:09,322 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-05376920 2025-01-16 02:27:09,646 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05376920', 'default']} 2025-01-16 02:27:09,920 - DEBUG - Response for create_network : {'network': {'id': '974f9ff6-de5d-44ec-b707-889395ccc464', 'name': 'ctest-vn-64235049', 'tenant_id': '91e5350631af4658b67d1f4392dd20a8', 'project_id': '91e5350631af4658b67d1f4392dd20a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05376920', 'ctest-vn-64235049'], 'port_security_enabled': True, 'description': ''}} 2025-01-16 02:27:10,077 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb3a6370-6524-499c-936b-5dcb86c11e85', 'name': '', 'tenant_id': '91e5350631af4658b67d1f4392dd20a8', 'network_id': '974f9ff6-de5d-44ec-b707-889395ccc464', 'ip_version': 4, 'cidr': '46.3.50.192/26', 'allocation_pools': [{'start': '46.3.50.194', 'end': '46.3.50.254'}], 'gateway_ip': '46.3.50.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.3.50.194', 'tags': [], 'project_id': '91e5350631af4658b67d1f4392dd20a8'}} 2025-01-16 02:27:10,096 - INFO - Created VN ctest-vn-64235049 2025-01-16 02:27:10,146 - DEBUG - VN ctest-vn-64235049 UUID is 974f9ff6-de5d-44ec-b707-889395ccc464 2025-01-16 02:27:10,434 - DEBUG - Response for create_network : {'network': {'id': '4f13eb7b-40ba-4e52-a907-907791f80925', 'name': 'ctest-ext_vn-38325291', 'tenant_id': '91e5350631af4658b67d1f4392dd20a8', 'project_id': '91e5350631af4658b67d1f4392dd20a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05376920', 'ctest-ext_vn-38325291'], 'port_security_enabled': True, 'description': ''}} 2025-01-16 02:27:10,607 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c6d429e4-355c-40ba-8a33-980bf51d1d7b', 'name': '', 'tenant_id': '91e5350631af4658b67d1f4392dd20a8', 'network_id': '4f13eb7b-40ba-4e52-a907-907791f80925', 'ip_version': 4, 'cidr': '3.20.127.192/26', 'allocation_pools': [{'start': '3.20.127.194', 'end': '3.20.127.254'}], 'gateway_ip': '3.20.127.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.20.127.194', 'tags': [], 'project_id': '91e5350631af4658b67d1f4392dd20a8'}} 2025-01-16 02:27:10,625 - INFO - Created VN ctest-ext_vn-38325291 2025-01-16 02:27:10,674 - DEBUG - VN ctest-ext_vn-38325291 UUID is 4f13eb7b-40ba-4e52-a907-907791f80925 2025-01-16 02:27:10,840 - DEBUG - Services list from nova: [, , ] 2025-01-16 02:27:11,830 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2647-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2647-1) 2025-01-16 02:27:12,905 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2647-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2647-1) 2025-01-16 02:27:12,980 - INFO - Setting gateway for router 81b95ca2-2082-4cf9-8a34-55d67aead3c3 to network 4f13eb7b-40ba-4e52-a907-907791f80925 2025-01-16 02:27:13,045 - INFO - Adding interface with subnet_id cb3a6370-6524-499c-936b-5dcb86c11e85, port_id None to router 81b95ca2-2082-4cf9-8a34-55d67aead3c3 2025-01-16 02:27:13,468 - INFO - Waiting for VM ctest-TestRoutersBasic-05376920-38834810 to be up.. 2025-01-16 02:27:13,643 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-16 02:27:18,719 - DEBUG - VM is in ACTIVE state now 2025-01-16 02:27:18,719 - INFO - VM name : ctest-TestRoutersBasic-05376920-38834810 2025-01-16 02:27:18,790 - DEBUG - VM ctest-TestRoutersBasic-05376920-38834810 ID is 1f80c8a6-f43b-4123-b527-7f85b528cfc9 2025-01-16 02:27:18,808 - DEBUG - VM ctest-TestRoutersBasic-05376920-38834810 launched on Node cn-jenkins-deploy-platform-ansible-os-2647-1 2025-01-16 02:27:18,879 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/1f80c8a6-f43b-4123-b527-7f85b528cfc9 2025-01-16 02:27:19,167 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/1f80c8a6-f43b-4123-b527-7f85b528cfc9 2025-01-16 02:27:19,198 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/bebc743a-13e2-4178-9764-f568b6e70d6f 2025-01-16 02:27:22,451 - 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 1010ms') 2025-01-16 02:27:22,451 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05376920-38834810 failed! 2025-01-16 02:27:22,510 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-05376920:ctest-vn-64235049 is 46.3.50.193 and allocation pool is NOT set 2025-01-16 02:27:24,573 - 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=2.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.411 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.411/1.615/2.819/1.204 ms') 2025-01-16 02:27:24,573 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05376920-38834810 passed 2025-01-16 02:27:24,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-16 02:27:24,722 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05376920-38834810, IP 46.3.50.195, Port 22 2025-01-16 02:27:24,873 - DEBUG - VM ctest-TestRoutersBasic-05376920-38834810 is ready for SSH connections 2025-01-16 02:27:24,874 - INFO - Waiting for VM ctest-TestRoutersBasic-05376920-80251304 to be up.. 2025-01-16 02:27:24,946 - DEBUG - VM is in ACTIVE state now 2025-01-16 02:27:24,946 - INFO - VM name : ctest-TestRoutersBasic-05376920-80251304 2025-01-16 02:27:25,020 - DEBUG - VM ctest-TestRoutersBasic-05376920-80251304 ID is 29f8771c-cbab-4769-b742-a53cd51ee902 2025-01-16 02:27:25,020 - DEBUG - VM ctest-TestRoutersBasic-05376920-80251304 launched on Node cn-jenkins-deploy-platform-ansible-os-2647-1 2025-01-16 02:27:25,088 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/29f8771c-cbab-4769-b742-a53cd51ee902 2025-01-16 02:27:25,095 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/0308cddb-a937-40fd-8438-fa924265c01b 2025-01-16 02:27:26,324 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.399 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.399/1.980/3.562/1.581 ms') 2025-01-16 02:27:26,324 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-05376920-80251304 passed 2025-01-16 02:27:26,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-16 02:27:26,470 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05376920-80251304, IP 3.20.127.195, Port 22 2025-01-16 02:27:26,626 - DEBUG - VM ctest-TestRoutersBasic-05376920-80251304 is ready for SSH connections 2025-01-16 02:27:26,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-16 02:27:26,626 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.20.127.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123 2025-01-16 02:27:26,626 - DEBUG - ping -s 56 -c 3 -W 1 3.20.127.195 2025-01-16 02:27:30,610 - DEBUG - PING 3.20.127.195 (3.20.127.195): 56 data bytes 64 bytes from 3.20.127.195: seq=0 ttl=62 time=6.205 ms 64 bytes from 3.20.127.195: seq=1 ttl=62 time=0.741 ms 64 bytes from 3.20.127.195: seq=2 ttl=62 time=0.994 ms --- 3.20.127.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.741/2.646/6.205 ms 2025-01-16 02:27:30,610 - INFO - Ping to IP 3.20.127.195 from VM ctest-TestRoutersBasic-05376920-38834810 passed 2025-01-16 02:27:30,610 - INFO - Deleting interface with subnet_id cb3a6370-6524-499c-936b-5dcb86c11e85, port_id None from router 81b95ca2-2082-4cf9-8a34-55d67aead3c3 2025-01-16 02:27:30,782 - INFO - Deleting VM ctest-TestRoutersBasic-05376920-80251304 2025-01-16 02:27:30,845 - INFO - Deleting VM ctest-TestRoutersBasic-05376920-38834810 2025-01-16 02:27:30,928 - INFO - Deleting VN ctest-ext_vn-38325291 2025-01-16 02:27:30,993 - DEBUG - VN 4f13eb7b-40ba-4e52-a907-907791f80925 still in use: Unable to complete operation on network 4f13eb7b-40ba-4e52-a907-907791f80925. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-88f16755-8133-4ed4-96af-f736389b5270'] 2025-01-16 02:27:30,993 - WARNING - Deleting VN ctest-ext_vn-38325291 failed..Will retry 2025-01-16 02:27:33,084 - DEBUG - Response for deleting network () 2025-01-16 02:27:33,085 - INFO - Deleting VN ctest-vn-64235049 2025-01-16 02:27:33,189 - DEBUG - Response for deleting network () 2025-01-16 02:27:33,444 - DEBUG - No XMPP flaps were noticed during the test
2025-01-16 02:27:33,444 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-01-16 02:27:33,444 - INFO - -------------------------------------------------------------------------------- 2025-01-16 02:27:34,078 - INFO - Deleted project: ctest-TestRoutersBasic-05376920, ID : 91e53506-31af-4658-b67d-1f4392dd20a8