2026-07-17 18:07:33,606 - INFO - Domain Default found not creating 2026-07-17 18:07:33,819 - INFO - Project ctest-TestRoutersBasic-41658940 not found, creating it 2026-07-17 18:07:34,360 - INFO - Created Project:ctest-TestRoutersBasic-41658940, ID : 46b90daa-1e77-45d5-9cbe-d61a235a986b 2026-07-17 18:07:36,335 - INFO - ================================================================================ 2026-07-17 18:07:36,336 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-07-17 18:07:36,336 - 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-07-17 18:07:36,612 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-07-17 18:07:36,612 - INFO - Initial checks done. Running the testcase now 2026-07-17 18:07:36,612 - INFO - 2026-07-17 18:07:37,509 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-41658940 2026-07-17 18:07:37,606 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-41658940 2026-07-17 18:07:37,950 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41658940', 'default']} 2026-07-17 18:07:38,287 - DEBUG - Response for create_network : {'network': {'id': 'c17c74a2-f1e3-4919-80ec-847db26da210', 'name': 'ctest-vn-15803917', 'tenant_id': '46b90daa1e7745d59cbed61a235a986b', 'project_id': '46b90daa1e7745d59cbed61a235a986b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41658940', 'ctest-vn-15803917'], 'port_security_enabled': True, 'description': ''}} 2026-07-17 18:07:38,526 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a0c57ca-9142-4c71-b21a-0d9bb4b37e41', 'name': '', 'tenant_id': '46b90daa1e7745d59cbed61a235a986b', 'network_id': 'c17c74a2-f1e3-4919-80ec-847db26da210', 'ip_version': 4, 'cidr': '161.172.197.0/26', 'allocation_pools': [{'start': '161.172.197.2', 'end': '161.172.197.62'}], 'gateway_ip': '161.172.197.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.172.197.2', 'tags': [], 'project_id': '46b90daa1e7745d59cbed61a235a986b'}} 2026-07-17 18:07:38,546 - INFO - Created VN ctest-vn-15803917 2026-07-17 18:07:38,602 - DEBUG - VN ctest-vn-15803917 UUID is c17c74a2-f1e3-4919-80ec-847db26da210 2026-07-17 18:07:38,956 - DEBUG - Response for create_network : {'network': {'id': 'a192818d-9ec2-4983-98cf-8a468caa9f78', 'name': 'ctest-ext_vn-95097184', 'tenant_id': '46b90daa1e7745d59cbed61a235a986b', 'project_id': '46b90daa1e7745d59cbed61a235a986b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41658940', 'ctest-ext_vn-95097184'], 'port_security_enabled': True, 'description': ''}} 2026-07-17 18:07:39,207 - DEBUG - Response for create_subnet : {'subnet': {'id': '3788b4dd-3acf-4e6c-9d20-aba4a5d65023', 'name': '', 'tenant_id': '46b90daa1e7745d59cbed61a235a986b', 'network_id': 'a192818d-9ec2-4983-98cf-8a468caa9f78', 'ip_version': 4, 'cidr': '89.46.42.64/26', 'allocation_pools': [{'start': '89.46.42.66', 'end': '89.46.42.126'}], 'gateway_ip': '89.46.42.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.46.42.66', 'tags': [], 'project_id': '46b90daa1e7745d59cbed61a235a986b'}} 2026-07-17 18:07:39,230 - INFO - Created VN ctest-ext_vn-95097184 2026-07-17 18:07:39,282 - DEBUG - VN ctest-ext_vn-95097184 UUID is a192818d-9ec2-4983-98cf-8a468caa9f78 2026-07-17 18:07:39,470 - DEBUG - Services list from nova: [, , ] 2026-07-17 18:07:39,884 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6099-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6099-1) 2026-07-17 18:07:40,410 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6099-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6099-1) 2026-07-17 18:07:40,492 - INFO - Setting gateway for router 0437b146-7edd-404e-8694-407a8349bb25 to network a192818d-9ec2-4983-98cf-8a468caa9f78 2026-07-17 18:07:40,565 - INFO - Adding interface with subnet_id 9a0c57ca-9142-4c71-b21a-0d9bb4b37e41, port_id None to router 0437b146-7edd-404e-8694-407a8349bb25 2026-07-17 18:07:40,989 - INFO - Waiting for VM ctest-TestRoutersBasic-41658940-92116634 to be up.. 2026-07-17 18:07:41,094 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-17 18:07:46,184 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-17 18:07:51,377 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-17 18:07:56,465 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-17 18:08:01,561 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-17 18:08:06,657 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-17 18:08:11,752 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-17 18:08:16,830 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-17 18:08:21,922 - DEBUG - VM is in ACTIVE state now 2026-07-17 18:08:21,922 - INFO - VM name : ctest-TestRoutersBasic-41658940-92116634 2026-07-17 18:08:22,009 - DEBUG - VM ctest-TestRoutersBasic-41658940-92116634 ID is ed1a9653-8565-4e4e-acc4-565fac0a9b56 2026-07-17 18:08:22,038 - DEBUG - VM ctest-TestRoutersBasic-41658940-92116634 launched on Node cn-jenkins-deploy-platform-ansible-os-6099-1 2026-07-17 18:08:22,139 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ed1a9653-8565-4e4e-acc4-565fac0a9b56 2026-07-17 18:08:22,511 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ed1a9653-8565-4e4e-acc4-565fac0a9b56 2026-07-17 18:08:22,546 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3e4e8b2a-e87d-4846-8f61-d0e28d1225d5 2026-07-17 18:08:25,816 - 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 1012ms') 2026-07-17 18:08:25,816 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-41658940-92116634 failed! 2026-07-17 18:08:25,874 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-41658940:ctest-vn-15803917 is 161.172.197.1 and allocation pool is NOT set 2026-07-17 18:08:27,940 - 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=3.71 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.395 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 = 0.395/2.050/3.706/1.655 ms') 2026-07-17 18:08:27,940 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-41658940-92116634 passed 2026-07-17 18:08:28,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-17 18:08:28,094 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41658940-92116634, IP 161.172.197.3, Port 22 2026-07-17 18:08:28,267 - DEBUG - VM ctest-TestRoutersBasic-41658940-92116634 is ready for SSH connections 2026-07-17 18:08:28,268 - INFO - Waiting for VM ctest-TestRoutersBasic-41658940-85182686 to be up.. 2026-07-17 18:08:28,364 - DEBUG - VM is in ACTIVE state now 2026-07-17 18:08:28,364 - INFO - VM name : ctest-TestRoutersBasic-41658940-85182686 2026-07-17 18:08:28,449 - DEBUG - VM ctest-TestRoutersBasic-41658940-85182686 ID is 921f6ad6-2ba3-4a40-9771-6f45897cdce1 2026-07-17 18:08:28,450 - DEBUG - VM ctest-TestRoutersBasic-41658940-85182686 launched on Node cn-jenkins-deploy-platform-ansible-os-6099-1 2026-07-17 18:08:28,526 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/921f6ad6-2ba3-4a40-9771-6f45897cdce1 2026-07-17 18:08:28,535 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9396ef47-1c84-460f-903a-bb62fdb1b7ca 2026-07-17 18:08:29,784 - 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=5.54 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=2.68 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 = 2.677/4.109/5.541/1.432 ms') 2026-07-17 18:08:29,784 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-41658940-85182686 passed 2026-07-17 18:08:29,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-17 18:08:29,938 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41658940-85182686, IP 89.46.42.68, Port 22 2026-07-17 18:08:30,003 - DEBUG - Error on ssh to cirros@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-07-17 18:08:30,084 - DEBUG - VM ctest-TestRoutersBasic-41658940-85182686 is NOT ready for SSH connections, VM status: ACTIVE 2026-07-17 18:08:35,084 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-17 18:08:35,084 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41658940-85182686, IP 89.46.42.68, Port 22 2026-07-17 18:08:35,255 - DEBUG - VM ctest-TestRoutersBasic-41658940-85182686 is ready for SSH connections 2026-07-17 18:08:35,256 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-17 18:08:35,256 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.46.42.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-07-17 18:08:35,256 - DEBUG - ping -s 56 -c 3 -W 1 89.46.42.68 2026-07-17 18:08:38,311 - DEBUG - PING 89.46.42.68 (89.46.42.68): 56 data bytes 64 bytes from 89.46.42.68: seq=0 ttl=62 time=6.118 ms 64 bytes from 89.46.42.68: seq=1 ttl=62 time=0.945 ms 64 bytes from 89.46.42.68: seq=2 ttl=62 time=1.246 ms --- 89.46.42.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.945/2.769/6.118 ms 2026-07-17 18:08:38,311 - INFO - Ping to IP 89.46.42.68 from VM ctest-TestRoutersBasic-41658940-92116634 passed 2026-07-17 18:08:38,311 - INFO - Deleting interface with subnet_id 9a0c57ca-9142-4c71-b21a-0d9bb4b37e41, port_id None from router 0437b146-7edd-404e-8694-407a8349bb25 2026-07-17 18:08:38,510 - INFO - Deleting VM ctest-TestRoutersBasic-41658940-85182686 2026-07-17 18:08:38,585 - INFO - Deleting VM ctest-TestRoutersBasic-41658940-92116634 2026-07-17 18:08:38,664 - INFO - Deleting VN ctest-ext_vn-95097184 2026-07-17 18:08:38,726 - DEBUG - VN a192818d-9ec2-4983-98cf-8a468caa9f78 still in use: Unable to complete operation on network a192818d-9ec2-4983-98cf-8a468caa9f78. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0d52634d-11b1-4c65-b4f0-3ab812a8497e'] 2026-07-17 18:08:38,726 - WARNING - Deleting VN ctest-ext_vn-95097184 failed..Will retry 2026-07-17 18:08:40,893 - DEBUG - Response for deleting network () 2026-07-17 18:08:40,894 - INFO - Deleting VN ctest-vn-15803917 2026-07-17 18:08:41,031 - DEBUG - Response for deleting network () 2026-07-17 18:08:41,293 - DEBUG - No XMPP flaps were noticed during the test
2026-07-17 18:08:41,293 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:05]
2026-07-17 18:08:41,293 - INFO - -------------------------------------------------------------------------------- 2026-07-17 18:08:42,461 - INFO - Deleted project: ctest-TestRoutersBasic-41658940, ID : 46b90daa-1e77-45d5-9cbe-d61a235a986b