2026-02-13 09:58:22,496 - INFO - Domain Default found not creating 2026-02-13 09:58:22,663 - INFO - Project ctest-TestRoutersBasic-97949780 not found, creating it 2026-02-13 09:58:23,137 - INFO - Created Project:ctest-TestRoutersBasic-97949780, ID : 9f09d2a0-c116-44f4-8fe7-a2ba464d9334 2026-02-13 09:58:24,634 - INFO - ================================================================================ 2026-02-13 09:58:24,634 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-13 09:58:24,634 - 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-13 09:58:24,893 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2026-02-13 09:58:24,893 - INFO - Initial checks done. Running the testcase now 2026-02-13 09:58:24,893 - INFO - 2026-02-13 09:58:25,607 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-97949780 2026-02-13 09:58:25,707 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-97949780 2026-02-13 09:58:26,035 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97949780', 'default']} 2026-02-13 09:58:26,351 - DEBUG - Response for create_network : {'network': {'id': '4416379e-49a0-43f7-a51d-1bfcfd44f4e9', 'name': 'ctest-vn-66023528', 'tenant_id': '9f09d2a0c11644f48fe7a2ba464d9334', 'project_id': '9f09d2a0c11644f48fe7a2ba464d9334', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97949780', 'ctest-vn-66023528'], 'port_security_enabled': True, 'description': ''}} 2026-02-13 09:58:26,523 - DEBUG - Response for create_subnet : {'subnet': {'id': '33a7bc39-a6a3-40a7-afe4-563322f76238', 'name': '', 'tenant_id': '9f09d2a0c11644f48fe7a2ba464d9334', 'network_id': '4416379e-49a0-43f7-a51d-1bfcfd44f4e9', 'ip_version': 4, 'cidr': '145.42.123.0/26', 'allocation_pools': [{'start': '145.42.123.2', 'end': '145.42.123.62'}], 'gateway_ip': '145.42.123.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.42.123.2', 'tags': [], 'project_id': '9f09d2a0c11644f48fe7a2ba464d9334'}} 2026-02-13 09:58:26,545 - INFO - Created VN ctest-vn-66023528 2026-02-13 09:58:26,599 - DEBUG - VN ctest-vn-66023528 UUID is 4416379e-49a0-43f7-a51d-1bfcfd44f4e9 2026-02-13 09:58:26,914 - DEBUG - Response for create_network : {'network': {'id': '7d1b9618-61ec-490f-b3cc-ca74c3f8b6bc', 'name': 'ctest-ext_vn-44292252', 'tenant_id': '9f09d2a0c11644f48fe7a2ba464d9334', 'project_id': '9f09d2a0c11644f48fe7a2ba464d9334', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97949780', 'ctest-ext_vn-44292252'], 'port_security_enabled': True, 'description': ''}} 2026-02-13 09:58:27,107 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a84cea77-1ca6-49f8-8664-f071e56412fe', 'name': '', 'tenant_id': '9f09d2a0c11644f48fe7a2ba464d9334', 'network_id': '7d1b9618-61ec-490f-b3cc-ca74c3f8b6bc', 'ip_version': 4, 'cidr': '144.104.61.0/26', 'allocation_pools': [{'start': '144.104.61.2', 'end': '144.104.61.62'}], 'gateway_ip': '144.104.61.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.104.61.2', 'tags': [], 'project_id': '9f09d2a0c11644f48fe7a2ba464d9334'}} 2026-02-13 09:58:27,126 - INFO - Created VN ctest-ext_vn-44292252 2026-02-13 09:58:27,179 - DEBUG - VN ctest-ext_vn-44292252 UUID is 7d1b9618-61ec-490f-b3cc-ca74c3f8b6bc 2026-02-13 09:58:27,346 - DEBUG - Services list from nova: [, , ] 2026-02-13 09:58:28,354 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5323-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5323-1) 2026-02-13 09:58:29,511 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5323-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5323-1) 2026-02-13 09:58:29,582 - INFO - Setting gateway for router dab70579-1a07-4c7e-afd5-1eee3342b2ef to network 7d1b9618-61ec-490f-b3cc-ca74c3f8b6bc 2026-02-13 09:58:29,645 - INFO - Adding interface with subnet_id 33a7bc39-a6a3-40a7-afe4-563322f76238, port_id None to router dab70579-1a07-4c7e-afd5-1eee3342b2ef 2026-02-13 09:58:30,138 - INFO - Waiting for VM ctest-TestRoutersBasic-97949780-51607917 to be up.. 2026-02-13 09:58:30,322 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-13 09:58:35,406 - DEBUG - VM is in ACTIVE state now 2026-02-13 09:58:35,406 - INFO - VM name : ctest-TestRoutersBasic-97949780-51607917 2026-02-13 09:58:35,491 - DEBUG - VM ctest-TestRoutersBasic-97949780-51607917 ID is cf8dfd0e-dd09-40e3-9ef5-a691fd53d29d 2026-02-13 09:58:35,511 - DEBUG - VM ctest-TestRoutersBasic-97949780-51607917 launched on Node cn-jenkins-deploy-platform-ansible-os-5323-1 2026-02-13 09:58:35,583 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/cf8dfd0e-dd09-40e3-9ef5-a691fd53d29d 2026-02-13 09:58:35,881 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/cf8dfd0e-dd09-40e3-9ef5-a691fd53d29d 2026-02-13 09:58:35,915 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/e1b8e568-eb23-4921-9c4c-0923ff738e15 2026-02-13 09:58:39,168 - 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 1014ms') 2026-02-13 09:58:39,168 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97949780-51607917 failed! 2026-02-13 09:58:39,223 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-97949780:ctest-vn-66023528 is 145.42.123.1 and allocation pool is NOT set 2026-02-13 09:58:41,286 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.21 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.205/3.619/5.033/1.414 ms') 2026-02-13 09:58:41,286 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97949780-51607917 passed 2026-02-13 09:58:41,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-13 09:58:41,435 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97949780-51607917, IP 145.42.123.3, Port 22 2026-02-13 09:58:41,490 - 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-02-13 09:58:41,570 - DEBUG - VM ctest-TestRoutersBasic-97949780-51607917 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-13 09:58:46,570 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-13 09:58:46,570 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97949780-51607917, IP 145.42.123.3, Port 22 2026-02-13 09:58:46,726 - DEBUG - VM ctest-TestRoutersBasic-97949780-51607917 is ready for SSH connections 2026-02-13 09:58:46,726 - INFO - Waiting for VM ctest-TestRoutersBasic-97949780-54419536 to be up.. 2026-02-13 09:58:46,803 - DEBUG - VM is in ACTIVE state now 2026-02-13 09:58:46,803 - INFO - VM name : ctest-TestRoutersBasic-97949780-54419536 2026-02-13 09:58:46,885 - DEBUG - VM ctest-TestRoutersBasic-97949780-54419536 ID is 3e4b3ef8-e88f-499d-88b4-496ce6190624 2026-02-13 09:58:46,886 - DEBUG - VM ctest-TestRoutersBasic-97949780-54419536 launched on Node cn-jenkins-deploy-platform-ansible-os-5323-1 2026-02-13 09:58:46,960 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/3e4b3ef8-e88f-499d-88b4-496ce6190624 2026-02-13 09:58:46,968 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/150ac39c-b964-4392-9de3-1eed52289b99 2026-02-13 09:58:48,199 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.351 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.351/1.633/2.915/1.282 ms') 2026-02-13 09:58:48,199 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-97949780-54419536 passed 2026-02-13 09:58:48,347 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-13 09:58:48,347 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97949780-54419536, IP 144.104.61.3, Port 22 2026-02-13 09:58:48,513 - DEBUG - VM ctest-TestRoutersBasic-97949780-54419536 is ready for SSH connections 2026-02-13 09:58:48,513 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-13 09:58:48,513 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.104.61.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-02-13 09:58:48,514 - DEBUG - ping -s 56 -c 3 -W 1 144.104.61.3 2026-02-13 09:58:52,187 - DEBUG - PING 144.104.61.3 (144.104.61.3): 56 data bytes 64 bytes from 144.104.61.3: seq=0 ttl=62 time=5.534 ms 64 bytes from 144.104.61.3: seq=1 ttl=62 time=0.898 ms 64 bytes from 144.104.61.3: seq=2 ttl=62 time=0.902 ms --- 144.104.61.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.898/2.444/5.534 ms 2026-02-13 09:58:52,187 - INFO - Ping to IP 144.104.61.3 from VM ctest-TestRoutersBasic-97949780-51607917 passed 2026-02-13 09:58:52,187 - INFO - Deleting interface with subnet_id 33a7bc39-a6a3-40a7-afe4-563322f76238, port_id None from router dab70579-1a07-4c7e-afd5-1eee3342b2ef 2026-02-13 09:58:52,392 - INFO - Deleting VM ctest-TestRoutersBasic-97949780-54419536 2026-02-13 09:58:52,472 - INFO - Deleting VM ctest-TestRoutersBasic-97949780-51607917 2026-02-13 09:58:52,589 - INFO - Deleting VN ctest-ext_vn-44292252 2026-02-13 09:58:52,659 - DEBUG - VN 7d1b9618-61ec-490f-b3cc-ca74c3f8b6bc still in use: Unable to complete operation on network 7d1b9618-61ec-490f-b3cc-ca74c3f8b6bc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a8f10038-b235-47c7-a323-8d0632546752'] 2026-02-13 09:58:52,659 - WARNING - Deleting VN ctest-ext_vn-44292252 failed..Will retry 2026-02-13 09:58:54,778 - DEBUG - Response for deleting network () 2026-02-13 09:58:54,779 - INFO - Deleting VN ctest-vn-66023528 2026-02-13 09:58:54,883 - DEBUG - Response for deleting network () 2026-02-13 09:58:55,136 - DEBUG - No XMPP flaps were noticed during the test 2026-02-13 09:58:55,136 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31] 2026-02-13 09:58:55,136 - INFO - -------------------------------------------------------------------------------- 2026-02-13 09:58:55,822 - INFO - Deleted project: ctest-TestRoutersBasic-97949780, ID : 9f09d2a0-c116-44f4-8fe7-a2ba464d9334