2026-10-26 13:57:02,338 - INFO - Domain Default found not creating 2026-10-26 13:57:02,562 - INFO - Project ctest-TestRoutersBasic-34432384 not found, creating it 2026-10-26 13:57:03,092 - INFO - Created Project:ctest-TestRoutersBasic-34432384, ID : 2027b49c-f58f-4096-9fda-9359f39bf335 2026-10-26 13:57:04,904 - INFO - ================================================================================ 2026-10-26 13:57:04,904 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-26 13:57:04,905 - 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-26 13:57:05,180 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-10-26 13:57:05,180 - INFO - Initial checks done. Running the testcase now 2026-10-26 13:57:05,180 - INFO - 2026-10-26 13:57:06,081 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-34432384 2026-10-26 13:57:06,181 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-34432384 2026-10-26 13:57:06,505 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34432384', 'default']} 2026-10-26 13:57:06,797 - DEBUG - Response for create_network : {'network': {'id': '77d2584b-828a-4455-8079-e4016460f213', 'name': 'ctest-vn-90460027', 'tenant_id': '2027b49cf58f40969fda9359f39bf335', 'project_id': '2027b49cf58f40969fda9359f39bf335', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34432384', 'ctest-vn-90460027'], 'port_security_enabled': True, 'description': ''}} 2026-10-26 13:57:06,971 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd4182422-3d31-4404-9214-4a4f18892e9b', 'name': '', 'tenant_id': '2027b49cf58f40969fda9359f39bf335', 'network_id': '77d2584b-828a-4455-8079-e4016460f213', 'ip_version': 4, 'cidr': '99.13.100.64/26', 'allocation_pools': [{'start': '99.13.100.66', 'end': '99.13.100.126'}], 'gateway_ip': '99.13.100.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.13.100.66', 'tags': [], 'project_id': '2027b49cf58f40969fda9359f39bf335'}} 2026-10-26 13:57:06,988 - INFO - Created VN ctest-vn-90460027 2026-10-26 13:57:07,041 - DEBUG - VN ctest-vn-90460027 UUID is 77d2584b-828a-4455-8079-e4016460f213 2026-10-26 13:57:07,354 - DEBUG - Response for create_network : {'network': {'id': '7605e9e5-ac52-4321-a457-32cd7b6fdf6e', 'name': 'ctest-ext_vn-49052059', 'tenant_id': '2027b49cf58f40969fda9359f39bf335', 'project_id': '2027b49cf58f40969fda9359f39bf335', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34432384', 'ctest-ext_vn-49052059'], 'port_security_enabled': True, 'description': ''}} 2026-10-26 13:57:07,541 - DEBUG - Response for create_subnet : {'subnet': {'id': '630744b3-e2fc-446f-93be-fa3a7d5f966a', 'name': '', 'tenant_id': '2027b49cf58f40969fda9359f39bf335', 'network_id': '7605e9e5-ac52-4321-a457-32cd7b6fdf6e', 'ip_version': 4, 'cidr': '199.136.243.64/26', 'allocation_pools': [{'start': '199.136.243.66', 'end': '199.136.243.126'}], 'gateway_ip': '199.136.243.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.136.243.66', 'tags': [], 'project_id': '2027b49cf58f40969fda9359f39bf335'}} 2026-10-26 13:57:07,558 - INFO - Created VN ctest-ext_vn-49052059 2026-10-26 13:57:07,609 - DEBUG - VN ctest-ext_vn-49052059 UUID is 7605e9e5-ac52-4321-a457-32cd7b6fdf6e 2026-10-26 13:57:07,783 - DEBUG - Services list from nova: [, , ] 2026-10-26 13:57:08,195 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6410-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6410-1) 2026-10-26 13:57:08,696 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6410-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6410-1) 2026-10-26 13:57:08,811 - INFO - Setting gateway for router 250c292b-b6d7-4455-9e21-d6d2ebfc48bc to network 7605e9e5-ac52-4321-a457-32cd7b6fdf6e 2026-10-26 13:57:08,924 - INFO - Adding interface with subnet_id d4182422-3d31-4404-9214-4a4f18892e9b, port_id None to router 250c292b-b6d7-4455-9e21-d6d2ebfc48bc 2026-10-26 13:57:09,279 - INFO - Waiting for VM ctest-TestRoutersBasic-34432384-62046421 to be up.. 2026-10-26 13:57:09,374 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 13:57:14,463 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 13:57:19,590 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 13:57:24,685 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 13:57:29,762 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 13:57:34,895 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 13:57:39,985 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 13:57:45,058 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 13:57:50,157 - DEBUG - VM is in ACTIVE state now 2026-10-26 13:57:50,157 - INFO - VM name : ctest-TestRoutersBasic-34432384-62046421 2026-10-26 13:57:50,240 - DEBUG - VM ctest-TestRoutersBasic-34432384-62046421 ID is 5e12ea2b-c49a-443c-9727-752a6e05f6b5 2026-10-26 13:57:50,266 - DEBUG - VM ctest-TestRoutersBasic-34432384-62046421 launched on Node cn-jenkins-deploy-platform-ansible-os-6410-1 2026-10-26 13:57:50,344 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/5e12ea2b-c49a-443c-9727-752a6e05f6b5 2026-10-26 13:57:50,744 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/5e12ea2b-c49a-443c-9727-752a6e05f6b5 2026-10-26 13:57:50,795 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/291a9a1d-3e1e-4d66-908b-242aff042699 2026-10-26 13:57:54,089 - 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 1018ms') 2026-10-26 13:57:54,089 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-34432384-62046421 failed! 2026-10-26 13:57:54,145 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-34432384:ctest-vn-90460027 is 99.13.100.65 and allocation pool is NOT set 2026-10-26 13:57:56,219 - 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=4.24 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.389 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.389/2.313/4.237/1.924 ms') 2026-10-26 13:57:56,219 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-34432384-62046421 passed 2026-10-26 13:57:56,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 13:57:56,373 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34432384-62046421, IP 99.13.100.67, Port 22 2026-10-26 13:57:56,543 - DEBUG - VM ctest-TestRoutersBasic-34432384-62046421 is ready for SSH connections 2026-10-26 13:57:56,544 - INFO - Waiting for VM ctest-TestRoutersBasic-34432384-78059489 to be up.. 2026-10-26 13:57:56,621 - DEBUG - VM is in ACTIVE state now 2026-10-26 13:57:56,621 - INFO - VM name : ctest-TestRoutersBasic-34432384-78059489 2026-10-26 13:57:56,696 - DEBUG - VM ctest-TestRoutersBasic-34432384-78059489 ID is bb3560cb-e4ec-44aa-9729-93e2c7837b93 2026-10-26 13:57:56,696 - DEBUG - VM ctest-TestRoutersBasic-34432384-78059489 launched on Node cn-jenkins-deploy-platform-ansible-os-6410-1 2026-10-26 13:57:56,771 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/bb3560cb-e4ec-44aa-9729-93e2c7837b93 2026-10-26 13:57:56,780 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/bc1adf47-6483-45ba-a03c-984829918098 2026-10-26 13:57:58,034 - 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.51 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=3.89 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.510/3.700/3.891/0.190 ms') 2026-10-26 13:57:58,034 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-34432384-78059489 passed 2026-10-26 13:57:58,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 13:57:58,189 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34432384-78059489, IP 199.136.243.68, Port 22 2026-10-26 13:57:58,256 - 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-10-26 13:57:58,327 - DEBUG - VM ctest-TestRoutersBasic-34432384-78059489 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-26 13:58:03,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 13:58:03,328 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34432384-78059489, IP 199.136.243.68, Port 22 2026-10-26 13:58:03,496 - DEBUG - VM ctest-TestRoutersBasic-34432384-78059489 is ready for SSH connections 2026-10-26 13:58:03,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 13:58:03,496 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.136.243.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-26 13:58:03,496 - DEBUG - ping -s 56 -c 3 -W 1 199.136.243.68 2026-10-26 13:58:06,492 - DEBUG - PING 199.136.243.68 (199.136.243.68): 56 data bytes 64 bytes from 199.136.243.68: seq=0 ttl=62 time=7.858 ms 64 bytes from 199.136.243.68: seq=1 ttl=62 time=1.239 ms 64 bytes from 199.136.243.68: seq=2 ttl=62 time=1.135 ms --- 199.136.243.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.135/3.410/7.858 ms 2026-10-26 13:58:06,492 - INFO - Ping to IP 199.136.243.68 from VM ctest-TestRoutersBasic-34432384-62046421 passed 2026-10-26 13:58:06,493 - INFO - Deleting interface with subnet_id d4182422-3d31-4404-9214-4a4f18892e9b, port_id None from router 250c292b-b6d7-4455-9e21-d6d2ebfc48bc 2026-10-26 13:58:06,762 - INFO - Deleting VM ctest-TestRoutersBasic-34432384-78059489 2026-10-26 13:58:06,838 - INFO - Deleting VM ctest-TestRoutersBasic-34432384-62046421 2026-10-26 13:58:06,922 - INFO - Deleting VN ctest-ext_vn-49052059 2026-10-26 13:58:06,980 - DEBUG - VN 7605e9e5-ac52-4321-a457-32cd7b6fdf6e still in use: Unable to complete operation on network 7605e9e5-ac52-4321-a457-32cd7b6fdf6e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c3cbc2a5-c650-48c1-b7d3-2c18fd857810'] 2026-10-26 13:58:06,980 - WARNING - Deleting VN ctest-ext_vn-49052059 failed..Will retry 2026-10-26 13:58:09,013 - DEBUG - VN 7605e9e5-ac52-4321-a457-32cd7b6fdf6e still in use: Unable to complete operation on network 7605e9e5-ac52-4321-a457-32cd7b6fdf6e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c04a6f8b-9ca8-48f9-9c63-fc56318f0eca'] 2026-10-26 13:58:09,013 - WARNING - Deleting VN ctest-ext_vn-49052059 failed..Will retry 2026-10-26 13:58:11,169 - DEBUG - Response for deleting network () 2026-10-26 13:58:11,170 - INFO - Deleting VN ctest-vn-90460027 2026-10-26 13:58:11,280 - DEBUG - Response for deleting network () 2026-10-26 13:58:11,554 - DEBUG - No XMPP flaps were noticed during the test
2026-10-26 13:58:11,554 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:07]
2026-10-26 13:58:11,554 - INFO - -------------------------------------------------------------------------------- 2026-10-26 13:58:12,413 - INFO - Deleted project: ctest-TestRoutersBasic-34432384, ID : 2027b49c-f58f-4096-9fda-9359f39bf335