2025-07-30 12:19:35,235 - INFO - Domain Default found not creating 2025-07-30 12:19:35,384 - INFO - Project ctest-TestRoutersBasic-66638166 not found, creating it 2025-07-30 12:19:35,856 - INFO - Created Project:ctest-TestRoutersBasic-66638166, ID : ebd09076-59e1-44d5-97c1-f2993e44fc3a 2025-07-30 12:19:37,267 - INFO - ================================================================================ 2025-07-30 12:19:37,267 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-30 12:19:37,267 - 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-07-30 12:19:37,526 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-07-30 12:19:37,526 - INFO - Initial checks done. Running the testcase now 2025-07-30 12:19:37,526 - INFO - 2025-07-30 12:19:38,226 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-66638166 2025-07-30 12:19:38,329 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-66638166 2025-07-30 12:19:38,652 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66638166', 'default']} 2025-07-30 12:19:38,940 - DEBUG - Response for create_network : {'network': {'id': 'f94cf60e-c714-4679-908c-00bc90ffb256', 'name': 'ctest-vn-59717109', 'tenant_id': 'ebd0907659e144d597c1f2993e44fc3a', 'project_id': 'ebd0907659e144d597c1f2993e44fc3a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66638166', 'ctest-vn-59717109'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 12:19:39,145 - DEBUG - Response for create_subnet : {'subnet': {'id': '50b922c1-1555-4ece-a3cb-fbe8a7396726', 'name': '', 'tenant_id': 'ebd0907659e144d597c1f2993e44fc3a', 'network_id': 'f94cf60e-c714-4679-908c-00bc90ffb256', 'ip_version': 4, 'cidr': '23.51.100.128/26', 'allocation_pools': [{'start': '23.51.100.130', 'end': '23.51.100.190'}], 'gateway_ip': '23.51.100.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.51.100.130', 'tags': [], 'project_id': 'ebd0907659e144d597c1f2993e44fc3a'}} 2025-07-30 12:19:39,163 - INFO - Created VN ctest-vn-59717109 2025-07-30 12:19:39,216 - DEBUG - VN ctest-vn-59717109 UUID is f94cf60e-c714-4679-908c-00bc90ffb256 2025-07-30 12:19:39,561 - DEBUG - Response for create_network : {'network': {'id': '186f231e-b4f7-4bad-81a8-eac2db490dd5', 'name': 'ctest-ext_vn-97559098', 'tenant_id': 'ebd0907659e144d597c1f2993e44fc3a', 'project_id': 'ebd0907659e144d597c1f2993e44fc3a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66638166', 'ctest-ext_vn-97559098'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 12:19:39,766 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac467e19-4e35-4861-8d90-fd98f628e47d', 'name': '', 'tenant_id': 'ebd0907659e144d597c1f2993e44fc3a', 'network_id': '186f231e-b4f7-4bad-81a8-eac2db490dd5', 'ip_version': 4, 'cidr': '140.169.184.64/26', 'allocation_pools': [{'start': '140.169.184.66', 'end': '140.169.184.126'}], 'gateway_ip': '140.169.184.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.169.184.66', 'tags': [], 'project_id': 'ebd0907659e144d597c1f2993e44fc3a'}} 2025-07-30 12:19:39,784 - INFO - Created VN ctest-ext_vn-97559098 2025-07-30 12:19:39,836 - DEBUG - VN ctest-ext_vn-97559098 UUID is 186f231e-b4f7-4bad-81a8-eac2db490dd5 2025-07-30 12:19:40,006 - DEBUG - Services list from nova: [, , ] 2025-07-30 12:19:41,031 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3723-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3723-1) 2025-07-30 12:19:42,131 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3723-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3723-1) 2025-07-30 12:19:42,201 - INFO - Setting gateway for router 65dafb68-eaee-44f4-8311-132d9623f40f to network 186f231e-b4f7-4bad-81a8-eac2db490dd5 2025-07-30 12:19:42,270 - INFO - Adding interface with subnet_id 50b922c1-1555-4ece-a3cb-fbe8a7396726, port_id None to router 65dafb68-eaee-44f4-8311-132d9623f40f 2025-07-30 12:19:42,708 - INFO - Waiting for VM ctest-TestRoutersBasic-66638166-50561765 to be up.. 2025-07-30 12:19:42,829 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-30 12:19:47,924 - DEBUG - VM is in ACTIVE state now 2025-07-30 12:19:47,924 - INFO - VM name : ctest-TestRoutersBasic-66638166-50561765 2025-07-30 12:19:48,011 - DEBUG - VM ctest-TestRoutersBasic-66638166-50561765 ID is 0fa3e710-61c5-4f9e-97bb-0baf87927b04 2025-07-30 12:19:48,037 - DEBUG - VM ctest-TestRoutersBasic-66638166-50561765 launched on Node cn-jenkins-deploy-platform-ansible-os-3723-1 2025-07-30 12:19:48,114 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0fa3e710-61c5-4f9e-97bb-0baf87927b04 2025-07-30 12:19:48,404 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0fa3e710-61c5-4f9e-97bb-0baf87927b04 2025-07-30 12:19:48,436 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/64e57439-5c1a-4edc-a0f2-8dad9257d2ca 2025-07-30 12:19:51,706 - 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 1032ms') 2025-07-30 12:19:51,706 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66638166-50561765 failed! 2025-07-30 12:19:51,760 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-66638166:ctest-vn-59717109 is 23.51.100.129 and allocation pool is NOT set 2025-07-30 12:19:53,819 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.572 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.572/1.638/2.705/1.066 ms') 2025-07-30 12:19:53,819 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66638166-50561765 passed 2025-07-30 12:19:53,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 12:19:53,969 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66638166-50561765, IP 23.51.100.131, Port 22 2025-07-30 12:19:54,135 - DEBUG - VM ctest-TestRoutersBasic-66638166-50561765 is ready for SSH connections 2025-07-30 12:19:54,135 - INFO - Waiting for VM ctest-TestRoutersBasic-66638166-06085147 to be up.. 2025-07-30 12:19:54,211 - DEBUG - VM is in ACTIVE state now 2025-07-30 12:19:54,211 - INFO - VM name : ctest-TestRoutersBasic-66638166-06085147 2025-07-30 12:19:54,284 - DEBUG - VM ctest-TestRoutersBasic-66638166-06085147 ID is 4b675550-296d-435f-875a-3e9535e4c55e 2025-07-30 12:19:54,285 - DEBUG - VM ctest-TestRoutersBasic-66638166-06085147 launched on Node cn-jenkins-deploy-platform-ansible-os-3723-1 2025-07-30 12:19:54,358 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4b675550-296d-435f-875a-3e9535e4c55e 2025-07-30 12:19:54,367 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f7df7dfd-e05e-48f2-b9e5-f77bd8d40ae9 2025-07-30 12:19:55,599 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.402 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.402/1.698/2.994/1.296 ms') 2025-07-30 12:19:55,599 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-66638166-06085147 passed 2025-07-30 12:19:55,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 12:19:55,753 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66638166-06085147, IP 140.169.184.67, Port 22 2025-07-30 12:19:55,904 - DEBUG - VM ctest-TestRoutersBasic-66638166-06085147 is ready for SSH connections 2025-07-30 12:19:55,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 12:19:55,904 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.169.184.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-30 12:19:55,904 - DEBUG - ping -s 56 -c 3 -W 1 140.169.184.67 2025-07-30 12:19:59,614 - DEBUG - PING 140.169.184.67 (140.169.184.67): 56 data bytes 64 bytes from 140.169.184.67: seq=0 ttl=62 time=5.059 ms 64 bytes from 140.169.184.67: seq=1 ttl=62 time=1.003 ms 64 bytes from 140.169.184.67: seq=2 ttl=62 time=0.911 ms --- 140.169.184.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.911/2.324/5.059 ms 2025-07-30 12:19:59,614 - INFO - Ping to IP 140.169.184.67 from VM ctest-TestRoutersBasic-66638166-50561765 passed 2025-07-30 12:19:59,614 - INFO - Deleting interface with subnet_id 50b922c1-1555-4ece-a3cb-fbe8a7396726, port_id None from router 65dafb68-eaee-44f4-8311-132d9623f40f 2025-07-30 12:19:59,795 - INFO - Deleting VM ctest-TestRoutersBasic-66638166-06085147 2025-07-30 12:19:59,867 - INFO - Deleting VM ctest-TestRoutersBasic-66638166-50561765 2025-07-30 12:19:59,946 - INFO - Deleting VN ctest-ext_vn-97559098 2025-07-30 12:20:00,053 - DEBUG - VN 186f231e-b4f7-4bad-81a8-eac2db490dd5 still in use: Unable to complete operation on network 186f231e-b4f7-4bad-81a8-eac2db490dd5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cbe4574b-7929-40b5-9760-1920454d7d92'] 2025-07-30 12:20:00,053 - WARNING - Deleting VN ctest-ext_vn-97559098 failed..Will retry 2025-07-30 12:20:02,165 - DEBUG - Response for deleting network () 2025-07-30 12:20:02,165 - INFO - Deleting VN ctest-vn-59717109 2025-07-30 12:20:02,265 - DEBUG - Response for deleting network () 2025-07-30 12:20:02,519 - DEBUG - No XMPP flaps were noticed during the test
2025-07-30 12:20:02,519 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-07-30 12:20:02,519 - INFO - -------------------------------------------------------------------------------- 2025-07-30 12:20:03,194 - INFO - Deleted project: ctest-TestRoutersBasic-66638166, ID : ebd09076-59e1-44d5-97c1-f2993e44fc3a