2026-10-27 01:30:43,682 - INFO - Domain Default found not creating 2026-10-27 01:30:43,844 - INFO - Project ctest-TestRoutersBasic-45192499 not found, creating it 2026-10-27 01:30:44,373 - INFO - Created Project:ctest-TestRoutersBasic-45192499, ID : d11c65f7-3f90-481b-9890-8cfe58fc449e 2026-10-27 01:30:46,171 - INFO - ================================================================================ 2026-10-27 01:30:46,172 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-27 01:30:46,172 - 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-10-27 01:30:46,430 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-10-27 01:30:46,430 - INFO - Initial checks done. Running the testcase now 2026-10-27 01:30:46,430 - INFO - 2026-10-27 01:30:47,291 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-45192499 2026-10-27 01:30:47,384 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-45192499 2026-10-27 01:30:47,704 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45192499', 'default']} 2026-10-27 01:30:48,020 - DEBUG - Response for create_network : {'network': {'id': '5bed5772-6d2c-4200-a787-67ecd8b35375', 'name': 'ctest-vn-20915078', 'tenant_id': 'd11c65f73f90481b98908cfe58fc449e', 'project_id': 'd11c65f73f90481b98908cfe58fc449e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45192499', 'ctest-vn-20915078'], 'port_security_enabled': True, 'description': ''}} 2026-10-27 01:30:48,232 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a4e305a4-d54f-4479-b6fd-8f465c030c44', 'name': '', 'tenant_id': 'd11c65f73f90481b98908cfe58fc449e', 'network_id': '5bed5772-6d2c-4200-a787-67ecd8b35375', 'ip_version': 4, 'cidr': '37.185.88.64/26', 'allocation_pools': [{'start': '37.185.88.66', 'end': '37.185.88.126'}], 'gateway_ip': '37.185.88.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.185.88.66', 'tags': [], 'project_id': 'd11c65f73f90481b98908cfe58fc449e'}} 2026-10-27 01:30:48,249 - INFO - Created VN ctest-vn-20915078 2026-10-27 01:30:48,300 - DEBUG - VN ctest-vn-20915078 UUID is 5bed5772-6d2c-4200-a787-67ecd8b35375 2026-10-27 01:30:48,648 - DEBUG - Response for create_network : {'network': {'id': '8b3b7647-ddcd-4469-8ec9-6c3caf8aacee', 'name': 'ctest-ext_vn-14744029', 'tenant_id': 'd11c65f73f90481b98908cfe58fc449e', 'project_id': 'd11c65f73f90481b98908cfe58fc449e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45192499', 'ctest-ext_vn-14744029'], 'port_security_enabled': True, 'description': ''}} 2026-10-27 01:30:48,835 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e5dc04d2-3cce-480f-83e1-94b2aa0e89ee', 'name': '', 'tenant_id': 'd11c65f73f90481b98908cfe58fc449e', 'network_id': '8b3b7647-ddcd-4469-8ec9-6c3caf8aacee', 'ip_version': 4, 'cidr': '138.113.39.0/26', 'allocation_pools': [{'start': '138.113.39.2', 'end': '138.113.39.62'}], 'gateway_ip': '138.113.39.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.113.39.2', 'tags': [], 'project_id': 'd11c65f73f90481b98908cfe58fc449e'}} 2026-10-27 01:30:48,855 - INFO - Created VN ctest-ext_vn-14744029 2026-10-27 01:30:48,912 - DEBUG - VN ctest-ext_vn-14744029 UUID is 8b3b7647-ddcd-4469-8ec9-6c3caf8aacee 2026-10-27 01:30:49,117 - DEBUG - Services list from nova: [, , ] 2026-10-27 01:30:49,526 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6419-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6419-1) 2026-10-27 01:30:49,898 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6419-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6419-1) 2026-10-27 01:30:49,966 - INFO - Setting gateway for router 8dcfc6b0-c2fa-4543-a319-2e466c78eb2c to network 8b3b7647-ddcd-4469-8ec9-6c3caf8aacee 2026-10-27 01:30:50,010 - INFO - Adding interface with subnet_id a4e305a4-d54f-4479-b6fd-8f465c030c44, port_id None to router 8dcfc6b0-c2fa-4543-a319-2e466c78eb2c 2026-10-27 01:30:50,271 - INFO - Waiting for VM ctest-TestRoutersBasic-45192499-20921621 to be up.. 2026-10-27 01:30:50,324 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 01:30:55,369 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 01:31:00,436 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 01:31:05,502 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 01:31:10,628 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 01:31:15,694 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 01:31:20,790 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 01:31:25,866 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 01:31:30,946 - DEBUG - VM is in ACTIVE state now 2026-10-27 01:31:30,947 - INFO - VM name : ctest-TestRoutersBasic-45192499-20921621 2026-10-27 01:31:31,016 - DEBUG - VM ctest-TestRoutersBasic-45192499-20921621 ID is 478a616d-cfab-42db-9b7b-fbf34cbb1496 2026-10-27 01:31:31,035 - DEBUG - VM ctest-TestRoutersBasic-45192499-20921621 launched on Node cn-jenkins-deploy-platform-ansible-os-6419-1 2026-10-27 01:31:31,103 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/478a616d-cfab-42db-9b7b-fbf34cbb1496 2026-10-27 01:31:31,465 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/478a616d-cfab-42db-9b7b-fbf34cbb1496 2026-10-27 01:31:31,493 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/03cda015-7a1b-4a32-8b87-a869bd4082cf 2026-10-27 01:31:34,756 - 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 1026ms') 2026-10-27 01:31:34,756 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-45192499-20921621 failed! 2026-10-27 01:31:34,808 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-45192499:ctest-vn-20915078 is 37.185.88.65 and allocation pool is NOT set 2026-10-27 01:31:36,882 - 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=6.64 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=4.05 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 = 4.052/5.344/6.637/1.292 ms') 2026-10-27 01:31:36,882 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-45192499-20921621 passed 2026-10-27 01:31:37,032 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-27 01:31:37,032 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45192499-20921621, IP 37.185.88.67, Port 22 2026-10-27 01:31:37,088 - 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-10-27 01:31:37,158 - DEBUG - VM ctest-TestRoutersBasic-45192499-20921621 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-27 01:31:42,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-27 01:31:42,159 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45192499-20921621, IP 37.185.88.67, Port 22 2026-10-27 01:31:42,316 - DEBUG - VM ctest-TestRoutersBasic-45192499-20921621 is ready for SSH connections 2026-10-27 01:31:42,316 - INFO - Waiting for VM ctest-TestRoutersBasic-45192499-61251042 to be up.. 2026-10-27 01:31:42,396 - DEBUG - VM is in ACTIVE state now 2026-10-27 01:31:42,396 - INFO - VM name : ctest-TestRoutersBasic-45192499-61251042 2026-10-27 01:31:42,466 - DEBUG - VM ctest-TestRoutersBasic-45192499-61251042 ID is 90845cda-4aa1-4fd3-ac8d-a1b46bf31690 2026-10-27 01:31:42,466 - DEBUG - VM ctest-TestRoutersBasic-45192499-61251042 launched on Node cn-jenkins-deploy-platform-ansible-os-6419-1 2026-10-27 01:31:42,532 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/90845cda-4aa1-4fd3-ac8d-a1b46bf31690 2026-10-27 01:31:42,539 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/1ef6dca2-3153-4e23-a761-a2c757d8335c 2026-10-27 01:31:43,771 - 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.408 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.408/1.916/3.424/1.508 ms') 2026-10-27 01:31:43,771 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-45192499-61251042 passed 2026-10-27 01:31:43,924 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-27 01:31:43,924 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45192499-61251042, IP 138.113.39.4, Port 22 2026-10-27 01:31:44,080 - DEBUG - VM ctest-TestRoutersBasic-45192499-61251042 is ready for SSH connections 2026-10-27 01:31:44,080 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-27 01:31:44,080 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.113.39.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-27 01:31:44,080 - DEBUG - ping -s 56 -c 3 -W 1 138.113.39.4 2026-10-27 01:31:47,040 - DEBUG - PING 138.113.39.4 (138.113.39.4): 56 data bytes 64 bytes from 138.113.39.4: seq=0 ttl=62 time=6.765 ms 64 bytes from 138.113.39.4: seq=1 ttl=62 time=1.342 ms 64 bytes from 138.113.39.4: seq=2 ttl=62 time=0.877 ms --- 138.113.39.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.877/2.994/6.765 ms 2026-10-27 01:31:47,040 - INFO - Ping to IP 138.113.39.4 from VM ctest-TestRoutersBasic-45192499-20921621 passed 2026-10-27 01:31:47,040 - INFO - Deleting interface with subnet_id a4e305a4-d54f-4479-b6fd-8f465c030c44, port_id None from router 8dcfc6b0-c2fa-4543-a319-2e466c78eb2c 2026-10-27 01:31:47,222 - INFO - Deleting VM ctest-TestRoutersBasic-45192499-61251042 2026-10-27 01:31:47,291 - INFO - Deleting VM ctest-TestRoutersBasic-45192499-20921621 2026-10-27 01:31:47,355 - INFO - Deleting VN ctest-ext_vn-14744029 2026-10-27 01:31:47,409 - DEBUG - VN 8b3b7647-ddcd-4469-8ec9-6c3caf8aacee still in use: Unable to complete operation on network 8b3b7647-ddcd-4469-8ec9-6c3caf8aacee. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2218075c-a9bc-4a98-b8b5-0402bbcdedbd'] 2026-10-27 01:31:47,410 - WARNING - Deleting VN ctest-ext_vn-14744029 failed..Will retry 2026-10-27 01:31:49,445 - DEBUG - VN 8b3b7647-ddcd-4469-8ec9-6c3caf8aacee still in use: Unable to complete operation on network 8b3b7647-ddcd-4469-8ec9-6c3caf8aacee. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-71d0b84e-be28-4230-a570-cf63c4ae071c'] 2026-10-27 01:31:49,445 - WARNING - Deleting VN ctest-ext_vn-14744029 failed..Will retry 2026-10-27 01:31:51,955 - DEBUG - Response for deleting network () 2026-10-27 01:31:51,955 - INFO - Deleting VN ctest-vn-20915078 2026-10-27 01:31:52,075 - DEBUG - Response for deleting network () 2026-10-27 01:31:52,333 - DEBUG - No XMPP flaps were noticed during the test
2026-10-27 01:31:52,333 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:06]
2026-10-27 01:31:52,333 - INFO - -------------------------------------------------------------------------------- 2026-10-27 01:31:53,100 - INFO - Deleted project: ctest-TestRoutersBasic-45192499, ID : d11c65f7-3f90-481b-9890-8cfe58fc449e