2026-03-12 01:49:26,258 - INFO - Reading existing Domain with UUID d3dbfc90-0ead-4aa5-a44d-bbde5d3c799a 2026-03-12 01:49:26,271 - INFO - Using existing domain ['admin_domain'](d3dbfc90-0ead-4aa5-a44d-bbde5d3c799a) 2026-03-12 01:49:26,511 - INFO - Project ctest-TestRoutersBasic-72091359 not found, creating it 2026-03-12 01:49:27,088 - INFO - Created Project:ctest-TestRoutersBasic-72091359, ID : 5937abcf-0a56-4a11-844a-c1a7e32df94c 2026-03-12 01:49:28,941 - INFO - ================================================================================ 2026-03-12 01:49:28,941 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-12 01:49:28,941 - 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-12 01:49:29,335 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.0.0.41': '0'}} with 2026-03-12 01:49:29,335 - INFO - Initial checks done. Running the testcase now 2026-03-12 01:49:29,335 - INFO - 2026-03-12 01:49:30,209 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-72091359 2026-03-12 01:49:30,309 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-72091359 2026-03-12 01:49:30,658 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-72091359', 'default']} 2026-03-12 01:49:31,156 - DEBUG - Response for create_network : {'network': {'id': '7ca97b1c-ac90-4bfb-8831-3c55cc77ce66', 'name': 'ctest-vn-70980745', 'tenant_id': '5937abcf0a564a11844ac1a7e32df94c', 'project_id': '5937abcf0a564a11844ac1a7e32df94c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-72091359', 'ctest-vn-70980745'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-03-12 01:49:31,430 - DEBUG - Response for create_subnet : {'subnet': {'id': '2889ee34-04f6-41e7-9b9a-bc43e1944008', 'name': '', 'tenant_id': '5937abcf0a564a11844ac1a7e32df94c', 'network_id': '7ca97b1c-ac90-4bfb-8831-3c55cc77ce66', 'ip_version': 4, 'cidr': '186.141.38.192/26', 'allocation_pools': [{'start': '186.141.38.194', 'end': '186.141.38.254'}], 'gateway_ip': '186.141.38.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-03-12T01:49:31.328362', 'updated_at': '2026-03-12T01:49:31.328362', 'dns_server_address': '186.141.38.194', 'tags': [], 'project_id': '5937abcf0a564a11844ac1a7e32df94c'}} 2026-03-12 01:49:31,495 - INFO - Created VN ctest-vn-70980745 2026-03-12 01:49:31,553 - DEBUG - VN ctest-vn-70980745 UUID is 7ca97b1c-ac90-4bfb-8831-3c55cc77ce66 2026-03-12 01:49:32,103 - DEBUG - Response for create_network : {'network': {'id': 'a8835284-70e3-4cf0-aaed-50cea8a4bb25', 'name': 'ctest-ext_vn-80710612', 'tenant_id': '5937abcf0a564a11844ac1a7e32df94c', 'project_id': '5937abcf0a564a11844ac1a7e32df94c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-72091359', 'ctest-ext_vn-80710612'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-03-12 01:49:32,366 - DEBUG - Response for create_subnet : {'subnet': {'id': '34ed6cd0-0489-47bd-ab00-42db6bbd382f', 'name': '', 'tenant_id': '5937abcf0a564a11844ac1a7e32df94c', 'network_id': 'a8835284-70e3-4cf0-aaed-50cea8a4bb25', 'ip_version': 4, 'cidr': '5.178.176.64/26', 'allocation_pools': [{'start': '5.178.176.66', 'end': '5.178.176.126'}], 'gateway_ip': '5.178.176.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-03-12T01:49:32.252178', 'updated_at': '2026-03-12T01:49:32.252178', 'dns_server_address': '5.178.176.66', 'tags': [], 'project_id': '5937abcf0a564a11844ac1a7e32df94c'}} 2026-03-12 01:49:32,431 - INFO - Created VN ctest-ext_vn-80710612 2026-03-12 01:49:32,485 - DEBUG - VN ctest-ext_vn-80710612 UUID is a8835284-70e3-4cf0-aaed-50cea8a4bb25 2026-03-12 01:49:32,777 - DEBUG - Services list from nova: [, , ] 2026-03-12 01:49:33,958 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-684-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-684-1) 2026-03-12 01:49:35,483 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-684-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-684-1) 2026-03-12 01:49:35,658 - INFO - Setting gateway for router 48dd6c55-230b-4708-933c-a2e0a2787846 to network a8835284-70e3-4cf0-aaed-50cea8a4bb25 2026-03-12 01:49:35,930 - INFO - Adding interface with subnet_id 2889ee34-04f6-41e7-9b9a-bc43e1944008, port_id None to router 48dd6c55-230b-4708-933c-a2e0a2787846 2026-03-12 01:49:36,632 - INFO - Waiting for VM ctest-TestRoutersBasic-72091359-02871522 to be up.. 2026-03-12 01:49:36,805 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-12 01:49:41,956 - DEBUG - VM is in ACTIVE state now 2026-03-12 01:49:41,956 - INFO - VM name : ctest-TestRoutersBasic-72091359-02871522 2026-03-12 01:49:42,102 - DEBUG - VM ctest-TestRoutersBasic-72091359-02871522 ID is 0df54806-3079-4c09-a520-6995c5f61d7d 2026-03-12 01:49:42,128 - DEBUG - VM ctest-TestRoutersBasic-72091359-02871522 launched on Node cn-jenkins-deploy-platform-juju-os-684-1 2026-03-12 01:49:42,278 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine/0df54806-3079-4c09-a520-6995c5f61d7d 2026-03-12 01:49:42,645 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine/0df54806-3079-4c09-a520-6995c5f61d7d 2026-03-12 01:49:42,750 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine-interface/a908c5bc-99fd-4de4-ba24-655e1448c0eb 2026-03-12 01:49:46,230 - 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 1014ms') 2026-03-12 01:49:46,231 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72091359-02871522 failed! 2026-03-12 01:49:46,285 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-72091359:ctest-vn-70980745 is 186.141.38.193 and allocation pool is NOT set 2026-03-12 01:49:48,374 - 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=5.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.28 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 = 2.279/3.940/5.601/1.661 ms') 2026-03-12 01:49:48,374 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72091359-02871522 passed 2026-03-12 01:49:48,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 01:49:48,529 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72091359-02871522, IP 186.141.38.195, Port 22 2026-03-12 01:49:48,628 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-03-12 01:49:48,782 - DEBUG - VM ctest-TestRoutersBasic-72091359-02871522 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-12 01:49:53,783 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 01:49:53,783 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72091359-02871522, IP 186.141.38.195, Port 22 2026-03-12 01:49:53,995 - DEBUG - VM ctest-TestRoutersBasic-72091359-02871522 is ready for SSH connections 2026-03-12 01:49:53,995 - INFO - Waiting for VM ctest-TestRoutersBasic-72091359-78923849 to be up.. 2026-03-12 01:49:54,133 - DEBUG - VM is in ACTIVE state now 2026-03-12 01:49:54,133 - INFO - VM name : ctest-TestRoutersBasic-72091359-78923849 2026-03-12 01:49:54,271 - DEBUG - VM ctest-TestRoutersBasic-72091359-78923849 ID is 3554af50-0b68-42eb-adf2-bd3a33ed4d77 2026-03-12 01:49:54,272 - DEBUG - VM ctest-TestRoutersBasic-72091359-78923849 launched on Node cn-jenkins-deploy-platform-juju-os-684-1 2026-03-12 01:49:54,412 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine/3554af50-0b68-42eb-adf2-bd3a33ed4d77 2026-03-12 01:49:54,467 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine-interface/7ef88a3c-c288-478c-bbff-a288b9a4d4ba 2026-03-12 01:49:55,932 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.601 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.601/1.859/3.118/1.258 ms') 2026-03-12 01:49:55,933 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-72091359-78923849 passed 2026-03-12 01:49:56,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 01:49:56,093 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72091359-78923849, IP 5.178.176.67, Port 22 2026-03-12 01:49:56,303 - DEBUG - VM ctest-TestRoutersBasic-72091359-78923849 is ready for SSH connections 2026-03-12 01:49:56,303 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 01:49:56,303 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.178.176.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-03-12 01:49:56,303 - DEBUG - ping -s 56 -c 3 -W 1 5.178.176.67 2026-03-12 01:50:00,021 - DEBUG - PING 5.178.176.67 (5.178.176.67): 56 data bytes 64 bytes from 5.178.176.67: seq=0 ttl=62 time=6.065 ms 64 bytes from 5.178.176.67: seq=1 ttl=62 time=1.145 ms 64 bytes from 5.178.176.67: seq=2 ttl=62 time=0.968 ms --- 5.178.176.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.968/2.726/6.065 ms 2026-03-12 01:50:00,021 - INFO - Ping to IP 5.178.176.67 from VM ctest-TestRoutersBasic-72091359-02871522 passed 2026-03-12 01:50:00,021 - INFO - Deleting interface with subnet_id 2889ee34-04f6-41e7-9b9a-bc43e1944008, port_id None from router 48dd6c55-230b-4708-933c-a2e0a2787846 2026-03-12 01:50:00,446 - INFO - Deleting VM ctest-TestRoutersBasic-72091359-78923849 2026-03-12 01:50:00,582 - INFO - Deleting VM ctest-TestRoutersBasic-72091359-02871522 2026-03-12 01:50:00,705 - INFO - Deleting VN ctest-ext_vn-80710612 2026-03-12 01:50:00,905 - DEBUG - VN a8835284-70e3-4cf0-aaed-50cea8a4bb25 still in use: Unable to complete operation on network a8835284-70e3-4cf0-aaed-50cea8a4bb25. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bf12be33-c74c-475f-b362-764505bdcdf8'] 2026-03-12 01:50:00,905 - WARNING - Deleting VN ctest-ext_vn-80710612 failed..Will retry 2026-03-12 01:50:03,080 - DEBUG - Response for deleting network () 2026-03-12 01:50:03,080 - INFO - Deleting VN ctest-vn-70980745 2026-03-12 01:50:03,249 - DEBUG - Response for deleting network () 2026-03-12 01:50:03,638 - DEBUG - No XMPP flaps were noticed during the test 2026-03-12 01:50:03,638 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:35] 2026-03-12 01:50:03,639 - INFO - -------------------------------------------------------------------------------- 2026-03-12 01:50:04,441 - INFO - Deleted project: ctest-TestRoutersBasic-72091359, ID : 5937abcf-0a56-4a11-844a-c1a7e32df94c