2026-01-29 18:47:21,255 - INFO - Domain Default found not creating 2026-01-29 18:47:21,645 - INFO - Project ctest-TestRoutersBasic-18757781 not found, creating it 2026-01-29 18:47:22,255 - INFO - Created Project:ctest-TestRoutersBasic-18757781, ID : e04281b4-99d6-4c0c-ad4e-f4ac01d954f7 2026-01-29 18:47:24,340 - INFO - ================================================================================ 2026-01-29 18:47:24,341 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-29 18:47:24,341 - 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-29 18:47:24,642 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.17': '0'}} with 2026-01-29 18:47:24,643 - INFO - Initial checks done. Running the testcase now 2026-01-29 18:47:24,643 - INFO - 2026-01-29 18:47:25,500 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-18757781 2026-01-29 18:47:25,598 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-18757781 2026-01-29 18:47:25,990 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18757781', 'default']} 2026-01-29 18:47:26,426 - DEBUG - Response for create_network : {'network': {'id': 'b0145cf2-57d4-4c5f-b6cc-fcb4cfe41127', 'name': 'ctest-vn-83628815', 'tenant_id': 'e04281b499d64c0cad4ef4ac01d954f7', 'project_id': 'e04281b499d64c0cad4ef4ac01d954f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18757781', 'ctest-vn-83628815'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 18:47:26,710 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f2bed9c-6e81-4816-adf0-676ad5bcdaf6', 'name': '', 'tenant_id': 'e04281b499d64c0cad4ef4ac01d954f7', 'network_id': 'b0145cf2-57d4-4c5f-b6cc-fcb4cfe41127', 'ip_version': 4, 'cidr': '200.146.234.128/26', 'allocation_pools': [{'start': '200.146.234.130', 'end': '200.146.234.190'}], 'gateway_ip': '200.146.234.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.146.234.130', 'tags': [], 'project_id': 'e04281b499d64c0cad4ef4ac01d954f7'}} 2026-01-29 18:47:26,741 - INFO - Created VN ctest-vn-83628815 2026-01-29 18:47:26,798 - DEBUG - VN ctest-vn-83628815 UUID is b0145cf2-57d4-4c5f-b6cc-fcb4cfe41127 2026-01-29 18:47:27,253 - DEBUG - Response for create_network : {'network': {'id': '5f80cf58-9b8f-4257-840b-0daec412462c', 'name': 'ctest-ext_vn-92938740', 'tenant_id': 'e04281b499d64c0cad4ef4ac01d954f7', 'project_id': 'e04281b499d64c0cad4ef4ac01d954f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18757781', 'ctest-ext_vn-92938740'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 18:47:27,436 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6a53261-1554-4889-9b18-da89d19092e4', 'name': '', 'tenant_id': 'e04281b499d64c0cad4ef4ac01d954f7', 'network_id': '5f80cf58-9b8f-4257-840b-0daec412462c', 'ip_version': 4, 'cidr': '174.73.171.128/26', 'allocation_pools': [{'start': '174.73.171.130', 'end': '174.73.171.190'}], 'gateway_ip': '174.73.171.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.73.171.130', 'tags': [], 'project_id': 'e04281b499d64c0cad4ef4ac01d954f7'}} 2026-01-29 18:47:27,453 - INFO - Created VN ctest-ext_vn-92938740 2026-01-29 18:47:27,506 - DEBUG - VN ctest-ext_vn-92938740 UUID is 5f80cf58-9b8f-4257-840b-0daec412462c 2026-01-29 18:47:27,723 - DEBUG - Services list from nova: [, , ] 2026-01-29 18:47:28,863 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5135-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5135-1) 2026-01-29 18:47:30,092 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5135-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5135-1) 2026-01-29 18:47:30,188 - INFO - Setting gateway for router 49d2ccb5-5862-4171-ae0e-7cfa2ab6eb8a to network 5f80cf58-9b8f-4257-840b-0daec412462c 2026-01-29 18:47:30,254 - INFO - Adding interface with subnet_id 0f2bed9c-6e81-4816-adf0-676ad5bcdaf6, port_id None to router 49d2ccb5-5862-4171-ae0e-7cfa2ab6eb8a 2026-01-29 18:47:30,572 - INFO - Waiting for VM ctest-TestRoutersBasic-18757781-98411246 to be up.. 2026-01-29 18:47:30,683 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 18:47:35,880 - DEBUG - VM is in ACTIVE state now 2026-01-29 18:47:35,880 - INFO - VM name : ctest-TestRoutersBasic-18757781-98411246 2026-01-29 18:47:36,000 - DEBUG - VM ctest-TestRoutersBasic-18757781-98411246 ID is bf98a49d-b023-4ba5-8feb-2b14f30520ff 2026-01-29 18:47:36,052 - DEBUG - VM ctest-TestRoutersBasic-18757781-98411246 launched on Node cn-jenkins-deploy-platform-ansible-os-5135-1 2026-01-29 18:47:36,205 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/bf98a49d-b023-4ba5-8feb-2b14f30520ff 2026-01-29 18:47:36,504 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/bf98a49d-b023-4ba5-8feb-2b14f30520ff 2026-01-29 18:47:36,562 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/07e50417-68b4-4af6-87f6-b770c8231b26 2026-01-29 18:47:39,860 - 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 1003ms') 2026-01-29 18:47:39,861 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18757781-98411246 failed! 2026-01-29 18:47:39,922 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-18757781:ctest-vn-83628815 is 200.146.234.129 and allocation pool is NOT set 2026-01-29 18:47:44,025 - 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') 2026-01-29 18:47:44,026 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18757781-98411246 failed! 2026-01-29 18:47:44,091 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-18757781:ctest-vn-83628815 is 200.146.234.129 and allocation pool is NOT set 2026-01-29 18:47:46,169 - 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=859 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.80 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.795/430.955/859.115/428.160 ms') 2026-01-29 18:47:46,169 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18757781-98411246 passed 2026-01-29 18:47:46,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 18:47:46,334 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18757781-98411246, IP 200.146.234.131, Port 22 2026-01-29 18:47:46,515 - DEBUG - VM ctest-TestRoutersBasic-18757781-98411246 is ready for SSH connections 2026-01-29 18:47:46,515 - INFO - Waiting for VM ctest-TestRoutersBasic-18757781-22281689 to be up.. 2026-01-29 18:47:46,677 - DEBUG - VM is in ACTIVE state now 2026-01-29 18:47:46,678 - INFO - VM name : ctest-TestRoutersBasic-18757781-22281689 2026-01-29 18:47:46,810 - DEBUG - VM ctest-TestRoutersBasic-18757781-22281689 ID is 1e737871-2bf7-4b01-bc3c-6cb084a3885a 2026-01-29 18:47:46,811 - DEBUG - VM ctest-TestRoutersBasic-18757781-22281689 launched on Node cn-jenkins-deploy-platform-ansible-os-5135-1 2026-01-29 18:47:46,903 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/1e737871-2bf7-4b01-bc3c-6cb084a3885a 2026-01-29 18:47:46,918 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/1424eea1-e6af-4f21-b87d-b75b5883dbfe 2026-01-29 18:47:48,208 - 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=9.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.13 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 = 2.127/5.732/9.337/3.605 ms') 2026-01-29 18:47:48,208 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-18757781-22281689 passed 2026-01-29 18:47:48,387 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 18:47:48,387 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18757781-22281689, IP 174.73.171.131, Port 22 2026-01-29 18:47:48,596 - DEBUG - VM ctest-TestRoutersBasic-18757781-22281689 is ready for SSH connections 2026-01-29 18:47:48,596 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 18:47:48,596 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.73.171.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-01-29 18:47:48,597 - DEBUG - ping -s 56 -c 3 -W 1 174.73.171.131 2026-01-29 18:47:52,548 - DEBUG - PING 174.73.171.131 (174.73.171.131): 56 data bytes 64 bytes from 174.73.171.131: seq=0 ttl=62 time=7.432 ms 64 bytes from 174.73.171.131: seq=1 ttl=62 time=1.767 ms 64 bytes from 174.73.171.131: seq=2 ttl=62 time=1.802 ms --- 174.73.171.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.767/3.667/7.432 ms 2026-01-29 18:47:52,548 - INFO - Ping to IP 174.73.171.131 from VM ctest-TestRoutersBasic-18757781-98411246 passed 2026-01-29 18:47:52,548 - INFO - Deleting interface with subnet_id 0f2bed9c-6e81-4816-adf0-676ad5bcdaf6, port_id None from router 49d2ccb5-5862-4171-ae0e-7cfa2ab6eb8a 2026-01-29 18:47:52,838 - INFO - Deleting VM ctest-TestRoutersBasic-18757781-22281689 2026-01-29 18:47:52,938 - INFO - Deleting VM ctest-TestRoutersBasic-18757781-98411246 2026-01-29 18:47:53,029 - INFO - Deleting VN ctest-ext_vn-92938740 2026-01-29 18:47:53,118 - DEBUG - VN 5f80cf58-9b8f-4257-840b-0daec412462c still in use: Unable to complete operation on network 5f80cf58-9b8f-4257-840b-0daec412462c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a20e429e-e16b-468c-943b-20715512cd12'] 2026-01-29 18:47:53,119 - WARNING - Deleting VN ctest-ext_vn-92938740 failed..Will retry 2026-01-29 18:47:55,295 - DEBUG - Response for deleting network () 2026-01-29 18:47:55,295 - INFO - Deleting VN ctest-vn-83628815 2026-01-29 18:47:55,572 - DEBUG - Response for deleting network () 2026-01-29 18:47:55,883 - DEBUG - No XMPP flaps were noticed during the test
2026-01-29 18:47:55,883 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2026-01-29 18:47:55,884 - INFO - -------------------------------------------------------------------------------- 2026-01-29 18:47:56,732 - INFO - Deleted project: ctest-TestRoutersBasic-18757781, ID : e04281b4-99d6-4c0c-ad4e-f4ac01d954f7