2026-08-20 16:26:08,640 - INFO - Domain Default found not creating 2026-08-20 16:26:08,821 - INFO - Project ctest-TestRoutersBasic-65323441 not found, creating it 2026-08-20 16:26:09,338 - INFO - Created Project:ctest-TestRoutersBasic-65323441, ID : b8eebd0f-3e55-4fea-b8b1-8d69ba9137a0 2026-08-20 16:26:11,219 - INFO - ================================================================================ 2026-08-20 16:26:11,219 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-20 16:26:11,219 - 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-08-20 16:26:11,489 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with 2026-08-20 16:26:11,489 - INFO - Initial checks done. Running the testcase now 2026-08-20 16:26:11,489 - INFO - 2026-08-20 16:26:12,374 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-65323441 2026-08-20 16:26:12,472 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-65323441 2026-08-20 16:26:12,792 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65323441', 'default']} 2026-08-20 16:26:13,117 - DEBUG - Response for create_network : {'network': {'id': 'dee7a526-388e-4189-9287-3f228449a405', 'name': 'ctest-vn-98615401', 'tenant_id': 'b8eebd0f3e554feab8b18d69ba9137a0', 'project_id': 'b8eebd0f3e554feab8b18d69ba9137a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65323441', 'ctest-vn-98615401'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 16:26:13,298 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6cbb2ee-83d1-45ff-90b5-000fd6e939df', 'name': '', 'tenant_id': 'b8eebd0f3e554feab8b18d69ba9137a0', 'network_id': 'dee7a526-388e-4189-9287-3f228449a405', 'ip_version': 4, 'cidr': '79.94.108.64/26', 'allocation_pools': [{'start': '79.94.108.66', 'end': '79.94.108.126'}], 'gateway_ip': '79.94.108.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.94.108.66', 'tags': [], 'project_id': 'b8eebd0f3e554feab8b18d69ba9137a0'}} 2026-08-20 16:26:13,314 - INFO - Created VN ctest-vn-98615401 2026-08-20 16:26:13,364 - DEBUG - VN ctest-vn-98615401 UUID is dee7a526-388e-4189-9287-3f228449a405 2026-08-20 16:26:13,715 - DEBUG - Response for create_network : {'network': {'id': 'a4524cfd-064c-4c14-94c0-da1c8bc51a26', 'name': 'ctest-ext_vn-00170836', 'tenant_id': 'b8eebd0f3e554feab8b18d69ba9137a0', 'project_id': 'b8eebd0f3e554feab8b18d69ba9137a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65323441', 'ctest-ext_vn-00170836'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 16:26:13,883 - DEBUG - Response for create_subnet : {'subnet': {'id': 'babddd4b-510d-415c-925e-ed187fba0d94', 'name': '', 'tenant_id': 'b8eebd0f3e554feab8b18d69ba9137a0', 'network_id': 'a4524cfd-064c-4c14-94c0-da1c8bc51a26', 'ip_version': 4, 'cidr': '5.110.46.64/26', 'allocation_pools': [{'start': '5.110.46.66', 'end': '5.110.46.126'}], 'gateway_ip': '5.110.46.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.110.46.66', 'tags': [], 'project_id': 'b8eebd0f3e554feab8b18d69ba9137a0'}} 2026-08-20 16:26:13,900 - INFO - Created VN ctest-ext_vn-00170836 2026-08-20 16:26:13,952 - DEBUG - VN ctest-ext_vn-00170836 UUID is a4524cfd-064c-4c14-94c0-da1c8bc51a26 2026-08-20 16:26:14,157 - DEBUG - Services list from nova: [, , ] 2026-08-20 16:26:14,505 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6191-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6191-1) 2026-08-20 16:26:14,881 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6191-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6191-1) 2026-08-20 16:26:14,956 - INFO - Setting gateway for router 1f39e02b-5881-4698-87ec-5cf148a6a799 to network a4524cfd-064c-4c14-94c0-da1c8bc51a26 2026-08-20 16:26:15,008 - INFO - Adding interface with subnet_id f6cbb2ee-83d1-45ff-90b5-000fd6e939df, port_id None to router 1f39e02b-5881-4698-87ec-5cf148a6a799 2026-08-20 16:26:15,294 - INFO - Waiting for VM ctest-TestRoutersBasic-65323441-60447153 to be up.. 2026-08-20 16:26:15,359 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 16:26:20,435 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 16:26:25,585 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 16:26:30,666 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 16:26:35,755 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 16:26:40,836 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 16:26:45,918 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 16:26:51,002 - DEBUG - VM is in ACTIVE state now 2026-08-20 16:26:51,002 - INFO - VM name : ctest-TestRoutersBasic-65323441-60447153 2026-08-20 16:26:51,088 - DEBUG - VM ctest-TestRoutersBasic-65323441-60447153 ID is bb99d1b1-8c4d-424d-8228-cfb7648d3f8b 2026-08-20 16:26:51,110 - DEBUG - VM ctest-TestRoutersBasic-65323441-60447153 launched on Node cn-jenkins-deploy-platform-ansible-os-6191-1 2026-08-20 16:26:51,192 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bb99d1b1-8c4d-424d-8228-cfb7648d3f8b 2026-08-20 16:26:51,576 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bb99d1b1-8c4d-424d-8228-cfb7648d3f8b 2026-08-20 16:26:51,609 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b1f69d8a-4e39-4c1a-b97e-c8975f8fca58 2026-08-20 16:26:54,888 - 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 1027ms') 2026-08-20 16:26:54,888 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-65323441-60447153 failed! 2026-08-20 16:26:54,944 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-65323441:ctest-vn-98615401 is 79.94.108.65 and allocation pool is NOT set 2026-08-20 16:26:57,005 - 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.33 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.04 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.040/2.686/4.332/1.646 ms') 2026-08-20 16:26:57,005 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-65323441-60447153 passed 2026-08-20 16:26:57,160 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 16:26:57,160 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65323441-60447153, IP 79.94.108.67, Port 22 2026-08-20 16:26:57,331 - DEBUG - VM ctest-TestRoutersBasic-65323441-60447153 is ready for SSH connections 2026-08-20 16:26:57,331 - INFO - Waiting for VM ctest-TestRoutersBasic-65323441-91400726 to be up.. 2026-08-20 16:26:57,423 - DEBUG - VM is in ACTIVE state now 2026-08-20 16:26:57,423 - INFO - VM name : ctest-TestRoutersBasic-65323441-91400726 2026-08-20 16:26:57,501 - DEBUG - VM ctest-TestRoutersBasic-65323441-91400726 ID is a4472b32-27b7-4508-b161-f0e62f5ec8f8 2026-08-20 16:26:57,501 - DEBUG - VM ctest-TestRoutersBasic-65323441-91400726 launched on Node cn-jenkins-deploy-platform-ansible-os-6191-1 2026-08-20 16:26:57,576 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a4472b32-27b7-4508-b161-f0e62f5ec8f8 2026-08-20 16:26:57,585 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d865ccf0-28d2-4940-b58b-ba2b30869f17 2026-08-20 16:27:00,842 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms') 2026-08-20 16:27:00,842 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-65323441-91400726 failed! 2026-08-20 16:27:00,896 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-65323441:ctest-ext_vn-00170836 is 5.110.46.65 and allocation pool is NOT set 2026-08-20 16:27:02,960 - 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=7.51 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.564 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.564/4.038/7.513/3.474 ms') 2026-08-20 16:27:02,960 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-65323441-91400726 passed 2026-08-20 16:27:03,120 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 16:27:03,120 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65323441-91400726, IP 5.110.46.68, Port 22 2026-08-20 16:27:03,319 - DEBUG - VM ctest-TestRoutersBasic-65323441-91400726 is ready for SSH connections 2026-08-20 16:27:03,319 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 16:27:03,319 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.110.46.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-20 16:27:03,319 - DEBUG - ping -s 56 -c 3 -W 1 5.110.46.68 2026-08-20 16:27:06,326 - DEBUG - PING 5.110.46.68 (5.110.46.68): 56 data bytes 64 bytes from 5.110.46.68: seq=0 ttl=62 time=8.692 ms 64 bytes from 5.110.46.68: seq=1 ttl=62 time=1.076 ms 64 bytes from 5.110.46.68: seq=2 ttl=62 time=1.336 ms --- 5.110.46.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.076/3.701/8.692 ms 2026-08-20 16:27:06,326 - INFO - Ping to IP 5.110.46.68 from VM ctest-TestRoutersBasic-65323441-60447153 passed 2026-08-20 16:27:06,327 - INFO - Deleting interface with subnet_id f6cbb2ee-83d1-45ff-90b5-000fd6e939df, port_id None from router 1f39e02b-5881-4698-87ec-5cf148a6a799 2026-08-20 16:27:06,548 - INFO - Deleting VM ctest-TestRoutersBasic-65323441-91400726 2026-08-20 16:27:06,652 - INFO - Deleting VM ctest-TestRoutersBasic-65323441-60447153 2026-08-20 16:27:06,735 - INFO - Deleting VN ctest-ext_vn-00170836 2026-08-20 16:27:06,820 - DEBUG - VN a4524cfd-064c-4c14-94c0-da1c8bc51a26 still in use: Unable to complete operation on network a4524cfd-064c-4c14-94c0-da1c8bc51a26. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1d40d95e-792e-4303-bdb3-c5fb8240ac91'] 2026-08-20 16:27:06,820 - WARNING - Deleting VN ctest-ext_vn-00170836 failed..Will retry 2026-08-20 16:27:08,858 - DEBUG - VN a4524cfd-064c-4c14-94c0-da1c8bc51a26 still in use: Unable to complete operation on network a4524cfd-064c-4c14-94c0-da1c8bc51a26. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c28b991b-0a2e-4bb0-935d-acd22b6e3efb'] 2026-08-20 16:27:08,858 - WARNING - Deleting VN ctest-ext_vn-00170836 failed..Will retry 2026-08-20 16:27:10,983 - DEBUG - Response for deleting network () 2026-08-20 16:27:10,983 - INFO - Deleting VN ctest-vn-98615401 2026-08-20 16:27:11,124 - DEBUG - Response for deleting network () 2026-08-20 16:27:11,394 - DEBUG - No XMPP flaps were noticed during the test
2026-08-20 16:27:11,394 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:00]
2026-08-20 16:27:11,395 - INFO - -------------------------------------------------------------------------------- 2026-08-20 16:27:12,196 - INFO - Deleted project: ctest-TestRoutersBasic-65323441, ID : b8eebd0f-3e55-4fea-b8b1-8d69ba9137a0