2026-02-03 00:22:35,513 - INFO - Domain Default found not creating 2026-02-03 00:22:35,673 - INFO - Project ctest-TestRoutersBasic-36449264 not found, creating it 2026-02-03 00:22:36,116 - INFO - Created Project:ctest-TestRoutersBasic-36449264, ID : 7ffacfb1-3dfe-4904-ac41-4e0c630180b2 2026-02-03 00:22:37,634 - INFO - ================================================================================ 2026-02-03 00:22:37,634 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-03 00:22:37,635 - 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-02-03 00:22:37,890 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-03 00:22:37,890 - INFO - Initial checks done. Running the testcase now 2026-02-03 00:22:37,890 - INFO - 2026-02-03 00:22:38,605 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-36449264 2026-02-03 00:22:38,705 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-36449264 2026-02-03 00:22:39,021 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36449264', 'default']} 2026-02-03 00:22:39,304 - DEBUG - Response for create_network : {'network': {'id': '7609623e-c9ac-44d5-8088-f23084a7c889', 'name': 'ctest-vn-95959206', 'tenant_id': '7ffacfb13dfe4904ac414e0c630180b2', 'project_id': '7ffacfb13dfe4904ac414e0c630180b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36449264', 'ctest-vn-95959206'], 'port_security_enabled': True, 'description': ''}} 2026-02-03 00:22:39,447 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e582ade-8390-4729-b238-053481eea99a', 'name': '', 'tenant_id': '7ffacfb13dfe4904ac414e0c630180b2', 'network_id': '7609623e-c9ac-44d5-8088-f23084a7c889', 'ip_version': 4, 'cidr': '56.185.150.192/26', 'allocation_pools': [{'start': '56.185.150.194', 'end': '56.185.150.254'}], 'gateway_ip': '56.185.150.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.185.150.194', 'tags': [], 'project_id': '7ffacfb13dfe4904ac414e0c630180b2'}} 2026-02-03 00:22:39,463 - INFO - Created VN ctest-vn-95959206 2026-02-03 00:22:39,513 - DEBUG - VN ctest-vn-95959206 UUID is 7609623e-c9ac-44d5-8088-f23084a7c889 2026-02-03 00:22:39,857 - DEBUG - Response for create_network : {'network': {'id': '9d1ecc10-caab-4926-9879-4b4a6d8c0d9e', 'name': 'ctest-ext_vn-31805304', 'tenant_id': '7ffacfb13dfe4904ac414e0c630180b2', 'project_id': '7ffacfb13dfe4904ac414e0c630180b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36449264', 'ctest-ext_vn-31805304'], 'port_security_enabled': True, 'description': ''}} 2026-02-03 00:22:40,004 - DEBUG - Response for create_subnet : {'subnet': {'id': '346ab416-750a-42a9-9bc8-e2605623838f', 'name': '', 'tenant_id': '7ffacfb13dfe4904ac414e0c630180b2', 'network_id': '9d1ecc10-caab-4926-9879-4b4a6d8c0d9e', 'ip_version': 4, 'cidr': '66.83.55.0/26', 'allocation_pools': [{'start': '66.83.55.2', 'end': '66.83.55.62'}], 'gateway_ip': '66.83.55.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.83.55.2', 'tags': [], 'project_id': '7ffacfb13dfe4904ac414e0c630180b2'}} 2026-02-03 00:22:40,021 - INFO - Created VN ctest-ext_vn-31805304 2026-02-03 00:22:40,073 - DEBUG - VN ctest-ext_vn-31805304 UUID is 9d1ecc10-caab-4926-9879-4b4a6d8c0d9e 2026-02-03 00:22:40,236 - DEBUG - Services list from nova: [, , ] 2026-02-03 00:22:41,274 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5181-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5181-1) 2026-02-03 00:22:42,470 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5181-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5181-1) 2026-02-03 00:22:42,541 - INFO - Setting gateway for router 711de9e1-63cd-4a1d-93ed-7e627f4999a8 to network 9d1ecc10-caab-4926-9879-4b4a6d8c0d9e 2026-02-03 00:22:42,601 - INFO - Adding interface with subnet_id 7e582ade-8390-4729-b238-053481eea99a, port_id None to router 711de9e1-63cd-4a1d-93ed-7e627f4999a8 2026-02-03 00:22:42,869 - INFO - Waiting for VM ctest-TestRoutersBasic-36449264-58206843 to be up.. 2026-02-03 00:22:43,011 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-03 00:22:48,084 - DEBUG - VM is in ACTIVE state now 2026-02-03 00:22:48,085 - INFO - VM name : ctest-TestRoutersBasic-36449264-58206843 2026-02-03 00:22:48,160 - DEBUG - VM ctest-TestRoutersBasic-36449264-58206843 ID is 35803ecc-7002-4043-bd40-d4f6f161c889 2026-02-03 00:22:48,178 - DEBUG - VM ctest-TestRoutersBasic-36449264-58206843 launched on Node cn-jenkins-deploy-platform-ansible-os-5181-1 2026-02-03 00:22:48,252 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/35803ecc-7002-4043-bd40-d4f6f161c889 2026-02-03 00:22:48,557 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/35803ecc-7002-4043-bd40-d4f6f161c889 2026-02-03 00:22:48,599 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/05e1f1b0-82bf-4066-9c33-fb3f9fcd2c1d 2026-02-03 00:22:51,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 1027ms') 2026-02-03 00:22:51,860 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-36449264-58206843 failed! 2026-02-03 00:22:51,913 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-36449264:ctest-vn-95959206 is 56.185.150.193 and allocation pool is NOT set 2026-02-03 00:22:53,969 - 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=3.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.485 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.485/1.947/3.409/1.462 ms') 2026-02-03 00:22:53,969 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-36449264-58206843 passed 2026-02-03 00:22:54,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 00:22:54,073 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36449264-58206843, IP 56.185.150.195, Port 22 2026-02-03 00:22:54,225 - DEBUG - VM ctest-TestRoutersBasic-36449264-58206843 is ready for SSH connections 2026-02-03 00:22:54,225 - INFO - Waiting for VM ctest-TestRoutersBasic-36449264-26048441 to be up.. 2026-02-03 00:22:54,299 - DEBUG - VM is in ACTIVE state now 2026-02-03 00:22:54,299 - INFO - VM name : ctest-TestRoutersBasic-36449264-26048441 2026-02-03 00:22:54,368 - DEBUG - VM ctest-TestRoutersBasic-36449264-26048441 ID is 2854aad3-b831-4d11-abd8-64f82ebb2873 2026-02-03 00:22:54,368 - DEBUG - VM ctest-TestRoutersBasic-36449264-26048441 launched on Node cn-jenkins-deploy-platform-ansible-os-5181-1 2026-02-03 00:22:54,438 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2854aad3-b831-4d11-abd8-64f82ebb2873 2026-02-03 00:22:54,446 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/bab8eece-0990-4276-9c15-c7e00eab25d7 2026-02-03 00:22:55,684 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.437 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.437/1.583/2.730/1.146 ms') 2026-02-03 00:22:55,684 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-36449264-26048441 passed 2026-02-03 00:22:55,833 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 00:22:55,833 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36449264-26048441, IP 66.83.55.3, Port 22 2026-02-03 00:22:55,993 - DEBUG - VM ctest-TestRoutersBasic-36449264-26048441 is ready for SSH connections 2026-02-03 00:22:55,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 00:22:55,993 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.83.55.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-03 00:22:55,993 - DEBUG - ping -s 56 -c 3 -W 1 66.83.55.3 2026-02-03 00:22:59,720 - DEBUG - PING 66.83.55.3 (66.83.55.3): 56 data bytes 64 bytes from 66.83.55.3: seq=0 ttl=62 time=6.819 ms 64 bytes from 66.83.55.3: seq=1 ttl=62 time=0.897 ms 64 bytes from 66.83.55.3: seq=2 ttl=62 time=0.955 ms --- 66.83.55.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.897/2.890/6.819 ms 2026-02-03 00:22:59,720 - INFO - Ping to IP 66.83.55.3 from VM ctest-TestRoutersBasic-36449264-58206843 passed 2026-02-03 00:22:59,720 - INFO - Deleting interface with subnet_id 7e582ade-8390-4729-b238-053481eea99a, port_id None from router 711de9e1-63cd-4a1d-93ed-7e627f4999a8 2026-02-03 00:22:59,933 - INFO - Deleting VM ctest-TestRoutersBasic-36449264-26048441 2026-02-03 00:23:00,006 - INFO - Deleting VM ctest-TestRoutersBasic-36449264-58206843 2026-02-03 00:23:00,103 - INFO - Deleting VN ctest-ext_vn-31805304 2026-02-03 00:23:00,187 - DEBUG - VN 9d1ecc10-caab-4926-9879-4b4a6d8c0d9e still in use: Unable to complete operation on network 9d1ecc10-caab-4926-9879-4b4a6d8c0d9e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e90d0595-665e-45b7-8a5c-0aa132847c9e'] 2026-02-03 00:23:00,187 - WARNING - Deleting VN ctest-ext_vn-31805304 failed..Will retry 2026-02-03 00:23:02,289 - DEBUG - Response for deleting network () 2026-02-03 00:23:02,289 - INFO - Deleting VN ctest-vn-95959206 2026-02-03 00:23:02,380 - DEBUG - Response for deleting network () 2026-02-03 00:23:02,633 - DEBUG - No XMPP flaps were noticed during the test
2026-02-03 00:23:02,633 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-02-03 00:23:02,633 - INFO - -------------------------------------------------------------------------------- 2026-02-03 00:23:03,330 - INFO - Deleted project: ctest-TestRoutersBasic-36449264, ID : 7ffacfb1-3dfe-4904-ac41-4e0c630180b2