2025-11-05 13:47:09,839 - INFO - Domain Default found not creating 2025-11-05 13:47:09,994 - INFO - Project ctest-TestRoutersBasic-14328220 not found, creating it 2025-11-05 13:47:10,445 - INFO - Created Project:ctest-TestRoutersBasic-14328220, ID : 48211255-6c47-4bad-86e0-49f2687d5a9c 2025-11-05 13:47:11,841 - INFO - ================================================================================ 2025-11-05 13:47:11,841 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-05 13:47:11,841 - 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-05 13:47:12,101 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.192': '0'}} with 2025-11-05 13:47:12,101 - INFO - Initial checks done. Running the testcase now 2025-11-05 13:47:12,101 - INFO - 2025-11-05 13:47:12,788 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-14328220 2025-11-05 13:47:12,883 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-14328220 2025-11-05 13:47:13,194 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14328220', 'default']} 2025-11-05 13:47:13,497 - DEBUG - Response for create_network : {'network': {'id': '92721f54-f3b9-40ac-9231-9bd3bfd0a77c', 'name': 'ctest-vn-18574673', 'tenant_id': '482112556c474bad86e049f2687d5a9c', 'project_id': '482112556c474bad86e049f2687d5a9c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14328220', 'ctest-vn-18574673'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 13:47:13,697 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b563c99d-40a1-4084-9a6c-15e92dd3ac39', 'name': '', 'tenant_id': '482112556c474bad86e049f2687d5a9c', 'network_id': '92721f54-f3b9-40ac-9231-9bd3bfd0a77c', 'ip_version': 4, 'cidr': '113.105.128.192/26', 'allocation_pools': [{'start': '113.105.128.194', 'end': '113.105.128.254'}], 'gateway_ip': '113.105.128.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.105.128.194', 'tags': [], 'project_id': '482112556c474bad86e049f2687d5a9c'}} 2025-11-05 13:47:13,712 - INFO - Created VN ctest-vn-18574673 2025-11-05 13:47:13,762 - DEBUG - VN ctest-vn-18574673 UUID is 92721f54-f3b9-40ac-9231-9bd3bfd0a77c 2025-11-05 13:47:14,108 - DEBUG - Response for create_network : {'network': {'id': '8ebb82a5-95c4-4433-b45f-c1e79d58782d', 'name': 'ctest-ext_vn-62075680', 'tenant_id': '482112556c474bad86e049f2687d5a9c', 'project_id': '482112556c474bad86e049f2687d5a9c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14328220', 'ctest-ext_vn-62075680'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 13:47:14,283 - DEBUG - Response for create_subnet : {'subnet': {'id': '3be0d9c4-4aeb-4be8-b2f5-bbf7cf8b6e13', 'name': '', 'tenant_id': '482112556c474bad86e049f2687d5a9c', 'network_id': '8ebb82a5-95c4-4433-b45f-c1e79d58782d', 'ip_version': 4, 'cidr': '107.23.211.64/26', 'allocation_pools': [{'start': '107.23.211.66', 'end': '107.23.211.126'}], 'gateway_ip': '107.23.211.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.23.211.66', 'tags': [], 'project_id': '482112556c474bad86e049f2687d5a9c'}} 2025-11-05 13:47:14,300 - INFO - Created VN ctest-ext_vn-62075680 2025-11-05 13:47:14,350 - DEBUG - VN ctest-ext_vn-62075680 UUID is 8ebb82a5-95c4-4433-b45f-c1e79d58782d 2025-11-05 13:47:14,514 - DEBUG - Services list from nova: [, , ] 2025-11-05 13:47:15,500 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4642-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4642-1) 2025-11-05 13:47:16,618 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4642-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4642-1) 2025-11-05 13:47:16,694 - INFO - Setting gateway for router 9e619894-3577-4d31-a542-b78cff94eaac to network 8ebb82a5-95c4-4433-b45f-c1e79d58782d 2025-11-05 13:47:16,757 - INFO - Adding interface with subnet_id b563c99d-40a1-4084-9a6c-15e92dd3ac39, port_id None to router 9e619894-3577-4d31-a542-b78cff94eaac 2025-11-05 13:47:17,031 - INFO - Waiting for VM ctest-TestRoutersBasic-14328220-58127107 to be up.. 2025-11-05 13:47:17,143 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 13:47:22,216 - DEBUG - VM is in ACTIVE state now 2025-11-05 13:47:22,216 - INFO - VM name : ctest-TestRoutersBasic-14328220-58127107 2025-11-05 13:47:22,286 - DEBUG - VM ctest-TestRoutersBasic-14328220-58127107 ID is 3c367af9-c2f3-4bc9-aa9c-3d447ab9c022 2025-11-05 13:47:22,304 - DEBUG - VM ctest-TestRoutersBasic-14328220-58127107 launched on Node cn-jenkins-deploy-platform-ansible-os-4642-1 2025-11-05 13:47:22,380 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/3c367af9-c2f3-4bc9-aa9c-3d447ab9c022 2025-11-05 13:47:22,682 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/3c367af9-c2f3-4bc9-aa9c-3d447ab9c022 2025-11-05 13:47:22,710 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/51e121c9-2dc8-4217-a650-8bdef8ffbe54 2025-11-05 13:47:25,953 - 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') 2025-11-05 13:47:25,953 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-14328220-58127107 failed! 2025-11-05 13:47:26,006 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-14328220:ctest-vn-18574673 is 113.105.128.193 and allocation pool is NOT set 2025-11-05 13:47:28,064 - 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=5.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.710 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.710/3.121/5.533/2.411 ms') 2025-11-05 13:47:28,065 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-14328220-58127107 passed 2025-11-05 13:47:28,178 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 13:47:28,178 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14328220-58127107, IP 113.105.128.195, Port 22 2025-11-05 13:47:28,333 - DEBUG - VM ctest-TestRoutersBasic-14328220-58127107 is ready for SSH connections 2025-11-05 13:47:28,333 - INFO - Waiting for VM ctest-TestRoutersBasic-14328220-54530729 to be up.. 2025-11-05 13:47:28,402 - DEBUG - VM is in ACTIVE state now 2025-11-05 13:47:28,403 - INFO - VM name : ctest-TestRoutersBasic-14328220-54530729 2025-11-05 13:47:28,481 - DEBUG - VM ctest-TestRoutersBasic-14328220-54530729 ID is 4b4734c7-0900-48d8-b18e-7189330415b4 2025-11-05 13:47:28,481 - DEBUG - VM ctest-TestRoutersBasic-14328220-54530729 launched on Node cn-jenkins-deploy-platform-ansible-os-4642-1 2025-11-05 13:47:28,548 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/4b4734c7-0900-48d8-b18e-7189330415b4 2025-11-05 13:47:28,555 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/a100204e-7e7a-4f38-8cac-0124e472191c 2025-11-05 13:47:29,792 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.531 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.531/1.715/2.899/1.184 ms') 2025-11-05 13:47:29,792 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-14328220-54530729 passed 2025-11-05 13:47:29,946 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 13:47:29,946 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14328220-54530729, IP 107.23.211.67, Port 22 2025-11-05 13:47:30,102 - DEBUG - VM ctest-TestRoutersBasic-14328220-54530729 is ready for SSH connections 2025-11-05 13:47:30,102 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 13:47:30,102 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.23.211.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-11-05 13:47:30,102 - DEBUG - ping -s 56 -c 3 -W 1 107.23.211.67 2025-11-05 13:47:33,793 - DEBUG - PING 107.23.211.67 (107.23.211.67): 56 data bytes 64 bytes from 107.23.211.67: seq=0 ttl=62 time=7.904 ms 64 bytes from 107.23.211.67: seq=1 ttl=62 time=0.827 ms 64 bytes from 107.23.211.67: seq=2 ttl=62 time=1.059 ms --- 107.23.211.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.827/3.263/7.904 ms 2025-11-05 13:47:33,793 - INFO - Ping to IP 107.23.211.67 from VM ctest-TestRoutersBasic-14328220-58127107 passed 2025-11-05 13:47:33,793 - INFO - Deleting interface with subnet_id b563c99d-40a1-4084-9a6c-15e92dd3ac39, port_id None from router 9e619894-3577-4d31-a542-b78cff94eaac 2025-11-05 13:47:33,972 - INFO - Deleting VM ctest-TestRoutersBasic-14328220-54530729 2025-11-05 13:47:34,033 - INFO - Deleting VM ctest-TestRoutersBasic-14328220-58127107 2025-11-05 13:47:34,111 - INFO - Deleting VN ctest-ext_vn-62075680 2025-11-05 13:47:34,171 - DEBUG - VN 8ebb82a5-95c4-4433-b45f-c1e79d58782d still in use: Unable to complete operation on network 8ebb82a5-95c4-4433-b45f-c1e79d58782d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0499357c-9754-4577-8ab6-137acd37d984'] 2025-11-05 13:47:34,171 - WARNING - Deleting VN ctest-ext_vn-62075680 failed..Will retry 2025-11-05 13:47:36,261 - DEBUG - Response for deleting network () 2025-11-05 13:47:36,261 - INFO - Deleting VN ctest-vn-18574673 2025-11-05 13:47:36,354 - DEBUG - Response for deleting network () 2025-11-05 13:47:36,607 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 13:47:36,607 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-05 13:47:36,607 - INFO - -------------------------------------------------------------------------------- 2025-11-05 13:47:37,284 - INFO - Deleted project: ctest-TestRoutersBasic-14328220, ID : 48211255-6c47-4bad-86e0-49f2687d5a9c