2025-10-13 13:01:44,888 - INFO - Domain Default found not creating
2025-10-13 13:01:45,066 - INFO - Project ctest-TestRoutersBasic-74678141 not found, creating it
2025-10-13 13:01:45,555 - INFO - Created Project:ctest-TestRoutersBasic-74678141, ID : 13ce623b-c558-4449-960d-827509fff352
2025-10-13 13:01:47,202 - INFO - ================================================================================
2025-10-13 13:01:47,202 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-13 13:01:47,203 - 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 13:01:47,473 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.192': '0'}} with
2025-10-13 13:01:47,473 - INFO - Initial checks done. Running the testcase now
2025-10-13 13:01:47,473 - INFO -
2025-10-13 13:01:48,300 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-74678141
2025-10-13 13:01:48,400 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-74678141
2025-10-13 13:01:48,731 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74678141', 'default']}
2025-10-13 13:01:49,042 - DEBUG - Response for create_network : {'network': {'id': '3a75ff04-3599-494f-9d2b-18fe4de3e208', 'name': 'ctest-vn-00353941', 'tenant_id': '13ce623bc5584449960d827509fff352', 'project_id': '13ce623bc5584449960d827509fff352', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74678141', 'ctest-vn-00353941'], 'port_security_enabled': True, 'description': ''}}
2025-10-13 13:01:49,205 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c46bd8ca-fe74-4ac4-9546-3443737fe3d6', 'name': '', 'tenant_id': '13ce623bc5584449960d827509fff352', 'network_id': '3a75ff04-3599-494f-9d2b-18fe4de3e208', 'ip_version': 4, 'cidr': '191.199.7.128/26', 'allocation_pools': [{'start': '191.199.7.130', 'end': '191.199.7.190'}], 'gateway_ip': '191.199.7.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.199.7.130', 'tags': [], 'project_id': '13ce623bc5584449960d827509fff352'}}
2025-10-13 13:01:49,228 - INFO - Created VN ctest-vn-00353941
2025-10-13 13:01:49,280 - DEBUG - VN ctest-vn-00353941 UUID is 3a75ff04-3599-494f-9d2b-18fe4de3e208
2025-10-13 13:01:49,662 - DEBUG - Response for create_network : {'network': {'id': '7ec541a0-56a4-4c6b-a84c-c1dc07d0bb89', 'name': 'ctest-ext_vn-68636368', 'tenant_id': '13ce623bc5584449960d827509fff352', 'project_id': '13ce623bc5584449960d827509fff352', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74678141', 'ctest-ext_vn-68636368'], 'port_security_enabled': True, 'description': ''}}
2025-10-13 13:01:49,844 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ad72fd6-d9ad-471e-bfc1-d6c36b60519b', 'name': '', 'tenant_id': '13ce623bc5584449960d827509fff352', 'network_id': '7ec541a0-56a4-4c6b-a84c-c1dc07d0bb89', 'ip_version': 4, 'cidr': '84.15.172.64/26', 'allocation_pools': [{'start': '84.15.172.66', 'end': '84.15.172.126'}], 'gateway_ip': '84.15.172.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.15.172.66', 'tags': [], 'project_id': '13ce623bc5584449960d827509fff352'}}
2025-10-13 13:01:49,864 - INFO - Created VN ctest-ext_vn-68636368
2025-10-13 13:01:49,920 - DEBUG - VN ctest-ext_vn-68636368 UUID is 7ec541a0-56a4-4c6b-a84c-c1dc07d0bb89
2025-10-13 13:01:50,126 - DEBUG - Services list from nova: [, , ]
2025-10-13 13:01:51,361 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4303-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4303-1)
2025-10-13 13:01:52,661 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4303-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4303-1)
2025-10-13 13:01:52,754 - INFO - Setting gateway for router 49afd987-936c-4f1d-8e77-956a5cde0cb0 to network 7ec541a0-56a4-4c6b-a84c-c1dc07d0bb89
2025-10-13 13:01:52,833 - INFO - Adding interface with subnet_id c46bd8ca-fe74-4ac4-9546-3443737fe3d6, port_id None to router 49afd987-936c-4f1d-8e77-956a5cde0cb0
2025-10-13 13:01:53,157 - INFO - Waiting for VM ctest-TestRoutersBasic-74678141-98029226 to be up..
2025-10-13 13:01:53,320 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-13 13:01:58,418 - DEBUG - VM is in ACTIVE state now
2025-10-13 13:01:58,418 - INFO - VM name : ctest-TestRoutersBasic-74678141-98029226
2025-10-13 13:01:58,524 - DEBUG - VM ctest-TestRoutersBasic-74678141-98029226 ID is 4c2512c6-903f-467a-945d-fb5f875254cb
2025-10-13 13:01:58,551 - DEBUG - VM ctest-TestRoutersBasic-74678141-98029226 launched on Node cn-jenkins-deploy-platform-ansible-os-4303-1
2025-10-13 13:01:58,649 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/4c2512c6-903f-467a-945d-fb5f875254cb
2025-10-13 13:01:58,999 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/4c2512c6-903f-467a-945d-fb5f875254cb
2025-10-13 13:01:59,038 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/d805ff83-fde7-4566-a471-7b966cb794be
2025-10-13 13:02:02,295 - 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 1013ms')
2025-10-13 13:02:02,295 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74678141-98029226 failed!
2025-10-13 13:02:02,352 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-74678141:ctest-vn-00353941 is 191.199.7.129 and allocation pool is NOT set
2025-10-13 13:02:04,418 - 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=10.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.00 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.002/6.018/10.034/4.016 ms')
2025-10-13 13:02:04,418 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74678141-98029226 passed
2025-10-13 13:02:04,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 13:02:04,576 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74678141-98029226, IP 191.199.7.131, Port 22
2025-10-13 13:02:04,643 - 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-10-13 13:02:04,748 - DEBUG - VM ctest-TestRoutersBasic-74678141-98029226 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-13 13:02:09,748 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 13:02:09,748 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74678141-98029226, IP 191.199.7.131, Port 22
2025-10-13 13:02:09,913 - DEBUG - VM ctest-TestRoutersBasic-74678141-98029226 is ready for SSH connections
2025-10-13 13:02:09,913 - INFO - Waiting for VM ctest-TestRoutersBasic-74678141-50673291 to be up..
2025-10-13 13:02:09,996 - DEBUG - VM is in ACTIVE state now
2025-10-13 13:02:09,996 - INFO - VM name : ctest-TestRoutersBasic-74678141-50673291
2025-10-13 13:02:10,082 - DEBUG - VM ctest-TestRoutersBasic-74678141-50673291 ID is 77d80e13-3ac5-40e4-9ccf-a9abcd7d38da
2025-10-13 13:02:10,082 - DEBUG - VM ctest-TestRoutersBasic-74678141-50673291 launched on Node cn-jenkins-deploy-platform-ansible-os-4303-1
2025-10-13 13:02:10,171 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/77d80e13-3ac5-40e4-9ccf-a9abcd7d38da
2025-10-13 13:02:10,182 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/2c697649-dba3-4119-82a9-bbbc345525e2
2025-10-13 13:02:11,428 - 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=3.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.527 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.527/1.972/3.418/1.445 ms')
2025-10-13 13:02:11,428 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-74678141-50673291 passed
2025-10-13 13:02:11,575 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 13:02:11,576 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74678141-50673291, IP 84.15.172.67, Port 22
2025-10-13 13:02:11,760 - DEBUG - VM ctest-TestRoutersBasic-74678141-50673291 is ready for SSH connections
2025-10-13 13:02:11,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 13:02:11,760 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.15.172.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-10-13 13:02:11,760 - DEBUG - ping -s 56 -c 3 -W 1 84.15.172.67
2025-10-13 13:02:15,554 - DEBUG - PING 84.15.172.67 (84.15.172.67): 56 data bytes
64 bytes from 84.15.172.67: seq=0 ttl=62 time=8.643 ms
64 bytes from 84.15.172.67: seq=1 ttl=62 time=1.095 ms
64 bytes from 84.15.172.67: seq=2 ttl=62 time=1.231 ms
--- 84.15.172.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.095/3.656/8.643 ms
2025-10-13 13:02:15,554 - INFO - Ping to IP 84.15.172.67 from VM ctest-TestRoutersBasic-74678141-98029226 passed
2025-10-13 13:02:15,554 - INFO - Deleting interface with subnet_id c46bd8ca-fe74-4ac4-9546-3443737fe3d6, port_id None from router 49afd987-936c-4f1d-8e77-956a5cde0cb0
2025-10-13 13:02:15,794 - INFO - Deleting VM ctest-TestRoutersBasic-74678141-50673291
2025-10-13 13:02:15,888 - INFO - Deleting VM ctest-TestRoutersBasic-74678141-98029226
2025-10-13 13:02:16,006 - INFO - Deleting VN ctest-ext_vn-68636368
2025-10-13 13:02:16,099 - DEBUG - VN 7ec541a0-56a4-4c6b-a84c-c1dc07d0bb89 still in use: Unable to complete operation on network 7ec541a0-56a4-4c6b-a84c-c1dc07d0bb89. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-1da62992-7fd4-4c70-83d4-3a8424f594a3']
2025-10-13 13:02:16,099 - WARNING - Deleting VN ctest-ext_vn-68636368 failed..Will retry
2025-10-13 13:02:18,216 - DEBUG - Response for deleting network ()
2025-10-13 13:02:18,216 - INFO - Deleting VN ctest-vn-00353941
2025-10-13 13:02:18,345 - DEBUG - Response for deleting network ()
2025-10-13 13:02:18,617 - DEBUG - No XMPP flaps were noticed during the test
2025-10-13 13:02:18,618 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-10-13 13:02:18,618 - INFO - --------------------------------------------------------------------------------
2025-10-13 13:02:19,371 - INFO - Deleted project: ctest-TestRoutersBasic-74678141, ID : 13ce623b-c558-4449-960d-827509fff352