2025-07-24 02:36:33,148 - INFO - Domain Default found not creating 2025-07-24 02:36:33,272 - INFO - Project ctest-TestRoutersBasic-25272480 not found, creating it 2025-07-24 02:36:33,693 - INFO - Created Project:ctest-TestRoutersBasic-25272480, ID : e99ae4ff-48e1-4158-a5dd-2addc22a56a2 2025-07-24 02:36:35,703 - INFO - ================================================================================ 2025-07-24 02:36:35,703 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-24 02:36:35,703 - 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-24 02:36:35,957 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.241': '0'}} with 2025-07-24 02:36:35,957 - INFO - Initial checks done. Running the testcase now 2025-07-24 02:36:35,957 - INFO - 2025-07-24 02:36:36,629 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-25272480 2025-07-24 02:36:36,723 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-25272480 2025-07-24 02:36:37,079 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25272480', 'default']} 2025-07-24 02:36:37,364 - DEBUG - Response for create_network : {'network': {'id': '33222e96-ab96-4b20-988a-251206922d72', 'name': 'ctest-vn-55434935', 'tenant_id': 'e99ae4ff48e14158a5dd2addc22a56a2', 'project_id': 'e99ae4ff48e14158a5dd2addc22a56a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25272480', 'ctest-vn-55434935'], 'port_security_enabled': True, 'description': ''}} 2025-07-24 02:36:37,542 - DEBUG - Response for create_subnet : {'subnet': {'id': '998c2b0d-1175-43a6-8477-4f697ff51801', 'name': '', 'tenant_id': 'e99ae4ff48e14158a5dd2addc22a56a2', 'network_id': '33222e96-ab96-4b20-988a-251206922d72', 'ip_version': 4, 'cidr': '8.65.182.128/26', 'allocation_pools': [{'start': '8.65.182.130', 'end': '8.65.182.190'}], 'gateway_ip': '8.65.182.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.65.182.130', 'tags': [], 'project_id': 'e99ae4ff48e14158a5dd2addc22a56a2'}} 2025-07-24 02:36:37,559 - INFO - Created VN ctest-vn-55434935 2025-07-24 02:36:37,615 - DEBUG - VN ctest-vn-55434935 UUID is 33222e96-ab96-4b20-988a-251206922d72 2025-07-24 02:36:37,965 - DEBUG - Response for create_network : {'network': {'id': '46c01c60-de98-4d0e-9fc2-e1c89ed5439a', 'name': 'ctest-ext_vn-42898616', 'tenant_id': 'e99ae4ff48e14158a5dd2addc22a56a2', 'project_id': 'e99ae4ff48e14158a5dd2addc22a56a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25272480', 'ctest-ext_vn-42898616'], 'port_security_enabled': True, 'description': ''}} 2025-07-24 02:36:38,154 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aff5177a-f76f-4c34-bb9e-d2be59076acf', 'name': '', 'tenant_id': 'e99ae4ff48e14158a5dd2addc22a56a2', 'network_id': '46c01c60-de98-4d0e-9fc2-e1c89ed5439a', 'ip_version': 4, 'cidr': '69.57.102.192/26', 'allocation_pools': [{'start': '69.57.102.194', 'end': '69.57.102.254'}], 'gateway_ip': '69.57.102.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.57.102.194', 'tags': [], 'project_id': 'e99ae4ff48e14158a5dd2addc22a56a2'}} 2025-07-24 02:36:38,171 - INFO - Created VN ctest-ext_vn-42898616 2025-07-24 02:36:38,227 - DEBUG - VN ctest-ext_vn-42898616 UUID is 46c01c60-de98-4d0e-9fc2-e1c89ed5439a 2025-07-24 02:36:38,439 - DEBUG - Services list from nova: [, , ] 2025-07-24 02:36:39,418 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3713-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3713-1) 2025-07-24 02:36:40,529 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3713-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3713-1) 2025-07-24 02:36:40,599 - INFO - Setting gateway for router 3ed4469d-14a2-4261-b0dc-5c6c5de135a8 to network 46c01c60-de98-4d0e-9fc2-e1c89ed5439a 2025-07-24 02:36:40,646 - INFO - Adding interface with subnet_id 998c2b0d-1175-43a6-8477-4f697ff51801, port_id None to router 3ed4469d-14a2-4261-b0dc-5c6c5de135a8 2025-07-24 02:36:40,982 - INFO - Waiting for VM ctest-TestRoutersBasic-25272480-25680443 to be up.. 2025-07-24 02:36:41,140 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-24 02:36:46,205 - DEBUG - VM is in ACTIVE state now 2025-07-24 02:36:46,205 - INFO - VM name : ctest-TestRoutersBasic-25272480-25680443 2025-07-24 02:36:46,269 - DEBUG - VM ctest-TestRoutersBasic-25272480-25680443 ID is 6cd6d4c0-2d0c-4a87-94bd-bd692ba8fc13 2025-07-24 02:36:46,288 - DEBUG - VM ctest-TestRoutersBasic-25272480-25680443 launched on Node cn-jenkins-deploy-platform-ansible-os-3713-1 2025-07-24 02:36:46,354 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/6cd6d4c0-2d0c-4a87-94bd-bd692ba8fc13 2025-07-24 02:36:46,643 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/6cd6d4c0-2d0c-4a87-94bd-bd692ba8fc13 2025-07-24 02:36:46,676 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/be6aecb5-35d5-4807-b3b1-6363fc625717 2025-07-24 02:36:49,936 - 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 1023ms') 2025-07-24 02:36:49,936 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25272480-25680443 failed! 2025-07-24 02:36:49,991 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-25272480:ctest-vn-55434935 is 8.65.182.129 and allocation pool is NOT set 2025-07-24 02:36:52,052 - 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.500 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.500/1.984/3.468/1.484 ms') 2025-07-24 02:36:52,052 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25272480-25680443 passed 2025-07-24 02:36:52,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:36:52,203 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25272480-25680443, IP 8.65.182.131, Port 22 2025-07-24 02:36:52,354 - DEBUG - VM ctest-TestRoutersBasic-25272480-25680443 is ready for SSH connections 2025-07-24 02:36:52,354 - INFO - Waiting for VM ctest-TestRoutersBasic-25272480-02756804 to be up.. 2025-07-24 02:36:52,419 - DEBUG - VM is in ACTIVE state now 2025-07-24 02:36:52,419 - INFO - VM name : ctest-TestRoutersBasic-25272480-02756804 2025-07-24 02:36:52,482 - DEBUG - VM ctest-TestRoutersBasic-25272480-02756804 ID is 6d8c9a23-f248-49be-96c3-06368d95908f 2025-07-24 02:36:52,482 - DEBUG - VM ctest-TestRoutersBasic-25272480-02756804 launched on Node cn-jenkins-deploy-platform-ansible-os-3713-1 2025-07-24 02:36:52,545 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/6d8c9a23-f248-49be-96c3-06368d95908f 2025-07-24 02:36:52,553 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/d5428dbd-8342-4768-9935-1036fcc71a8d 2025-07-24 02:36:53,788 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.452 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.452/1.593/2.734/1.141 ms') 2025-07-24 02:36:53,788 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-25272480-02756804 passed 2025-07-24 02:36:53,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:36:53,935 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25272480-02756804, IP 69.57.102.195, Port 22 2025-07-24 02:36:54,091 - DEBUG - VM ctest-TestRoutersBasic-25272480-02756804 is ready for SSH connections 2025-07-24 02:36:54,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:36:54,091 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.57.102.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-07-24 02:36:54,091 - DEBUG - ping -s 56 -c 3 -W 1 69.57.102.195 2025-07-24 02:36:57,734 - DEBUG - PING 69.57.102.195 (69.57.102.195): 56 data bytes 64 bytes from 69.57.102.195: seq=0 ttl=62 time=4.302 ms 64 bytes from 69.57.102.195: seq=1 ttl=62 time=0.823 ms 64 bytes from 69.57.102.195: seq=2 ttl=62 time=0.865 ms --- 69.57.102.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.823/1.996/4.302 ms 2025-07-24 02:36:57,734 - INFO - Ping to IP 69.57.102.195 from VM ctest-TestRoutersBasic-25272480-25680443 passed 2025-07-24 02:36:57,734 - INFO - Deleting interface with subnet_id 998c2b0d-1175-43a6-8477-4f697ff51801, port_id None from router 3ed4469d-14a2-4261-b0dc-5c6c5de135a8 2025-07-24 02:36:57,918 - INFO - Deleting VM ctest-TestRoutersBasic-25272480-02756804 2025-07-24 02:36:57,977 - INFO - Deleting VM ctest-TestRoutersBasic-25272480-25680443 2025-07-24 02:36:58,040 - INFO - Deleting VN ctest-ext_vn-42898616 2025-07-24 02:36:58,107 - DEBUG - VN 46c01c60-de98-4d0e-9fc2-e1c89ed5439a still in use: Unable to complete operation on network 46c01c60-de98-4d0e-9fc2-e1c89ed5439a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9118dcf1-40a6-4b68-926c-bfbc3a57a739'] 2025-07-24 02:36:58,108 - WARNING - Deleting VN ctest-ext_vn-42898616 failed..Will retry 2025-07-24 02:37:00,206 - DEBUG - Response for deleting network () 2025-07-24 02:37:00,206 - INFO - Deleting VN ctest-vn-55434935 2025-07-24 02:37:00,308 - DEBUG - Response for deleting network () 2025-07-24 02:37:00,564 - DEBUG - No XMPP flaps were noticed during the test
2025-07-24 02:37:00,564 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-07-24 02:37:00,565 - INFO - -------------------------------------------------------------------------------- 2025-07-24 02:37:01,241 - INFO - Deleted project: ctest-TestRoutersBasic-25272480, ID : e99ae4ff-48e1-4158-a5dd-2addc22a56a2