2026-08-25 15:48:22,597 - INFO - Domain Default found not creating
2026-08-25 15:48:22,878 - INFO - Project ctest-TestRoutersBasic-89938892 not found, creating it
2026-08-25 15:48:23,483 - INFO - Created Project:ctest-TestRoutersBasic-89938892, ID : 5fd95b6c-b064-4766-ade8-5aee887c0467
2026-08-25 15:48:25,611 - INFO - ================================================================================
2026-08-25 15:48:25,612 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-08-25 15:48:25,612 - 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-08-25 15:48:25,888 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.25': '0'}} with
2026-08-25 15:48:25,888 - INFO - Initial checks done. Running the testcase now
2026-08-25 15:48:25,889 - INFO -
2026-08-25 15:48:26,794 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-89938892
2026-08-25 15:48:26,897 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-89938892
2026-08-25 15:48:27,248 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89938892', 'default']}
2026-08-25 15:48:27,681 - DEBUG - Response for create_network : {'network': {'id': '52cf1284-8cee-4133-9148-650604d8c7da', 'name': 'ctest-vn-17209225', 'tenant_id': '5fd95b6cb0644766ade85aee887c0467', 'project_id': '5fd95b6cb0644766ade85aee887c0467', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89938892', 'ctest-vn-17209225'], 'port_security_enabled': True, 'description': ''}}
2026-08-25 15:48:27,900 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ecdd4f11-9a89-4589-80db-d01c3ca85a65', 'name': '', 'tenant_id': '5fd95b6cb0644766ade85aee887c0467', 'network_id': '52cf1284-8cee-4133-9148-650604d8c7da', 'ip_version': 4, 'cidr': '146.254.117.64/26', 'allocation_pools': [{'start': '146.254.117.66', 'end': '146.254.117.126'}], 'gateway_ip': '146.254.117.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.254.117.66', 'tags': [], 'project_id': '5fd95b6cb0644766ade85aee887c0467'}}
2026-08-25 15:48:27,921 - INFO - Created VN ctest-vn-17209225
2026-08-25 15:48:27,981 - DEBUG - VN ctest-vn-17209225 UUID is 52cf1284-8cee-4133-9148-650604d8c7da
2026-08-25 15:48:28,386 - DEBUG - Response for create_network : {'network': {'id': 'e4c14610-67eb-4746-85e9-401e87bb88db', 'name': 'ctest-ext_vn-02657313', 'tenant_id': '5fd95b6cb0644766ade85aee887c0467', 'project_id': '5fd95b6cb0644766ade85aee887c0467', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89938892', 'ctest-ext_vn-02657313'], 'port_security_enabled': True, 'description': ''}}
2026-08-25 15:48:28,596 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e8e09d3-4907-4a0b-a36b-5a1b20f7a2e9', 'name': '', 'tenant_id': '5fd95b6cb0644766ade85aee887c0467', 'network_id': 'e4c14610-67eb-4746-85e9-401e87bb88db', 'ip_version': 4, 'cidr': '133.62.139.128/26', 'allocation_pools': [{'start': '133.62.139.130', 'end': '133.62.139.190'}], 'gateway_ip': '133.62.139.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.62.139.130', 'tags': [], 'project_id': '5fd95b6cb0644766ade85aee887c0467'}}
2026-08-25 15:48:28,618 - INFO - Created VN ctest-ext_vn-02657313
2026-08-25 15:48:28,677 - DEBUG - VN ctest-ext_vn-02657313 UUID is e4c14610-67eb-4746-85e9-401e87bb88db
2026-08-25 15:48:28,889 - DEBUG - Services list from nova: [, , ]
2026-08-25 15:48:29,329 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6226-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6226-1)
2026-08-25 15:48:29,839 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6226-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6226-1)
2026-08-25 15:48:29,936 - INFO - Setting gateway for router 218a2bbb-58af-4b5a-ae74-5076d59ae204 to network e4c14610-67eb-4746-85e9-401e87bb88db
2026-08-25 15:48:30,015 - INFO - Adding interface with subnet_id ecdd4f11-9a89-4589-80db-d01c3ca85a65, port_id None to router 218a2bbb-58af-4b5a-ae74-5076d59ae204
2026-08-25 15:48:30,495 - INFO - Waiting for VM ctest-TestRoutersBasic-89938892-81864835 to be up..
2026-08-25 15:48:30,583 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 15:48:35,677 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 15:48:40,867 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 15:48:45,968 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 15:48:51,066 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 15:48:56,152 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 15:49:01,306 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 15:49:06,395 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 15:49:11,484 - DEBUG - VM is in ACTIVE state now
2026-08-25 15:49:11,484 - INFO - VM name : ctest-TestRoutersBasic-89938892-81864835
2026-08-25 15:49:11,584 - DEBUG - VM ctest-TestRoutersBasic-89938892-81864835 ID is 36c63c71-a2a6-443a-9cd3-0c6962aea923
2026-08-25 15:49:11,612 - DEBUG - VM ctest-TestRoutersBasic-89938892-81864835 launched on Node cn-jenkins-deploy-platform-ansible-os-6226-1
2026-08-25 15:49:11,741 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/36c63c71-a2a6-443a-9cd3-0c6962aea923
2026-08-25 15:49:12,106 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/36c63c71-a2a6-443a-9cd3-0c6962aea923
2026-08-25 15:49:12,150 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/1de16830-e7a2-41c4-b300-229902c6475c
2026-08-25 15:49:15,446 - 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 1024ms')
2026-08-25 15:49:15,446 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-89938892-81864835 failed!
2026-08-25 15:49:15,504 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-89938892:ctest-vn-17209225 is 146.254.117.65 and allocation pool is NOT set
2026-08-25 15:49:17,568 - 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.66 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.35 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.349/4.006/6.663/2.657 ms')
2026-08-25 15:49:17,568 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-89938892-81864835 passed
2026-08-25 15:49:17,725 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-25 15:49:17,725 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89938892-81864835, IP 146.254.117.67, Port 22
2026-08-25 15:49:17,898 - DEBUG - VM ctest-TestRoutersBasic-89938892-81864835 is ready for SSH connections
2026-08-25 15:49:17,898 - INFO - Waiting for VM ctest-TestRoutersBasic-89938892-51878013 to be up..
2026-08-25 15:49:17,999 - DEBUG - VM is in ACTIVE state now
2026-08-25 15:49:17,999 - INFO - VM name : ctest-TestRoutersBasic-89938892-51878013
2026-08-25 15:49:18,094 - DEBUG - VM ctest-TestRoutersBasic-89938892-51878013 ID is 8afe1d94-085f-4d06-91d3-7d32a6d0e53d
2026-08-25 15:49:18,094 - DEBUG - VM ctest-TestRoutersBasic-89938892-51878013 launched on Node cn-jenkins-deploy-platform-ansible-os-6226-1
2026-08-25 15:49:18,179 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/8afe1d94-085f-4d06-91d3-7d32a6d0e53d
2026-08-25 15:49:18,189 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/24ca8445-b982-409b-92cb-6208baa0c635
2026-08-25 15:49:19,452 - 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.58 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.591 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.591/3.087/5.584/2.496 ms')
2026-08-25 15:49:19,452 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-89938892-51878013 passed
2026-08-25 15:49:19,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-25 15:49:19,609 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89938892-51878013, IP 133.62.139.132, Port 22
2026-08-25 15:49:19,674 - 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-08-25 15:49:19,775 - DEBUG - VM ctest-TestRoutersBasic-89938892-51878013 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-25 15:49:24,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-25 15:49:24,776 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89938892-51878013, IP 133.62.139.132, Port 22
2026-08-25 15:49:24,947 - DEBUG - VM ctest-TestRoutersBasic-89938892-51878013 is ready for SSH connections
2026-08-25 15:49:24,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-25 15:49:24,947 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.62.139.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123
2026-08-25 15:49:24,947 - DEBUG - ping -s 56 -c 3 -W 1 133.62.139.132
2026-08-25 15:49:28,047 - DEBUG - PING 133.62.139.132 (133.62.139.132): 56 data bytes
64 bytes from 133.62.139.132: seq=0 ttl=62 time=9.951 ms
64 bytes from 133.62.139.132: seq=1 ttl=62 time=1.396 ms
64 bytes from 133.62.139.132: seq=2 ttl=62 time=2.040 ms
--- 133.62.139.132 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.396/4.462/9.951 ms
2026-08-25 15:49:28,048 - INFO - Ping to IP 133.62.139.132 from VM ctest-TestRoutersBasic-89938892-81864835 passed
2026-08-25 15:49:28,048 - INFO - Deleting interface with subnet_id ecdd4f11-9a89-4589-80db-d01c3ca85a65, port_id None from router 218a2bbb-58af-4b5a-ae74-5076d59ae204
2026-08-25 15:49:28,383 - INFO - Deleting VM ctest-TestRoutersBasic-89938892-51878013
2026-08-25 15:49:28,491 - INFO - Deleting VM ctest-TestRoutersBasic-89938892-81864835
2026-08-25 15:49:28,589 - INFO - Deleting VN ctest-ext_vn-02657313
2026-08-25 15:49:28,730 - DEBUG - VN e4c14610-67eb-4746-85e9-401e87bb88db still in use: Unable to complete operation on network e4c14610-67eb-4746-85e9-401e87bb88db. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-72fa817d-0d33-46f6-99a8-2ffc6ad9bce1']
2026-08-25 15:49:28,730 - WARNING - Deleting VN ctest-ext_vn-02657313 failed..Will retry
2026-08-25 15:49:30,935 - DEBUG - Response for deleting network ()
2026-08-25 15:49:30,935 - INFO - Deleting VN ctest-vn-17209225
2026-08-25 15:49:31,083 - DEBUG - Response for deleting network ()
2026-08-25 15:49:31,357 - DEBUG - No XMPP flaps were noticed during the test
2026-08-25 15:49:31,357 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:06]
2026-08-25 15:49:31,357 - INFO - --------------------------------------------------------------------------------
2026-08-25 15:49:32,228 - INFO - Deleted project: ctest-TestRoutersBasic-89938892, ID : 5fd95b6c-b064-4766-ade8-5aee887c0467