2025-11-12 05:26:46,156 - INFO - Domain Default found not creating 2025-11-12 05:26:46,324 - INFO - Project ctest-TestRoutersBasic-78850412 not found, creating it 2025-11-12 05:26:46,766 - INFO - Created Project:ctest-TestRoutersBasic-78850412, ID : d369dda9-e679-494d-aedd-aff1f7018132 2025-11-12 05:26:48,204 - INFO - ================================================================================ 2025-11-12 05:26:48,204 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-12 05:26:48,204 - 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-12 05:26:48,470 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.14': '0'}} with 2025-11-12 05:26:48,470 - INFO - Initial checks done. Running the testcase now 2025-11-12 05:26:48,470 - INFO - 2025-11-12 05:26:49,181 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-78850412 2025-11-12 05:26:49,278 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-78850412 2025-11-12 05:26:49,602 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78850412', 'default']} 2025-11-12 05:26:49,922 - DEBUG - Response for create_network : {'network': {'id': '571afeec-a200-42d5-af81-9e888325a418', 'name': 'ctest-vn-04123032', 'tenant_id': 'd369dda9e679494daeddaff1f7018132', 'project_id': 'd369dda9e679494daeddaff1f7018132', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78850412', 'ctest-vn-04123032'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 05:26:50,074 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2df9772-1626-44d0-9042-f333c71a0c5b', 'name': '', 'tenant_id': 'd369dda9e679494daeddaff1f7018132', 'network_id': '571afeec-a200-42d5-af81-9e888325a418', 'ip_version': 4, 'cidr': '149.161.143.0/26', 'allocation_pools': [{'start': '149.161.143.2', 'end': '149.161.143.62'}], 'gateway_ip': '149.161.143.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.161.143.2', 'tags': [], 'project_id': 'd369dda9e679494daeddaff1f7018132'}} 2025-11-12 05:26:50,091 - INFO - Created VN ctest-vn-04123032 2025-11-12 05:26:50,142 - DEBUG - VN ctest-vn-04123032 UUID is 571afeec-a200-42d5-af81-9e888325a418 2025-11-12 05:26:50,477 - DEBUG - Response for create_network : {'network': {'id': '2b870fdb-94a3-47ea-a90c-77610d7e3c9d', 'name': 'ctest-ext_vn-75650966', 'tenant_id': 'd369dda9e679494daeddaff1f7018132', 'project_id': 'd369dda9e679494daeddaff1f7018132', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78850412', 'ctest-ext_vn-75650966'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 05:26:50,632 - DEBUG - Response for create_subnet : {'subnet': {'id': '81d7960d-fb19-45e4-a13b-d1cdf80ab1fe', 'name': '', 'tenant_id': 'd369dda9e679494daeddaff1f7018132', 'network_id': '2b870fdb-94a3-47ea-a90c-77610d7e3c9d', 'ip_version': 4, 'cidr': '85.39.175.128/26', 'allocation_pools': [{'start': '85.39.175.130', 'end': '85.39.175.190'}], 'gateway_ip': '85.39.175.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.39.175.130', 'tags': [], 'project_id': 'd369dda9e679494daeddaff1f7018132'}} 2025-11-12 05:26:50,650 - INFO - Created VN ctest-ext_vn-75650966 2025-11-12 05:26:50,702 - DEBUG - VN ctest-ext_vn-75650966 UUID is 2b870fdb-94a3-47ea-a90c-77610d7e3c9d 2025-11-12 05:26:50,868 - DEBUG - Services list from nova: [, , ] 2025-11-12 05:26:51,884 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4699-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4699-1) 2025-11-12 05:26:53,005 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4699-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4699-1) 2025-11-12 05:26:53,082 - INFO - Setting gateway for router 3cc92193-d4fc-4d29-b868-36ef61f9ecc7 to network 2b870fdb-94a3-47ea-a90c-77610d7e3c9d 2025-11-12 05:26:53,150 - INFO - Adding interface with subnet_id c2df9772-1626-44d0-9042-f333c71a0c5b, port_id None to router 3cc92193-d4fc-4d29-b868-36ef61f9ecc7 2025-11-12 05:26:53,495 - INFO - Waiting for VM ctest-TestRoutersBasic-78850412-31640375 to be up.. 2025-11-12 05:26:53,629 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 05:26:58,709 - DEBUG - VM is in ACTIVE state now 2025-11-12 05:26:58,709 - INFO - VM name : ctest-TestRoutersBasic-78850412-31640375 2025-11-12 05:26:58,790 - DEBUG - VM ctest-TestRoutersBasic-78850412-31640375 ID is 07aa11a4-5666-4f22-82ad-6183f784d61d 2025-11-12 05:26:58,810 - DEBUG - VM ctest-TestRoutersBasic-78850412-31640375 launched on Node cn-jenkins-deploy-platform-ansible-os-4699-1 2025-11-12 05:26:58,889 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/07aa11a4-5666-4f22-82ad-6183f784d61d 2025-11-12 05:26:59,190 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/07aa11a4-5666-4f22-82ad-6183f784d61d 2025-11-12 05:26:59,220 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/aad3728c-7f0d-4880-8bdf-f0141add4493 2025-11-12 05:27:02,472 - 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 1023ms') 2025-11-12 05:27:02,472 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78850412-31640375 failed! 2025-11-12 05:27:02,526 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-78850412:ctest-vn-04123032 is 149.161.143.1 and allocation pool is NOT set 2025-11-12 05:27:04,590 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.457 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.457/1.670/2.883/1.213 ms') 2025-11-12 05:27:04,590 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78850412-31640375 passed 2025-11-12 05:27:04,738 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 05:27:04,738 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78850412-31640375, IP 149.161.143.3, Port 22 2025-11-12 05:27:04,897 - DEBUG - VM ctest-TestRoutersBasic-78850412-31640375 is ready for SSH connections 2025-11-12 05:27:04,897 - INFO - Waiting for VM ctest-TestRoutersBasic-78850412-91443235 to be up.. 2025-11-12 05:27:04,979 - DEBUG - VM is in ACTIVE state now 2025-11-12 05:27:04,980 - INFO - VM name : ctest-TestRoutersBasic-78850412-91443235 2025-11-12 05:27:05,062 - DEBUG - VM ctest-TestRoutersBasic-78850412-91443235 ID is 8670b84a-1fa6-49cd-9a64-9c1019ab4d76 2025-11-12 05:27:05,063 - DEBUG - VM ctest-TestRoutersBasic-78850412-91443235 launched on Node cn-jenkins-deploy-platform-ansible-os-4699-1 2025-11-12 05:27:05,154 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/8670b84a-1fa6-49cd-9a64-9c1019ab4d76 2025-11-12 05:27:05,163 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/47ce3d24-b94c-4802-85ed-c2f64e4c155c 2025-11-12 05:27:06,400 - 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=2.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.408 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.408/1.648/2.889/1.240 ms') 2025-11-12 05:27:06,400 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-78850412-91443235 passed 2025-11-12 05:27:06,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 05:27:06,554 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78850412-91443235, IP 85.39.175.131, Port 22 2025-11-12 05:27:06,714 - DEBUG - VM ctest-TestRoutersBasic-78850412-91443235 is ready for SSH connections 2025-11-12 05:27:06,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 05:27:06,714 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.39.175.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-11-12 05:27:06,714 - DEBUG - ping -s 56 -c 3 -W 1 85.39.175.131 2025-11-12 05:27:10,434 - DEBUG - PING 85.39.175.131 (85.39.175.131): 56 data bytes 64 bytes from 85.39.175.131: seq=0 ttl=62 time=7.371 ms 64 bytes from 85.39.175.131: seq=1 ttl=62 time=1.381 ms 64 bytes from 85.39.175.131: seq=2 ttl=62 time=1.369 ms --- 85.39.175.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.369/3.373/7.371 ms 2025-11-12 05:27:10,435 - INFO - Ping to IP 85.39.175.131 from VM ctest-TestRoutersBasic-78850412-31640375 passed 2025-11-12 05:27:10,435 - INFO - Deleting interface with subnet_id c2df9772-1626-44d0-9042-f333c71a0c5b, port_id None from router 3cc92193-d4fc-4d29-b868-36ef61f9ecc7 2025-11-12 05:27:10,624 - INFO - Deleting VM ctest-TestRoutersBasic-78850412-91443235 2025-11-12 05:27:10,700 - INFO - Deleting VM ctest-TestRoutersBasic-78850412-31640375 2025-11-12 05:27:10,774 - INFO - Deleting VN ctest-ext_vn-75650966 2025-11-12 05:27:10,847 - DEBUG - VN 2b870fdb-94a3-47ea-a90c-77610d7e3c9d still in use: Unable to complete operation on network 2b870fdb-94a3-47ea-a90c-77610d7e3c9d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c3fdee26-698d-48f5-924f-090056cddf77'] 2025-11-12 05:27:10,847 - WARNING - Deleting VN ctest-ext_vn-75650966 failed..Will retry 2025-11-12 05:27:12,957 - DEBUG - Response for deleting network () 2025-11-12 05:27:12,957 - INFO - Deleting VN ctest-vn-04123032 2025-11-12 05:27:13,061 - DEBUG - Response for deleting network () 2025-11-12 05:27:13,315 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 05:27:13,315 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-12 05:27:13,315 - INFO - -------------------------------------------------------------------------------- 2025-11-12 05:27:14,012 - INFO - Deleted project: ctest-TestRoutersBasic-78850412, ID : d369dda9-e679-494d-aedd-aff1f7018132