2025-11-17 20:37:34,922 - INFO - Domain Default found not creating 2025-11-17 20:37:35,092 - INFO - Project ctest-TestRoutersBasic-08074194 not found, creating it 2025-11-17 20:37:35,568 - INFO - Created Project:ctest-TestRoutersBasic-08074194, ID : f392a429-64c2-4458-932f-762653ebe1fa 2025-11-17 20:37:37,165 - INFO - ================================================================================ 2025-11-17 20:37:37,165 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-17 20:37:37,165 - 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 2025-11-17 20:37:37,421 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-17 20:37:37,421 - INFO - Initial checks done. Running the testcase now 2025-11-17 20:37:37,421 - INFO - 2025-11-17 20:37:38,221 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-08074194 2025-11-17 20:37:38,316 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-08074194 2025-11-17 20:37:38,639 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08074194', 'default']} 2025-11-17 20:37:38,941 - DEBUG - Response for create_network : {'network': {'id': '4292bbba-fa8a-4e45-813c-5708d3e519f7', 'name': 'ctest-vn-74438768', 'tenant_id': 'f392a42964c24458932f762653ebe1fa', 'project_id': 'f392a42964c24458932f762653ebe1fa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08074194', 'ctest-vn-74438768'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 20:37:39,160 - DEBUG - Response for create_subnet : {'subnet': {'id': '558518d2-3560-493e-9a53-87a3e22866d4', 'name': '', 'tenant_id': 'f392a42964c24458932f762653ebe1fa', 'network_id': '4292bbba-fa8a-4e45-813c-5708d3e519f7', 'ip_version': 4, 'cidr': '107.99.142.192/26', 'allocation_pools': [{'start': '107.99.142.194', 'end': '107.99.142.254'}], 'gateway_ip': '107.99.142.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.99.142.194', 'tags': [], 'project_id': 'f392a42964c24458932f762653ebe1fa'}} 2025-11-17 20:37:39,179 - INFO - Created VN ctest-vn-74438768 2025-11-17 20:37:39,231 - DEBUG - VN ctest-vn-74438768 UUID is 4292bbba-fa8a-4e45-813c-5708d3e519f7 2025-11-17 20:37:39,577 - DEBUG - Response for create_network : {'network': {'id': 'acdf5540-3799-4d5c-ba6e-f787b2ce3aea', 'name': 'ctest-ext_vn-35341306', 'tenant_id': 'f392a42964c24458932f762653ebe1fa', 'project_id': 'f392a42964c24458932f762653ebe1fa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08074194', 'ctest-ext_vn-35341306'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 20:37:39,774 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4ba1ff4-5578-40b6-9906-361926158dde', 'name': '', 'tenant_id': 'f392a42964c24458932f762653ebe1fa', 'network_id': 'acdf5540-3799-4d5c-ba6e-f787b2ce3aea', 'ip_version': 4, 'cidr': '132.158.135.64/26', 'allocation_pools': [{'start': '132.158.135.66', 'end': '132.158.135.126'}], 'gateway_ip': '132.158.135.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.158.135.66', 'tags': [], 'project_id': 'f392a42964c24458932f762653ebe1fa'}} 2025-11-17 20:37:39,792 - INFO - Created VN ctest-ext_vn-35341306 2025-11-17 20:37:39,843 - DEBUG - VN ctest-ext_vn-35341306 UUID is acdf5540-3799-4d5c-ba6e-f787b2ce3aea 2025-11-17 20:37:40,012 - DEBUG - Services list from nova: [, , ] 2025-11-17 20:37:41,119 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4746-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4746-1) 2025-11-17 20:37:42,373 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4746-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4746-1) 2025-11-17 20:37:42,449 - INFO - Setting gateway for router ae191645-bb65-467c-9af7-12682aa9dacc to network acdf5540-3799-4d5c-ba6e-f787b2ce3aea 2025-11-17 20:37:42,521 - INFO - Adding interface with subnet_id 558518d2-3560-493e-9a53-87a3e22866d4, port_id None to router ae191645-bb65-467c-9af7-12682aa9dacc 2025-11-17 20:37:42,866 - INFO - Waiting for VM ctest-TestRoutersBasic-08074194-64574816 to be up.. 2025-11-17 20:37:43,031 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 20:37:48,110 - DEBUG - VM is in ACTIVE state now 2025-11-17 20:37:48,110 - INFO - VM name : ctest-TestRoutersBasic-08074194-64574816 2025-11-17 20:37:48,187 - DEBUG - VM ctest-TestRoutersBasic-08074194-64574816 ID is 9c2129e2-09aa-4b7d-9a97-d22245f939c2 2025-11-17 20:37:48,207 - DEBUG - VM ctest-TestRoutersBasic-08074194-64574816 launched on Node cn-jenkins-deploy-platform-ansible-os-4746-1 2025-11-17 20:37:48,286 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9c2129e2-09aa-4b7d-9a97-d22245f939c2 2025-11-17 20:37:48,624 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9c2129e2-09aa-4b7d-9a97-d22245f939c2 2025-11-17 20:37:48,667 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b09c096f-4e77-45f3-a5d7-32c782f9023b 2025-11-17 20:37:51,924 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms') 2025-11-17 20:37:51,924 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08074194-64574816 failed! 2025-11-17 20:37:51,983 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-08074194:ctest-vn-74438768 is 107.99.142.193 and allocation pool is NOT set 2025-11-17 20:37:54,049 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=4.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.84 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.842/3.890/4.938/1.048 ms') 2025-11-17 20:37:54,050 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08074194-64574816 passed 2025-11-17 20:37:54,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 20:37:54,208 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08074194-64574816, IP 107.99.142.195, Port 22 2025-11-17 20:37:54,363 - DEBUG - VM ctest-TestRoutersBasic-08074194-64574816 is ready for SSH connections 2025-11-17 20:37:54,363 - INFO - Waiting for VM ctest-TestRoutersBasic-08074194-01410285 to be up.. 2025-11-17 20:37:54,439 - DEBUG - VM is in ACTIVE state now 2025-11-17 20:37:54,440 - INFO - VM name : ctest-TestRoutersBasic-08074194-01410285 2025-11-17 20:37:54,509 - DEBUG - VM ctest-TestRoutersBasic-08074194-01410285 ID is 19e41025-c967-4979-a704-c76a0b275384 2025-11-17 20:37:54,509 - DEBUG - VM ctest-TestRoutersBasic-08074194-01410285 launched on Node cn-jenkins-deploy-platform-ansible-os-4746-1 2025-11-17 20:37:54,583 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/19e41025-c967-4979-a704-c76a0b275384 2025-11-17 20:37:54,592 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4a3aa615-fe07-4e26-8d04-875ea575b684 2025-11-17 20:37:55,827 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.391 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.391/1.932/3.473/1.541 ms') 2025-11-17 20:37:55,827 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-08074194-01410285 passed 2025-11-17 20:37:55,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 20:37:55,980 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08074194-01410285, IP 132.158.135.67, Port 22 2025-11-17 20:37:56,135 - DEBUG - VM ctest-TestRoutersBasic-08074194-01410285 is ready for SSH connections 2025-11-17 20:37:56,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 20:37:56,135 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.158.135.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-17 20:37:56,136 - DEBUG - ping -s 56 -c 3 -W 1 132.158.135.67 2025-11-17 20:37:59,937 - DEBUG - PING 132.158.135.67 (132.158.135.67): 56 data bytes 64 bytes from 132.158.135.67: seq=0 ttl=62 time=4.970 ms 64 bytes from 132.158.135.67: seq=1 ttl=62 time=0.985 ms 64 bytes from 132.158.135.67: seq=2 ttl=62 time=1.198 ms --- 132.158.135.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.985/2.384/4.970 ms 2025-11-17 20:37:59,937 - INFO - Ping to IP 132.158.135.67 from VM ctest-TestRoutersBasic-08074194-64574816 passed 2025-11-17 20:37:59,938 - INFO - Deleting interface with subnet_id 558518d2-3560-493e-9a53-87a3e22866d4, port_id None from router ae191645-bb65-467c-9af7-12682aa9dacc 2025-11-17 20:38:00,114 - INFO - Deleting VM ctest-TestRoutersBasic-08074194-01410285 2025-11-17 20:38:00,185 - INFO - Deleting VM ctest-TestRoutersBasic-08074194-64574816 2025-11-17 20:38:00,282 - INFO - Deleting VN ctest-ext_vn-35341306 2025-11-17 20:38:00,358 - DEBUG - VN acdf5540-3799-4d5c-ba6e-f787b2ce3aea still in use: Unable to complete operation on network acdf5540-3799-4d5c-ba6e-f787b2ce3aea. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9a383499-1ea5-4c39-bcfe-b19e822ea982'] 2025-11-17 20:38:00,358 - WARNING - Deleting VN ctest-ext_vn-35341306 failed..Will retry 2025-11-17 20:38:02,454 - DEBUG - Response for deleting network () 2025-11-17 20:38:02,454 - INFO - Deleting VN ctest-vn-74438768 2025-11-17 20:38:02,549 - DEBUG - Response for deleting network () 2025-11-17 20:38:02,816 - DEBUG - No XMPP flaps were noticed during the test 2025-11-17 20:38:02,816 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-11-17 20:38:02,816 - INFO - -------------------------------------------------------------------------------- 2025-11-17 20:38:03,546 - INFO - Deleted project: ctest-TestRoutersBasic-08074194, ID : f392a429-64c2-4458-932f-762653ebe1fa