2025-07-22 08:58:46,367 - INFO - Domain Default found not creating
2025-07-22 08:58:46,791 - INFO - Project ctest-TestRoutersBasic-13102494 not found, creating it
2025-07-22 08:58:47,629 - INFO - Created Project:ctest-TestRoutersBasic-13102494, ID : 4449b965-1e1f-4dcb-9d05-a4ec89a74cff
2025-07-22 08:58:49,637 - INFO - ================================================================================
2025-07-22 08:58:49,637 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-22 08:58:49,638 - 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-07-22 08:58:49,956 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-07-22 08:58:49,957 - INFO - Initial checks done. Running the testcase now
2025-07-22 08:58:49,957 - INFO -
2025-07-22 08:58:50,759 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-13102494
2025-07-22 08:58:50,874 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-13102494
2025-07-22 08:58:51,281 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13102494', 'default']}
2025-07-22 08:58:51,741 - DEBUG - Response for create_network : {'network': {'id': '230e3e23-f367-459c-82e0-ab0f02fac201', 'name': 'ctest-vn-71408494', 'tenant_id': '4449b9651e1f4dcb9d05a4ec89a74cff', 'project_id': '4449b9651e1f4dcb9d05a4ec89a74cff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13102494', 'ctest-vn-71408494'], 'port_security_enabled': True, 'description': ''}}
2025-07-22 08:58:52,090 - DEBUG - Response for create_subnet : {'subnet': {'id': '37606a1d-0d71-4bd8-b675-15b5d295403d', 'name': '', 'tenant_id': '4449b9651e1f4dcb9d05a4ec89a74cff', 'network_id': '230e3e23-f367-459c-82e0-ab0f02fac201', 'ip_version': 4, 'cidr': '154.252.109.128/26', 'allocation_pools': [{'start': '154.252.109.130', 'end': '154.252.109.190'}], 'gateway_ip': '154.252.109.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.252.109.130', 'tags': [], 'project_id': '4449b9651e1f4dcb9d05a4ec89a74cff'}}
2025-07-22 08:58:52,127 - INFO - Created VN ctest-vn-71408494
2025-07-22 08:58:52,197 - DEBUG - VN ctest-vn-71408494 UUID is 230e3e23-f367-459c-82e0-ab0f02fac201
2025-07-22 08:58:52,861 - DEBUG - Response for create_network : {'network': {'id': 'a1b4dcdf-a4cc-47da-97f3-f734a78f5c77', 'name': 'ctest-ext_vn-64181289', 'tenant_id': '4449b9651e1f4dcb9d05a4ec89a74cff', 'project_id': '4449b9651e1f4dcb9d05a4ec89a74cff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13102494', 'ctest-ext_vn-64181289'], 'port_security_enabled': True, 'description': ''}}
2025-07-22 08:58:53,119 - DEBUG - Response for create_subnet : {'subnet': {'id': '59207115-0753-42bc-a6d9-5530957de593', 'name': '', 'tenant_id': '4449b9651e1f4dcb9d05a4ec89a74cff', 'network_id': 'a1b4dcdf-a4cc-47da-97f3-f734a78f5c77', 'ip_version': 4, 'cidr': '109.63.198.192/26', 'allocation_pools': [{'start': '109.63.198.194', 'end': '109.63.198.254'}], 'gateway_ip': '109.63.198.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.63.198.194', 'tags': [], 'project_id': '4449b9651e1f4dcb9d05a4ec89a74cff'}}
2025-07-22 08:58:53,155 - INFO - Created VN ctest-ext_vn-64181289
2025-07-22 08:58:53,221 - DEBUG - VN ctest-ext_vn-64181289 UUID is a1b4dcdf-a4cc-47da-97f3-f734a78f5c77
2025-07-22 08:58:53,557 - DEBUG - Services list from nova: [, , ]
2025-07-22 08:58:55,149 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3685-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3685-1)
2025-07-22 08:58:56,682 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3685-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3685-1)
2025-07-22 08:58:56,796 - INFO - Setting gateway for router d20bb029-b5d9-4023-b299-73ca04b26844 to network a1b4dcdf-a4cc-47da-97f3-f734a78f5c77
2025-07-22 08:58:56,871 - INFO - Adding interface with subnet_id 37606a1d-0d71-4bd8-b675-15b5d295403d, port_id None to router d20bb029-b5d9-4023-b299-73ca04b26844
2025-07-22 08:58:57,175 - INFO - Waiting for VM ctest-TestRoutersBasic-13102494-80263071 to be up..
2025-07-22 08:58:57,310 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-22 08:59:02,469 - DEBUG - VM is in ACTIVE state now
2025-07-22 08:59:02,470 - INFO - VM name : ctest-TestRoutersBasic-13102494-80263071
2025-07-22 08:59:02,580 - DEBUG - VM ctest-TestRoutersBasic-13102494-80263071 ID is 2b224ef1-cddd-47c1-926b-01f5c9b7145f
2025-07-22 08:59:02,606 - DEBUG - VM ctest-TestRoutersBasic-13102494-80263071 launched on Node cn-jenkins-deploy-platform-ansible-os-3685-1
2025-07-22 08:59:02,717 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2b224ef1-cddd-47c1-926b-01f5c9b7145f
2025-07-22 08:59:03,035 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2b224ef1-cddd-47c1-926b-01f5c9b7145f
2025-07-22 08:59:03,075 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ae654f76-c25a-48df-a2d9-ad28f4391eeb
2025-07-22 08:59:06,385 - 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 1022ms')
2025-07-22 08:59:06,386 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13102494-80263071 failed!
2025-07-22 08:59:06,474 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-13102494:ctest-vn-71408494 is 154.252.109.129 and allocation pool is NOT set
2025-07-22 08:59:08,562 - 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.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.992 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 = 0.992/2.942/4.893/1.950 ms')
2025-07-22 08:59:08,562 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13102494-80263071 passed
2025-07-22 08:59:08,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 08:59:08,730 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13102494-80263071, IP 154.252.109.131, Port 22
2025-07-22 08:59:08,910 - DEBUG - VM ctest-TestRoutersBasic-13102494-80263071 is ready for SSH connections
2025-07-22 08:59:08,911 - INFO - Waiting for VM ctest-TestRoutersBasic-13102494-92993797 to be up..
2025-07-22 08:59:09,045 - DEBUG - VM is in ACTIVE state now
2025-07-22 08:59:09,045 - INFO - VM name : ctest-TestRoutersBasic-13102494-92993797
2025-07-22 08:59:09,146 - DEBUG - VM ctest-TestRoutersBasic-13102494-92993797 ID is ce65f2d0-5add-489d-9419-e6baa55d8d97
2025-07-22 08:59:09,146 - DEBUG - VM ctest-TestRoutersBasic-13102494-92993797 launched on Node cn-jenkins-deploy-platform-ansible-os-3685-1
2025-07-22 08:59:09,224 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ce65f2d0-5add-489d-9419-e6baa55d8d97
2025-07-22 08:59:09,234 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/88e303bc-5a4b-421a-8492-211ac9eaf840
2025-07-22 08:59:10,511 - 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=6.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.64 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 = 2.641/4.338/6.036/1.697 ms')
2025-07-22 08:59:10,511 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-13102494-92993797 passed
2025-07-22 08:59:10,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 08:59:10,705 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13102494-92993797, IP 109.63.198.195, Port 22
2025-07-22 08:59:10,776 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-07-22 08:59:11,002 - DEBUG - VM ctest-TestRoutersBasic-13102494-92993797 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-22 08:59:16,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 08:59:16,004 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13102494-92993797, IP 109.63.198.195, Port 22
2025-07-22 08:59:16,202 - DEBUG - VM ctest-TestRoutersBasic-13102494-92993797 is ready for SSH connections
2025-07-22 08:59:16,202 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 08:59:16,203 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.63.198.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-22 08:59:16,203 - DEBUG - ping -s 56 -c 3 -W 1 109.63.198.195
2025-07-22 08:59:20,267 - DEBUG - PING 109.63.198.195 (109.63.198.195): 56 data bytes
64 bytes from 109.63.198.195: seq=0 ttl=62 time=11.980 ms
64 bytes from 109.63.198.195: seq=1 ttl=62 time=1.459 ms
64 bytes from 109.63.198.195: seq=2 ttl=62 time=1.562 ms
--- 109.63.198.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.459/5.000/11.980 ms
2025-07-22 08:59:20,267 - INFO - Ping to IP 109.63.198.195 from VM ctest-TestRoutersBasic-13102494-80263071 passed
2025-07-22 08:59:20,267 - INFO - Deleting interface with subnet_id 37606a1d-0d71-4bd8-b675-15b5d295403d, port_id None from router d20bb029-b5d9-4023-b299-73ca04b26844
2025-07-22 08:59:20,598 - INFO - Deleting VM ctest-TestRoutersBasic-13102494-92993797
2025-07-22 08:59:20,719 - INFO - Deleting VM ctest-TestRoutersBasic-13102494-80263071
2025-07-22 08:59:20,835 - INFO - Deleting VN ctest-ext_vn-64181289
2025-07-22 08:59:20,939 - DEBUG - VN a1b4dcdf-a4cc-47da-97f3-f734a78f5c77 still in use: Unable to complete operation on network a1b4dcdf-a4cc-47da-97f3-f734a78f5c77. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-52a35061-064c-45e7-9c8e-665dc9dfcd74']
2025-07-22 08:59:20,939 - WARNING - Deleting VN ctest-ext_vn-64181289 failed..Will retry
2025-07-22 08:59:23,170 - DEBUG - Response for deleting network ()
2025-07-22 08:59:23,171 - INFO - Deleting VN ctest-vn-71408494
2025-07-22 08:59:23,297 - DEBUG - Response for deleting network ()
2025-07-22 08:59:23,591 - DEBUG - No XMPP flaps were noticed during the test
2025-07-22 08:59:23,591 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34]
2025-07-22 08:59:23,591 - INFO - --------------------------------------------------------------------------------
2025-07-22 08:59:24,495 - INFO - Deleted project: ctest-TestRoutersBasic-13102494, ID : 4449b965-1e1f-4dcb-9d05-a4ec89a74cff