2026-03-11 13:24:54,752 - INFO - Domain Default found not creating
2026-03-11 13:24:55,011 - INFO - Project ctest-TestRoutersBasic-75051847 not found, creating it
2026-03-11 13:24:55,537 - INFO - Created Project:ctest-TestRoutersBasic-75051847, ID : 0ad21b5f-8189-4fa2-b6a2-3317d46fa0d0
2026-03-11 13:24:57,355 - INFO - ================================================================================
2026-03-11 13:24:57,355 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-03-11 13:24:57,355 - 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-11 13:24:57,620 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with
2026-03-11 13:24:57,620 - INFO - Initial checks done. Running the testcase now
2026-03-11 13:24:57,620 - INFO -
2026-03-11 13:24:58,400 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-75051847
2026-03-11 13:24:58,502 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-75051847
2026-03-11 13:24:58,849 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75051847', 'default']}
2026-03-11 13:24:59,208 - DEBUG - Response for create_network : {'network': {'id': '36fe5db2-3201-4beb-93b4-9cf47bf7cf2b', 'name': 'ctest-vn-29200445', 'tenant_id': '0ad21b5f81894fa2b6a23317d46fa0d0', 'project_id': '0ad21b5f81894fa2b6a23317d46fa0d0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75051847', 'ctest-vn-29200445'], 'port_security_enabled': True, 'description': ''}}
2026-03-11 13:24:59,428 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a26bdac-7c53-4380-8bf3-e02c54bac689', 'name': '', 'tenant_id': '0ad21b5f81894fa2b6a23317d46fa0d0', 'network_id': '36fe5db2-3201-4beb-93b4-9cf47bf7cf2b', 'ip_version': 4, 'cidr': '69.138.68.64/26', 'allocation_pools': [{'start': '69.138.68.66', 'end': '69.138.68.126'}], 'gateway_ip': '69.138.68.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.138.68.66', 'tags': [], 'project_id': '0ad21b5f81894fa2b6a23317d46fa0d0'}}
2026-03-11 13:24:59,449 - INFO - Created VN ctest-vn-29200445
2026-03-11 13:24:59,505 - DEBUG - VN ctest-vn-29200445 UUID is 36fe5db2-3201-4beb-93b4-9cf47bf7cf2b
2026-03-11 13:24:59,919 - DEBUG - Response for create_network : {'network': {'id': '3c1fd176-698a-476a-92b6-0cd0a8edcd58', 'name': 'ctest-ext_vn-08065990', 'tenant_id': '0ad21b5f81894fa2b6a23317d46fa0d0', 'project_id': '0ad21b5f81894fa2b6a23317d46fa0d0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75051847', 'ctest-ext_vn-08065990'], 'port_security_enabled': True, 'description': ''}}
2026-03-11 13:25:00,141 - DEBUG - Response for create_subnet : {'subnet': {'id': '7f919d61-6f9b-48ac-a253-a108190916e8', 'name': '', 'tenant_id': '0ad21b5f81894fa2b6a23317d46fa0d0', 'network_id': '3c1fd176-698a-476a-92b6-0cd0a8edcd58', 'ip_version': 4, 'cidr': '174.160.180.192/26', 'allocation_pools': [{'start': '174.160.180.194', 'end': '174.160.180.254'}], 'gateway_ip': '174.160.180.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.160.180.194', 'tags': [], 'project_id': '0ad21b5f81894fa2b6a23317d46fa0d0'}}
2026-03-11 13:25:00,174 - INFO - Created VN ctest-ext_vn-08065990
2026-03-11 13:25:00,230 - DEBUG - VN ctest-ext_vn-08065990 UUID is 3c1fd176-698a-476a-92b6-0cd0a8edcd58
2026-03-11 13:25:00,432 - DEBUG - Services list from nova: [, , ]
2026-03-11 13:25:01,695 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5458-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5458-1)
2026-03-11 13:25:03,157 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5458-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5458-1)
2026-03-11 13:25:03,257 - INFO - Setting gateway for router 0ed25727-8b1f-4815-9b4b-49f3e3d80ae9 to network 3c1fd176-698a-476a-92b6-0cd0a8edcd58
2026-03-11 13:25:03,342 - INFO - Adding interface with subnet_id 6a26bdac-7c53-4380-8bf3-e02c54bac689, port_id None to router 0ed25727-8b1f-4815-9b4b-49f3e3d80ae9
2026-03-11 13:25:03,869 - INFO - Waiting for VM ctest-TestRoutersBasic-75051847-00558654 to be up..
2026-03-11 13:25:04,030 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-03-11 13:25:09,155 - DEBUG - VM is in ACTIVE state now
2026-03-11 13:25:09,155 - INFO - VM name : ctest-TestRoutersBasic-75051847-00558654
2026-03-11 13:25:09,279 - DEBUG - VM ctest-TestRoutersBasic-75051847-00558654 ID is 53728fbf-ff9a-4361-9bcd-af8bb502ef6e
2026-03-11 13:25:09,311 - DEBUG - VM ctest-TestRoutersBasic-75051847-00558654 launched on Node cn-jenkins-deploy-platform-ansible-os-5458-1
2026-03-11 13:25:09,428 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/53728fbf-ff9a-4361-9bcd-af8bb502ef6e
2026-03-11 13:25:09,773 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/53728fbf-ff9a-4361-9bcd-af8bb502ef6e
2026-03-11 13:25:09,822 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/f34488b7-9478-483a-87e9-12ade7423742
2026-03-11 13:25:13,084 - 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 1002ms')
2026-03-11 13:25:13,084 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75051847-00558654 failed!
2026-03-11 13:25:13,146 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-75051847:ctest-vn-29200445 is 69.138.68.65 and allocation pool is NOT set
2026-03-11 13:25:15,219 - 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=4.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.47 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 = 1.474/3.131/4.788/1.657 ms')
2026-03-11 13:25:15,219 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75051847-00558654 passed
2026-03-11 13:25:15,378 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-11 13:25:15,378 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75051847-00558654, IP 69.138.68.67, Port 22
2026-03-11 13:25:15,444 - 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-11 13:25:15,554 - DEBUG - VM ctest-TestRoutersBasic-75051847-00558654 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-11 13:25:20,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-11 13:25:20,555 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75051847-00558654, IP 69.138.68.67, Port 22
2026-03-11 13:25:20,728 - DEBUG - VM ctest-TestRoutersBasic-75051847-00558654 is ready for SSH connections
2026-03-11 13:25:20,728 - INFO - Waiting for VM ctest-TestRoutersBasic-75051847-47559466 to be up..
2026-03-11 13:25:20,827 - DEBUG - VM is in ACTIVE state now
2026-03-11 13:25:20,827 - INFO - VM name : ctest-TestRoutersBasic-75051847-47559466
2026-03-11 13:25:20,925 - DEBUG - VM ctest-TestRoutersBasic-75051847-47559466 ID is f6b5e3c7-b73d-4d91-b6a8-a1229a62f3f1
2026-03-11 13:25:20,925 - DEBUG - VM ctest-TestRoutersBasic-75051847-47559466 launched on Node cn-jenkins-deploy-platform-ansible-os-5458-1
2026-03-11 13:25:21,023 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/f6b5e3c7-b73d-4d91-b6a8-a1229a62f3f1
2026-03-11 13:25:21,034 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/fe0a4c96-b80e-446c-a0d5-5cf7c6232760
2026-03-11 13:25:22,296 - 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=4.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.544 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.544/2.619/4.695/2.075 ms')
2026-03-11 13:25:22,296 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-75051847-47559466 passed
2026-03-11 13:25:22,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-11 13:25:22,458 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75051847-47559466, IP 174.160.180.195, Port 22
2026-03-11 13:25:22,617 - DEBUG - VM ctest-TestRoutersBasic-75051847-47559466 is ready for SSH connections
2026-03-11 13:25:22,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-11 13:25:22,617 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.160.180.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2026-03-11 13:25:22,618 - DEBUG - ping -s 56 -c 3 -W 1 174.160.180.195
2026-03-11 13:25:26,446 - DEBUG - PING 174.160.180.195 (174.160.180.195): 56 data bytes
64 bytes from 174.160.180.195: seq=0 ttl=62 time=6.048 ms
64 bytes from 174.160.180.195: seq=1 ttl=62 time=1.576 ms
64 bytes from 174.160.180.195: seq=2 ttl=62 time=1.212 ms
--- 174.160.180.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.212/2.945/6.048 ms
2026-03-11 13:25:26,446 - INFO - Ping to IP 174.160.180.195 from VM ctest-TestRoutersBasic-75051847-00558654 passed
2026-03-11 13:25:26,446 - INFO - Deleting interface with subnet_id 6a26bdac-7c53-4380-8bf3-e02c54bac689, port_id None from router 0ed25727-8b1f-4815-9b4b-49f3e3d80ae9
2026-03-11 13:25:26,728 - INFO - Deleting VM ctest-TestRoutersBasic-75051847-47559466
2026-03-11 13:25:26,844 - INFO - Deleting VM ctest-TestRoutersBasic-75051847-00558654
2026-03-11 13:25:26,953 - INFO - Deleting VN ctest-ext_vn-08065990
2026-03-11 13:25:27,086 - DEBUG - VN 3c1fd176-698a-476a-92b6-0cd0a8edcd58 still in use: Unable to complete operation on network 3c1fd176-698a-476a-92b6-0cd0a8edcd58. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-4d910526-fc2a-420f-bc3f-a220b3c6bf97']
2026-03-11 13:25:27,086 - WARNING - Deleting VN ctest-ext_vn-08065990 failed..Will retry
2026-03-11 13:25:29,240 - DEBUG - Response for deleting network ()
2026-03-11 13:25:29,240 - INFO - Deleting VN ctest-vn-29200445
2026-03-11 13:25:29,396 - DEBUG - Response for deleting network ()
2026-03-11 13:25:29,675 - DEBUG - No XMPP flaps were noticed during the test
2026-03-11 13:25:29,675 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2026-03-11 13:25:29,675 - INFO - --------------------------------------------------------------------------------
2026-03-11 13:25:30,468 - INFO - Deleted project: ctest-TestRoutersBasic-75051847, ID : 0ad21b5f-8189-4fa2-b6a2-3317d46fa0d0