2025-06-30 16:19:11,030 - INFO - Domain Default found not creating
2025-06-30 16:19:11,178 - INFO - Project ctest-TestRoutersBasic-39005343 not found, creating it
2025-06-30 16:19:11,632 - INFO - Created Project:ctest-TestRoutersBasic-39005343, ID : 3a7cdfa2-9c1f-495b-9e6a-0d9314dbaaed
2025-06-30 16:19:13,025 - INFO - ================================================================================
2025-06-30 16:19:13,025 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-06-30 16:19:13,025 - 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-06-30 16:19:13,285 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-06-30 16:19:13,285 - INFO - Initial checks done. Running the testcase now
2025-06-30 16:19:13,285 - INFO -
2025-06-30 16:19:13,978 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-39005343
2025-06-30 16:19:14,075 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-39005343
2025-06-30 16:19:14,395 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39005343', 'default']}
2025-06-30 16:19:14,716 - DEBUG - Response for create_network : {'network': {'id': '34f7278c-25e6-4efe-be1c-c29e6c6ab2b0', 'name': 'ctest-vn-72063962', 'tenant_id': '3a7cdfa29c1f495b9e6a0d9314dbaaed', 'project_id': '3a7cdfa29c1f495b9e6a0d9314dbaaed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39005343', 'ctest-vn-72063962'], 'port_security_enabled': True, 'description': ''}}
2025-06-30 16:19:14,918 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4056805-39e2-4bb7-bb25-422a8171dd8e', 'name': '', 'tenant_id': '3a7cdfa29c1f495b9e6a0d9314dbaaed', 'network_id': '34f7278c-25e6-4efe-be1c-c29e6c6ab2b0', 'ip_version': 4, 'cidr': '62.102.107.128/26', 'allocation_pools': [{'start': '62.102.107.130', 'end': '62.102.107.190'}], 'gateway_ip': '62.102.107.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.102.107.130', 'tags': [], 'project_id': '3a7cdfa29c1f495b9e6a0d9314dbaaed'}}
2025-06-30 16:19:14,935 - INFO - Created VN ctest-vn-72063962
2025-06-30 16:19:14,987 - DEBUG - VN ctest-vn-72063962 UUID is 34f7278c-25e6-4efe-be1c-c29e6c6ab2b0
2025-06-30 16:19:15,346 - DEBUG - Response for create_network : {'network': {'id': '00718e56-5d50-47be-beac-e43cdd9c0555', 'name': 'ctest-ext_vn-24472671', 'tenant_id': '3a7cdfa29c1f495b9e6a0d9314dbaaed', 'project_id': '3a7cdfa29c1f495b9e6a0d9314dbaaed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39005343', 'ctest-ext_vn-24472671'], 'port_security_enabled': True, 'description': ''}}
2025-06-30 16:19:15,543 - DEBUG - Response for create_subnet : {'subnet': {'id': '82daca22-f758-4c09-b5c3-58c037d3af95', 'name': '', 'tenant_id': '3a7cdfa29c1f495b9e6a0d9314dbaaed', 'network_id': '00718e56-5d50-47be-beac-e43cdd9c0555', 'ip_version': 4, 'cidr': '176.7.161.0/26', 'allocation_pools': [{'start': '176.7.161.2', 'end': '176.7.161.62'}], 'gateway_ip': '176.7.161.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.7.161.2', 'tags': [], 'project_id': '3a7cdfa29c1f495b9e6a0d9314dbaaed'}}
2025-06-30 16:19:15,562 - INFO - Created VN ctest-ext_vn-24472671
2025-06-30 16:19:15,615 - DEBUG - VN ctest-ext_vn-24472671 UUID is 00718e56-5d50-47be-beac-e43cdd9c0555
2025-06-30 16:19:15,818 - DEBUG - Services list from nova: [, , ]
2025-06-30 16:19:16,795 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3580-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3580-1)
2025-06-30 16:19:17,890 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3580-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3580-1)
2025-06-30 16:19:17,961 - INFO - Setting gateway for router d61a4e74-1c72-4202-b0fa-c48a40ec4fd4 to network 00718e56-5d50-47be-beac-e43cdd9c0555
2025-06-30 16:19:18,033 - INFO - Adding interface with subnet_id b4056805-39e2-4bb7-bb25-422a8171dd8e, port_id None to router d61a4e74-1c72-4202-b0fa-c48a40ec4fd4
2025-06-30 16:19:18,431 - INFO - Waiting for VM ctest-TestRoutersBasic-39005343-80394995 to be up..
2025-06-30 16:19:18,568 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-30 16:19:23,659 - DEBUG - VM is in ACTIVE state now
2025-06-30 16:19:23,659 - INFO - VM name : ctest-TestRoutersBasic-39005343-80394995
2025-06-30 16:19:23,734 - DEBUG - VM ctest-TestRoutersBasic-39005343-80394995 ID is 18ff0e90-a103-46a4-a3d8-c0e21a51af7a
2025-06-30 16:19:23,759 - DEBUG - VM ctest-TestRoutersBasic-39005343-80394995 launched on Node cn-jenkins-deploy-platform-ansible-os-3580-1
2025-06-30 16:19:23,842 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/18ff0e90-a103-46a4-a3d8-c0e21a51af7a
2025-06-30 16:19:24,151 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/18ff0e90-a103-46a4-a3d8-c0e21a51af7a
2025-06-30 16:19:24,185 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5c92b778-0eae-458a-a774-c6fc646d10d7
2025-06-30 16:19:27,457 - 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-06-30 16:19:27,457 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-39005343-80394995 failed!
2025-06-30 16:19:27,515 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-39005343:ctest-vn-72063962 is 62.102.107.129 and allocation pool is NOT set
2025-06-30 16:19:29,577 - 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=3.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.525 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.525/1.839/3.153/1.314 ms')
2025-06-30 16:19:29,577 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-39005343-80394995 passed
2025-06-30 16:19:29,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-30 16:19:29,727 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39005343-80394995, IP 62.102.107.131, Port 22
2025-06-30 16:19:29,898 - DEBUG - VM ctest-TestRoutersBasic-39005343-80394995 is ready for SSH connections
2025-06-30 16:19:29,898 - INFO - Waiting for VM ctest-TestRoutersBasic-39005343-61285104 to be up..
2025-06-30 16:19:30,011 - DEBUG - VM is in ACTIVE state now
2025-06-30 16:19:30,011 - INFO - VM name : ctest-TestRoutersBasic-39005343-61285104
2025-06-30 16:19:30,155 - DEBUG - VM ctest-TestRoutersBasic-39005343-61285104 ID is 728a1fff-ab37-4dde-94a2-f897f74dc6f4
2025-06-30 16:19:30,155 - DEBUG - VM ctest-TestRoutersBasic-39005343-61285104 launched on Node cn-jenkins-deploy-platform-ansible-os-3580-1
2025-06-30 16:19:30,276 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/728a1fff-ab37-4dde-94a2-f897f74dc6f4
2025-06-30 16:19:30,293 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d38c7c5c-a53c-4519-b659-b3ca94e32b6f
2025-06-30 16:19:31,562 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.62 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.622/4.621/6.621/1.999 ms')
2025-06-30 16:19:31,562 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-39005343-61285104 passed
2025-06-30 16:19:31,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-30 16:19:31,711 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39005343-61285104, IP 176.7.161.3, Port 22
2025-06-30 16:19:31,766 - 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-06-30 16:19:31,838 - DEBUG - VM ctest-TestRoutersBasic-39005343-61285104 is NOT ready for SSH connections, VM status: ACTIVE
2025-06-30 16:19:36,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-30 16:19:36,840 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39005343-61285104, IP 176.7.161.3, Port 22
2025-06-30 16:19:37,005 - DEBUG - VM ctest-TestRoutersBasic-39005343-61285104 is ready for SSH connections
2025-06-30 16:19:37,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-30 16:19:37,005 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.7.161.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-06-30 16:19:37,005 - DEBUG - ping -s 56 -c 3 -W 1 176.7.161.3
2025-06-30 16:19:40,674 - DEBUG - PING 176.7.161.3 (176.7.161.3): 56 data bytes
64 bytes from 176.7.161.3: seq=0 ttl=62 time=6.393 ms
64 bytes from 176.7.161.3: seq=1 ttl=62 time=1.028 ms
64 bytes from 176.7.161.3: seq=2 ttl=62 time=1.122 ms
--- 176.7.161.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.028/2.847/6.393 ms
2025-06-30 16:19:40,674 - INFO - Ping to IP 176.7.161.3 from VM ctest-TestRoutersBasic-39005343-80394995 passed
2025-06-30 16:19:40,674 - INFO - Deleting interface with subnet_id b4056805-39e2-4bb7-bb25-422a8171dd8e, port_id None from router d61a4e74-1c72-4202-b0fa-c48a40ec4fd4
2025-06-30 16:19:40,851 - INFO - Deleting VM ctest-TestRoutersBasic-39005343-61285104
2025-06-30 16:19:40,915 - INFO - Deleting VM ctest-TestRoutersBasic-39005343-80394995
2025-06-30 16:19:40,986 - INFO - Deleting VN ctest-ext_vn-24472671
2025-06-30 16:19:41,049 - DEBUG - VN 00718e56-5d50-47be-beac-e43cdd9c0555 still in use: Unable to complete operation on network 00718e56-5d50-47be-beac-e43cdd9c0555. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9b089ceb-5042-4d67-9585-4299295a6215']
2025-06-30 16:19:41,050 - WARNING - Deleting VN ctest-ext_vn-24472671 failed..Will retry
2025-06-30 16:19:43,147 - DEBUG - Response for deleting network ()
2025-06-30 16:19:43,147 - INFO - Deleting VN ctest-vn-72063962
2025-06-30 16:19:43,239 - DEBUG - Response for deleting network ()
2025-06-30 16:19:43,492 - DEBUG - No XMPP flaps were noticed during the test
2025-06-30 16:19:43,492 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2025-06-30 16:19:43,492 - INFO - --------------------------------------------------------------------------------
2025-06-30 16:19:44,149 - INFO - Deleted project: ctest-TestRoutersBasic-39005343, ID : 3a7cdfa2-9c1f-495b-9e6a-0d9314dbaaed