2026-01-07 14:35:16,433 - INFO - Domain Default found not creating 2026-01-07 14:35:16,595 - INFO - Project ctest-TestRoutersBasic-99468827 not found, creating it 2026-01-07 14:35:17,042 - INFO - Created Project:ctest-TestRoutersBasic-99468827, ID : 79abfbab-3361-41c5-b01b-f53f73cbd08c 2026-01-07 14:35:18,526 - INFO - ================================================================================ 2026-01-07 14:35:18,526 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-07 14:35:18,526 - 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-01-07 14:35:18,778 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-01-07 14:35:18,778 - INFO - Initial checks done. Running the testcase now 2026-01-07 14:35:18,778 - INFO - 2026-01-07 14:35:19,495 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-99468827 2026-01-07 14:35:19,589 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-99468827 2026-01-07 14:35:19,909 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99468827', 'default']} 2026-01-07 14:35:20,196 - DEBUG - Response for create_network : {'network': {'id': 'c1b4d5d6-5a38-4307-9965-df62f3b16cea', 'name': 'ctest-vn-20286940', 'tenant_id': '79abfbab336141c5b01bf53f73cbd08c', 'project_id': '79abfbab336141c5b01bf53f73cbd08c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99468827', 'ctest-vn-20286940'], 'port_security_enabled': True, 'description': ''}} 2026-01-07 14:35:20,339 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f15d5cde-89db-4f65-8355-93a0ab2f6a93', 'name': '', 'tenant_id': '79abfbab336141c5b01bf53f73cbd08c', 'network_id': 'c1b4d5d6-5a38-4307-9965-df62f3b16cea', 'ip_version': 4, 'cidr': '63.104.242.64/26', 'allocation_pools': [{'start': '63.104.242.66', 'end': '63.104.242.126'}], 'gateway_ip': '63.104.242.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.104.242.66', 'tags': [], 'project_id': '79abfbab336141c5b01bf53f73cbd08c'}} 2026-01-07 14:35:20,356 - INFO - Created VN ctest-vn-20286940 2026-01-07 14:35:20,405 - DEBUG - VN ctest-vn-20286940 UUID is c1b4d5d6-5a38-4307-9965-df62f3b16cea 2026-01-07 14:35:20,709 - DEBUG - Response for create_network : {'network': {'id': '9d19994c-0441-43c3-88c3-1cf24e6e21ee', 'name': 'ctest-ext_vn-93836199', 'tenant_id': '79abfbab336141c5b01bf53f73cbd08c', 'project_id': '79abfbab336141c5b01bf53f73cbd08c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99468827', 'ctest-ext_vn-93836199'], 'port_security_enabled': True, 'description': ''}} 2026-01-07 14:35:20,891 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc943cbf-3074-4833-8d7f-1aea44f3ee54', 'name': '', 'tenant_id': '79abfbab336141c5b01bf53f73cbd08c', 'network_id': '9d19994c-0441-43c3-88c3-1cf24e6e21ee', 'ip_version': 4, 'cidr': '142.172.3.0/26', 'allocation_pools': [{'start': '142.172.3.2', 'end': '142.172.3.62'}], 'gateway_ip': '142.172.3.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.172.3.2', 'tags': [], 'project_id': '79abfbab336141c5b01bf53f73cbd08c'}} 2026-01-07 14:35:20,910 - INFO - Created VN ctest-ext_vn-93836199 2026-01-07 14:35:20,965 - DEBUG - VN ctest-ext_vn-93836199 UUID is 9d19994c-0441-43c3-88c3-1cf24e6e21ee 2026-01-07 14:35:21,171 - DEBUG - Services list from nova: [, , ] 2026-01-07 14:35:22,172 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4973-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4973-1) 2026-01-07 14:35:23,284 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4973-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4973-1) 2026-01-07 14:35:23,367 - INFO - Setting gateway for router 5bcac356-c4e2-41e4-bf91-d47013a4b5e3 to network 9d19994c-0441-43c3-88c3-1cf24e6e21ee 2026-01-07 14:35:23,440 - INFO - Adding interface with subnet_id f15d5cde-89db-4f65-8355-93a0ab2f6a93, port_id None to router 5bcac356-c4e2-41e4-bf91-d47013a4b5e3 2026-01-07 14:35:23,763 - INFO - Waiting for VM ctest-TestRoutersBasic-99468827-15754358 to be up.. 2026-01-07 14:35:23,934 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-07 14:35:29,010 - DEBUG - VM is in ACTIVE state now 2026-01-07 14:35:29,011 - INFO - VM name : ctest-TestRoutersBasic-99468827-15754358 2026-01-07 14:35:29,089 - DEBUG - VM ctest-TestRoutersBasic-99468827-15754358 ID is 1c28b5c5-a11f-4c40-80ae-c661a6a0ae2c 2026-01-07 14:35:29,108 - DEBUG - VM ctest-TestRoutersBasic-99468827-15754358 launched on Node cn-jenkins-deploy-platform-ansible-os-4973-1 2026-01-07 14:35:29,186 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/1c28b5c5-a11f-4c40-80ae-c661a6a0ae2c 2026-01-07 14:35:29,483 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/1c28b5c5-a11f-4c40-80ae-c661a6a0ae2c 2026-01-07 14:35:29,515 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/460ed6ad-472f-45e4-acc3-cee59e3806a8 2026-01-07 14:35:32,775 - 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 1027ms') 2026-01-07 14:35:32,776 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-99468827-15754358 failed! 2026-01-07 14:35:32,829 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-99468827:ctest-vn-20286940 is 63.104.242.65 and allocation pool is NOT set 2026-01-07 14:35:34,891 - 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.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.442 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.442/1.604/2.766/1.162 ms') 2026-01-07 14:35:34,891 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-99468827-15754358 passed 2026-01-07 14:35:35,037 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 14:35:35,037 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99468827-15754358, IP 63.104.242.67, Port 22 2026-01-07 14:35:35,197 - DEBUG - VM ctest-TestRoutersBasic-99468827-15754358 is ready for SSH connections 2026-01-07 14:35:35,197 - INFO - Waiting for VM ctest-TestRoutersBasic-99468827-25572032 to be up.. 2026-01-07 14:35:35,269 - DEBUG - VM is in ACTIVE state now 2026-01-07 14:35:35,269 - INFO - VM name : ctest-TestRoutersBasic-99468827-25572032 2026-01-07 14:35:35,342 - DEBUG - VM ctest-TestRoutersBasic-99468827-25572032 ID is 7f2baeea-6896-438e-9816-9463b59bf54f 2026-01-07 14:35:35,342 - DEBUG - VM ctest-TestRoutersBasic-99468827-25572032 launched on Node cn-jenkins-deploy-platform-ansible-os-4973-1 2026-01-07 14:35:35,415 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/7f2baeea-6896-438e-9816-9463b59bf54f 2026-01-07 14:35:35,423 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/6120ef3e-b80a-485b-9ad1-ab91b3d749e9 2026-01-07 14:35:36,658 - 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.475 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.475/1.687/2.900/1.212 ms') 2026-01-07 14:35:36,658 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-99468827-25572032 passed 2026-01-07 14:35:36,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 14:35:36,805 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99468827-25572032, IP 142.172.3.3, Port 22 2026-01-07 14:35:36,960 - DEBUG - VM ctest-TestRoutersBasic-99468827-25572032 is ready for SSH connections 2026-01-07 14:35:36,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 14:35:36,961 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.172.3.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-01-07 14:35:36,961 - DEBUG - ping -s 56 -c 3 -W 1 142.172.3.3 2026-01-07 14:35:40,667 - DEBUG - PING 142.172.3.3 (142.172.3.3): 56 data bytes 64 bytes from 142.172.3.3: seq=0 ttl=62 time=4.547 ms 64 bytes from 142.172.3.3: seq=1 ttl=62 time=0.955 ms 64 bytes from 142.172.3.3: seq=2 ttl=62 time=0.796 ms --- 142.172.3.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.796/2.099/4.547 ms 2026-01-07 14:35:40,668 - INFO - Ping to IP 142.172.3.3 from VM ctest-TestRoutersBasic-99468827-15754358 passed 2026-01-07 14:35:40,668 - INFO - Deleting interface with subnet_id f15d5cde-89db-4f65-8355-93a0ab2f6a93, port_id None from router 5bcac356-c4e2-41e4-bf91-d47013a4b5e3 2026-01-07 14:35:40,840 - INFO - Deleting VM ctest-TestRoutersBasic-99468827-25572032 2026-01-07 14:35:40,915 - INFO - Deleting VM ctest-TestRoutersBasic-99468827-15754358 2026-01-07 14:35:40,986 - INFO - Deleting VN ctest-ext_vn-93836199 2026-01-07 14:35:41,059 - DEBUG - VN 9d19994c-0441-43c3-88c3-1cf24e6e21ee still in use: Unable to complete operation on network 9d19994c-0441-43c3-88c3-1cf24e6e21ee. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2be91629-fe8f-4862-a950-2c50f99d9594'] 2026-01-07 14:35:41,060 - WARNING - Deleting VN ctest-ext_vn-93836199 failed..Will retry 2026-01-07 14:35:43,158 - DEBUG - Response for deleting network () 2026-01-07 14:35:43,158 - INFO - Deleting VN ctest-vn-20286940 2026-01-07 14:35:43,278 - DEBUG - Response for deleting network () 2026-01-07 14:35:43,534 - DEBUG - No XMPP flaps were noticed during the test
2026-01-07 14:35:43,534 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-01-07 14:35:43,534 - INFO - -------------------------------------------------------------------------------- 2026-01-07 14:35:44,214 - INFO - Deleted project: ctest-TestRoutersBasic-99468827, ID : 79abfbab-3361-41c5-b01b-f53f73cbd08c