2025-10-13 16:55:00,203 - INFO - Domain Default found not creating
2025-10-13 16:55:00,388 - INFO - Project ctest-TestRoutersBasic-84766512 not found, creating it
2025-10-13 16:55:00,871 - INFO - Created Project:ctest-TestRoutersBasic-84766512, ID : f639b9bc-fad0-470a-9243-05f26aa54f3d
2025-10-13 16:55:02,356 - INFO - ================================================================================
2025-10-13 16:55:02,356 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-13 16:55:02,356 - 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-10-13 16:55:02,621 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with
2025-10-13 16:55:02,621 - INFO - Initial checks done. Running the testcase now
2025-10-13 16:55:02,621 - INFO -
2025-10-13 16:55:03,333 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-84766512
2025-10-13 16:55:03,427 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-84766512
2025-10-13 16:55:03,779 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84766512', 'default']}
2025-10-13 16:55:04,103 - DEBUG - Response for create_network : {'network': {'id': '3ff9e966-70d2-41aa-bed1-169556d2e591', 'name': 'ctest-vn-05222649', 'tenant_id': 'f639b9bcfad0470a924305f26aa54f3d', 'project_id': 'f639b9bcfad0470a924305f26aa54f3d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84766512', 'ctest-vn-05222649'], 'port_security_enabled': True, 'description': ''}}
2025-10-13 16:55:04,288 - DEBUG - Response for create_subnet : {'subnet': {'id': '8abd3f7a-dae3-4d40-ab6e-29edec59adbc', 'name': '', 'tenant_id': 'f639b9bcfad0470a924305f26aa54f3d', 'network_id': '3ff9e966-70d2-41aa-bed1-169556d2e591', 'ip_version': 4, 'cidr': '202.69.173.192/26', 'allocation_pools': [{'start': '202.69.173.194', 'end': '202.69.173.254'}], 'gateway_ip': '202.69.173.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.69.173.194', 'tags': [], 'project_id': 'f639b9bcfad0470a924305f26aa54f3d'}}
2025-10-13 16:55:04,307 - INFO - Created VN ctest-vn-05222649
2025-10-13 16:55:04,359 - DEBUG - VN ctest-vn-05222649 UUID is 3ff9e966-70d2-41aa-bed1-169556d2e591
2025-10-13 16:55:04,718 - DEBUG - Response for create_network : {'network': {'id': 'bfa1d6ba-f1ea-4fd4-af2e-895a22d63ccd', 'name': 'ctest-ext_vn-10148765', 'tenant_id': 'f639b9bcfad0470a924305f26aa54f3d', 'project_id': 'f639b9bcfad0470a924305f26aa54f3d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84766512', 'ctest-ext_vn-10148765'], 'port_security_enabled': True, 'description': ''}}
2025-10-13 16:55:04,885 - DEBUG - Response for create_subnet : {'subnet': {'id': '1e6a0a9c-207a-448c-b96a-07e0bac79121', 'name': '', 'tenant_id': 'f639b9bcfad0470a924305f26aa54f3d', 'network_id': 'bfa1d6ba-f1ea-4fd4-af2e-895a22d63ccd', 'ip_version': 4, 'cidr': '11.202.231.0/26', 'allocation_pools': [{'start': '11.202.231.2', 'end': '11.202.231.62'}], 'gateway_ip': '11.202.231.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.202.231.2', 'tags': [], 'project_id': 'f639b9bcfad0470a924305f26aa54f3d'}}
2025-10-13 16:55:04,903 - INFO - Created VN ctest-ext_vn-10148765
2025-10-13 16:55:04,955 - DEBUG - VN ctest-ext_vn-10148765 UUID is bfa1d6ba-f1ea-4fd4-af2e-895a22d63ccd
2025-10-13 16:55:05,140 - DEBUG - Services list from nova: [, , ]
2025-10-13 16:55:06,237 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4308-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4308-1)
2025-10-13 16:55:07,461 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4308-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4308-1)
2025-10-13 16:55:07,532 - INFO - Setting gateway for router 4d43a013-f5e0-459d-80e6-a3698f04ee96 to network bfa1d6ba-f1ea-4fd4-af2e-895a22d63ccd
2025-10-13 16:55:07,612 - INFO - Adding interface with subnet_id 8abd3f7a-dae3-4d40-ab6e-29edec59adbc, port_id None to router 4d43a013-f5e0-459d-80e6-a3698f04ee96
2025-10-13 16:55:08,007 - INFO - Waiting for VM ctest-TestRoutersBasic-84766512-38458462 to be up..
2025-10-13 16:55:08,164 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-13 16:55:13,261 - DEBUG - VM is in ACTIVE state now
2025-10-13 16:55:13,261 - INFO - VM name : ctest-TestRoutersBasic-84766512-38458462
2025-10-13 16:55:13,345 - DEBUG - VM ctest-TestRoutersBasic-84766512-38458462 ID is e4d550f5-9ed6-42ca-a100-9caf64910056
2025-10-13 16:55:13,365 - DEBUG - VM ctest-TestRoutersBasic-84766512-38458462 launched on Node cn-jenkins-deploy-platform-ansible-os-4308-1
2025-10-13 16:55:13,441 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e4d550f5-9ed6-42ca-a100-9caf64910056
2025-10-13 16:55:13,746 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e4d550f5-9ed6-42ca-a100-9caf64910056
2025-10-13 16:55:13,799 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/336c7794-135c-4086-bae8-e828c6315708
2025-10-13 16:55:17,080 - 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 1017ms')
2025-10-13 16:55:17,081 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84766512-38458462 failed!
2025-10-13 16:55:17,139 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-84766512:ctest-vn-05222649 is 202.69.173.193 and allocation pool is NOT set
2025-10-13 16:55:19,207 - 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=5.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.14 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.137/3.623/5.110/1.486 ms')
2025-10-13 16:55:19,207 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84766512-38458462 passed
2025-10-13 16:55:19,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 16:55:19,367 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84766512-38458462, IP 202.69.173.195, Port 22
2025-10-13 16:55:19,549 - DEBUG - VM ctest-TestRoutersBasic-84766512-38458462 is ready for SSH connections
2025-10-13 16:55:19,549 - INFO - Waiting for VM ctest-TestRoutersBasic-84766512-29205966 to be up..
2025-10-13 16:55:19,657 - DEBUG - VM is in ACTIVE state now
2025-10-13 16:55:19,657 - INFO - VM name : ctest-TestRoutersBasic-84766512-29205966
2025-10-13 16:55:19,748 - DEBUG - VM ctest-TestRoutersBasic-84766512-29205966 ID is 7a9ff51d-56f8-4512-aa82-b59083355e7b
2025-10-13 16:55:19,748 - DEBUG - VM ctest-TestRoutersBasic-84766512-29205966 launched on Node cn-jenkins-deploy-platform-ansible-os-4308-1
2025-10-13 16:55:19,850 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7a9ff51d-56f8-4512-aa82-b59083355e7b
2025-10-13 16:55:19,863 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b26246ff-c82a-4d5a-bdaf-d479013b182c
2025-10-13 16:55:21,129 - 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=4.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.23 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 = 1.225/2.759/4.293/1.534 ms')
2025-10-13 16:55:21,130 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-84766512-29205966 passed
2025-10-13 16:55:21,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 16:55:21,287 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84766512-29205966, IP 11.202.231.3, Port 22
2025-10-13 16:55:21,353 - 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-10-13 16:55:21,458 - DEBUG - VM ctest-TestRoutersBasic-84766512-29205966 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-13 16:55:26,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 16:55:26,459 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84766512-29205966, IP 11.202.231.3, Port 22
2025-10-13 16:55:26,633 - DEBUG - VM ctest-TestRoutersBasic-84766512-29205966 is ready for SSH connections
2025-10-13 16:55:26,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 16:55:26,633 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.202.231.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-13 16:55:26,633 - DEBUG - ping -s 56 -c 3 -W 1 11.202.231.3
2025-10-13 16:55:30,424 - DEBUG - PING 11.202.231.3 (11.202.231.3): 56 data bytes
64 bytes from 11.202.231.3: seq=0 ttl=62 time=7.954 ms
64 bytes from 11.202.231.3: seq=1 ttl=62 time=0.960 ms
64 bytes from 11.202.231.3: seq=2 ttl=62 time=1.030 ms
--- 11.202.231.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.960/3.314/7.954 ms
2025-10-13 16:55:30,424 - INFO - Ping to IP 11.202.231.3 from VM ctest-TestRoutersBasic-84766512-38458462 passed
2025-10-13 16:55:30,424 - INFO - Deleting interface with subnet_id 8abd3f7a-dae3-4d40-ab6e-29edec59adbc, port_id None from router 4d43a013-f5e0-459d-80e6-a3698f04ee96
2025-10-13 16:55:30,694 - INFO - Deleting VM ctest-TestRoutersBasic-84766512-29205966
2025-10-13 16:55:30,801 - INFO - Deleting VM ctest-TestRoutersBasic-84766512-38458462
2025-10-13 16:55:30,902 - INFO - Deleting VN ctest-ext_vn-10148765
2025-10-13 16:55:31,006 - DEBUG - VN bfa1d6ba-f1ea-4fd4-af2e-895a22d63ccd still in use: Unable to complete operation on network bfa1d6ba-f1ea-4fd4-af2e-895a22d63ccd. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f78bd55c-4e4e-4d49-ba08-50e0d7ab030d']
2025-10-13 16:55:31,006 - WARNING - Deleting VN ctest-ext_vn-10148765 failed..Will retry
2025-10-13 16:55:33,120 - DEBUG - Response for deleting network ()
2025-10-13 16:55:33,120 - INFO - Deleting VN ctest-vn-05222649
2025-10-13 16:55:33,251 - DEBUG - Response for deleting network ()
2025-10-13 16:55:33,508 - DEBUG - No XMPP flaps were noticed during the test
2025-10-13 16:55:33,508 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-10-13 16:55:33,508 - INFO - --------------------------------------------------------------------------------
2025-10-13 16:55:34,254 - INFO - Deleted project: ctest-TestRoutersBasic-84766512, ID : f639b9bc-fad0-470a-9243-05f26aa54f3d