2026-07-10 20:11:27,622 - INFO - Domain Default found not creating 2026-07-10 20:11:27,751 - INFO - Project ctest-TestRoutersBasic-83309363 not found, creating it 2026-07-10 20:11:28,173 - INFO - Created Project:ctest-TestRoutersBasic-83309363, ID : 23e855fa-ab50-4339-8832-2e6ad263d706 2026-07-10 20:11:30,250 - INFO - ================================================================================ 2026-07-10 20:11:30,250 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-07-10 20:11:30,250 - 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-07-10 20:11:30,503 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-07-10 20:11:30,503 - INFO - Initial checks done. Running the testcase now 2026-07-10 20:11:30,503 - INFO - 2026-07-10 20:11:31,208 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-83309363 2026-07-10 20:11:31,303 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-83309363 2026-07-10 20:11:31,618 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83309363', 'default']} 2026-07-10 20:11:31,881 - DEBUG - Response for create_network : {'network': {'id': '929a0231-0068-47aa-aaa3-79ddb341b595', 'name': 'ctest-vn-26699240', 'tenant_id': '23e855faab50433988322e6ad263d706', 'project_id': '23e855faab50433988322e6ad263d706', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83309363', 'ctest-vn-26699240'], 'port_security_enabled': True, 'description': ''}} 2026-07-10 20:11:32,090 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c3ba2134-c5a8-41fb-82ed-ec7d8436b054', 'name': '', 'tenant_id': '23e855faab50433988322e6ad263d706', 'network_id': '929a0231-0068-47aa-aaa3-79ddb341b595', 'ip_version': 4, 'cidr': '85.53.220.64/26', 'allocation_pools': [{'start': '85.53.220.66', 'end': '85.53.220.126'}], 'gateway_ip': '85.53.220.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.53.220.66', 'tags': [], 'project_id': '23e855faab50433988322e6ad263d706'}} 2026-07-10 20:11:32,103 - INFO - Created VN ctest-vn-26699240 2026-07-10 20:11:32,155 - DEBUG - VN ctest-vn-26699240 UUID is 929a0231-0068-47aa-aaa3-79ddb341b595 2026-07-10 20:11:32,470 - DEBUG - Response for create_network : {'network': {'id': '6cf49d6a-a8da-4b28-96a9-a7ccf8fab691', 'name': 'ctest-ext_vn-37684913', 'tenant_id': '23e855faab50433988322e6ad263d706', 'project_id': '23e855faab50433988322e6ad263d706', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83309363', 'ctest-ext_vn-37684913'], 'port_security_enabled': True, 'description': ''}} 2026-07-10 20:11:32,663 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0d07b35-7e52-4a7a-87f3-a996cde69ffe', 'name': '', 'tenant_id': '23e855faab50433988322e6ad263d706', 'network_id': '6cf49d6a-a8da-4b28-96a9-a7ccf8fab691', 'ip_version': 4, 'cidr': '193.74.21.64/26', 'allocation_pools': [{'start': '193.74.21.66', 'end': '193.74.21.126'}], 'gateway_ip': '193.74.21.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.74.21.66', 'tags': [], 'project_id': '23e855faab50433988322e6ad263d706'}} 2026-07-10 20:11:32,676 - INFO - Created VN ctest-ext_vn-37684913 2026-07-10 20:11:32,727 - DEBUG - VN ctest-ext_vn-37684913 UUID is 6cf49d6a-a8da-4b28-96a9-a7ccf8fab691 2026-07-10 20:11:32,915 - DEBUG - Services list from nova: [, , ] 2026-07-10 20:11:33,194 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6093-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6093-1) 2026-07-10 20:11:33,508 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6093-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6093-1) 2026-07-10 20:11:33,566 - INFO - Setting gateway for router 714b05d0-3524-49ee-a074-869e698a48fa to network 6cf49d6a-a8da-4b28-96a9-a7ccf8fab691 2026-07-10 20:11:33,609 - INFO - Adding interface with subnet_id c3ba2134-c5a8-41fb-82ed-ec7d8436b054, port_id None to router 714b05d0-3524-49ee-a074-869e698a48fa 2026-07-10 20:11:33,804 - INFO - Waiting for VM ctest-TestRoutersBasic-83309363-67191240 to be up.. 2026-07-10 20:11:33,847 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-10 20:11:38,913 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-10 20:11:43,993 - DEBUG - VM is in ACTIVE state now 2026-07-10 20:11:43,993 - INFO - VM name : ctest-TestRoutersBasic-83309363-67191240 2026-07-10 20:11:44,065 - DEBUG - VM ctest-TestRoutersBasic-83309363-67191240 ID is 90483ab3-c372-4577-b8de-fce92557f09d 2026-07-10 20:11:44,084 - DEBUG - VM ctest-TestRoutersBasic-83309363-67191240 launched on Node cn-jenkins-deploy-platform-ansible-os-6093-1 2026-07-10 20:11:44,162 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/90483ab3-c372-4577-b8de-fce92557f09d 2026-07-10 20:11:44,529 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/90483ab3-c372-4577-b8de-fce92557f09d 2026-07-10 20:11:44,556 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bc592e2a-b9fd-41f9-96d2-c0b11c32742a 2026-07-10 20:11:47,824 - 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 1031ms') 2026-07-10 20:11:47,824 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-83309363-67191240 failed! 2026-07-10 20:11:47,879 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-83309363:ctest-vn-26699240 is 85.53.220.65 and allocation pool is NOT set 2026-07-10 20:11:49,933 - 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=6.90 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.381 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.381/3.640/6.899/3.259 ms') 2026-07-10 20:11:49,933 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-83309363-67191240 passed 2026-07-10 20:11:50,079 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-10 20:11:50,079 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83309363-67191240, IP 85.53.220.67, Port 22 2026-07-10 20:11:50,241 - DEBUG - VM ctest-TestRoutersBasic-83309363-67191240 is ready for SSH connections 2026-07-10 20:11:50,241 - INFO - Waiting for VM ctest-TestRoutersBasic-83309363-48210265 to be up.. 2026-07-10 20:11:50,316 - DEBUG - VM is in ACTIVE state now 2026-07-10 20:11:50,316 - INFO - VM name : ctest-TestRoutersBasic-83309363-48210265 2026-07-10 20:11:50,387 - DEBUG - VM ctest-TestRoutersBasic-83309363-48210265 ID is ec30f0c9-410d-4de1-a5b9-6e3243139d75 2026-07-10 20:11:50,387 - DEBUG - VM ctest-TestRoutersBasic-83309363-48210265 launched on Node cn-jenkins-deploy-platform-ansible-os-6093-1 2026-07-10 20:11:50,463 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ec30f0c9-410d-4de1-a5b9-6e3243139d75 2026-07-10 20:11:50,471 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f6ced9c4-6366-4957-8121-e1261e2712d1 2026-07-10 20:11:51,706 - 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=3.87 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=4.25 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 = 3.871/4.060/4.250/0.189 ms') 2026-07-10 20:11:51,706 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-83309363-48210265 passed 2026-07-10 20:11:51,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-10 20:11:51,863 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83309363-48210265, IP 193.74.21.68, Port 22 2026-07-10 20:11:51,919 - 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-07-10 20:11:51,983 - DEBUG - VM ctest-TestRoutersBasic-83309363-48210265 is NOT ready for SSH connections, VM status: ACTIVE 2026-07-10 20:11:56,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-10 20:11:56,984 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83309363-48210265, IP 193.74.21.68, Port 22 2026-07-10 20:11:57,134 - DEBUG - VM ctest-TestRoutersBasic-83309363-48210265 is ready for SSH connections 2026-07-10 20:11:57,134 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-10 20:11:57,134 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.74.21.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-07-10 20:11:57,134 - DEBUG - ping -s 56 -c 3 -W 1 193.74.21.68 2026-07-10 20:11:59,720 - DEBUG - PING 193.74.21.68 (193.74.21.68): 56 data bytes 64 bytes from 193.74.21.68: seq=0 ttl=62 time=5.885 ms 64 bytes from 193.74.21.68: seq=1 ttl=62 time=0.941 ms 64 bytes from 193.74.21.68: seq=2 ttl=62 time=0.797 ms --- 193.74.21.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.797/2.541/5.885 ms 2026-07-10 20:11:59,720 - INFO - Ping to IP 193.74.21.68 from VM ctest-TestRoutersBasic-83309363-67191240 passed 2026-07-10 20:11:59,720 - INFO - Deleting interface with subnet_id c3ba2134-c5a8-41fb-82ed-ec7d8436b054, port_id None from router 714b05d0-3524-49ee-a074-869e698a48fa 2026-07-10 20:11:59,881 - INFO - Deleting VM ctest-TestRoutersBasic-83309363-48210265 2026-07-10 20:11:59,941 - INFO - Deleting VM ctest-TestRoutersBasic-83309363-67191240 2026-07-10 20:12:00,002 - INFO - Deleting VN ctest-ext_vn-37684913 2026-07-10 20:12:00,055 - DEBUG - VN 6cf49d6a-a8da-4b28-96a9-a7ccf8fab691 still in use: Unable to complete operation on network 6cf49d6a-a8da-4b28-96a9-a7ccf8fab691. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b98dc6a7-bd59-4986-ab77-6b9c0ac2ecca'] 2026-07-10 20:12:00,055 - WARNING - Deleting VN ctest-ext_vn-37684913 failed..Will retry 2026-07-10 20:12:02,169 - DEBUG - Response for deleting network () 2026-07-10 20:12:02,169 - INFO - Deleting VN ctest-vn-26699240 2026-07-10 20:12:02,258 - DEBUG - Response for deleting network () 2026-07-10 20:12:02,516 - DEBUG - No XMPP flaps were noticed during the test
2026-07-10 20:12:02,516 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2026-07-10 20:12:02,516 - INFO - -------------------------------------------------------------------------------- 2026-07-10 20:12:03,263 - INFO - Deleted project: ctest-TestRoutersBasic-83309363, ID : 23e855fa-ab50-4339-8832-2e6ad263d706