2026-08-25 20:35:06,866 - INFO - Domain Default found not creating 2026-08-25 20:35:07,084 - INFO - Project ctest-TestRoutersBasic-51046960 not found, creating it 2026-08-25 20:35:07,650 - INFO - Created Project:ctest-TestRoutersBasic-51046960, ID : 23df1ad7-02dd-4e3c-a73b-7dcf9728cea2 2026-08-25 20:35:09,456 - INFO - ================================================================================ 2026-08-25 20:35:09,456 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-25 20:35:09,456 - 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-08-25 20:35:09,733 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-08-25 20:35:09,733 - INFO - Initial checks done. Running the testcase now 2026-08-25 20:35:09,733 - INFO - 2026-08-25 20:35:10,616 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-51046960 2026-08-25 20:35:10,717 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-51046960 2026-08-25 20:35:11,045 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51046960', 'default']} 2026-08-25 20:35:11,357 - DEBUG - Response for create_network : {'network': {'id': 'a45bd45e-2492-4a33-bc47-eefe321f2045', 'name': 'ctest-vn-00754252', 'tenant_id': '23df1ad702dd4e3ca73b7dcf9728cea2', 'project_id': '23df1ad702dd4e3ca73b7dcf9728cea2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51046960', 'ctest-vn-00754252'], 'port_security_enabled': True, 'description': ''}} 2026-08-25 20:35:11,611 - DEBUG - Response for create_subnet : {'subnet': {'id': '23e8f914-c6d3-4ee7-adbb-5bf5da90c15e', 'name': '', 'tenant_id': '23df1ad702dd4e3ca73b7dcf9728cea2', 'network_id': 'a45bd45e-2492-4a33-bc47-eefe321f2045', 'ip_version': 4, 'cidr': '132.103.176.64/26', 'allocation_pools': [{'start': '132.103.176.66', 'end': '132.103.176.126'}], 'gateway_ip': '132.103.176.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.103.176.66', 'tags': [], 'project_id': '23df1ad702dd4e3ca73b7dcf9728cea2'}} 2026-08-25 20:35:11,633 - INFO - Created VN ctest-vn-00754252 2026-08-25 20:35:11,689 - DEBUG - VN ctest-vn-00754252 UUID is a45bd45e-2492-4a33-bc47-eefe321f2045 2026-08-25 20:35:12,082 - DEBUG - Response for create_network : {'network': {'id': 'd8be9cf4-9057-468e-b494-528e315fcecc', 'name': 'ctest-ext_vn-46948352', 'tenant_id': '23df1ad702dd4e3ca73b7dcf9728cea2', 'project_id': '23df1ad702dd4e3ca73b7dcf9728cea2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51046960', 'ctest-ext_vn-46948352'], 'port_security_enabled': True, 'description': ''}} 2026-08-25 20:35:12,272 - DEBUG - Response for create_subnet : {'subnet': {'id': '4041255a-d8ea-4e7b-ac82-7545639c8270', 'name': '', 'tenant_id': '23df1ad702dd4e3ca73b7dcf9728cea2', 'network_id': 'd8be9cf4-9057-468e-b494-528e315fcecc', 'ip_version': 4, 'cidr': '57.33.236.0/26', 'allocation_pools': [{'start': '57.33.236.2', 'end': '57.33.236.62'}], 'gateway_ip': '57.33.236.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.33.236.2', 'tags': [], 'project_id': '23df1ad702dd4e3ca73b7dcf9728cea2'}} 2026-08-25 20:35:12,290 - INFO - Created VN ctest-ext_vn-46948352 2026-08-25 20:35:12,345 - DEBUG - VN ctest-ext_vn-46948352 UUID is d8be9cf4-9057-468e-b494-528e315fcecc 2026-08-25 20:35:12,529 - DEBUG - Services list from nova: [, , ] 2026-08-25 20:35:12,902 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6227-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6227-1) 2026-08-25 20:35:13,363 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6227-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6227-1) 2026-08-25 20:35:13,453 - INFO - Setting gateway for router d9b09385-403a-4ae2-a9cb-3979e4674c27 to network d8be9cf4-9057-468e-b494-528e315fcecc 2026-08-25 20:35:13,550 - INFO - Adding interface with subnet_id 23e8f914-c6d3-4ee7-adbb-5bf5da90c15e, port_id None to router d9b09385-403a-4ae2-a9cb-3979e4674c27 2026-08-25 20:35:13,876 - INFO - Waiting for VM ctest-TestRoutersBasic-51046960-04145950 to be up.. 2026-08-25 20:35:13,966 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 20:35:19,131 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 20:35:24,224 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 20:35:29,314 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 20:35:34,409 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 20:35:39,502 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 20:35:44,602 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 20:35:49,691 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 20:35:54,785 - DEBUG - VM is in ACTIVE state now 2026-08-25 20:35:54,785 - INFO - VM name : ctest-TestRoutersBasic-51046960-04145950 2026-08-25 20:35:54,879 - DEBUG - VM ctest-TestRoutersBasic-51046960-04145950 ID is 8672fdf8-082f-47c0-8279-56f13d05859a 2026-08-25 20:35:54,910 - DEBUG - VM ctest-TestRoutersBasic-51046960-04145950 launched on Node cn-jenkins-deploy-platform-ansible-os-6227-1 2026-08-25 20:35:55,003 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/8672fdf8-082f-47c0-8279-56f13d05859a 2026-08-25 20:35:55,386 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/8672fdf8-082f-47c0-8279-56f13d05859a 2026-08-25 20:35:55,424 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/77dbaacf-3493-46b8-9706-0c22a8c232e6 2026-08-25 20:35:58,703 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2026-08-25 20:35:58,703 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-51046960-04145950 failed! 2026-08-25 20:35:58,757 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-51046960:ctest-vn-00754252 is 132.103.176.65 and allocation pool is NOT set 2026-08-25 20:36:00,824 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=3.69 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.599 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.599/2.144/3.690/1.545 ms') 2026-08-25 20:36:00,825 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-51046960-04145950 passed 2026-08-25 20:36:00,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 20:36:00,985 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51046960-04145950, IP 132.103.176.67, Port 22 2026-08-25 20:36:01,156 - DEBUG - VM ctest-TestRoutersBasic-51046960-04145950 is ready for SSH connections 2026-08-25 20:36:01,157 - INFO - Waiting for VM ctest-TestRoutersBasic-51046960-92755256 to be up.. 2026-08-25 20:36:01,263 - DEBUG - VM is in ACTIVE state now 2026-08-25 20:36:01,263 - INFO - VM name : ctest-TestRoutersBasic-51046960-92755256 2026-08-25 20:36:01,370 - DEBUG - VM ctest-TestRoutersBasic-51046960-92755256 ID is a8394829-c506-4515-8f1f-7bee109eefeb 2026-08-25 20:36:01,370 - DEBUG - VM ctest-TestRoutersBasic-51046960-92755256 launched on Node cn-jenkins-deploy-platform-ansible-os-6227-1 2026-08-25 20:36:01,479 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a8394829-c506-4515-8f1f-7bee109eefeb 2026-08-25 20:36:01,495 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/96fc6b75-e0d0-4c57-bb08-f2163bd5068b 2026-08-25 20:36:02,762 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=7.12 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.831 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.831/3.977/7.123/3.146 ms') 2026-08-25 20:36:02,762 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-51046960-92755256 passed 2026-08-25 20:36:02,913 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 20:36:02,913 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51046960-92755256, IP 57.33.236.4, Port 22 2026-08-25 20:36:02,980 - DEBUG - Error on ssh to cirros@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-08-25 20:36:03,067 - DEBUG - VM ctest-TestRoutersBasic-51046960-92755256 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-25 20:36:08,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 20:36:08,068 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51046960-92755256, IP 57.33.236.4, Port 22 2026-08-25 20:36:08,239 - DEBUG - VM ctest-TestRoutersBasic-51046960-92755256 is ready for SSH connections 2026-08-25 20:36:08,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 20:36:08,239 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.33.236.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-08-25 20:36:08,240 - DEBUG - ping -s 56 -c 3 -W 1 57.33.236.4 2026-08-25 20:36:11,457 - DEBUG - PING 57.33.236.4 (57.33.236.4): 56 data bytes 64 bytes from 57.33.236.4: seq=0 ttl=62 time=6.442 ms 64 bytes from 57.33.236.4: seq=1 ttl=62 time=1.382 ms 64 bytes from 57.33.236.4: seq=2 ttl=62 time=1.077 ms --- 57.33.236.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.077/2.967/6.442 ms 2026-08-25 20:36:11,457 - INFO - Ping to IP 57.33.236.4 from VM ctest-TestRoutersBasic-51046960-04145950 passed 2026-08-25 20:36:11,457 - INFO - Deleting interface with subnet_id 23e8f914-c6d3-4ee7-adbb-5bf5da90c15e, port_id None from router d9b09385-403a-4ae2-a9cb-3979e4674c27 2026-08-25 20:36:11,681 - INFO - Deleting VM ctest-TestRoutersBasic-51046960-92755256 2026-08-25 20:36:11,770 - INFO - Deleting VM ctest-TestRoutersBasic-51046960-04145950 2026-08-25 20:36:11,861 - INFO - Deleting VN ctest-ext_vn-46948352 2026-08-25 20:36:11,969 - DEBUG - VN d8be9cf4-9057-468e-b494-528e315fcecc still in use: Unable to complete operation on network d8be9cf4-9057-468e-b494-528e315fcecc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-003f7c0d-a8f2-4a3f-a7e6-660856f56500'] 2026-08-25 20:36:11,969 - WARNING - Deleting VN ctest-ext_vn-46948352 failed..Will retry 2026-08-25 20:36:14,147 - DEBUG - Response for deleting network () 2026-08-25 20:36:14,147 - INFO - Deleting VN ctest-vn-00754252 2026-08-25 20:36:14,294 - DEBUG - Response for deleting network () 2026-08-25 20:36:14,570 - DEBUG - No XMPP flaps were noticed during the test
2026-08-25 20:36:14,570 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:05]
2026-08-25 20:36:14,570 - INFO - -------------------------------------------------------------------------------- 2026-08-25 20:36:15,419 - INFO - Deleted project: ctest-TestRoutersBasic-51046960, ID : 23df1ad7-02dd-4e3c-a73b-7dcf9728cea2