2025-10-21 17:49:50,354 - INFO - Domain Default found not creating
2025-10-21 17:49:50,649 - INFO - Project ctest-TestRoutersBasic-28136250 not found, creating it
2025-10-21 17:49:51,216 - INFO - Created Project:ctest-TestRoutersBasic-28136250, ID : 746ad77e-db40-4cf0-9ccc-612fed547202
2025-10-21 17:49:53,021 - INFO - ================================================================================
2025-10-21 17:49:53,021 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-21 17:49:53,022 - 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-21 17:49:53,345 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-10-21 17:49:53,346 - INFO - Initial checks done. Running the testcase now
2025-10-21 17:49:53,346 - INFO -
2025-10-21 17:49:54,247 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-28136250
2025-10-21 17:49:54,353 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-28136250
2025-10-21 17:49:54,745 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28136250', 'default']}
2025-10-21 17:49:55,211 - DEBUG - Response for create_network : {'network': {'id': '2627dc98-70da-4812-8f81-e8e1877b3bfd', 'name': 'ctest-vn-08417781', 'tenant_id': '746ad77edb404cf09ccc612fed547202', 'project_id': '746ad77edb404cf09ccc612fed547202', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28136250', 'ctest-vn-08417781'], 'port_security_enabled': True, 'description': ''}}
2025-10-21 17:49:55,436 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a414ca7-e1c6-447e-bdd8-5de2adfb4eda', 'name': '', 'tenant_id': '746ad77edb404cf09ccc612fed547202', 'network_id': '2627dc98-70da-4812-8f81-e8e1877b3bfd', 'ip_version': 4, 'cidr': '211.19.96.64/26', 'allocation_pools': [{'start': '211.19.96.66', 'end': '211.19.96.126'}], 'gateway_ip': '211.19.96.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.19.96.66', 'tags': [], 'project_id': '746ad77edb404cf09ccc612fed547202'}}
2025-10-21 17:49:55,461 - INFO - Created VN ctest-vn-08417781
2025-10-21 17:49:55,517 - DEBUG - VN ctest-vn-08417781 UUID is 2627dc98-70da-4812-8f81-e8e1877b3bfd
2025-10-21 17:49:56,064 - DEBUG - Response for create_network : {'network': {'id': 'b665e7ed-a325-4e7f-b4bd-a9dff5eb2ae9', 'name': 'ctest-ext_vn-11036370', 'tenant_id': '746ad77edb404cf09ccc612fed547202', 'project_id': '746ad77edb404cf09ccc612fed547202', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28136250', 'ctest-ext_vn-11036370'], 'port_security_enabled': True, 'description': ''}}
2025-10-21 17:49:56,303 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd8c00011-08c5-443e-b532-7e2df938c471', 'name': '', 'tenant_id': '746ad77edb404cf09ccc612fed547202', 'network_id': 'b665e7ed-a325-4e7f-b4bd-a9dff5eb2ae9', 'ip_version': 4, 'cidr': '29.228.12.64/26', 'allocation_pools': [{'start': '29.228.12.66', 'end': '29.228.12.126'}], 'gateway_ip': '29.228.12.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.228.12.66', 'tags': [], 'project_id': '746ad77edb404cf09ccc612fed547202'}}
2025-10-21 17:49:56,323 - INFO - Created VN ctest-ext_vn-11036370
2025-10-21 17:49:56,381 - DEBUG - VN ctest-ext_vn-11036370 UUID is b665e7ed-a325-4e7f-b4bd-a9dff5eb2ae9
2025-10-21 17:49:56,666 - DEBUG - Services list from nova: [, , ]
2025-10-21 17:49:58,064 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4401-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4401-1)
2025-10-21 17:49:59,483 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4401-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4401-1)
2025-10-21 17:49:59,561 - INFO - Setting gateway for router aa525a60-7730-4bcb-8b79-9671f8ce31c5 to network b665e7ed-a325-4e7f-b4bd-a9dff5eb2ae9
2025-10-21 17:49:59,618 - INFO - Adding interface with subnet_id 8a414ca7-e1c6-447e-bdd8-5de2adfb4eda, port_id None to router aa525a60-7730-4bcb-8b79-9671f8ce31c5
2025-10-21 17:49:59,974 - INFO - Waiting for VM ctest-TestRoutersBasic-28136250-73682142 to be up..
2025-10-21 17:50:00,117 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-21 17:50:05,247 - DEBUG - VM is in ACTIVE state now
2025-10-21 17:50:05,247 - INFO - VM name : ctest-TestRoutersBasic-28136250-73682142
2025-10-21 17:50:05,347 - DEBUG - VM ctest-TestRoutersBasic-28136250-73682142 ID is c07d6287-af2b-4acb-8283-53e536d85cb2
2025-10-21 17:50:05,366 - DEBUG - VM ctest-TestRoutersBasic-28136250-73682142 launched on Node cn-jenkins-deploy-platform-ansible-os-4401-1
2025-10-21 17:50:05,470 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c07d6287-af2b-4acb-8283-53e536d85cb2
2025-10-21 17:50:05,796 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c07d6287-af2b-4acb-8283-53e536d85cb2
2025-10-21 17:50:05,849 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8078bde9-def5-456e-a64d-959fde5f120f
2025-10-21 17:50:09,156 - 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 1007ms')
2025-10-21 17:50:09,156 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-28136250-73682142 failed!
2025-10-21 17:50:09,230 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-28136250:ctest-vn-08417781 is 211.19.96.65 and allocation pool is NOT set
2025-10-21 17:50:11,314 - 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=12.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.01 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 = 1.007/6.668/12.330/5.661 ms')
2025-10-21 17:50:11,314 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-28136250-73682142 passed
2025-10-21 17:50:11,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 17:50:11,478 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28136250-73682142, IP 211.19.96.67, Port 22
2025-10-21 17:50:11,658 - DEBUG - VM ctest-TestRoutersBasic-28136250-73682142 is ready for SSH connections
2025-10-21 17:50:11,659 - INFO - Waiting for VM ctest-TestRoutersBasic-28136250-11959036 to be up..
2025-10-21 17:50:11,759 - DEBUG - VM is in ACTIVE state now
2025-10-21 17:50:11,759 - INFO - VM name : ctest-TestRoutersBasic-28136250-11959036
2025-10-21 17:50:11,846 - DEBUG - VM ctest-TestRoutersBasic-28136250-11959036 ID is 3eb1e8f2-8764-405f-9002-714e7373bec5
2025-10-21 17:50:11,846 - DEBUG - VM ctest-TestRoutersBasic-28136250-11959036 launched on Node cn-jenkins-deploy-platform-ansible-os-4401-1
2025-10-21 17:50:11,946 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3eb1e8f2-8764-405f-9002-714e7373bec5
2025-10-21 17:50:11,957 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/74930c9b-41dc-4642-af6b-28aa81668343
2025-10-21 17:50:13,233 - 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=5.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.05 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 = 3.053/4.432/5.811/1.379 ms')
2025-10-21 17:50:13,233 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-28136250-11959036 passed
2025-10-21 17:50:13,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 17:50:13,385 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28136250-11959036, IP 29.228.12.67, Port 22
2025-10-21 17:50:13,457 - 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-21 17:50:13,596 - DEBUG - VM ctest-TestRoutersBasic-28136250-11959036 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-21 17:50:18,597 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 17:50:18,598 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28136250-11959036, IP 29.228.12.67, Port 22
2025-10-21 17:50:18,800 - DEBUG - VM ctest-TestRoutersBasic-28136250-11959036 is ready for SSH connections
2025-10-21 17:50:18,801 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 17:50:18,801 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.228.12.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-10-21 17:50:18,801 - DEBUG - ping -s 56 -c 3 -W 1 29.228.12.67
2025-10-21 17:50:22,886 - DEBUG - PING 29.228.12.67 (29.228.12.67): 56 data bytes
64 bytes from 29.228.12.67: seq=0 ttl=62 time=11.182 ms
64 bytes from 29.228.12.67: seq=1 ttl=62 time=1.336 ms
64 bytes from 29.228.12.67: seq=2 ttl=62 time=1.923 ms
--- 29.228.12.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.336/4.813/11.182 ms
2025-10-21 17:50:22,886 - INFO - Ping to IP 29.228.12.67 from VM ctest-TestRoutersBasic-28136250-73682142 passed
2025-10-21 17:50:22,887 - INFO - Deleting interface with subnet_id 8a414ca7-e1c6-447e-bdd8-5de2adfb4eda, port_id None from router aa525a60-7730-4bcb-8b79-9671f8ce31c5
2025-10-21 17:50:23,168 - INFO - Deleting VM ctest-TestRoutersBasic-28136250-11959036
2025-10-21 17:50:23,234 - INFO - Deleting VM ctest-TestRoutersBasic-28136250-73682142
2025-10-21 17:50:23,334 - INFO - Deleting VN ctest-ext_vn-11036370
2025-10-21 17:50:23,425 - DEBUG - VN b665e7ed-a325-4e7f-b4bd-a9dff5eb2ae9 still in use: Unable to complete operation on network b665e7ed-a325-4e7f-b4bd-a9dff5eb2ae9. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-6559c939-5492-4818-bdbd-ce4709d438d3']
2025-10-21 17:50:23,425 - WARNING - Deleting VN ctest-ext_vn-11036370 failed..Will retry
2025-10-21 17:50:25,579 - DEBUG - Response for deleting network ()
2025-10-21 17:50:25,579 - INFO - Deleting VN ctest-vn-08417781
2025-10-21 17:50:25,696 - DEBUG - Response for deleting network ()
2025-10-21 17:50:25,991 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 17:50:25,991 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2025-10-21 17:50:25,991 - INFO - --------------------------------------------------------------------------------
2025-10-21 17:50:26,994 - INFO - Deleted project: ctest-TestRoutersBasic-28136250, ID : 746ad77e-db40-4cf0-9ccc-612fed547202