2025-02-12 05:31:50,329 - INFO - Domain Default found not creating
2025-02-12 05:31:50,484 - INFO - Project ctest-TestRoutersBasic-68250943 not found, creating it
2025-02-12 05:31:50,995 - INFO - Created Project:ctest-TestRoutersBasic-68250943, ID : 5be0f990-8fe2-49fd-a3d5-bda772a6aa27
2025-02-12 05:31:52,563 - INFO - ================================================================================
2025-02-12 05:31:52,563 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-02-12 05:31:52,563 - 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-02-12 05:31:52,824 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.8': '0'}} with
2025-02-12 05:31:52,824 - INFO - Initial checks done. Running the testcase now
2025-02-12 05:31:52,824 - INFO -
2025-02-12 05:31:53,628 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-68250943
2025-02-12 05:31:53,734 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-68250943
2025-02-12 05:31:54,070 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68250943', 'default']}
2025-02-12 05:31:54,485 - DEBUG - Response for create_network : {'network': {'id': 'b3fbc480-1a66-455e-9627-eb1cf0c3a50a', 'name': 'ctest-vn-79070151', 'tenant_id': '5be0f9908fe249fda3d5bda772a6aa27', 'project_id': '5be0f9908fe249fda3d5bda772a6aa27', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68250943', 'ctest-vn-79070151'], 'port_security_enabled': True, 'description': ''}}
2025-02-12 05:31:54,671 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff6ab7d6-b7ed-48e3-8a87-4008530e1dae', 'name': '', 'tenant_id': '5be0f9908fe249fda3d5bda772a6aa27', 'network_id': 'b3fbc480-1a66-455e-9627-eb1cf0c3a50a', 'ip_version': 4, 'cidr': '13.180.130.192/26', 'allocation_pools': [{'start': '13.180.130.194', 'end': '13.180.130.254'}], 'gateway_ip': '13.180.130.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.180.130.194', 'tags': [], 'project_id': '5be0f9908fe249fda3d5bda772a6aa27'}}
2025-02-12 05:31:54,690 - INFO - Created VN ctest-vn-79070151
2025-02-12 05:31:54,742 - DEBUG - VN ctest-vn-79070151 UUID is b3fbc480-1a66-455e-9627-eb1cf0c3a50a
2025-02-12 05:31:55,075 - DEBUG - Response for create_network : {'network': {'id': '5d776e6e-c30f-47a2-a24e-a3a35f944d13', 'name': 'ctest-ext_vn-69083087', 'tenant_id': '5be0f9908fe249fda3d5bda772a6aa27', 'project_id': '5be0f9908fe249fda3d5bda772a6aa27', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68250943', 'ctest-ext_vn-69083087'], 'port_security_enabled': True, 'description': ''}}
2025-02-12 05:31:55,264 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e39265f3-1a4a-4a5a-adcb-9cc69e41b14c', 'name': '', 'tenant_id': '5be0f9908fe249fda3d5bda772a6aa27', 'network_id': '5d776e6e-c30f-47a2-a24e-a3a35f944d13', 'ip_version': 4, 'cidr': '51.222.20.192/26', 'allocation_pools': [{'start': '51.222.20.194', 'end': '51.222.20.254'}], 'gateway_ip': '51.222.20.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.222.20.194', 'tags': [], 'project_id': '5be0f9908fe249fda3d5bda772a6aa27'}}
2025-02-12 05:31:55,283 - INFO - Created VN ctest-ext_vn-69083087
2025-02-12 05:31:55,338 - DEBUG - VN ctest-ext_vn-69083087 UUID is 5d776e6e-c30f-47a2-a24e-a3a35f944d13
2025-02-12 05:31:55,516 - DEBUG - Services list from nova: [, , ]
2025-02-12 05:31:56,643 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2726-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2726-1)
2025-02-12 05:31:57,955 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2726-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2726-1)
2025-02-12 05:31:58,046 - INFO - Setting gateway for router 08d7e1af-2d14-4aed-a338-5834b33e0538 to network 5d776e6e-c30f-47a2-a24e-a3a35f944d13
2025-02-12 05:31:58,130 - INFO - Adding interface with subnet_id ff6ab7d6-b7ed-48e3-8a87-4008530e1dae, port_id None to router 08d7e1af-2d14-4aed-a338-5834b33e0538
2025-02-12 05:31:58,593 - INFO - Waiting for VM ctest-TestRoutersBasic-68250943-62483879 to be up..
2025-02-12 05:31:58,805 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-02-12 05:32:03,898 - DEBUG - VM is in ACTIVE state now
2025-02-12 05:32:03,898 - INFO - VM name : ctest-TestRoutersBasic-68250943-62483879
2025-02-12 05:32:03,977 - DEBUG - VM ctest-TestRoutersBasic-68250943-62483879 ID is 0aeb20fc-b374-466a-97a8-28a4fea1aeed
2025-02-12 05:32:03,997 - DEBUG - VM ctest-TestRoutersBasic-68250943-62483879 launched on Node cn-jenkins-deploy-platform-ansible-os-2726-1
2025-02-12 05:32:04,079 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/0aeb20fc-b374-466a-97a8-28a4fea1aeed
2025-02-12 05:32:04,415 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/0aeb20fc-b374-466a-97a8-28a4fea1aeed
2025-02-12 05:32:04,453 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/e1078dab-1ba5-4ede-83b6-6affd38f3fc2
2025-02-12 05:32:07,720 - 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 1017ms')
2025-02-12 05:32:07,720 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68250943-62483879 failed!
2025-02-12 05:32:07,774 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-68250943:ctest-vn-79070151 is 13.180.130.193 and allocation pool is NOT set
2025-02-12 05:32:09,838 - 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=4.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.35 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.345/3.160/4.976/1.815 ms')
2025-02-12 05:32:09,838 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68250943-62483879 passed
2025-02-12 05:32:09,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-12 05:32:09,998 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68250943-62483879, IP 13.180.130.195, Port 22
2025-02-12 05:32:10,162 - DEBUG - VM ctest-TestRoutersBasic-68250943-62483879 is ready for SSH connections
2025-02-12 05:32:10,162 - INFO - Waiting for VM ctest-TestRoutersBasic-68250943-40861773 to be up..
2025-02-12 05:32:10,245 - DEBUG - VM is in ACTIVE state now
2025-02-12 05:32:10,246 - INFO - VM name : ctest-TestRoutersBasic-68250943-40861773
2025-02-12 05:32:10,336 - DEBUG - VM ctest-TestRoutersBasic-68250943-40861773 ID is ea45db25-05d1-4057-84c5-f879fb63936d
2025-02-12 05:32:10,336 - DEBUG - VM ctest-TestRoutersBasic-68250943-40861773 launched on Node cn-jenkins-deploy-platform-ansible-os-2726-1
2025-02-12 05:32:10,415 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/ea45db25-05d1-4057-84c5-f879fb63936d
2025-02-12 05:32:10,426 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/39ccd21f-8e47-4522-8194-e8a99b42e3c0
2025-02-12 05:32:11,681 - 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.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.763 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.763/2.050/3.338/1.287 ms')
2025-02-12 05:32:11,681 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-68250943-40861773 passed
2025-02-12 05:32:11,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-12 05:32:11,834 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68250943-40861773, IP 51.222.20.195, Port 22
2025-02-12 05:32:11,989 - DEBUG - VM ctest-TestRoutersBasic-68250943-40861773 is ready for SSH connections
2025-02-12 05:32:11,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-12 05:32:11,989 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 51.222.20.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-02-12 05:32:11,990 - DEBUG - ping -s 56 -c 3 -W 1 51.222.20.195
2025-02-12 05:32:15,729 - DEBUG - PING 51.222.20.195 (51.222.20.195): 56 data bytes
64 bytes from 51.222.20.195: seq=0 ttl=62 time=7.683 ms
64 bytes from 51.222.20.195: seq=1 ttl=62 time=0.885 ms
64 bytes from 51.222.20.195: seq=2 ttl=62 time=1.201 ms
--- 51.222.20.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.885/3.256/7.683 ms
2025-02-12 05:32:15,729 - INFO - Ping to IP 51.222.20.195 from VM ctest-TestRoutersBasic-68250943-62483879 passed
2025-02-12 05:32:15,729 - INFO - Deleting interface with subnet_id ff6ab7d6-b7ed-48e3-8a87-4008530e1dae, port_id None from router 08d7e1af-2d14-4aed-a338-5834b33e0538
2025-02-12 05:32:15,934 - INFO - Deleting VM ctest-TestRoutersBasic-68250943-40861773
2025-02-12 05:32:16,009 - INFO - Deleting VM ctest-TestRoutersBasic-68250943-62483879
2025-02-12 05:32:16,112 - INFO - Deleting VN ctest-ext_vn-69083087
2025-02-12 05:32:16,202 - DEBUG - VN 5d776e6e-c30f-47a2-a24e-a3a35f944d13 still in use: Unable to complete operation on network 5d776e6e-c30f-47a2-a24e-a3a35f944d13. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-6f1a230c-b999-4bea-a22d-fbf1a2919bb0']
2025-02-12 05:32:16,202 - WARNING - Deleting VN ctest-ext_vn-69083087 failed..Will retry
2025-02-12 05:32:18,314 - DEBUG - Response for deleting network ()
2025-02-12 05:32:18,314 - INFO - Deleting VN ctest-vn-79070151
2025-02-12 05:32:18,429 - DEBUG - Response for deleting network ()
2025-02-12 05:32:18,688 - DEBUG - No XMPP flaps were noticed during the test
2025-02-12 05:32:18,688 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-02-12 05:32:18,688 - INFO - --------------------------------------------------------------------------------
2025-02-12 05:32:19,418 - INFO - Deleted project: ctest-TestRoutersBasic-68250943, ID : 5be0f990-8fe2-49fd-a3d5-bda772a6aa27