2026-02-05 17:38:09,722 - INFO - Domain Default found not creating 2026-02-05 17:38:09,975 - INFO - Project ctest-TestRoutersBasic-23726573 not found, creating it 2026-02-05 17:38:10,527 - INFO - Created Project:ctest-TestRoutersBasic-23726573, ID : c57a6d9d-100a-40b0-b51f-08dc082cbcc1 2026-02-05 17:38:12,527 - INFO - ================================================================================ 2026-02-05 17:38:12,528 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-05 17:38:12,528 - 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-05 17:38:12,856 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-05 17:38:12,857 - INFO - Initial checks done. Running the testcase now 2026-02-05 17:38:12,857 - INFO - 2026-02-05 17:38:13,768 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-23726573 2026-02-05 17:38:13,880 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-23726573 2026-02-05 17:38:14,271 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23726573', 'default']} 2026-02-05 17:38:14,674 - DEBUG - Response for create_network : {'network': {'id': '068d8fe1-9acd-4a46-bd84-cdfb45b49c8c', 'name': 'ctest-vn-05904125', 'tenant_id': 'c57a6d9d100a40b0b51f08dc082cbcc1', 'project_id': 'c57a6d9d100a40b0b51f08dc082cbcc1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23726573', 'ctest-vn-05904125'], 'port_security_enabled': True, 'description': ''}} 2026-02-05 17:38:14,893 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fde3471b-3074-4e76-8744-cafb0b40b4e8', 'name': '', 'tenant_id': 'c57a6d9d100a40b0b51f08dc082cbcc1', 'network_id': '068d8fe1-9acd-4a46-bd84-cdfb45b49c8c', 'ip_version': 4, 'cidr': '178.236.116.192/26', 'allocation_pools': [{'start': '178.236.116.194', 'end': '178.236.116.254'}], 'gateway_ip': '178.236.116.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.236.116.194', 'tags': [], 'project_id': 'c57a6d9d100a40b0b51f08dc082cbcc1'}} 2026-02-05 17:38:14,916 - INFO - Created VN ctest-vn-05904125 2026-02-05 17:38:14,972 - DEBUG - VN ctest-vn-05904125 UUID is 068d8fe1-9acd-4a46-bd84-cdfb45b49c8c 2026-02-05 17:38:15,396 - DEBUG - Response for create_network : {'network': {'id': '2e4caa57-1409-4dac-ad05-87e4e776c1d2', 'name': 'ctest-ext_vn-63522827', 'tenant_id': 'c57a6d9d100a40b0b51f08dc082cbcc1', 'project_id': 'c57a6d9d100a40b0b51f08dc082cbcc1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23726573', 'ctest-ext_vn-63522827'], 'port_security_enabled': True, 'description': ''}} 2026-02-05 17:38:15,659 - DEBUG - Response for create_subnet : {'subnet': {'id': '37eb4b03-697a-4dfd-af99-2e243ca12394', 'name': '', 'tenant_id': 'c57a6d9d100a40b0b51f08dc082cbcc1', 'network_id': '2e4caa57-1409-4dac-ad05-87e4e776c1d2', 'ip_version': 4, 'cidr': '113.160.31.64/26', 'allocation_pools': [{'start': '113.160.31.66', 'end': '113.160.31.126'}], 'gateway_ip': '113.160.31.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.160.31.66', 'tags': [], 'project_id': 'c57a6d9d100a40b0b51f08dc082cbcc1'}} 2026-02-05 17:38:15,689 - INFO - Created VN ctest-ext_vn-63522827 2026-02-05 17:38:15,743 - DEBUG - VN ctest-ext_vn-63522827 UUID is 2e4caa57-1409-4dac-ad05-87e4e776c1d2 2026-02-05 17:38:15,960 - DEBUG - Services list from nova: [, , ] 2026-02-05 17:38:17,234 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5220-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5220-1) 2026-02-05 17:38:18,682 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5220-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5220-1) 2026-02-05 17:38:18,775 - INFO - Setting gateway for router 550041b8-9fc5-462f-81d8-65d4107ea2fc to network 2e4caa57-1409-4dac-ad05-87e4e776c1d2 2026-02-05 17:38:18,827 - INFO - Adding interface with subnet_id fde3471b-3074-4e76-8744-cafb0b40b4e8, port_id None to router 550041b8-9fc5-462f-81d8-65d4107ea2fc 2026-02-05 17:38:19,242 - INFO - Waiting for VM ctest-TestRoutersBasic-23726573-14560803 to be up.. 2026-02-05 17:38:19,412 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-05 17:38:24,512 - DEBUG - VM is in ACTIVE state now 2026-02-05 17:38:24,512 - INFO - VM name : ctest-TestRoutersBasic-23726573-14560803 2026-02-05 17:38:24,626 - DEBUG - VM ctest-TestRoutersBasic-23726573-14560803 ID is 54b03b5b-cbde-4f6c-ab33-1b5f4dfe9a17 2026-02-05 17:38:24,648 - DEBUG - VM ctest-TestRoutersBasic-23726573-14560803 launched on Node cn-jenkins-deploy-platform-ansible-os-5220-1 2026-02-05 17:38:24,739 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/54b03b5b-cbde-4f6c-ab33-1b5f4dfe9a17 2026-02-05 17:38:25,054 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/54b03b5b-cbde-4f6c-ab33-1b5f4dfe9a17 2026-02-05 17:38:25,101 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/98a06243-df23-48e2-b96f-ea3615ea6963 2026-02-05 17:38:28,374 - 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 1007ms') 2026-02-05 17:38:28,374 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-23726573-14560803 failed! 2026-02-05 17:38:28,448 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-23726573:ctest-vn-05904125 is 178.236.116.193 and allocation pool is NOT set 2026-02-05 17:38:30,521 - 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=7.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.615 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 = 0.615/3.830/7.045/3.215 ms') 2026-02-05 17:38:30,521 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-23726573-14560803 passed 2026-02-05 17:38:30,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 17:38:30,691 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-23726573-14560803, IP 178.236.116.195, Port 22 2026-02-05 17:38:30,886 - DEBUG - VM ctest-TestRoutersBasic-23726573-14560803 is ready for SSH connections 2026-02-05 17:38:30,886 - INFO - Waiting for VM ctest-TestRoutersBasic-23726573-02483643 to be up.. 2026-02-05 17:38:31,022 - DEBUG - VM is in ACTIVE state now 2026-02-05 17:38:31,022 - INFO - VM name : ctest-TestRoutersBasic-23726573-02483643 2026-02-05 17:38:31,162 - DEBUG - VM ctest-TestRoutersBasic-23726573-02483643 ID is e1ca2364-dd52-48a1-a74f-b64081305d1d 2026-02-05 17:38:31,163 - DEBUG - VM ctest-TestRoutersBasic-23726573-02483643 launched on Node cn-jenkins-deploy-platform-ansible-os-5220-1 2026-02-05 17:38:31,326 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e1ca2364-dd52-48a1-a74f-b64081305d1d 2026-02-05 17:38:31,348 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/956c2ec5-a327-40a7-b18e-c9bc3aae8dc5 2026-02-05 17:38:32,645 - 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=4.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.54 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 = 1.540/2.850/4.161/1.310 ms') 2026-02-05 17:38:32,645 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-23726573-02483643 passed 2026-02-05 17:38:32,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 17:38:32,808 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-23726573-02483643, IP 113.160.31.67, Port 22 2026-02-05 17:38:32,990 - DEBUG - VM ctest-TestRoutersBasic-23726573-02483643 is ready for SSH connections 2026-02-05 17:38:32,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 17:38:32,990 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.160.31.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-05 17:38:32,990 - DEBUG - ping -s 56 -c 3 -W 1 113.160.31.67 2026-02-05 17:38:36,922 - DEBUG - PING 113.160.31.67 (113.160.31.67): 56 data bytes 64 bytes from 113.160.31.67: seq=0 ttl=62 time=10.265 ms 64 bytes from 113.160.31.67: seq=1 ttl=62 time=1.642 ms 64 bytes from 113.160.31.67: seq=2 ttl=62 time=1.696 ms --- 113.160.31.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.642/4.534/10.265 ms 2026-02-05 17:38:36,922 - INFO - Ping to IP 113.160.31.67 from VM ctest-TestRoutersBasic-23726573-14560803 passed 2026-02-05 17:38:36,922 - INFO - Deleting interface with subnet_id fde3471b-3074-4e76-8744-cafb0b40b4e8, port_id None from router 550041b8-9fc5-462f-81d8-65d4107ea2fc 2026-02-05 17:38:37,168 - INFO - Deleting VM ctest-TestRoutersBasic-23726573-02483643 2026-02-05 17:38:37,260 - INFO - Deleting VM ctest-TestRoutersBasic-23726573-14560803 2026-02-05 17:38:37,344 - INFO - Deleting VN ctest-ext_vn-63522827 2026-02-05 17:38:37,429 - DEBUG - VN 2e4caa57-1409-4dac-ad05-87e4e776c1d2 still in use: Unable to complete operation on network 2e4caa57-1409-4dac-ad05-87e4e776c1d2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-391c7b63-746a-4ab8-8011-b82d8c0ea64b'] 2026-02-05 17:38:37,429 - WARNING - Deleting VN ctest-ext_vn-63522827 failed..Will retry 2026-02-05 17:38:39,602 - DEBUG - Response for deleting network () 2026-02-05 17:38:39,603 - INFO - Deleting VN ctest-vn-05904125 2026-02-05 17:38:39,702 - DEBUG - Response for deleting network () 2026-02-05 17:38:39,976 - DEBUG - No XMPP flaps were noticed during the test
2026-02-05 17:38:39,977 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2026-02-05 17:38:39,977 - INFO - -------------------------------------------------------------------------------- 2026-02-05 17:38:40,806 - INFO - Deleted project: ctest-TestRoutersBasic-23726573, ID : c57a6d9d-100a-40b0-b51f-08dc082cbcc1