2026-07-18 15:43:12,804 - INFO - Domain Default found not creating
2026-07-18 15:43:12,974 - INFO - Project ctest-TestRoutersBasic-55646609 not found, creating it
2026-07-18 15:43:13,456 - INFO - Created Project:ctest-TestRoutersBasic-55646609, ID : eee85edc-7ef5-4192-b47f-f5982ed5f780
2026-07-18 15:43:15,247 - INFO - ================================================================================
2026-07-18 15:43:15,247 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-07-18 15:43:15,248 - 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-18 15:43:15,517 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with
2026-07-18 15:43:15,517 - INFO - Initial checks done. Running the testcase now
2026-07-18 15:43:15,517 - INFO -
2026-07-18 15:43:16,387 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-55646609
2026-07-18 15:43:16,488 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-55646609
2026-07-18 15:43:16,815 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55646609', 'default']}
2026-07-18 15:43:17,121 - DEBUG - Response for create_network : {'network': {'id': 'c90fa381-024e-40ea-83e2-ce3638b590de', 'name': 'ctest-vn-26425851', 'tenant_id': 'eee85edc7ef54192b47ff5982ed5f780', 'project_id': 'eee85edc7ef54192b47ff5982ed5f780', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55646609', 'ctest-vn-26425851'], 'port_security_enabled': True, 'description': ''}}
2026-07-18 15:43:17,343 - DEBUG - Response for create_subnet : {'subnet': {'id': '9638679c-9013-43c4-9d04-daa9ee11a749', 'name': '', 'tenant_id': 'eee85edc7ef54192b47ff5982ed5f780', 'network_id': 'c90fa381-024e-40ea-83e2-ce3638b590de', 'ip_version': 4, 'cidr': '166.15.219.0/26', 'allocation_pools': [{'start': '166.15.219.2', 'end': '166.15.219.62'}], 'gateway_ip': '166.15.219.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.15.219.2', 'tags': [], 'project_id': 'eee85edc7ef54192b47ff5982ed5f780'}}
2026-07-18 15:43:17,363 - INFO - Created VN ctest-vn-26425851
2026-07-18 15:43:17,419 - DEBUG - VN ctest-vn-26425851 UUID is c90fa381-024e-40ea-83e2-ce3638b590de
2026-07-18 15:43:17,779 - DEBUG - Response for create_network : {'network': {'id': '6c64acd3-4053-486d-b9a2-2dd7283b0c69', 'name': 'ctest-ext_vn-62116219', 'tenant_id': 'eee85edc7ef54192b47ff5982ed5f780', 'project_id': 'eee85edc7ef54192b47ff5982ed5f780', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55646609', 'ctest-ext_vn-62116219'], 'port_security_enabled': True, 'description': ''}}
2026-07-18 15:43:17,992 - DEBUG - Response for create_subnet : {'subnet': {'id': '8541efb7-f85f-4268-b5df-1923b2ab448f', 'name': '', 'tenant_id': 'eee85edc7ef54192b47ff5982ed5f780', 'network_id': '6c64acd3-4053-486d-b9a2-2dd7283b0c69', 'ip_version': 4, 'cidr': '28.217.132.192/26', 'allocation_pools': [{'start': '28.217.132.194', 'end': '28.217.132.254'}], 'gateway_ip': '28.217.132.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.217.132.194', 'tags': [], 'project_id': 'eee85edc7ef54192b47ff5982ed5f780'}}
2026-07-18 15:43:18,011 - INFO - Created VN ctest-ext_vn-62116219
2026-07-18 15:43:18,067 - DEBUG - VN ctest-ext_vn-62116219 UUID is 6c64acd3-4053-486d-b9a2-2dd7283b0c69
2026-07-18 15:43:18,255 - DEBUG - Services list from nova: [, , ]
2026-07-18 15:43:18,601 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6107-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6107-1)
2026-07-18 15:43:19,011 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6107-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6107-1)
2026-07-18 15:43:19,083 - INFO - Setting gateway for router b74af578-206f-416a-b0be-a5aad1382588 to network 6c64acd3-4053-486d-b9a2-2dd7283b0c69
2026-07-18 15:43:19,135 - INFO - Adding interface with subnet_id 9638679c-9013-43c4-9d04-daa9ee11a749, port_id None to router b74af578-206f-416a-b0be-a5aad1382588
2026-07-18 15:43:19,424 - INFO - Waiting for VM ctest-TestRoutersBasic-55646609-44750216 to be up..
2026-07-18 15:43:19,489 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-18 15:43:24,571 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-18 15:43:29,734 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-18 15:43:34,815 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-18 15:43:39,899 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-18 15:43:44,986 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-18 15:43:50,076 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-18 15:43:55,151 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-18 15:44:00,272 - DEBUG - VM is in ACTIVE state now
2026-07-18 15:44:00,272 - INFO - VM name : ctest-TestRoutersBasic-55646609-44750216
2026-07-18 15:44:00,367 - DEBUG - VM ctest-TestRoutersBasic-55646609-44750216 ID is aa556305-b891-42db-880e-b8ed22b075a1
2026-07-18 15:44:00,401 - DEBUG - VM ctest-TestRoutersBasic-55646609-44750216 launched on Node cn-jenkins-deploy-platform-ansible-os-6107-1
2026-07-18 15:44:00,508 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/aa556305-b891-42db-880e-b8ed22b075a1
2026-07-18 15:44:00,904 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/aa556305-b891-42db-880e-b8ed22b075a1
2026-07-18 15:44:00,941 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/acb890a5-2b19-40ed-984e-15a91af23a0a
2026-07-18 15:44:04,224 - 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 1030ms')
2026-07-18 15:44:04,224 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-55646609-44750216 failed!
2026-07-18 15:44:04,283 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-55646609:ctest-vn-26425851 is 166.15.219.1 and allocation pool is NOT set
2026-07-18 15:44:06,350 - 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.05 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.58 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.575/3.813/6.051/2.238 ms')
2026-07-18 15:44:06,350 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-55646609-44750216 passed
2026-07-18 15:44:06,511 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-18 15:44:06,511 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55646609-44750216, IP 166.15.219.3, Port 22
2026-07-18 15:44:06,582 - 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-07-18 15:44:06,681 - DEBUG - VM ctest-TestRoutersBasic-55646609-44750216 is NOT ready for SSH connections, VM status: ACTIVE
2026-07-18 15:44:11,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-18 15:44:11,682 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55646609-44750216, IP 166.15.219.3, Port 22
2026-07-18 15:44:11,854 - DEBUG - VM ctest-TestRoutersBasic-55646609-44750216 is ready for SSH connections
2026-07-18 15:44:11,855 - INFO - Waiting for VM ctest-TestRoutersBasic-55646609-52193742 to be up..
2026-07-18 15:44:11,949 - DEBUG - VM is in ACTIVE state now
2026-07-18 15:44:11,949 - INFO - VM name : ctest-TestRoutersBasic-55646609-52193742
2026-07-18 15:44:12,040 - DEBUG - VM ctest-TestRoutersBasic-55646609-52193742 ID is 004e0c63-116d-48bd-af29-ae0d0614c068
2026-07-18 15:44:12,040 - DEBUG - VM ctest-TestRoutersBasic-55646609-52193742 launched on Node cn-jenkins-deploy-platform-ansible-os-6107-1
2026-07-18 15:44:12,118 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/004e0c63-116d-48bd-af29-ae0d0614c068
2026-07-18 15:44:12,128 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2abf3f93-c3fb-4ddf-94db-56c3ac4cee8f
2026-07-18 15:44:13,377 - 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=4.50 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.649 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.649/2.572/4.496/1.923 ms')
2026-07-18 15:44:13,377 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-55646609-52193742 passed
2026-07-18 15:44:13,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-18 15:44:13,539 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55646609-52193742, IP 28.217.132.196, Port 22
2026-07-18 15:44:13,710 - DEBUG - VM ctest-TestRoutersBasic-55646609-52193742 is ready for SSH connections
2026-07-18 15:44:13,710 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-18 15:44:13,710 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.217.132.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2026-07-18 15:44:13,710 - DEBUG - ping -s 56 -c 3 -W 1 28.217.132.196
2026-07-18 15:44:16,753 - DEBUG - PING 28.217.132.196 (28.217.132.196): 56 data bytes
64 bytes from 28.217.132.196: seq=0 ttl=62 time=5.541 ms
64 bytes from 28.217.132.196: seq=1 ttl=62 time=1.710 ms
64 bytes from 28.217.132.196: seq=2 ttl=62 time=1.235 ms
--- 28.217.132.196 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.235/2.828/5.541 ms
2026-07-18 15:44:16,753 - INFO - Ping to IP 28.217.132.196 from VM ctest-TestRoutersBasic-55646609-44750216 passed
2026-07-18 15:44:16,753 - INFO - Deleting interface with subnet_id 9638679c-9013-43c4-9d04-daa9ee11a749, port_id None from router b74af578-206f-416a-b0be-a5aad1382588
2026-07-18 15:44:16,971 - INFO - Deleting VM ctest-TestRoutersBasic-55646609-52193742
2026-07-18 15:44:17,043 - INFO - Deleting VM ctest-TestRoutersBasic-55646609-44750216
2026-07-18 15:44:17,121 - INFO - Deleting VN ctest-ext_vn-62116219
2026-07-18 15:44:17,187 - DEBUG - VN 6c64acd3-4053-486d-b9a2-2dd7283b0c69 still in use: Unable to complete operation on network 6c64acd3-4053-486d-b9a2-2dd7283b0c69. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e3b499e2-88bd-41e3-932d-a2543fc0c1fe']
2026-07-18 15:44:17,187 - WARNING - Deleting VN ctest-ext_vn-62116219 failed..Will retry
2026-07-18 15:44:19,419 - DEBUG - Response for deleting network ()
2026-07-18 15:44:19,419 - INFO - Deleting VN ctest-vn-26425851
2026-07-18 15:44:19,541 - DEBUG - Response for deleting network ()
2026-07-18 15:44:19,816 - DEBUG - No XMPP flaps were noticed during the test
2026-07-18 15:44:19,816 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:04]
2026-07-18 15:44:19,816 - INFO - --------------------------------------------------------------------------------
2026-07-18 15:44:20,636 - INFO - Deleted project: ctest-TestRoutersBasic-55646609, ID : eee85edc-7ef5-4192-b47f-f5982ed5f780