2026-06-23 02:57:43,096 - INFO - Domain Default found not creating
2026-06-23 02:57:43,212 - INFO - Project ctest-TestRoutersBasic-54169426 not found, creating it
2026-06-23 02:57:43,701 - INFO - Created Project:ctest-TestRoutersBasic-54169426, ID : 07ccb3bf-f9f5-4072-9a6d-13cf266a4cfd
2026-06-23 02:57:45,216 - INFO - ================================================================================
2026-06-23 02:57:45,216 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-06-23 02:57:45,217 - 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-06-23 02:57:45,495 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-06-23 02:57:45,495 - INFO - Initial checks done. Running the testcase now
2026-06-23 02:57:45,495 - INFO -
2026-06-23 02:57:46,231 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-54169426
2026-06-23 02:57:46,327 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-54169426
2026-06-23 02:57:46,643 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54169426', 'default']}
2026-06-23 02:57:46,901 - DEBUG - Response for create_network : {'network': {'id': 'a79ec76a-aa91-4e8d-bd74-79fb88af27d5', 'name': 'ctest-vn-02967492', 'tenant_id': '07ccb3bff9f540729a6d13cf266a4cfd', 'project_id': '07ccb3bff9f540729a6d13cf266a4cfd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54169426', 'ctest-vn-02967492'], 'port_security_enabled': True, 'description': ''}}
2026-06-23 02:57:47,080 - DEBUG - Response for create_subnet : {'subnet': {'id': '27ea0eb6-c171-422f-acb5-28c7857dca8a', 'name': '', 'tenant_id': '07ccb3bff9f540729a6d13cf266a4cfd', 'network_id': 'a79ec76a-aa91-4e8d-bd74-79fb88af27d5', 'ip_version': 4, 'cidr': '197.121.151.0/26', 'allocation_pools': [{'start': '197.121.151.2', 'end': '197.121.151.62'}], 'gateway_ip': '197.121.151.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.121.151.2', 'tags': [], 'project_id': '07ccb3bff9f540729a6d13cf266a4cfd'}}
2026-06-23 02:57:47,094 - INFO - Created VN ctest-vn-02967492
2026-06-23 02:57:47,143 - DEBUG - VN ctest-vn-02967492 UUID is a79ec76a-aa91-4e8d-bd74-79fb88af27d5
2026-06-23 02:57:47,458 - DEBUG - Response for create_network : {'network': {'id': '0789c1d1-6989-4af1-a9e2-725a5bf33c3b', 'name': 'ctest-ext_vn-08087474', 'tenant_id': '07ccb3bff9f540729a6d13cf266a4cfd', 'project_id': '07ccb3bff9f540729a6d13cf266a4cfd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54169426', 'ctest-ext_vn-08087474'], 'port_security_enabled': True, 'description': ''}}
2026-06-23 02:57:47,629 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e46ccf3-3d30-406e-83bc-6e4d60a83129', 'name': '', 'tenant_id': '07ccb3bff9f540729a6d13cf266a4cfd', 'network_id': '0789c1d1-6989-4af1-a9e2-725a5bf33c3b', 'ip_version': 4, 'cidr': '132.79.247.192/26', 'allocation_pools': [{'start': '132.79.247.194', 'end': '132.79.247.254'}], 'gateway_ip': '132.79.247.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.79.247.194', 'tags': [], 'project_id': '07ccb3bff9f540729a6d13cf266a4cfd'}}
2026-06-23 02:57:47,642 - INFO - Created VN ctest-ext_vn-08087474
2026-06-23 02:57:47,691 - DEBUG - VN ctest-ext_vn-08087474 UUID is 0789c1d1-6989-4af1-a9e2-725a5bf33c3b
2026-06-23 02:57:47,877 - DEBUG - Services list from nova: [, , ]
2026-06-23 02:57:48,867 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6023-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6023-1)
2026-06-23 02:57:49,952 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6023-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6023-1)
2026-06-23 02:57:50,003 - INFO - Setting gateway for router ff0e3250-73b2-4806-8858-5eec18cc4a9b to network 0789c1d1-6989-4af1-a9e2-725a5bf33c3b
2026-06-23 02:57:50,037 - INFO - Adding interface with subnet_id 27ea0eb6-c171-422f-acb5-28c7857dca8a, port_id None to router ff0e3250-73b2-4806-8858-5eec18cc4a9b
2026-06-23 02:57:50,210 - INFO - Waiting for VM ctest-TestRoutersBasic-54169426-84244475 to be up..
2026-06-23 02:57:50,263 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-23 02:57:55,341 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-23 02:58:00,409 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-23 02:58:05,495 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-23 02:58:10,566 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-23 02:58:15,636 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-23 02:58:20,699 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-23 02:58:25,769 - DEBUG - VM is in ACTIVE state now
2026-06-23 02:58:25,769 - INFO - VM name : ctest-TestRoutersBasic-54169426-84244475
2026-06-23 02:58:25,843 - DEBUG - VM ctest-TestRoutersBasic-54169426-84244475 ID is a9e1ad49-d58f-4b07-bfd3-75f8d18022e7
2026-06-23 02:58:25,861 - DEBUG - VM ctest-TestRoutersBasic-54169426-84244475 launched on Node cn-jenkins-deploy-platform-ansible-os-6023-1
2026-06-23 02:58:25,922 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a9e1ad49-d58f-4b07-bfd3-75f8d18022e7
2026-06-23 02:58:26,239 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a9e1ad49-d58f-4b07-bfd3-75f8d18022e7
2026-06-23 02:58:26,266 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3a3e2f19-8087-47d7-8026-40ebd2058991
2026-06-23 02:58:29,508 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1007ms')
2026-06-23 02:58:29,508 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-54169426-84244475 failed!
2026-06-23 02:58:29,563 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-54169426:ctest-vn-02967492 is 197.121.151.1 and allocation pool is NOT set
2026-06-23 02:58:31,620 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=3.15 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.388 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.388/1.769/3.150/1.381 ms')
2026-06-23 02:58:31,620 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-54169426-84244475 passed
2026-06-23 02:58:31,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-23 02:58:31,775 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54169426-84244475, IP 197.121.151.3, Port 22
2026-06-23 02:58:31,938 - DEBUG - VM ctest-TestRoutersBasic-54169426-84244475 is ready for SSH connections
2026-06-23 02:58:31,939 - INFO - Waiting for VM ctest-TestRoutersBasic-54169426-88509023 to be up..
2026-06-23 02:58:32,036 - DEBUG - VM is in ACTIVE state now
2026-06-23 02:58:32,036 - INFO - VM name : ctest-TestRoutersBasic-54169426-88509023
2026-06-23 02:58:32,097 - DEBUG - VM ctest-TestRoutersBasic-54169426-88509023 ID is 37cab8a4-84d8-4ba6-a372-4b96e109d426
2026-06-23 02:58:32,097 - DEBUG - VM ctest-TestRoutersBasic-54169426-88509023 launched on Node cn-jenkins-deploy-platform-ansible-os-6023-1
2026-06-23 02:58:32,165 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/37cab8a4-84d8-4ba6-a372-4b96e109d426
2026-06-23 02:58:32,171 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/927ce8b6-b99a-45f6-84be-ae4fefac05a1
2026-06-23 02:58:33,404 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=4.07 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=1.75 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.751/2.912/4.074/1.161 ms')
2026-06-23 02:58:33,404 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-54169426-88509023 passed
2026-06-23 02:58:33,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-23 02:58:33,555 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54169426-88509023, IP 132.79.247.196, Port 22
2026-06-23 02:58:33,611 - DEBUG - Error on ssh to cirros@169.254.0.6:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-06-23 02:58:33,694 - DEBUG - VM ctest-TestRoutersBasic-54169426-88509023 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-23 02:58:38,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-23 02:58:38,695 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54169426-88509023, IP 132.79.247.196, Port 22
2026-06-23 02:58:38,859 - DEBUG - VM ctest-TestRoutersBasic-54169426-88509023 is ready for SSH connections
2026-06-23 02:58:38,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-23 02:58:38,859 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.79.247.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-06-23 02:58:38,859 - DEBUG - ping -s 56 -c 3 -W 1 132.79.247.196
2026-06-23 02:58:41,702 - DEBUG - PING 132.79.247.196 (132.79.247.196): 56 data bytes
64 bytes from 132.79.247.196: seq=0 ttl=62 time=5.545 ms
64 bytes from 132.79.247.196: seq=1 ttl=62 time=1.004 ms
64 bytes from 132.79.247.196: seq=2 ttl=62 time=0.932 ms
--- 132.79.247.196 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.932/2.493/5.545 ms
2026-06-23 02:58:41,703 - INFO - Ping to IP 132.79.247.196 from VM ctest-TestRoutersBasic-54169426-84244475 passed
2026-06-23 02:58:41,703 - INFO - Deleting interface with subnet_id 27ea0eb6-c171-422f-acb5-28c7857dca8a, port_id None from router ff0e3250-73b2-4806-8858-5eec18cc4a9b
2026-06-23 02:58:41,853 - INFO - Deleting VM ctest-TestRoutersBasic-54169426-88509023
2026-06-23 02:58:41,913 - INFO - Deleting VM ctest-TestRoutersBasic-54169426-84244475
2026-06-23 02:58:41,974 - INFO - Deleting VN ctest-ext_vn-08087474
2026-06-23 02:58:42,022 - DEBUG - VN 0789c1d1-6989-4af1-a9e2-725a5bf33c3b still in use: Unable to complete operation on network 0789c1d1-6989-4af1-a9e2-725a5bf33c3b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-98ef795a-1bc8-48a9-a71f-c23cd2483ae0']
2026-06-23 02:58:42,022 - WARNING - Deleting VN ctest-ext_vn-08087474 failed..Will retry
2026-06-23 02:58:44,119 - DEBUG - Response for deleting network ()
2026-06-23 02:58:44,119 - INFO - Deleting VN ctest-vn-02967492
2026-06-23 02:58:44,213 - DEBUG - Response for deleting network ()
2026-06-23 02:58:44,472 - DEBUG - No XMPP flaps were noticed during the test
2026-06-23 02:58:44,472 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:59]
2026-06-23 02:58:44,472 - INFO - --------------------------------------------------------------------------------
2026-06-23 02:58:45,169 - INFO - Deleted project: ctest-TestRoutersBasic-54169426, ID : 07ccb3bf-f9f5-4072-9a6d-13cf266a4cfd