2026-03-05 02:11:44,205 - INFO - Domain Default found not creating 2026-03-05 02:11:44,372 - INFO - Project ctest-TestRoutersBasic-78076952 not found, creating it 2026-03-05 02:11:44,827 - INFO - Created Project:ctest-TestRoutersBasic-78076952, ID : 1aaf4337-748b-4200-84df-5b3af2fb6e75 2026-03-05 02:11:46,276 - INFO - ================================================================================ 2026-03-05 02:11:46,277 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-05 02:11:46,277 - 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 2026-03-05 02:11:46,530 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.249': '0'}} with 2026-03-05 02:11:46,530 - INFO - Initial checks done. Running the testcase now 2026-03-05 02:11:46,530 - INFO - 2026-03-05 02:11:47,265 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-78076952 2026-03-05 02:11:47,361 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-78076952 2026-03-05 02:11:47,681 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78076952', 'default']} 2026-03-05 02:11:47,954 - DEBUG - Response for create_network : {'network': {'id': '4b255cfc-a5bd-44ce-8264-caa9256ea347', 'name': 'ctest-vn-59084091', 'tenant_id': '1aaf4337748b420084df5b3af2fb6e75', 'project_id': '1aaf4337748b420084df5b3af2fb6e75', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78076952', 'ctest-vn-59084091'], 'port_security_enabled': True, 'description': ''}} 2026-03-05 02:11:48,155 - DEBUG - Response for create_subnet : {'subnet': {'id': '5dd45838-08ec-4fac-abe9-c96e81594143', 'name': '', 'tenant_id': '1aaf4337748b420084df5b3af2fb6e75', 'network_id': '4b255cfc-a5bd-44ce-8264-caa9256ea347', 'ip_version': 4, 'cidr': '110.165.232.0/26', 'allocation_pools': [{'start': '110.165.232.2', 'end': '110.165.232.62'}], 'gateway_ip': '110.165.232.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.165.232.2', 'tags': [], 'project_id': '1aaf4337748b420084df5b3af2fb6e75'}} 2026-03-05 02:11:48,171 - INFO - Created VN ctest-vn-59084091 2026-03-05 02:11:48,221 - DEBUG - VN ctest-vn-59084091 UUID is 4b255cfc-a5bd-44ce-8264-caa9256ea347 2026-03-05 02:11:48,551 - DEBUG - Response for create_network : {'network': {'id': '345738bf-20ec-409e-b0cf-696416d816b0', 'name': 'ctest-ext_vn-97917838', 'tenant_id': '1aaf4337748b420084df5b3af2fb6e75', 'project_id': '1aaf4337748b420084df5b3af2fb6e75', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78076952', 'ctest-ext_vn-97917838'], 'port_security_enabled': True, 'description': ''}} 2026-03-05 02:11:48,705 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec969609-3ac5-4451-869c-e6ff47f26dc0', 'name': '', 'tenant_id': '1aaf4337748b420084df5b3af2fb6e75', 'network_id': '345738bf-20ec-409e-b0cf-696416d816b0', 'ip_version': 4, 'cidr': '30.157.16.128/26', 'allocation_pools': [{'start': '30.157.16.130', 'end': '30.157.16.190'}], 'gateway_ip': '30.157.16.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.157.16.130', 'tags': [], 'project_id': '1aaf4337748b420084df5b3af2fb6e75'}} 2026-03-05 02:11:48,722 - INFO - Created VN ctest-ext_vn-97917838 2026-03-05 02:11:48,773 - DEBUG - VN ctest-ext_vn-97917838 UUID is 345738bf-20ec-409e-b0cf-696416d816b0 2026-03-05 02:11:48,963 - DEBUG - Services list from nova: [, , ] 2026-03-05 02:11:49,976 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5434-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5434-1) 2026-03-05 02:11:51,120 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5434-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5434-1) 2026-03-05 02:11:51,191 - INFO - Setting gateway for router 0d5133d5-1d61-42cd-8be3-1d7b6b30584e to network 345738bf-20ec-409e-b0cf-696416d816b0 2026-03-05 02:11:51,270 - INFO - Adding interface with subnet_id 5dd45838-08ec-4fac-abe9-c96e81594143, port_id None to router 0d5133d5-1d61-42cd-8be3-1d7b6b30584e 2026-03-05 02:11:51,579 - INFO - Waiting for VM ctest-TestRoutersBasic-78076952-55992682 to be up.. 2026-03-05 02:11:51,706 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-05 02:11:56,777 - DEBUG - VM is in ACTIVE state now 2026-03-05 02:11:56,777 - INFO - VM name : ctest-TestRoutersBasic-78076952-55992682 2026-03-05 02:11:56,848 - DEBUG - VM ctest-TestRoutersBasic-78076952-55992682 ID is 5c18cf3a-2784-4fd0-97cc-a3393b416e5b 2026-03-05 02:11:56,868 - DEBUG - VM ctest-TestRoutersBasic-78076952-55992682 launched on Node cn-jenkins-deploy-platform-ansible-os-5434-1 2026-03-05 02:11:56,943 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/5c18cf3a-2784-4fd0-97cc-a3393b416e5b 2026-03-05 02:11:57,242 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/5c18cf3a-2784-4fd0-97cc-a3393b416e5b 2026-03-05 02:11:57,275 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/a2096128-5337-4f9e-8719-f893a8c3fc8b 2026-03-05 02:12:00,517 - 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 1007ms') 2026-03-05 02:12:00,517 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78076952-55992682 failed! 2026-03-05 02:12:00,573 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-78076952:ctest-vn-59084091 is 110.165.232.1 and allocation pool is NOT set 2026-03-05 02:12:02,629 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.383 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.383/1.605/2.828/1.222 ms') 2026-03-05 02:12:02,629 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78076952-55992682 passed 2026-03-05 02:12:02,781 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:12:02,781 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78076952-55992682, IP 110.165.232.3, Port 22 2026-03-05 02:12:02,950 - DEBUG - VM ctest-TestRoutersBasic-78076952-55992682 is ready for SSH connections 2026-03-05 02:12:02,950 - INFO - Waiting for VM ctest-TestRoutersBasic-78076952-01343057 to be up.. 2026-03-05 02:12:03,032 - DEBUG - VM is in ACTIVE state now 2026-03-05 02:12:03,032 - INFO - VM name : ctest-TestRoutersBasic-78076952-01343057 2026-03-05 02:12:03,098 - DEBUG - VM ctest-TestRoutersBasic-78076952-01343057 ID is c33c5440-1d2c-4f25-bf36-1dc2aa65c999 2026-03-05 02:12:03,098 - DEBUG - VM ctest-TestRoutersBasic-78076952-01343057 launched on Node cn-jenkins-deploy-platform-ansible-os-5434-1 2026-03-05 02:12:03,168 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/c33c5440-1d2c-4f25-bf36-1dc2aa65c999 2026-03-05 02:12:03,184 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/62c8b6a1-545d-4d21-8dfd-93c0687b0db0 2026-03-05 02:12:04,422 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.820 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.820/2.011/3.203/1.191 ms') 2026-03-05 02:12:04,422 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-78076952-01343057 passed 2026-03-05 02:12:04,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:12:04,573 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78076952-01343057, IP 30.157.16.131, Port 22 2026-03-05 02:12:04,732 - DEBUG - VM ctest-TestRoutersBasic-78076952-01343057 is ready for SSH connections 2026-03-05 02:12:04,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:12:04,732 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.157.16.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2026-03-05 02:12:04,732 - DEBUG - ping -s 56 -c 3 -W 1 30.157.16.131 2026-03-05 02:12:08,869 - DEBUG - PING 30.157.16.131 (30.157.16.131): 56 data bytes 64 bytes from 30.157.16.131: seq=0 ttl=62 time=5.069 ms 64 bytes from 30.157.16.131: seq=1 ttl=62 time=0.828 ms 64 bytes from 30.157.16.131: seq=2 ttl=62 time=0.803 ms --- 30.157.16.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.803/2.233/5.069 ms 2026-03-05 02:12:08,869 - INFO - Ping to IP 30.157.16.131 from VM ctest-TestRoutersBasic-78076952-55992682 passed 2026-03-05 02:12:08,869 - INFO - Deleting interface with subnet_id 5dd45838-08ec-4fac-abe9-c96e81594143, port_id None from router 0d5133d5-1d61-42cd-8be3-1d7b6b30584e 2026-03-05 02:12:09,048 - INFO - Deleting VM ctest-TestRoutersBasic-78076952-01343057 2026-03-05 02:12:09,117 - INFO - Deleting VM ctest-TestRoutersBasic-78076952-55992682 2026-03-05 02:12:09,190 - INFO - Deleting VN ctest-ext_vn-97917838 2026-03-05 02:12:09,253 - DEBUG - VN 345738bf-20ec-409e-b0cf-696416d816b0 still in use: Unable to complete operation on network 345738bf-20ec-409e-b0cf-696416d816b0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0e3514eb-1eb4-4fb3-ab66-26d381272b0b'] 2026-03-05 02:12:09,253 - WARNING - Deleting VN ctest-ext_vn-97917838 failed..Will retry 2026-03-05 02:12:11,343 - DEBUG - Response for deleting network () 2026-03-05 02:12:11,344 - INFO - Deleting VN ctest-vn-59084091 2026-03-05 02:12:11,433 - DEBUG - Response for deleting network () 2026-03-05 02:12:11,685 - DEBUG - No XMPP flaps were noticed during the test
2026-03-05 02:12:11,685 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-03-05 02:12:11,685 - INFO - -------------------------------------------------------------------------------- 2026-03-05 02:12:12,366 - INFO - Deleted project: ctest-TestRoutersBasic-78076952, ID : 1aaf4337-748b-4200-84df-5b3af2fb6e75