2026-04-16 22:43:35,446 - INFO - Domain Default found not creating 2026-04-16 22:43:35,620 - INFO - Project ctest-TestRoutersBasic-33312361 not found, creating it 2026-04-16 22:43:36,059 - INFO - Created Project:ctest-TestRoutersBasic-33312361, ID : 23ff9208-166d-49a8-b76f-67afc8b97026 2026-04-16 22:43:37,546 - INFO - ================================================================================ 2026-04-16 22:43:37,546 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-16 22:43:37,546 - 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-16 22:43:37,810 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-04-16 22:43:37,810 - INFO - Initial checks done. Running the testcase now 2026-04-16 22:43:37,810 - INFO - 2026-04-16 22:43:38,508 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-33312361 2026-04-16 22:43:38,604 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-33312361 2026-04-16 22:43:38,924 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33312361', 'default']} 2026-04-16 22:43:39,207 - DEBUG - Response for create_network : {'network': {'id': 'ab0f3d19-5fae-472c-8a95-1d39b3137ef5', 'name': 'ctest-vn-67377572', 'tenant_id': '23ff9208166d49a8b76f67afc8b97026', 'project_id': '23ff9208166d49a8b76f67afc8b97026', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33312361', 'ctest-vn-67377572'], 'port_security_enabled': True, 'description': ''}} 2026-04-16 22:43:39,422 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d1a05e2-3229-4e51-b0ef-25324f2d4dd4', 'name': '', 'tenant_id': '23ff9208166d49a8b76f67afc8b97026', 'network_id': 'ab0f3d19-5fae-472c-8a95-1d39b3137ef5', 'ip_version': 4, 'cidr': '186.176.106.64/26', 'allocation_pools': [{'start': '186.176.106.66', 'end': '186.176.106.126'}], 'gateway_ip': '186.176.106.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.176.106.66', 'tags': [], 'project_id': '23ff9208166d49a8b76f67afc8b97026'}} 2026-04-16 22:43:39,439 - INFO - Created VN ctest-vn-67377572 2026-04-16 22:43:39,492 - DEBUG - VN ctest-vn-67377572 UUID is ab0f3d19-5fae-472c-8a95-1d39b3137ef5 2026-04-16 22:43:39,818 - DEBUG - Response for create_network : {'network': {'id': '65b18c64-5107-4814-9ea7-acf321c0286b', 'name': 'ctest-ext_vn-10408066', 'tenant_id': '23ff9208166d49a8b76f67afc8b97026', 'project_id': '23ff9208166d49a8b76f67afc8b97026', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33312361', 'ctest-ext_vn-10408066'], 'port_security_enabled': True, 'description': ''}} 2026-04-16 22:43:40,001 - DEBUG - Response for create_subnet : {'subnet': {'id': '879477d0-7709-4404-8649-fd4a7f8c148e', 'name': '', 'tenant_id': '23ff9208166d49a8b76f67afc8b97026', 'network_id': '65b18c64-5107-4814-9ea7-acf321c0286b', 'ip_version': 4, 'cidr': '179.213.144.0/26', 'allocation_pools': [{'start': '179.213.144.2', 'end': '179.213.144.62'}], 'gateway_ip': '179.213.144.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.213.144.2', 'tags': [], 'project_id': '23ff9208166d49a8b76f67afc8b97026'}} 2026-04-16 22:43:40,017 - INFO - Created VN ctest-ext_vn-10408066 2026-04-16 22:43:40,068 - DEBUG - VN ctest-ext_vn-10408066 UUID is 65b18c64-5107-4814-9ea7-acf321c0286b 2026-04-16 22:43:40,265 - DEBUG - Services list from nova: [, , ] 2026-04-16 22:43:41,267 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5631-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5631-1) 2026-04-16 22:43:42,367 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5631-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5631-1) 2026-04-16 22:43:42,426 - INFO - Setting gateway for router 68103603-0b2c-4c9e-8e99-102950259980 to network 65b18c64-5107-4814-9ea7-acf321c0286b 2026-04-16 22:43:42,494 - INFO - Adding interface with subnet_id 8d1a05e2-3229-4e51-b0ef-25324f2d4dd4, port_id None to router 68103603-0b2c-4c9e-8e99-102950259980 2026-04-16 22:43:42,843 - INFO - Waiting for VM ctest-TestRoutersBasic-33312361-00675857 to be up.. 2026-04-16 22:43:42,980 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-16 22:43:48,064 - DEBUG - VM is in ACTIVE state now 2026-04-16 22:43:48,064 - INFO - VM name : ctest-TestRoutersBasic-33312361-00675857 2026-04-16 22:43:48,140 - DEBUG - VM ctest-TestRoutersBasic-33312361-00675857 ID is 3fe3c7ab-96ec-421f-83cd-39177285c35d 2026-04-16 22:43:48,160 - DEBUG - VM ctest-TestRoutersBasic-33312361-00675857 launched on Node cn-jenkins-deploy-platform-ansible-os-5631-1 2026-04-16 22:43:48,234 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/3fe3c7ab-96ec-421f-83cd-39177285c35d 2026-04-16 22:43:48,528 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/3fe3c7ab-96ec-421f-83cd-39177285c35d 2026-04-16 22:43:48,567 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d67aa3bf-dc13-4c59-a556-23919a3b37b0 2026-04-16 22:43:51,802 - 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 1007ms') 2026-04-16 22:43:51,802 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33312361-00675857 failed! 2026-04-16 22:43:51,856 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-33312361:ctest-vn-67377572 is 186.176.106.65 and allocation pool is NOT set 2026-04-16 22:43:53,917 - 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.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.425 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.425/1.786/3.147/1.361 ms') 2026-04-16 22:43:53,917 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33312361-00675857 passed 2026-04-16 22:43:54,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-16 22:43:54,064 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33312361-00675857, IP 186.176.106.67, Port 22 2026-04-16 22:43:54,220 - DEBUG - VM ctest-TestRoutersBasic-33312361-00675857 is ready for SSH connections 2026-04-16 22:43:54,220 - INFO - Waiting for VM ctest-TestRoutersBasic-33312361-29728360 to be up.. 2026-04-16 22:43:54,295 - DEBUG - VM is in ACTIVE state now 2026-04-16 22:43:54,295 - INFO - VM name : ctest-TestRoutersBasic-33312361-29728360 2026-04-16 22:43:54,365 - DEBUG - VM ctest-TestRoutersBasic-33312361-29728360 ID is d3beca1b-faec-40ff-847f-d44da55c9dfa 2026-04-16 22:43:54,365 - DEBUG - VM ctest-TestRoutersBasic-33312361-29728360 launched on Node cn-jenkins-deploy-platform-ansible-os-5631-1 2026-04-16 22:43:54,433 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d3beca1b-faec-40ff-847f-d44da55c9dfa 2026-04-16 22:43:54,440 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/24a95b64-a866-4537-973a-a6ef18da6b33 2026-04-16 22:43:55,666 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.71 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 = 2.713/2.760/2.807/0.047 ms') 2026-04-16 22:43:55,666 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-33312361-29728360 passed 2026-04-16 22:43:55,816 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-16 22:43:55,816 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33312361-29728360, IP 179.213.144.3, Port 22 2026-04-16 22:43:55,875 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-04-16 22:43:55,946 - DEBUG - VM ctest-TestRoutersBasic-33312361-29728360 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-16 22:44:00,946 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-16 22:44:00,947 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33312361-29728360, IP 179.213.144.3, Port 22 2026-04-16 22:44:01,104 - DEBUG - VM ctest-TestRoutersBasic-33312361-29728360 is ready for SSH connections 2026-04-16 22:44:01,104 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-16 22:44:01,104 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.213.144.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-04-16 22:44:01,104 - DEBUG - ping -s 56 -c 3 -W 1 179.213.144.3 2026-04-16 22:44:04,799 - DEBUG - PING 179.213.144.3 (179.213.144.3): 56 data bytes 64 bytes from 179.213.144.3: seq=0 ttl=62 time=4.503 ms 64 bytes from 179.213.144.3: seq=1 ttl=62 time=0.869 ms 64 bytes from 179.213.144.3: seq=2 ttl=62 time=0.937 ms --- 179.213.144.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.869/2.103/4.503 ms 2026-04-16 22:44:04,800 - INFO - Ping to IP 179.213.144.3 from VM ctest-TestRoutersBasic-33312361-00675857 passed 2026-04-16 22:44:04,800 - INFO - Deleting interface with subnet_id 8d1a05e2-3229-4e51-b0ef-25324f2d4dd4, port_id None from router 68103603-0b2c-4c9e-8e99-102950259980 2026-04-16 22:44:04,968 - INFO - Deleting VM ctest-TestRoutersBasic-33312361-29728360 2026-04-16 22:44:05,045 - INFO - Deleting VM ctest-TestRoutersBasic-33312361-00675857 2026-04-16 22:44:05,127 - INFO - Deleting VN ctest-ext_vn-10408066 2026-04-16 22:44:05,193 - DEBUG - VN 65b18c64-5107-4814-9ea7-acf321c0286b still in use: Unable to complete operation on network 65b18c64-5107-4814-9ea7-acf321c0286b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-32ef49c1-6a49-427a-93df-2c279e165da2'] 2026-04-16 22:44:05,193 - WARNING - Deleting VN ctest-ext_vn-10408066 failed..Will retry 2026-04-16 22:44:07,286 - DEBUG - Response for deleting network () 2026-04-16 22:44:07,286 - INFO - Deleting VN ctest-vn-67377572 2026-04-16 22:44:07,378 - DEBUG - Response for deleting network () 2026-04-16 22:44:07,633 - DEBUG - No XMPP flaps were noticed during the test 2026-04-16 22:44:07,633 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30] 2026-04-16 22:44:07,634 - INFO - -------------------------------------------------------------------------------- 2026-04-16 22:44:08,317 - INFO - Deleted project: ctest-TestRoutersBasic-33312361, ID : 23ff9208-166d-49a8-b76f-67afc8b97026