2026-01-28 12:12:26,607 - INFO - Domain Default found not creating 2026-01-28 12:12:26,779 - INFO - Project ctest-TestRoutersBasic-08772642 not found, creating it 2026-01-28 12:12:27,275 - INFO - Created Project:ctest-TestRoutersBasic-08772642, ID : 016f0b16-49a1-4c18-9ec9-0adfe8560cb8 2026-01-28 12:12:28,880 - INFO - ================================================================================ 2026-01-28 12:12:28,880 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-28 12:12:28,880 - 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-28 12:12:29,139 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.254': '0'}} with 2026-01-28 12:12:29,139 - INFO - Initial checks done. Running the testcase now 2026-01-28 12:12:29,140 - INFO - 2026-01-28 12:12:29,886 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-08772642 2026-01-28 12:12:29,982 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-08772642 2026-01-28 12:12:30,309 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08772642', 'default']} 2026-01-28 12:12:30,600 - DEBUG - Response for create_network : {'network': {'id': 'decda62e-f500-4076-bdfc-61a8da9aed08', 'name': 'ctest-vn-90276899', 'tenant_id': '016f0b1649a14c189ec90adfe8560cb8', 'project_id': '016f0b1649a14c189ec90adfe8560cb8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08772642', 'ctest-vn-90276899'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 12:12:30,783 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf3b245a-188f-45ef-9d89-4531d2b98b59', 'name': '', 'tenant_id': '016f0b1649a14c189ec90adfe8560cb8', 'network_id': 'decda62e-f500-4076-bdfc-61a8da9aed08', 'ip_version': 4, 'cidr': '99.176.205.192/26', 'allocation_pools': [{'start': '99.176.205.194', 'end': '99.176.205.254'}], 'gateway_ip': '99.176.205.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.176.205.194', 'tags': [], 'project_id': '016f0b1649a14c189ec90adfe8560cb8'}} 2026-01-28 12:12:30,804 - INFO - Created VN ctest-vn-90276899 2026-01-28 12:12:30,857 - DEBUG - VN ctest-vn-90276899 UUID is decda62e-f500-4076-bdfc-61a8da9aed08 2026-01-28 12:12:31,171 - DEBUG - Response for create_network : {'network': {'id': '9887f647-ca6c-4932-92d8-ff333073d180', 'name': 'ctest-ext_vn-73663746', 'tenant_id': '016f0b1649a14c189ec90adfe8560cb8', 'project_id': '016f0b1649a14c189ec90adfe8560cb8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08772642', 'ctest-ext_vn-73663746'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 12:12:31,333 - DEBUG - Response for create_subnet : {'subnet': {'id': '49fa844b-bc0e-4a89-b767-803d81327aa1', 'name': '', 'tenant_id': '016f0b1649a14c189ec90adfe8560cb8', 'network_id': '9887f647-ca6c-4932-92d8-ff333073d180', 'ip_version': 4, 'cidr': '134.246.253.0/26', 'allocation_pools': [{'start': '134.246.253.2', 'end': '134.246.253.62'}], 'gateway_ip': '134.246.253.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.246.253.2', 'tags': [], 'project_id': '016f0b1649a14c189ec90adfe8560cb8'}} 2026-01-28 12:12:31,352 - INFO - Created VN ctest-ext_vn-73663746 2026-01-28 12:12:31,405 - DEBUG - VN ctest-ext_vn-73663746 UUID is 9887f647-ca6c-4932-92d8-ff333073d180 2026-01-28 12:12:31,579 - DEBUG - Services list from nova: [, , ] 2026-01-28 12:12:32,631 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5091-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5091-1) 2026-01-28 12:12:33,836 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5091-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5091-1) 2026-01-28 12:12:33,927 - INFO - Setting gateway for router 35c63a2c-3061-4ce4-bfc1-4a7b502650b1 to network 9887f647-ca6c-4932-92d8-ff333073d180 2026-01-28 12:12:33,993 - INFO - Adding interface with subnet_id cf3b245a-188f-45ef-9d89-4531d2b98b59, port_id None to router 35c63a2c-3061-4ce4-bfc1-4a7b502650b1 2026-01-28 12:12:34,341 - INFO - Waiting for VM ctest-TestRoutersBasic-08772642-93420635 to be up.. 2026-01-28 12:12:34,494 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-28 12:12:39,570 - DEBUG - VM is in ACTIVE state now 2026-01-28 12:12:39,570 - INFO - VM name : ctest-TestRoutersBasic-08772642-93420635 2026-01-28 12:12:39,648 - DEBUG - VM ctest-TestRoutersBasic-08772642-93420635 ID is 60b085da-b130-4e5f-a1c9-3a8ff876042e 2026-01-28 12:12:39,666 - DEBUG - VM ctest-TestRoutersBasic-08772642-93420635 launched on Node cn-jenkins-deploy-platform-ansible-os-5091-1 2026-01-28 12:12:39,741 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/60b085da-b130-4e5f-a1c9-3a8ff876042e 2026-01-28 12:12:40,036 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/60b085da-b130-4e5f-a1c9-3a8ff876042e 2026-01-28 12:12:40,075 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/4f711bca-fbeb-4907-a4a6-c074894e2eea 2026-01-28 12:12:43,355 - 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 1031ms') 2026-01-28 12:12:43,356 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08772642-93420635 failed! 2026-01-28 12:12:43,409 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-08772642:ctest-vn-90276899 is 99.176.205.193 and allocation pool is NOT set 2026-01-28 12:12:45,467 - 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=5.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.30 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.299/3.897/5.496/1.598 ms') 2026-01-28 12:12:45,467 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08772642-93420635 passed 2026-01-28 12:12:45,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 12:12:45,626 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08772642-93420635, IP 99.176.205.195, Port 22 2026-01-28 12:12:45,685 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-01-28 12:12:45,768 - DEBUG - VM ctest-TestRoutersBasic-08772642-93420635 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-28 12:12:50,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 12:12:50,768 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08772642-93420635, IP 99.176.205.195, Port 22 2026-01-28 12:12:50,929 - DEBUG - VM ctest-TestRoutersBasic-08772642-93420635 is ready for SSH connections 2026-01-28 12:12:50,929 - INFO - Waiting for VM ctest-TestRoutersBasic-08772642-56214617 to be up.. 2026-01-28 12:12:51,009 - DEBUG - VM is in ACTIVE state now 2026-01-28 12:12:51,009 - INFO - VM name : ctest-TestRoutersBasic-08772642-56214617 2026-01-28 12:12:51,089 - DEBUG - VM ctest-TestRoutersBasic-08772642-56214617 ID is 2f3e716a-2632-4b73-98f8-68baaec232bb 2026-01-28 12:12:51,090 - DEBUG - VM ctest-TestRoutersBasic-08772642-56214617 launched on Node cn-jenkins-deploy-platform-ansible-os-5091-1 2026-01-28 12:12:51,170 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/2f3e716a-2632-4b73-98f8-68baaec232bb 2026-01-28 12:12:51,178 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/c191bb03-576d-4f6f-99af-e80aaa801aa0 2026-01-28 12:12:52,414 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.428 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.428/1.645/2.863/1.217 ms') 2026-01-28 12:12:52,414 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-08772642-56214617 passed 2026-01-28 12:12:52,570 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 12:12:52,570 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08772642-56214617, IP 134.246.253.3, Port 22 2026-01-28 12:12:52,729 - DEBUG - VM ctest-TestRoutersBasic-08772642-56214617 is ready for SSH connections 2026-01-28 12:12:52,729 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 12:12:52,729 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.246.253.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-01-28 12:12:52,729 - DEBUG - ping -s 56 -c 3 -W 1 134.246.253.3 2026-01-28 12:12:56,465 - DEBUG - PING 134.246.253.3 (134.246.253.3): 56 data bytes 64 bytes from 134.246.253.3: seq=0 ttl=62 time=8.708 ms 64 bytes from 134.246.253.3: seq=1 ttl=62 time=0.906 ms 64 bytes from 134.246.253.3: seq=2 ttl=62 time=0.911 ms --- 134.246.253.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.906/3.508/8.708 ms 2026-01-28 12:12:56,465 - INFO - Ping to IP 134.246.253.3 from VM ctest-TestRoutersBasic-08772642-93420635 passed 2026-01-28 12:12:56,466 - INFO - Deleting interface with subnet_id cf3b245a-188f-45ef-9d89-4531d2b98b59, port_id None from router 35c63a2c-3061-4ce4-bfc1-4a7b502650b1 2026-01-28 12:12:56,665 - INFO - Deleting VM ctest-TestRoutersBasic-08772642-56214617 2026-01-28 12:12:56,732 - INFO - Deleting VM ctest-TestRoutersBasic-08772642-93420635 2026-01-28 12:12:56,818 - INFO - Deleting VN ctest-ext_vn-73663746 2026-01-28 12:12:56,884 - DEBUG - VN 9887f647-ca6c-4932-92d8-ff333073d180 still in use: Unable to complete operation on network 9887f647-ca6c-4932-92d8-ff333073d180. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-632f1964-4fff-4f12-99f8-ff655c384efb'] 2026-01-28 12:12:56,884 - WARNING - Deleting VN ctest-ext_vn-73663746 failed..Will retry 2026-01-28 12:12:58,992 - DEBUG - Response for deleting network () 2026-01-28 12:12:58,993 - INFO - Deleting VN ctest-vn-90276899 2026-01-28 12:12:59,087 - DEBUG - Response for deleting network () 2026-01-28 12:12:59,343 - DEBUG - No XMPP flaps were noticed during the test
2026-01-28 12:12:59,343 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2026-01-28 12:12:59,343 - INFO - -------------------------------------------------------------------------------- 2026-01-28 12:13:00,047 - INFO - Deleted project: ctest-TestRoutersBasic-08772642, ID : 016f0b16-49a1-4c18-9ec9-0adfe8560cb8