2026-04-29 14:13:01,928 - INFO - Domain Default found not creating
2026-04-29 14:13:02,124 - INFO - Project ctest-TestRoutersBasic-69001375 not found, creating it
2026-04-29 14:13:02,616 - INFO - Created Project:ctest-TestRoutersBasic-69001375, ID : 6e8407fe-e0ed-457b-8383-71eb60a7ca5c
2026-04-29 14:13:04,216 - INFO - ================================================================================
2026-04-29 14:13:04,216 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-04-29 14:13:04,216 - 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
2026-04-29 14:13:04,479 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-04-29 14:13:04,479 - INFO - Initial checks done. Running the testcase now
2026-04-29 14:13:04,479 - INFO -
2026-04-29 14:13:05,224 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-69001375
2026-04-29 14:13:05,318 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-69001375
2026-04-29 14:13:05,650 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69001375', 'default']}
2026-04-29 14:13:05,951 - DEBUG - Response for create_network : {'network': {'id': '47e1d2b6-eef6-4b0c-a9d0-04618c3213f8', 'name': 'ctest-vn-77851040', 'tenant_id': '6e8407fee0ed457b838371eb60a7ca5c', 'project_id': '6e8407fee0ed457b838371eb60a7ca5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69001375', 'ctest-vn-77851040'], 'port_security_enabled': True, 'description': ''}}
2026-04-29 14:13:06,108 - DEBUG - Response for create_subnet : {'subnet': {'id': '9febba52-c10a-4461-a746-521354c5d70e', 'name': '', 'tenant_id': '6e8407fee0ed457b838371eb60a7ca5c', 'network_id': '47e1d2b6-eef6-4b0c-a9d0-04618c3213f8', 'ip_version': 4, 'cidr': '207.21.29.128/26', 'allocation_pools': [{'start': '207.21.29.130', 'end': '207.21.29.190'}], 'gateway_ip': '207.21.29.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.21.29.130', 'tags': [], 'project_id': '6e8407fee0ed457b838371eb60a7ca5c'}}
2026-04-29 14:13:06,129 - INFO - Created VN ctest-vn-77851040
2026-04-29 14:13:06,182 - DEBUG - VN ctest-vn-77851040 UUID is 47e1d2b6-eef6-4b0c-a9d0-04618c3213f8
2026-04-29 14:13:06,549 - DEBUG - Response for create_network : {'network': {'id': '51cd5422-9e40-4801-a2e8-34a06b5619b3', 'name': 'ctest-ext_vn-82071920', 'tenant_id': '6e8407fee0ed457b838371eb60a7ca5c', 'project_id': '6e8407fee0ed457b838371eb60a7ca5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69001375', 'ctest-ext_vn-82071920'], 'port_security_enabled': True, 'description': ''}}
2026-04-29 14:13:06,704 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd60e257e-d81f-419c-ab7a-454c23df9406', 'name': '', 'tenant_id': '6e8407fee0ed457b838371eb60a7ca5c', 'network_id': '51cd5422-9e40-4801-a2e8-34a06b5619b3', 'ip_version': 4, 'cidr': '124.33.244.0/26', 'allocation_pools': [{'start': '124.33.244.2', 'end': '124.33.244.62'}], 'gateway_ip': '124.33.244.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.33.244.2', 'tags': [], 'project_id': '6e8407fee0ed457b838371eb60a7ca5c'}}
2026-04-29 14:13:06,724 - INFO - Created VN ctest-ext_vn-82071920
2026-04-29 14:13:06,774 - DEBUG - VN ctest-ext_vn-82071920 UUID is 51cd5422-9e40-4801-a2e8-34a06b5619b3
2026-04-29 14:13:06,949 - DEBUG - Services list from nova: [, , ]
2026-04-29 14:13:07,981 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5710-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5710-1)
2026-04-29 14:13:09,202 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5710-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5710-1)
2026-04-29 14:13:09,275 - INFO - Setting gateway for router 91db867e-3489-4bf2-83ce-5c1a7b337b99 to network 51cd5422-9e40-4801-a2e8-34a06b5619b3
2026-04-29 14:13:09,341 - INFO - Adding interface with subnet_id 9febba52-c10a-4461-a746-521354c5d70e, port_id None to router 91db867e-3489-4bf2-83ce-5c1a7b337b99
2026-04-29 14:13:09,695 - INFO - Waiting for VM ctest-TestRoutersBasic-69001375-64402631 to be up..
2026-04-29 14:13:09,834 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-29 14:13:14,929 - DEBUG - VM is in ACTIVE state now
2026-04-29 14:13:14,929 - INFO - VM name : ctest-TestRoutersBasic-69001375-64402631
2026-04-29 14:13:15,022 - DEBUG - VM ctest-TestRoutersBasic-69001375-64402631 ID is 6e902bcd-6753-49bd-911d-1fc8e71d7cf1
2026-04-29 14:13:15,045 - DEBUG - VM ctest-TestRoutersBasic-69001375-64402631 launched on Node cn-jenkins-deploy-platform-ansible-os-5710-1
2026-04-29 14:13:15,134 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6e902bcd-6753-49bd-911d-1fc8e71d7cf1
2026-04-29 14:13:15,456 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6e902bcd-6753-49bd-911d-1fc8e71d7cf1
2026-04-29 14:13:15,491 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/91b445a6-dc8e-4859-9711-4b66b96263ba
2026-04-29 14:13:18,728 - 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')
2026-04-29 14:13:18,728 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69001375-64402631 failed!
2026-04-29 14:13:18,782 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-69001375:ctest-vn-77851040 is 207.21.29.129 and allocation pool is NOT set
2026-04-29 14:13:20,851 - 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.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.54 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.539/3.983/5.427/1.444 ms')
2026-04-29 14:13:20,851 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69001375-64402631 passed
2026-04-29 14:13:21,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-29 14:13:21,003 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69001375-64402631, IP 207.21.29.131, Port 22
2026-04-29 14:13:21,059 - 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': ''}
2026-04-29 14:13:21,143 - DEBUG - VM ctest-TestRoutersBasic-69001375-64402631 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-29 14:13:26,143 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-29 14:13:26,143 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69001375-64402631, IP 207.21.29.131, Port 22
2026-04-29 14:13:26,311 - DEBUG - VM ctest-TestRoutersBasic-69001375-64402631 is ready for SSH connections
2026-04-29 14:13:26,312 - INFO - Waiting for VM ctest-TestRoutersBasic-69001375-48686941 to be up..
2026-04-29 14:13:26,394 - DEBUG - VM is in ACTIVE state now
2026-04-29 14:13:26,395 - INFO - VM name : ctest-TestRoutersBasic-69001375-48686941
2026-04-29 14:13:26,475 - DEBUG - VM ctest-TestRoutersBasic-69001375-48686941 ID is 7c48301d-a2fa-4ff2-9b52-507921706769
2026-04-29 14:13:26,475 - DEBUG - VM ctest-TestRoutersBasic-69001375-48686941 launched on Node cn-jenkins-deploy-platform-ansible-os-5710-1
2026-04-29 14:13:26,562 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7c48301d-a2fa-4ff2-9b52-507921706769
2026-04-29 14:13:26,572 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/80a0fe4b-bd43-466d-9dad-c6ff8956afe3
2026-04-29 14:13:27,813 - 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.397 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.397/1.906/3.416/1.509 ms')
2026-04-29 14:13:27,814 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-69001375-48686941 passed
2026-04-29 14:13:27,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-29 14:13:27,966 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69001375-48686941, IP 124.33.244.3, Port 22
2026-04-29 14:13:28,123 - DEBUG - VM ctest-TestRoutersBasic-69001375-48686941 is ready for SSH connections
2026-04-29 14:13:28,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-29 14:13:28,123 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.33.244.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-04-29 14:13:28,123 - DEBUG - ping -s 56 -c 3 -W 1 124.33.244.3
2026-04-29 14:13:31,841 - DEBUG - PING 124.33.244.3 (124.33.244.3): 56 data bytes
64 bytes from 124.33.244.3: seq=0 ttl=62 time=7.334 ms
64 bytes from 124.33.244.3: seq=1 ttl=62 time=0.981 ms
64 bytes from 124.33.244.3: seq=2 ttl=62 time=1.534 ms
--- 124.33.244.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.981/3.283/7.334 ms
2026-04-29 14:13:31,841 - INFO - Ping to IP 124.33.244.3 from VM ctest-TestRoutersBasic-69001375-64402631 passed
2026-04-29 14:13:31,842 - INFO - Deleting interface with subnet_id 9febba52-c10a-4461-a746-521354c5d70e, port_id None from router 91db867e-3489-4bf2-83ce-5c1a7b337b99
2026-04-29 14:13:32,069 - INFO - Deleting VM ctest-TestRoutersBasic-69001375-48686941
2026-04-29 14:13:32,156 - INFO - Deleting VM ctest-TestRoutersBasic-69001375-64402631
2026-04-29 14:13:32,251 - INFO - Deleting VN ctest-ext_vn-82071920
2026-04-29 14:13:32,324 - DEBUG - VN 51cd5422-9e40-4801-a2e8-34a06b5619b3 still in use: Unable to complete operation on network 51cd5422-9e40-4801-a2e8-34a06b5619b3. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b98c27b1-2497-48ad-a0a3-77835af02945']
2026-04-29 14:13:32,324 - WARNING - Deleting VN ctest-ext_vn-82071920 failed..Will retry
2026-04-29 14:13:34,441 - DEBUG - Response for deleting network ()
2026-04-29 14:13:34,441 - INFO - Deleting VN ctest-vn-77851040
2026-04-29 14:13:34,539 - DEBUG - Response for deleting network ()
2026-04-29 14:13:34,797 - DEBUG - No XMPP flaps were noticed during the test
2026-04-29 14:13:34,797 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2026-04-29 14:13:34,797 - INFO - --------------------------------------------------------------------------------
2026-04-29 14:13:35,531 - INFO - Deleted project: ctest-TestRoutersBasic-69001375, ID : 6e8407fe-e0ed-457b-8383-71eb60a7ca5c