2025-08-31 02:33:44,265 - INFO - Domain Default found not creating
2025-08-31 02:33:44,413 - INFO - Project ctest-TestRoutersBasic-21090115 not found, creating it
2025-08-31 02:33:44,848 - INFO - Created Project:ctest-TestRoutersBasic-21090115, ID : 8a9f895a-d5c0-4356-87b0-752b011a0bc4
2025-08-31 02:33:46,243 - INFO - ================================================================================
2025-08-31 02:33:46,244 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-31 02:33:46,244 - 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
2025-08-31 02:33:46,499 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-08-31 02:33:46,499 - INFO - Initial checks done. Running the testcase now
2025-08-31 02:33:46,499 - INFO -
2025-08-31 02:33:47,208 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-21090115
2025-08-31 02:33:47,302 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-21090115
2025-08-31 02:33:47,625 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21090115', 'default']}
2025-08-31 02:33:47,914 - DEBUG - Response for create_network : {'network': {'id': 'b2ebc392-c167-4e28-b74b-76dfa08c4a05', 'name': 'ctest-vn-96734575', 'tenant_id': '8a9f895ad5c0435687b0752b011a0bc4', 'project_id': '8a9f895ad5c0435687b0752b011a0bc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21090115', 'ctest-vn-96734575'], 'port_security_enabled': True, 'description': ''}}
2025-08-31 02:33:48,102 - DEBUG - Response for create_subnet : {'subnet': {'id': '6ef92930-751f-47e8-af8d-4a581c082564', 'name': '', 'tenant_id': '8a9f895ad5c0435687b0752b011a0bc4', 'network_id': 'b2ebc392-c167-4e28-b74b-76dfa08c4a05', 'ip_version': 4, 'cidr': '214.135.194.0/26', 'allocation_pools': [{'start': '214.135.194.2', 'end': '214.135.194.62'}], 'gateway_ip': '214.135.194.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.135.194.2', 'tags': [], 'project_id': '8a9f895ad5c0435687b0752b011a0bc4'}}
2025-08-31 02:33:48,120 - INFO - Created VN ctest-vn-96734575
2025-08-31 02:33:48,174 - DEBUG - VN ctest-vn-96734575 UUID is b2ebc392-c167-4e28-b74b-76dfa08c4a05
2025-08-31 02:33:48,494 - DEBUG - Response for create_network : {'network': {'id': '91e5c7c0-ed69-41be-8542-a9d960bce824', 'name': 'ctest-ext_vn-30188376', 'tenant_id': '8a9f895ad5c0435687b0752b011a0bc4', 'project_id': '8a9f895ad5c0435687b0752b011a0bc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21090115', 'ctest-ext_vn-30188376'], 'port_security_enabled': True, 'description': ''}}
2025-08-31 02:33:48,687 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b6ef7f3-dc5b-4ac5-98fc-503bc18f76c1', 'name': '', 'tenant_id': '8a9f895ad5c0435687b0752b011a0bc4', 'network_id': '91e5c7c0-ed69-41be-8542-a9d960bce824', 'ip_version': 4, 'cidr': '51.223.233.128/26', 'allocation_pools': [{'start': '51.223.233.130', 'end': '51.223.233.190'}], 'gateway_ip': '51.223.233.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.223.233.130', 'tags': [], 'project_id': '8a9f895ad5c0435687b0752b011a0bc4'}}
2025-08-31 02:33:48,702 - INFO - Created VN ctest-ext_vn-30188376
2025-08-31 02:33:48,754 - DEBUG - VN ctest-ext_vn-30188376 UUID is 91e5c7c0-ed69-41be-8542-a9d960bce824
2025-08-31 02:33:48,953 - DEBUG - Services list from nova: [, , ]
2025-08-31 02:33:49,927 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3986-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3986-1)
2025-08-31 02:33:51,025 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3986-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3986-1)
2025-08-31 02:33:51,107 - INFO - Setting gateway for router e6285350-d466-4e2d-8d65-ac1539bfeaab to network 91e5c7c0-ed69-41be-8542-a9d960bce824
2025-08-31 02:33:51,177 - INFO - Adding interface with subnet_id 6ef92930-751f-47e8-af8d-4a581c082564, port_id None to router e6285350-d466-4e2d-8d65-ac1539bfeaab
2025-08-31 02:33:51,563 - INFO - Waiting for VM ctest-TestRoutersBasic-21090115-02207612 to be up..
2025-08-31 02:33:51,741 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-31 02:33:56,816 - DEBUG - VM is in ACTIVE state now
2025-08-31 02:33:56,816 - INFO - VM name : ctest-TestRoutersBasic-21090115-02207612
2025-08-31 02:33:56,883 - DEBUG - VM ctest-TestRoutersBasic-21090115-02207612 ID is 28c540a8-164e-4cf0-b8aa-cae0102f9c35
2025-08-31 02:33:56,903 - DEBUG - VM ctest-TestRoutersBasic-21090115-02207612 launched on Node cn-jenkins-deploy-platform-ansible-os-3986-1
2025-08-31 02:33:56,971 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/28c540a8-164e-4cf0-b8aa-cae0102f9c35
2025-08-31 02:33:57,269 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/28c540a8-164e-4cf0-b8aa-cae0102f9c35
2025-08-31 02:33:57,297 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7933b4ce-9f27-4045-93a6-2380eef35f9e
2025-08-31 02:34:00,561 - 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 1023ms')
2025-08-31 02:34:00,561 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-21090115-02207612 failed!
2025-08-31 02:34:00,614 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-21090115:ctest-vn-96734575 is 214.135.194.1 and allocation pool is NOT set
2025-08-31 02:34:02,680 - 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=6.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.92 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 = 2.920/4.629/6.339/1.709 ms')
2025-08-31 02:34:02,681 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-21090115-02207612 passed
2025-08-31 02:34:02,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-31 02:34:02,834 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21090115-02207612, IP 214.135.194.3, Port 22
2025-08-31 02:34:02,900 - 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': ''}
2025-08-31 02:34:02,977 - DEBUG - VM ctest-TestRoutersBasic-21090115-02207612 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-31 02:34:07,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-31 02:34:07,978 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21090115-02207612, IP 214.135.194.3, Port 22
2025-08-31 02:34:08,140 - DEBUG - VM ctest-TestRoutersBasic-21090115-02207612 is ready for SSH connections
2025-08-31 02:34:08,141 - INFO - Waiting for VM ctest-TestRoutersBasic-21090115-35305330 to be up..
2025-08-31 02:34:08,204 - DEBUG - VM is in ACTIVE state now
2025-08-31 02:34:08,204 - INFO - VM name : ctest-TestRoutersBasic-21090115-35305330
2025-08-31 02:34:08,267 - DEBUG - VM ctest-TestRoutersBasic-21090115-35305330 ID is 9ce5173e-6ea2-442a-8745-817370a60fa4
2025-08-31 02:34:08,267 - DEBUG - VM ctest-TestRoutersBasic-21090115-35305330 launched on Node cn-jenkins-deploy-platform-ansible-os-3986-1
2025-08-31 02:34:08,341 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9ce5173e-6ea2-442a-8745-817370a60fa4
2025-08-31 02:34:08,348 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/763ae96d-a487-4be7-8ac6-48e5aa943ab2
2025-08-31 02:34:09,584 - 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=2.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.347 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.347/1.495/2.643/1.148 ms')
2025-08-31 02:34:09,584 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-21090115-35305330 passed
2025-08-31 02:34:09,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-31 02:34:09,730 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21090115-35305330, IP 51.223.233.131, Port 22
2025-08-31 02:34:09,885 - DEBUG - VM ctest-TestRoutersBasic-21090115-35305330 is ready for SSH connections
2025-08-31 02:34:09,885 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-31 02:34:09,885 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 51.223.233.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-08-31 02:34:09,885 - DEBUG - ping -s 56 -c 3 -W 1 51.223.233.131
2025-08-31 02:34:13,868 - DEBUG - PING 51.223.233.131 (51.223.233.131): 56 data bytes
64 bytes from 51.223.233.131: seq=0 ttl=62 time=6.181 ms
64 bytes from 51.223.233.131: seq=1 ttl=62 time=0.793 ms
64 bytes from 51.223.233.131: seq=2 ttl=62 time=1.062 ms
--- 51.223.233.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.793/2.678/6.181 ms
2025-08-31 02:34:13,868 - INFO - Ping to IP 51.223.233.131 from VM ctest-TestRoutersBasic-21090115-02207612 passed
2025-08-31 02:34:13,868 - INFO - Deleting interface with subnet_id 6ef92930-751f-47e8-af8d-4a581c082564, port_id None from router e6285350-d466-4e2d-8d65-ac1539bfeaab
2025-08-31 02:34:14,045 - INFO - Deleting VM ctest-TestRoutersBasic-21090115-35305330
2025-08-31 02:34:14,121 - INFO - Deleting VM ctest-TestRoutersBasic-21090115-02207612
2025-08-31 02:34:14,204 - INFO - Deleting VN ctest-ext_vn-30188376
2025-08-31 02:34:14,269 - DEBUG - VN 91e5c7c0-ed69-41be-8542-a9d960bce824 still in use: Unable to complete operation on network 91e5c7c0-ed69-41be-8542-a9d960bce824. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2785da73-9a35-4c0f-b508-2ae0e712ecde']
2025-08-31 02:34:14,270 - WARNING - Deleting VN ctest-ext_vn-30188376 failed..Will retry
2025-08-31 02:34:16,369 - DEBUG - Response for deleting network ()
2025-08-31 02:34:16,370 - INFO - Deleting VN ctest-vn-96734575
2025-08-31 02:34:16,462 - DEBUG - Response for deleting network ()
2025-08-31 02:34:16,719 - DEBUG - No XMPP flaps were noticed during the test
2025-08-31 02:34:16,719 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2025-08-31 02:34:16,719 - INFO - --------------------------------------------------------------------------------
2025-08-31 02:34:17,385 - INFO - Deleted project: ctest-TestRoutersBasic-21090115, ID : 8a9f895a-d5c0-4356-87b0-752b011a0bc4