2026-04-23 16:41:42,327 - INFO - Domain Default found not creating 2026-04-23 16:41:42,508 - INFO - Project ctest-TestRoutersBasic-17806984 not found, creating it 2026-04-23 16:41:42,971 - INFO - Created Project:ctest-TestRoutersBasic-17806984, ID : ccb21389-bf76-4783-8242-739ade7dd41c 2026-04-23 16:41:44,538 - INFO - ================================================================================ 2026-04-23 16:41:44,538 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-23 16:41:44,539 - 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-04-23 16:41:44,793 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-04-23 16:41:44,793 - INFO - Initial checks done. Running the testcase now 2026-04-23 16:41:44,793 - INFO - 2026-04-23 16:41:45,554 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-17806984 2026-04-23 16:41:45,651 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-17806984 2026-04-23 16:41:45,991 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17806984', 'default']} 2026-04-23 16:41:46,365 - DEBUG - Response for create_network : {'network': {'id': '201f6f5a-847b-4290-84d5-6817c92c8c48', 'name': 'ctest-vn-22505825', 'tenant_id': 'ccb21389bf7647838242739ade7dd41c', 'project_id': 'ccb21389bf7647838242739ade7dd41c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17806984', 'ctest-vn-22505825'], 'port_security_enabled': True, 'description': ''}} 2026-04-23 16:41:46,672 - DEBUG - Response for create_subnet : {'subnet': {'id': '527e1106-dce4-4ae0-acbf-e3ea48bccefe', 'name': '', 'tenant_id': 'ccb21389bf7647838242739ade7dd41c', 'network_id': '201f6f5a-847b-4290-84d5-6817c92c8c48', 'ip_version': 4, 'cidr': '75.221.208.128/26', 'allocation_pools': [{'start': '75.221.208.130', 'end': '75.221.208.190'}], 'gateway_ip': '75.221.208.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.221.208.130', 'tags': [], 'project_id': 'ccb21389bf7647838242739ade7dd41c'}} 2026-04-23 16:41:46,718 - INFO - Created VN ctest-vn-22505825 2026-04-23 16:41:46,788 - DEBUG - VN ctest-vn-22505825 UUID is 201f6f5a-847b-4290-84d5-6817c92c8c48 2026-04-23 16:41:47,183 - DEBUG - Response for create_network : {'network': {'id': '2de55778-bdf0-45b3-b83b-99bf739b3dac', 'name': 'ctest-ext_vn-03100936', 'tenant_id': 'ccb21389bf7647838242739ade7dd41c', 'project_id': 'ccb21389bf7647838242739ade7dd41c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17806984', 'ctest-ext_vn-03100936'], 'port_security_enabled': True, 'description': ''}} 2026-04-23 16:41:47,361 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e601fc80-6fb8-406f-8595-694197feab65', 'name': '', 'tenant_id': 'ccb21389bf7647838242739ade7dd41c', 'network_id': '2de55778-bdf0-45b3-b83b-99bf739b3dac', 'ip_version': 4, 'cidr': '218.209.44.64/26', 'allocation_pools': [{'start': '218.209.44.66', 'end': '218.209.44.126'}], 'gateway_ip': '218.209.44.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.209.44.66', 'tags': [], 'project_id': 'ccb21389bf7647838242739ade7dd41c'}} 2026-04-23 16:41:47,382 - INFO - Created VN ctest-ext_vn-03100936 2026-04-23 16:41:47,435 - DEBUG - VN ctest-ext_vn-03100936 UUID is 2de55778-bdf0-45b3-b83b-99bf739b3dac 2026-04-23 16:41:47,633 - DEBUG - Services list from nova: [, , ] 2026-04-23 16:41:48,788 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5678-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5678-1) 2026-04-23 16:41:50,080 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5678-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5678-1) 2026-04-23 16:41:50,179 - INFO - Setting gateway for router 751cf05c-80b8-4432-90f3-bcfa64d6f050 to network 2de55778-bdf0-45b3-b83b-99bf739b3dac 2026-04-23 16:41:50,258 - INFO - Adding interface with subnet_id 527e1106-dce4-4ae0-acbf-e3ea48bccefe, port_id None to router 751cf05c-80b8-4432-90f3-bcfa64d6f050 2026-04-23 16:41:50,659 - INFO - Waiting for VM ctest-TestRoutersBasic-17806984-10422802 to be up.. 2026-04-23 16:41:50,853 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-23 16:41:55,947 - DEBUG - VM is in ACTIVE state now 2026-04-23 16:41:55,948 - INFO - VM name : ctest-TestRoutersBasic-17806984-10422802 2026-04-23 16:41:56,030 - DEBUG - VM ctest-TestRoutersBasic-17806984-10422802 ID is b39e10be-23f3-4a42-82c8-db97e41cc64a 2026-04-23 16:41:56,056 - DEBUG - VM ctest-TestRoutersBasic-17806984-10422802 launched on Node cn-jenkins-deploy-platform-ansible-os-5678-1 2026-04-23 16:41:56,139 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b39e10be-23f3-4a42-82c8-db97e41cc64a 2026-04-23 16:41:56,438 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b39e10be-23f3-4a42-82c8-db97e41cc64a 2026-04-23 16:41:56,476 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/682be083-a77a-4cc4-b459-e90a46f6ca1d 2026-04-23 16:41:59,738 - 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 1022ms') 2026-04-23 16:41:59,738 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17806984-10422802 failed! 2026-04-23 16:41:59,791 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-17806984:ctest-vn-22505825 is 75.221.208.129 and allocation pool is NOT set 2026-04-23 16:42:01,852 - 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=4.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.20 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 = 2.201/3.152/4.104/0.951 ms') 2026-04-23 16:42:01,852 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17806984-10422802 passed 2026-04-23 16:42:02,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 16:42:02,015 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17806984-10422802, IP 75.221.208.131, Port 22 2026-04-23 16:42:02,171 - DEBUG - VM ctest-TestRoutersBasic-17806984-10422802 is ready for SSH connections 2026-04-23 16:42:02,171 - INFO - Waiting for VM ctest-TestRoutersBasic-17806984-93342200 to be up.. 2026-04-23 16:42:02,261 - DEBUG - VM is in ACTIVE state now 2026-04-23 16:42:02,261 - INFO - VM name : ctest-TestRoutersBasic-17806984-93342200 2026-04-23 16:42:02,347 - DEBUG - VM ctest-TestRoutersBasic-17806984-93342200 ID is b6e0b697-2c0b-49a8-bd9b-98490663fa74 2026-04-23 16:42:02,347 - DEBUG - VM ctest-TestRoutersBasic-17806984-93342200 launched on Node cn-jenkins-deploy-platform-ansible-os-5678-1 2026-04-23 16:42:02,443 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b6e0b697-2c0b-49a8-bd9b-98490663fa74 2026-04-23 16:42:02,453 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/9deaaacc-dea5-45ba-8285-4c24b5811e5c 2026-04-23 16:42:03,694 - 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=3.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.975 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.975/2.079/3.183/1.104 ms') 2026-04-23 16:42:03,694 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-17806984-93342200 passed 2026-04-23 16:42:03,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 16:42:03,847 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17806984-93342200, IP 218.209.44.67, Port 22 2026-04-23 16:42:04,002 - DEBUG - VM ctest-TestRoutersBasic-17806984-93342200 is ready for SSH connections 2026-04-23 16:42:04,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 16:42:04,003 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.209.44.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-04-23 16:42:04,003 - DEBUG - ping -s 56 -c 3 -W 1 218.209.44.67 2026-04-23 16:42:07,739 - DEBUG - PING 218.209.44.67 (218.209.44.67): 56 data bytes 64 bytes from 218.209.44.67: seq=0 ttl=62 time=6.335 ms 64 bytes from 218.209.44.67: seq=1 ttl=62 time=1.173 ms 64 bytes from 218.209.44.67: seq=2 ttl=62 time=1.259 ms --- 218.209.44.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.173/2.922/6.335 ms 2026-04-23 16:42:07,739 - INFO - Ping to IP 218.209.44.67 from VM ctest-TestRoutersBasic-17806984-10422802 passed 2026-04-23 16:42:07,740 - INFO - Deleting interface with subnet_id 527e1106-dce4-4ae0-acbf-e3ea48bccefe, port_id None from router 751cf05c-80b8-4432-90f3-bcfa64d6f050 2026-04-23 16:42:07,945 - INFO - Deleting VM ctest-TestRoutersBasic-17806984-93342200 2026-04-23 16:42:08,059 - INFO - Deleting VM ctest-TestRoutersBasic-17806984-10422802 2026-04-23 16:42:08,180 - INFO - Deleting VN ctest-ext_vn-03100936 2026-04-23 16:42:08,274 - DEBUG - VN 2de55778-bdf0-45b3-b83b-99bf739b3dac still in use: Unable to complete operation on network 2de55778-bdf0-45b3-b83b-99bf739b3dac. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d8410fba-c2a4-4aa9-bfb0-881ccaa4c8ce'] 2026-04-23 16:42:08,274 - WARNING - Deleting VN ctest-ext_vn-03100936 failed..Will retry 2026-04-23 16:42:10,388 - DEBUG - Response for deleting network () 2026-04-23 16:42:10,388 - INFO - Deleting VN ctest-vn-22505825 2026-04-23 16:42:10,521 - DEBUG - Response for deleting network () 2026-04-23 16:42:10,783 - DEBUG - No XMPP flaps were noticed during the test
2026-04-23 16:42:10,783 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-04-23 16:42:10,783 - INFO - -------------------------------------------------------------------------------- 2026-04-23 16:42:11,493 - INFO - Deleted project: ctest-TestRoutersBasic-17806984, ID : ccb21389-bf76-4783-8242-739ade7dd41c