2026-03-18 19:43:47,086 - INFO - Domain Default found not creating 2026-03-18 19:43:47,436 - INFO - Project ctest-TestRoutersBasic-77039967 not found, creating it 2026-03-18 19:43:48,147 - INFO - Created Project:ctest-TestRoutersBasic-77039967, ID : 808b3b14-c293-4a26-9907-2870b10fabdc 2026-03-18 19:43:50,216 - INFO - ================================================================================ 2026-03-18 19:43:50,216 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-18 19:43:50,216 - 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-03-18 19:43:50,531 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-03-18 19:43:50,532 - INFO - Initial checks done. Running the testcase now 2026-03-18 19:43:50,532 - INFO - 2026-03-18 19:43:51,429 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-77039967 2026-03-18 19:43:51,538 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-77039967 2026-03-18 19:43:51,936 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77039967', 'default']} 2026-03-18 19:43:52,383 - DEBUG - Response for create_network : {'network': {'id': 'a6f72392-ac4b-44f7-971c-58f6eac79c0a', 'name': 'ctest-vn-59205615', 'tenant_id': '808b3b14c2934a2699072870b10fabdc', 'project_id': '808b3b14c2934a2699072870b10fabdc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77039967', 'ctest-vn-59205615'], 'port_security_enabled': True, 'description': ''}} 2026-03-18 19:43:52,678 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ed63059-4521-4ec1-b8c0-26aa1f850a77', 'name': '', 'tenant_id': '808b3b14c2934a2699072870b10fabdc', 'network_id': 'a6f72392-ac4b-44f7-971c-58f6eac79c0a', 'ip_version': 4, 'cidr': '50.20.142.128/26', 'allocation_pools': [{'start': '50.20.142.130', 'end': '50.20.142.190'}], 'gateway_ip': '50.20.142.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.20.142.130', 'tags': [], 'project_id': '808b3b14c2934a2699072870b10fabdc'}} 2026-03-18 19:43:52,709 - INFO - Created VN ctest-vn-59205615 2026-03-18 19:43:52,769 - DEBUG - VN ctest-vn-59205615 UUID is a6f72392-ac4b-44f7-971c-58f6eac79c0a 2026-03-18 19:43:53,214 - DEBUG - Response for create_network : {'network': {'id': 'c08e295f-45df-4e1c-aaee-041b7cff88a2', 'name': 'ctest-ext_vn-67048832', 'tenant_id': '808b3b14c2934a2699072870b10fabdc', 'project_id': '808b3b14c2934a2699072870b10fabdc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77039967', 'ctest-ext_vn-67048832'], 'port_security_enabled': True, 'description': ''}} 2026-03-18 19:43:53,450 - DEBUG - Response for create_subnet : {'subnet': {'id': '7f3c2aba-9be5-437d-a46f-bdb7b7770eda', 'name': '', 'tenant_id': '808b3b14c2934a2699072870b10fabdc', 'network_id': 'c08e295f-45df-4e1c-aaee-041b7cff88a2', 'ip_version': 4, 'cidr': '32.154.113.0/26', 'allocation_pools': [{'start': '32.154.113.2', 'end': '32.154.113.62'}], 'gateway_ip': '32.154.113.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.154.113.2', 'tags': [], 'project_id': '808b3b14c2934a2699072870b10fabdc'}} 2026-03-18 19:43:53,483 - INFO - Created VN ctest-ext_vn-67048832 2026-03-18 19:43:53,545 - DEBUG - VN ctest-ext_vn-67048832 UUID is c08e295f-45df-4e1c-aaee-041b7cff88a2 2026-03-18 19:43:53,839 - DEBUG - Services list from nova: [, , ] 2026-03-18 19:43:55,240 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5488-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5488-1) 2026-03-18 19:43:56,670 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5488-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5488-1) 2026-03-18 19:43:56,737 - INFO - Setting gateway for router 241943ab-daef-4f6e-b26e-fc48b5a162d4 to network c08e295f-45df-4e1c-aaee-041b7cff88a2 2026-03-18 19:43:56,811 - INFO - Adding interface with subnet_id 4ed63059-4521-4ec1-b8c0-26aa1f850a77, port_id None to router 241943ab-daef-4f6e-b26e-fc48b5a162d4 2026-03-18 19:43:57,193 - INFO - Waiting for VM ctest-TestRoutersBasic-77039967-48498239 to be up.. 2026-03-18 19:43:57,362 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-18 19:44:02,557 - DEBUG - VM is in ACTIVE state now 2026-03-18 19:44:02,557 - INFO - VM name : ctest-TestRoutersBasic-77039967-48498239 2026-03-18 19:44:02,657 - DEBUG - VM ctest-TestRoutersBasic-77039967-48498239 ID is 507489a9-8aec-42b7-9d7a-67a60c5c6a4a 2026-03-18 19:44:02,686 - DEBUG - VM ctest-TestRoutersBasic-77039967-48498239 launched on Node cn-jenkins-deploy-platform-ansible-os-5488-1 2026-03-18 19:44:02,793 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/507489a9-8aec-42b7-9d7a-67a60c5c6a4a 2026-03-18 19:44:03,101 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/507489a9-8aec-42b7-9d7a-67a60c5c6a4a 2026-03-18 19:44:03,140 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2e08947d-ff09-41de-b369-12dfa1dfa213 2026-03-18 19:44:06,423 - 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 1019ms') 2026-03-18 19:44:06,423 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77039967-48498239 failed! 2026-03-18 19:44:06,481 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-77039967:ctest-vn-59205615 is 50.20.142.129 and allocation pool is NOT set 2026-03-18 19:44:08,555 - 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.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.84 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 = 1.841/3.085/4.329/1.244 ms') 2026-03-18 19:44:08,555 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77039967-48498239 passed 2026-03-18 19:44:08,724 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-18 19:44:08,725 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77039967-48498239, IP 50.20.142.131, Port 22 2026-03-18 19:44:08,896 - DEBUG - VM ctest-TestRoutersBasic-77039967-48498239 is ready for SSH connections 2026-03-18 19:44:08,896 - INFO - Waiting for VM ctest-TestRoutersBasic-77039967-03875356 to be up.. 2026-03-18 19:44:08,984 - DEBUG - VM is in ACTIVE state now 2026-03-18 19:44:08,984 - INFO - VM name : ctest-TestRoutersBasic-77039967-03875356 2026-03-18 19:44:09,077 - DEBUG - VM ctest-TestRoutersBasic-77039967-03875356 ID is b6224e81-9877-4144-b796-15458fe0c08f 2026-03-18 19:44:09,078 - DEBUG - VM ctest-TestRoutersBasic-77039967-03875356 launched on Node cn-jenkins-deploy-platform-ansible-os-5488-1 2026-03-18 19:44:09,178 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b6224e81-9877-4144-b796-15458fe0c08f 2026-03-18 19:44:09,188 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4b79470a-e4b6-4f10-98c0-a07afffcf489 2026-03-18 19:44:10,447 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.99 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 = 1.989/2.722/3.456/0.733 ms') 2026-03-18 19:44:10,448 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-77039967-03875356 passed 2026-03-18 19:44:10,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-18 19:44:10,637 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77039967-03875356, IP 32.154.113.3, Port 22 2026-03-18 19:44:10,834 - DEBUG - VM ctest-TestRoutersBasic-77039967-03875356 is ready for SSH connections 2026-03-18 19:44:10,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-18 19:44:10,835 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.154.113.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-03-18 19:44:10,835 - DEBUG - ping -s 56 -c 3 -W 1 32.154.113.3 2026-03-18 19:44:14,962 - DEBUG - PING 32.154.113.3 (32.154.113.3): 56 data bytes 64 bytes from 32.154.113.3: seq=0 ttl=62 time=13.035 ms 64 bytes from 32.154.113.3: seq=1 ttl=62 time=2.082 ms 64 bytes from 32.154.113.3: seq=2 ttl=62 time=1.210 ms --- 32.154.113.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.210/5.442/13.035 ms 2026-03-18 19:44:14,962 - INFO - Ping to IP 32.154.113.3 from VM ctest-TestRoutersBasic-77039967-48498239 passed 2026-03-18 19:44:14,963 - INFO - Deleting interface with subnet_id 4ed63059-4521-4ec1-b8c0-26aa1f850a77, port_id None from router 241943ab-daef-4f6e-b26e-fc48b5a162d4 2026-03-18 19:44:15,244 - INFO - Deleting VM ctest-TestRoutersBasic-77039967-03875356 2026-03-18 19:44:15,322 - INFO - Deleting VM ctest-TestRoutersBasic-77039967-48498239 2026-03-18 19:44:15,422 - INFO - Deleting VN ctest-ext_vn-67048832 2026-03-18 19:44:15,517 - DEBUG - VN c08e295f-45df-4e1c-aaee-041b7cff88a2 still in use: Unable to complete operation on network c08e295f-45df-4e1c-aaee-041b7cff88a2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-903eccd8-5026-4022-8ef3-6cb6a9ae3da8'] 2026-03-18 19:44:15,517 - WARNING - Deleting VN ctest-ext_vn-67048832 failed..Will retry 2026-03-18 19:44:17,758 - DEBUG - Response for deleting network () 2026-03-18 19:44:17,759 - INFO - Deleting VN ctest-vn-59205615 2026-03-18 19:44:17,903 - DEBUG - Response for deleting network () 2026-03-18 19:44:18,217 - DEBUG - No XMPP flaps were noticed during the test
2026-03-18 19:44:18,217 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2026-03-18 19:44:18,217 - INFO - -------------------------------------------------------------------------------- 2026-03-18 19:44:19,124 - INFO - Deleted project: ctest-TestRoutersBasic-77039967, ID : 808b3b14-c293-4a26-9907-2870b10fabdc