2026-02-04 10:05:30,517 - INFO - Domain Default found not creating 2026-02-04 10:05:30,704 - INFO - Project ctest-TestRoutersBasic-48923643 not found, creating it 2026-02-04 10:05:31,393 - INFO - Created Project:ctest-TestRoutersBasic-48923643, ID : b5905bda-3468-46ca-806e-50c7d45bd190 2026-02-04 10:05:32,911 - INFO - ================================================================================ 2026-02-04 10:05:32,911 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-04 10:05:32,911 - 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-02-04 10:05:33,166 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-04 10:05:33,166 - INFO - Initial checks done. Running the testcase now 2026-02-04 10:05:33,166 - INFO - 2026-02-04 10:05:33,882 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-48923643 2026-02-04 10:05:33,977 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-48923643 2026-02-04 10:05:34,293 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48923643', 'default']} 2026-02-04 10:05:34,578 - DEBUG - Response for create_network : {'network': {'id': '65f766d9-a12d-4a46-9a17-61d185fc8f3a', 'name': 'ctest-vn-01074962', 'tenant_id': 'b5905bda346846ca806e50c7d45bd190', 'project_id': 'b5905bda346846ca806e50c7d45bd190', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48923643', 'ctest-vn-01074962'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 10:05:34,721 - DEBUG - Response for create_subnet : {'subnet': {'id': '04b82e37-434c-4a80-bd3a-5b8eabbfec4a', 'name': '', 'tenant_id': 'b5905bda346846ca806e50c7d45bd190', 'network_id': '65f766d9-a12d-4a46-9a17-61d185fc8f3a', 'ip_version': 4, 'cidr': '103.75.16.0/26', 'allocation_pools': [{'start': '103.75.16.2', 'end': '103.75.16.62'}], 'gateway_ip': '103.75.16.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.75.16.2', 'tags': [], 'project_id': 'b5905bda346846ca806e50c7d45bd190'}} 2026-02-04 10:05:34,740 - INFO - Created VN ctest-vn-01074962 2026-02-04 10:05:34,789 - DEBUG - VN ctest-vn-01074962 UUID is 65f766d9-a12d-4a46-9a17-61d185fc8f3a 2026-02-04 10:05:35,165 - DEBUG - Response for create_network : {'network': {'id': 'ea24eb18-2835-4d44-bf9c-cf613523e26b', 'name': 'ctest-ext_vn-69445075', 'tenant_id': 'b5905bda346846ca806e50c7d45bd190', 'project_id': 'b5905bda346846ca806e50c7d45bd190', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48923643', 'ctest-ext_vn-69445075'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 10:05:35,351 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd31e823-2c12-4d59-a634-fb6144553a3d', 'name': '', 'tenant_id': 'b5905bda346846ca806e50c7d45bd190', 'network_id': 'ea24eb18-2835-4d44-bf9c-cf613523e26b', 'ip_version': 4, 'cidr': '9.191.168.64/26', 'allocation_pools': [{'start': '9.191.168.66', 'end': '9.191.168.126'}], 'gateway_ip': '9.191.168.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.191.168.66', 'tags': [], 'project_id': 'b5905bda346846ca806e50c7d45bd190'}} 2026-02-04 10:05:35,373 - INFO - Created VN ctest-ext_vn-69445075 2026-02-04 10:05:35,445 - DEBUG - VN ctest-ext_vn-69445075 UUID is ea24eb18-2835-4d44-bf9c-cf613523e26b 2026-02-04 10:05:35,643 - DEBUG - Services list from nova: [, , ] 2026-02-04 10:05:36,643 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5200-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5200-1) 2026-02-04 10:05:37,758 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5200-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5200-1) 2026-02-04 10:05:37,826 - INFO - Setting gateway for router 2be18302-8e43-4973-9a87-48a04c1a2017 to network ea24eb18-2835-4d44-bf9c-cf613523e26b 2026-02-04 10:05:37,882 - INFO - Adding interface with subnet_id 04b82e37-434c-4a80-bd3a-5b8eabbfec4a, port_id None to router 2be18302-8e43-4973-9a87-48a04c1a2017 2026-02-04 10:05:38,233 - INFO - Waiting for VM ctest-TestRoutersBasic-48923643-51600240 to be up.. 2026-02-04 10:05:38,468 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-04 10:05:43,557 - DEBUG - VM is in ACTIVE state now 2026-02-04 10:05:43,557 - INFO - VM name : ctest-TestRoutersBasic-48923643-51600240 2026-02-04 10:05:43,643 - DEBUG - VM ctest-TestRoutersBasic-48923643-51600240 ID is 7f53bc62-694d-4a40-8666-e73bd77db2bf 2026-02-04 10:05:43,664 - DEBUG - VM ctest-TestRoutersBasic-48923643-51600240 launched on Node cn-jenkins-deploy-platform-ansible-os-5200-1 2026-02-04 10:05:43,742 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7f53bc62-694d-4a40-8666-e73bd77db2bf 2026-02-04 10:05:44,048 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7f53bc62-694d-4a40-8666-e73bd77db2bf 2026-02-04 10:05:44,082 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/98f98a1b-ec60-4b9b-b88d-e5b7cf770823 2026-02-04 10:05:47,328 - 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 1011ms') 2026-02-04 10:05:47,329 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-48923643-51600240 failed! 2026-02-04 10:05:47,381 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-48923643:ctest-vn-01074962 is 103.75.16.1 and allocation pool is NOT set 2026-02-04 10:05:49,441 - 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=2.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.371 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.371/1.564/2.758/1.193 ms') 2026-02-04 10:05:49,441 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-48923643-51600240 passed 2026-02-04 10:05:49,593 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:05:49,594 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48923643-51600240, IP 103.75.16.3, Port 22 2026-02-04 10:05:49,748 - DEBUG - VM ctest-TestRoutersBasic-48923643-51600240 is ready for SSH connections 2026-02-04 10:05:49,749 - INFO - Waiting for VM ctest-TestRoutersBasic-48923643-16591046 to be up.. 2026-02-04 10:05:49,817 - DEBUG - VM is in ACTIVE state now 2026-02-04 10:05:49,817 - INFO - VM name : ctest-TestRoutersBasic-48923643-16591046 2026-02-04 10:05:49,883 - DEBUG - VM ctest-TestRoutersBasic-48923643-16591046 ID is 192ba4f2-8ccd-413c-b7a2-bdba7299a1e9 2026-02-04 10:05:49,883 - DEBUG - VM ctest-TestRoutersBasic-48923643-16591046 launched on Node cn-jenkins-deploy-platform-ansible-os-5200-1 2026-02-04 10:05:49,949 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/192ba4f2-8ccd-413c-b7a2-bdba7299a1e9 2026-02-04 10:05:49,957 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/13ad61f8-970c-4f63-be1a-57b5e1d4f2c6 2026-02-04 10:05:51,186 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.388 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.388/1.868/3.348/1.480 ms') 2026-02-04 10:05:51,187 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-48923643-16591046 passed 2026-02-04 10:05:51,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:05:51,334 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48923643-16591046, IP 9.191.168.67, Port 22 2026-02-04 10:05:51,493 - DEBUG - VM ctest-TestRoutersBasic-48923643-16591046 is ready for SSH connections 2026-02-04 10:05:51,493 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:05:51,493 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.191.168.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-04 10:05:51,493 - DEBUG - ping -s 56 -c 3 -W 1 9.191.168.67 2026-02-04 10:05:55,187 - DEBUG - PING 9.191.168.67 (9.191.168.67): 56 data bytes 64 bytes from 9.191.168.67: seq=0 ttl=62 time=5.432 ms 64 bytes from 9.191.168.67: seq=1 ttl=62 time=1.001 ms 64 bytes from 9.191.168.67: seq=2 ttl=62 time=1.037 ms --- 9.191.168.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.001/2.490/5.432 ms 2026-02-04 10:05:55,187 - INFO - Ping to IP 9.191.168.67 from VM ctest-TestRoutersBasic-48923643-51600240 passed 2026-02-04 10:05:55,188 - INFO - Deleting interface with subnet_id 04b82e37-434c-4a80-bd3a-5b8eabbfec4a, port_id None from router 2be18302-8e43-4973-9a87-48a04c1a2017 2026-02-04 10:05:55,358 - INFO - Deleting VM ctest-TestRoutersBasic-48923643-16591046 2026-02-04 10:05:55,431 - INFO - Deleting VM ctest-TestRoutersBasic-48923643-51600240 2026-02-04 10:05:55,508 - INFO - Deleting VN ctest-ext_vn-69445075 2026-02-04 10:05:55,572 - DEBUG - VN ea24eb18-2835-4d44-bf9c-cf613523e26b still in use: Unable to complete operation on network ea24eb18-2835-4d44-bf9c-cf613523e26b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-97c240d8-2820-4353-8946-f6b0be13e1eb'] 2026-02-04 10:05:55,573 - WARNING - Deleting VN ctest-ext_vn-69445075 failed..Will retry 2026-02-04 10:05:57,669 - DEBUG - Response for deleting network () 2026-02-04 10:05:57,669 - INFO - Deleting VN ctest-vn-01074962 2026-02-04 10:05:57,769 - DEBUG - Response for deleting network () 2026-02-04 10:05:58,021 - DEBUG - No XMPP flaps were noticed during the test 2026-02-04 10:05:58,021 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-02-04 10:05:58,022 - INFO - -------------------------------------------------------------------------------- 2026-02-04 10:05:58,698 - INFO - Deleted project: ctest-TestRoutersBasic-48923643, ID : b5905bda-3468-46ca-806e-50c7d45bd190