2026-10-27 20:29:54,273 - INFO - Domain Default found not creating
2026-10-27 20:29:54,482 - INFO - Project ctest-TestRoutersBasic-59681288 not found, creating it
2026-10-27 20:29:55,002 - INFO - Created Project:ctest-TestRoutersBasic-59681288, ID : b57709ed-0685-47d2-a623-9533aca90b51
2026-10-27 20:29:56,970 - INFO - ================================================================================
2026-10-27 20:29:56,970 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-10-27 20:29:56,970 - 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-10-27 20:29:57,245 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.25': '0'}} with
2026-10-27 20:29:57,245 - INFO - Initial checks done. Running the testcase now
2026-10-27 20:29:57,245 - INFO -
2026-10-27 20:29:58,268 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-59681288
2026-10-27 20:29:58,371 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-59681288
2026-10-27 20:29:58,714 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59681288', 'default']}
2026-10-27 20:29:59,055 - DEBUG - Response for create_network : {'network': {'id': '56df9952-a9a4-44c7-8dfe-03765dc6eecb', 'name': 'ctest-vn-20926496', 'tenant_id': 'b57709ed068547d2a6239533aca90b51', 'project_id': 'b57709ed068547d2a6239533aca90b51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59681288', 'ctest-vn-20926496'], 'port_security_enabled': True, 'description': ''}}
2026-10-27 20:29:59,261 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc7ce839-d505-486b-8253-146758e809d7', 'name': '', 'tenant_id': 'b57709ed068547d2a6239533aca90b51', 'network_id': '56df9952-a9a4-44c7-8dfe-03765dc6eecb', 'ip_version': 4, 'cidr': '35.95.9.128/26', 'allocation_pools': [{'start': '35.95.9.130', 'end': '35.95.9.190'}], 'gateway_ip': '35.95.9.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.95.9.130', 'tags': [], 'project_id': 'b57709ed068547d2a6239533aca90b51'}}
2026-10-27 20:29:59,284 - INFO - Created VN ctest-vn-20926496
2026-10-27 20:29:59,343 - DEBUG - VN ctest-vn-20926496 UUID is 56df9952-a9a4-44c7-8dfe-03765dc6eecb
2026-10-27 20:29:59,737 - DEBUG - Response for create_network : {'network': {'id': '3b9c3b2b-a79c-43c9-9eea-b35ec1f241bc', 'name': 'ctest-ext_vn-98591696', 'tenant_id': 'b57709ed068547d2a6239533aca90b51', 'project_id': 'b57709ed068547d2a6239533aca90b51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59681288', 'ctest-ext_vn-98591696'], 'port_security_enabled': True, 'description': ''}}
2026-10-27 20:29:59,946 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dfa41aac-7e2d-4d50-97c8-5bfacc70c7e7', 'name': '', 'tenant_id': 'b57709ed068547d2a6239533aca90b51', 'network_id': '3b9c3b2b-a79c-43c9-9eea-b35ec1f241bc', 'ip_version': 4, 'cidr': '61.14.55.0/26', 'allocation_pools': [{'start': '61.14.55.2', 'end': '61.14.55.62'}], 'gateway_ip': '61.14.55.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.14.55.2', 'tags': [], 'project_id': 'b57709ed068547d2a6239533aca90b51'}}
2026-10-27 20:29:59,971 - INFO - Created VN ctest-ext_vn-98591696
2026-10-27 20:30:00,031 - DEBUG - VN ctest-ext_vn-98591696 UUID is 3b9c3b2b-a79c-43c9-9eea-b35ec1f241bc
2026-10-27 20:30:00,249 - DEBUG - Services list from nova: [, , ]
2026-10-27 20:30:00,890 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6425-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6425-1)
2026-10-27 20:30:01,492 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6425-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6425-1)
2026-10-27 20:30:01,604 - INFO - Setting gateway for router 72da294f-10e1-49c3-83ed-28addf2bbac2 to network 3b9c3b2b-a79c-43c9-9eea-b35ec1f241bc
2026-10-27 20:30:01,684 - INFO - Adding interface with subnet_id cc7ce839-d505-486b-8253-146758e809d7, port_id None to router 72da294f-10e1-49c3-83ed-28addf2bbac2
2026-10-27 20:30:02,040 - INFO - Waiting for VM ctest-TestRoutersBasic-59681288-78099947 to be up..
2026-10-27 20:30:02,116 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-27 20:30:07,227 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-27 20:30:12,628 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-27 20:30:17,779 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-27 20:30:22,881 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-27 20:30:27,972 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-27 20:30:33,314 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-27 20:30:38,409 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-27 20:30:43,511 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-27 20:30:48,712 - DEBUG - VM is in ACTIVE state now
2026-10-27 20:30:48,712 - INFO - VM name : ctest-TestRoutersBasic-59681288-78099947
2026-10-27 20:30:48,863 - DEBUG - VM ctest-TestRoutersBasic-59681288-78099947 ID is 4197ec14-d0d2-4523-b350-462f0f58bcbe
2026-10-27 20:30:48,901 - DEBUG - VM ctest-TestRoutersBasic-59681288-78099947 launched on Node cn-jenkins-deploy-platform-ansible-os-6425-1
2026-10-27 20:30:49,096 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/4197ec14-d0d2-4523-b350-462f0f58bcbe
2026-10-27 20:30:49,538 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/4197ec14-d0d2-4523-b350-462f0f58bcbe
2026-10-27 20:30:49,591 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/2882881c-c293-48cb-a9b9-9dde9755fcf1
2026-10-27 20:30:52,916 - 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 1024ms')
2026-10-27 20:30:52,916 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-59681288-78099947 failed!
2026-10-27 20:30:52,975 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-59681288:ctest-vn-20926496 is 35.95.9.129 and allocation pool is NOT set
2026-10-27 20:30:55,097 - 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=38.4 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.74 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 = 1.744/20.077/38.410/18.333 ms')
2026-10-27 20:30:55,098 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-59681288-78099947 passed
2026-10-27 20:30:55,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-27 20:30:55,255 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59681288-78099947, IP 35.95.9.131, Port 22
2026-10-27 20:30:55,321 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-10-27 20:30:55,427 - DEBUG - VM ctest-TestRoutersBasic-59681288-78099947 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-27 20:31:00,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-27 20:31:00,428 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59681288-78099947, IP 35.95.9.131, Port 22
2026-10-27 20:31:00,605 - DEBUG - VM ctest-TestRoutersBasic-59681288-78099947 is ready for SSH connections
2026-10-27 20:31:00,606 - INFO - Waiting for VM ctest-TestRoutersBasic-59681288-53112561 to be up..
2026-10-27 20:31:00,727 - DEBUG - VM is in ACTIVE state now
2026-10-27 20:31:00,728 - INFO - VM name : ctest-TestRoutersBasic-59681288-53112561
2026-10-27 20:31:00,846 - DEBUG - VM ctest-TestRoutersBasic-59681288-53112561 ID is e75cf871-e22a-4372-94ce-934190a3489d
2026-10-27 20:31:00,846 - DEBUG - VM ctest-TestRoutersBasic-59681288-53112561 launched on Node cn-jenkins-deploy-platform-ansible-os-6425-1
2026-10-27 20:31:00,964 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/e75cf871-e22a-4372-94ce-934190a3489d
2026-10-27 20:31:00,981 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/16cea082-4947-4833-b769-a2aacf296816
2026-10-27 20:31:02,255 - 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.75 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.698 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.698/2.724/4.751/2.026 ms')
2026-10-27 20:31:02,255 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-59681288-53112561 passed
2026-10-27 20:31:02,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-27 20:31:02,423 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59681288-53112561, IP 61.14.55.4, Port 22
2026-10-27 20:31:02,610 - DEBUG - VM ctest-TestRoutersBasic-59681288-53112561 is ready for SSH connections
2026-10-27 20:31:02,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-27 20:31:02,610 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.14.55.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123
2026-10-27 20:31:02,610 - DEBUG - ping -s 56 -c 3 -W 1 61.14.55.4
2026-10-27 20:31:06,040 - DEBUG - PING 61.14.55.4 (61.14.55.4): 56 data bytes
64 bytes from 61.14.55.4: seq=0 ttl=62 time=13.028 ms
64 bytes from 61.14.55.4: seq=1 ttl=62 time=1.528 ms
64 bytes from 61.14.55.4: seq=2 ttl=62 time=1.612 ms
--- 61.14.55.4 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.528/5.389/13.028 ms
2026-10-27 20:31:06,040 - INFO - Ping to IP 61.14.55.4 from VM ctest-TestRoutersBasic-59681288-78099947 passed
2026-10-27 20:31:06,040 - INFO - Deleting interface with subnet_id cc7ce839-d505-486b-8253-146758e809d7, port_id None from router 72da294f-10e1-49c3-83ed-28addf2bbac2
2026-10-27 20:31:06,366 - INFO - Deleting VM ctest-TestRoutersBasic-59681288-53112561
2026-10-27 20:31:06,488 - INFO - Deleting VM ctest-TestRoutersBasic-59681288-78099947
2026-10-27 20:31:06,598 - INFO - Deleting VN ctest-ext_vn-98591696
2026-10-27 20:31:06,733 - DEBUG - VN 3b9c3b2b-a79c-43c9-9eea-b35ec1f241bc still in use: Unable to complete operation on network 3b9c3b2b-a79c-43c9-9eea-b35ec1f241bc. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b8676d01-7ef2-4441-8c86-320c2810d316']
2026-10-27 20:31:06,734 - WARNING - Deleting VN ctest-ext_vn-98591696 failed..Will retry
2026-10-27 20:31:08,785 - DEBUG - VN 3b9c3b2b-a79c-43c9-9eea-b35ec1f241bc still in use: Unable to complete operation on network 3b9c3b2b-a79c-43c9-9eea-b35ec1f241bc. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5b6c5ea7-5c6f-4cf3-b3f9-b4ea840518c8']
2026-10-27 20:31:08,785 - WARNING - Deleting VN ctest-ext_vn-98591696 failed..Will retry
2026-10-27 20:31:10,953 - DEBUG - Response for deleting network ()
2026-10-27 20:31:10,953 - INFO - Deleting VN ctest-vn-20926496
2026-10-27 20:31:11,105 - DEBUG - Response for deleting network ()
2026-10-27 20:31:11,387 - DEBUG - No XMPP flaps were noticed during the test
2026-10-27 20:31:11,387 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:15]
2026-10-27 20:31:11,387 - INFO - --------------------------------------------------------------------------------
2026-10-27 20:31:12,303 - INFO - Deleted project: ctest-TestRoutersBasic-59681288, ID : b57709ed-0685-47d2-a623-9533aca90b51