2026-06-18 16:45:23,671 - INFO - Domain Default found not creating
2026-06-18 16:45:23,809 - INFO - Project ctest-TestRoutersBasic-73800377 not found, creating it
2026-06-18 16:45:24,243 - INFO - Created Project:ctest-TestRoutersBasic-73800377, ID : 0ae961eb-f59a-4a06-b48d-8f962639c738
2026-06-18 16:45:26,718 - INFO - ================================================================================
2026-06-18 16:45:26,718 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-06-18 16:45:26,719 - 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-06-18 16:45:26,976 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2026-06-18 16:45:26,976 - INFO - Initial checks done. Running the testcase now
2026-06-18 16:45:26,977 - INFO -
2026-06-18 16:45:27,787 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-73800377
2026-06-18 16:45:27,886 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-73800377
2026-06-18 16:45:28,206 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73800377', 'default']}
2026-06-18 16:45:28,479 - DEBUG - Response for create_network : {'network': {'id': '9b266a10-2efb-401e-8557-b69026c627e0', 'name': 'ctest-vn-32170167', 'tenant_id': '0ae961ebf59a4a06b48d8f962639c738', 'project_id': '0ae961ebf59a4a06b48d8f962639c738', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73800377', 'ctest-vn-32170167'], 'port_security_enabled': True, 'description': ''}}
2026-06-18 16:45:28,655 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a7e8c4fe-b589-4a89-9a35-2b8ce5f60e98', 'name': '', 'tenant_id': '0ae961ebf59a4a06b48d8f962639c738', 'network_id': '9b266a10-2efb-401e-8557-b69026c627e0', 'ip_version': 4, 'cidr': '216.44.48.0/26', 'allocation_pools': [{'start': '216.44.48.2', 'end': '216.44.48.62'}], 'gateway_ip': '216.44.48.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.44.48.2', 'tags': [], 'project_id': '0ae961ebf59a4a06b48d8f962639c738'}}
2026-06-18 16:45:28,670 - INFO - Created VN ctest-vn-32170167
2026-06-18 16:45:28,722 - DEBUG - VN ctest-vn-32170167 UUID is 9b266a10-2efb-401e-8557-b69026c627e0
2026-06-18 16:45:29,044 - DEBUG - Response for create_network : {'network': {'id': 'dbc5bf34-7b24-472a-8463-e60f76c86414', 'name': 'ctest-ext_vn-06548964', 'tenant_id': '0ae961ebf59a4a06b48d8f962639c738', 'project_id': '0ae961ebf59a4a06b48d8f962639c738', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73800377', 'ctest-ext_vn-06548964'], 'port_security_enabled': True, 'description': ''}}
2026-06-18 16:45:29,258 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a30ef9e3-90c3-467e-b1bc-d8a6fd251817', 'name': '', 'tenant_id': '0ae961ebf59a4a06b48d8f962639c738', 'network_id': 'dbc5bf34-7b24-472a-8463-e60f76c86414', 'ip_version': 4, 'cidr': '111.119.236.64/26', 'allocation_pools': [{'start': '111.119.236.66', 'end': '111.119.236.126'}], 'gateway_ip': '111.119.236.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.119.236.66', 'tags': [], 'project_id': '0ae961ebf59a4a06b48d8f962639c738'}}
2026-06-18 16:45:29,272 - INFO - Created VN ctest-ext_vn-06548964
2026-06-18 16:45:29,322 - DEBUG - VN ctest-ext_vn-06548964 UUID is dbc5bf34-7b24-472a-8463-e60f76c86414
2026-06-18 16:45:29,515 - DEBUG - Services list from nova: [, , ]
2026-06-18 16:45:30,648 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5989-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5989-1)
2026-06-18 16:45:31,793 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5989-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5989-1)
2026-06-18 16:45:31,856 - INFO - Setting gateway for router 890b52ef-10bd-4243-8bf5-eefe5756be89 to network dbc5bf34-7b24-472a-8463-e60f76c86414
2026-06-18 16:45:31,905 - INFO - Adding interface with subnet_id a7e8c4fe-b589-4a89-9a35-2b8ce5f60e98, port_id None to router 890b52ef-10bd-4243-8bf5-eefe5756be89
2026-06-18 16:45:32,104 - INFO - Waiting for VM ctest-TestRoutersBasic-73800377-99498973 to be up..
2026-06-18 16:45:32,160 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-18 16:45:37,240 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-18 16:45:42,310 - DEBUG - VM is in ACTIVE state now
2026-06-18 16:45:42,310 - INFO - VM name : ctest-TestRoutersBasic-73800377-99498973
2026-06-18 16:45:42,376 - DEBUG - VM ctest-TestRoutersBasic-73800377-99498973 ID is e2438276-0c3b-48d1-a377-275f398299fd
2026-06-18 16:45:42,394 - DEBUG - VM ctest-TestRoutersBasic-73800377-99498973 launched on Node cn-jenkins-deploy-platform-ansible-os-5989-1
2026-06-18 16:45:42,466 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e2438276-0c3b-48d1-a377-275f398299fd
2026-06-18 16:45:42,830 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e2438276-0c3b-48d1-a377-275f398299fd
2026-06-18 16:45:42,862 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/407fc522-a463-4255-aaaa-9a46eac61cb7
2026-06-18 16:45:46,119 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms')
2026-06-18 16:45:46,119 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-73800377-99498973 failed!
2026-06-18 16:45:46,174 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-73800377:ctest-vn-32170167 is 216.44.48.1 and allocation pool is NOT set
2026-06-18 16:45:48,234 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=9.90 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=2.27 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.274/6.089/9.904/3.815 ms')
2026-06-18 16:45:48,234 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-73800377-99498973 passed
2026-06-18 16:45:48,382 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-18 16:45:48,382 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73800377-99498973, IP 216.44.48.3, Port 22
2026-06-18 16:45:48,447 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-06-18 16:45:48,538 - DEBUG - VM ctest-TestRoutersBasic-73800377-99498973 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-18 16:45:53,538 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-18 16:45:53,539 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73800377-99498973, IP 216.44.48.3, Port 22
2026-06-18 16:45:53,697 - DEBUG - VM ctest-TestRoutersBasic-73800377-99498973 is ready for SSH connections
2026-06-18 16:45:53,697 - INFO - Waiting for VM ctest-TestRoutersBasic-73800377-23656978 to be up..
2026-06-18 16:45:53,766 - DEBUG - VM is in ACTIVE state now
2026-06-18 16:45:53,767 - INFO - VM name : ctest-TestRoutersBasic-73800377-23656978
2026-06-18 16:45:53,828 - DEBUG - VM ctest-TestRoutersBasic-73800377-23656978 ID is f47defb0-2bc2-4278-9d66-5bb7cd483c5f
2026-06-18 16:45:53,828 - DEBUG - VM ctest-TestRoutersBasic-73800377-23656978 launched on Node cn-jenkins-deploy-platform-ansible-os-5989-1
2026-06-18 16:45:53,889 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f47defb0-2bc2-4278-9d66-5bb7cd483c5f
2026-06-18 16:45:53,896 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c0df1833-8260-4463-ba7b-54803d0aa80f
2026-06-18 16:45:55,116 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=3.42 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.357 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.357/1.889/3.421/1.532 ms')
2026-06-18 16:45:55,116 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-73800377-23656978 passed
2026-06-18 16:45:55,258 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-18 16:45:55,258 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73800377-23656978, IP 111.119.236.68, Port 22
2026-06-18 16:45:55,413 - DEBUG - VM ctest-TestRoutersBasic-73800377-23656978 is ready for SSH connections
2026-06-18 16:45:55,414 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-18 16:45:55,414 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.119.236.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-06-18 16:45:55,414 - DEBUG - ping -s 56 -c 3 -W 1 111.119.236.68
2026-06-18 16:45:58,008 - DEBUG - PING 111.119.236.68 (111.119.236.68): 56 data bytes
64 bytes from 111.119.236.68: seq=0 ttl=62 time=7.035 ms
64 bytes from 111.119.236.68: seq=1 ttl=62 time=0.870 ms
64 bytes from 111.119.236.68: seq=2 ttl=62 time=1.095 ms
--- 111.119.236.68 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.870/3.000/7.035 ms
2026-06-18 16:45:58,008 - INFO - Ping to IP 111.119.236.68 from VM ctest-TestRoutersBasic-73800377-99498973 passed
2026-06-18 16:45:58,009 - INFO - Deleting interface with subnet_id a7e8c4fe-b589-4a89-9a35-2b8ce5f60e98, port_id None from router 890b52ef-10bd-4243-8bf5-eefe5756be89
2026-06-18 16:45:58,178 - INFO - Deleting VM ctest-TestRoutersBasic-73800377-23656978
2026-06-18 16:45:58,242 - INFO - Deleting VM ctest-TestRoutersBasic-73800377-99498973
2026-06-18 16:45:58,307 - INFO - Deleting VN ctest-ext_vn-06548964
2026-06-18 16:45:58,373 - DEBUG - VN dbc5bf34-7b24-472a-8463-e60f76c86414 still in use: Unable to complete operation on network dbc5bf34-7b24-472a-8463-e60f76c86414. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-6db7a175-31d0-4012-9bce-3fced84bc04a']
2026-06-18 16:45:58,373 - WARNING - Deleting VN ctest-ext_vn-06548964 failed..Will retry
2026-06-18 16:46:00,478 - DEBUG - Response for deleting network ()
2026-06-18 16:46:00,478 - INFO - Deleting VN ctest-vn-32170167
2026-06-18 16:46:00,582 - DEBUG - Response for deleting network ()
2026-06-18 16:46:00,835 - DEBUG - No XMPP flaps were noticed during the test
2026-06-18 16:46:00,835 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34]
2026-06-18 16:46:00,835 - INFO - --------------------------------------------------------------------------------
2026-06-18 16:46:01,576 - INFO - Deleted project: ctest-TestRoutersBasic-73800377, ID : 0ae961eb-f59a-4a06-b48d-8f962639c738