2026-10-30 01:29:49,901 - INFO - Domain Default found not creating 2026-10-30 01:29:50,031 - INFO - Project ctest-TestRoutersBasic-01125365 not found, creating it 2026-10-30 01:29:50,450 - INFO - Created Project:ctest-TestRoutersBasic-01125365, ID : bc4f093f-5c53-40e0-950b-11b2b6c0bcc7 2026-10-30 01:29:51,876 - INFO - ================================================================================ 2026-10-30 01:29:51,877 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-30 01:29:51,877 - 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-10-30 01:29:52,131 - DEBUG - Nothing to compare xmpp stats {'10.0.0.248': {'10.20.0.17': '0'}} with 2026-10-30 01:29:52,131 - INFO - Initial checks done. Running the testcase now 2026-10-30 01:29:52,131 - INFO - 2026-10-30 01:29:52,856 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-01125365 2026-10-30 01:29:52,955 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-01125365 2026-10-30 01:29:53,275 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01125365', 'default']} 2026-10-30 01:29:53,529 - DEBUG - Response for create_network : {'network': {'id': '4323f0d3-73fe-464e-9395-09eef66ecae1', 'name': 'ctest-vn-00621831', 'tenant_id': 'bc4f093f5c5340e0950b11b2b6c0bcc7', 'project_id': 'bc4f093f5c5340e0950b11b2b6c0bcc7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01125365', 'ctest-vn-00621831'], 'port_security_enabled': True, 'description': ''}} 2026-10-30 01:29:53,723 - DEBUG - Response for create_subnet : {'subnet': {'id': '10911f93-cf7b-4f60-ac74-690d3937f3e0', 'name': '', 'tenant_id': 'bc4f093f5c5340e0950b11b2b6c0bcc7', 'network_id': '4323f0d3-73fe-464e-9395-09eef66ecae1', 'ip_version': 4, 'cidr': '215.199.18.0/26', 'allocation_pools': [{'start': '215.199.18.2', 'end': '215.199.18.62'}], 'gateway_ip': '215.199.18.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.199.18.2', 'tags': [], 'project_id': 'bc4f093f5c5340e0950b11b2b6c0bcc7'}} 2026-10-30 01:29:53,735 - INFO - Created VN ctest-vn-00621831 2026-10-30 01:29:53,787 - DEBUG - VN ctest-vn-00621831 UUID is 4323f0d3-73fe-464e-9395-09eef66ecae1 2026-10-30 01:29:54,095 - DEBUG - Response for create_network : {'network': {'id': 'dacd693b-32b4-49e2-bd0d-9972dfd7671b', 'name': 'ctest-ext_vn-02616478', 'tenant_id': 'bc4f093f5c5340e0950b11b2b6c0bcc7', 'project_id': 'bc4f093f5c5340e0950b11b2b6c0bcc7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01125365', 'ctest-ext_vn-02616478'], 'port_security_enabled': True, 'description': ''}} 2026-10-30 01:29:54,302 - DEBUG - Response for create_subnet : {'subnet': {'id': '90efc64f-5832-4aba-a3e0-f90b6f6d59ac', 'name': '', 'tenant_id': 'bc4f093f5c5340e0950b11b2b6c0bcc7', 'network_id': 'dacd693b-32b4-49e2-bd0d-9972dfd7671b', 'ip_version': 4, 'cidr': '133.113.184.192/26', 'allocation_pools': [{'start': '133.113.184.194', 'end': '133.113.184.254'}], 'gateway_ip': '133.113.184.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.113.184.194', 'tags': [], 'project_id': 'bc4f093f5c5340e0950b11b2b6c0bcc7'}} 2026-10-30 01:29:54,313 - INFO - Created VN ctest-ext_vn-02616478 2026-10-30 01:29:54,367 - DEBUG - VN ctest-ext_vn-02616478 UUID is dacd693b-32b4-49e2-bd0d-9972dfd7671b 2026-10-30 01:29:54,540 - DEBUG - Services list from nova: [, , ] 2026-10-30 01:29:54,813 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6447-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6447-1) 2026-10-30 01:29:55,119 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6447-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6447-1) 2026-10-30 01:29:55,177 - INFO - Setting gateway for router 609a2a17-bde1-4056-b71b-fa013b594975 to network dacd693b-32b4-49e2-bd0d-9972dfd7671b 2026-10-30 01:29:55,218 - INFO - Adding interface with subnet_id 10911f93-cf7b-4f60-ac74-690d3937f3e0, port_id None to router 609a2a17-bde1-4056-b71b-fa013b594975 2026-10-30 01:29:55,466 - INFO - Waiting for VM ctest-TestRoutersBasic-01125365-74293105 to be up.. 2026-10-30 01:29:55,505 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 01:30:00,576 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 01:30:05,640 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 01:30:10,706 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 01:30:15,778 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 01:30:20,838 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 01:30:25,952 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 01:30:31,020 - DEBUG - VM is in ACTIVE state now 2026-10-30 01:30:31,020 - INFO - VM name : ctest-TestRoutersBasic-01125365-74293105 2026-10-30 01:30:31,074 - DEBUG - VM ctest-TestRoutersBasic-01125365-74293105 ID is c8462c90-f80c-4ae3-ae49-b93b293a650d 2026-10-30 01:30:31,089 - DEBUG - VM ctest-TestRoutersBasic-01125365-74293105 launched on Node cn-jenkins-deploy-platform-ansible-os-6447-1 2026-10-30 01:30:31,143 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/c8462c90-f80c-4ae3-ae49-b93b293a650d 2026-10-30 01:30:31,465 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/c8462c90-f80c-4ae3-ae49-b93b293a650d 2026-10-30 01:30:31,489 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine-interface/b7c17459-3c0b-4307-b340-5aca65a19efb 2026-10-30 01:30:34,751 - 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 1031ms') 2026-10-30 01:30:34,751 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-01125365-74293105 failed! 2026-10-30 01:30:34,811 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-01125365:ctest-vn-00621831 is 215.199.18.1 and allocation pool is NOT set 2026-10-30 01:30:36,877 - 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=4.04 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.863 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.863/2.449/4.035/1.586 ms') 2026-10-30 01:30:36,877 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-01125365-74293105 passed 2026-10-30 01:30:37,023 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-30 01:30:37,023 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01125365-74293105, IP 215.199.18.3, Port 22 2026-10-30 01:30:37,178 - DEBUG - VM ctest-TestRoutersBasic-01125365-74293105 is ready for SSH connections 2026-10-30 01:30:37,178 - INFO - Waiting for VM ctest-TestRoutersBasic-01125365-49165710 to be up.. 2026-10-30 01:30:37,248 - DEBUG - VM is in ACTIVE state now 2026-10-30 01:30:37,248 - INFO - VM name : ctest-TestRoutersBasic-01125365-49165710 2026-10-30 01:30:37,315 - DEBUG - VM ctest-TestRoutersBasic-01125365-49165710 ID is e3f02163-8b36-4f05-95a7-10dead74e3a4 2026-10-30 01:30:37,315 - DEBUG - VM ctest-TestRoutersBasic-01125365-49165710 launched on Node cn-jenkins-deploy-platform-ansible-os-6447-1 2026-10-30 01:30:37,384 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/e3f02163-8b36-4f05-95a7-10dead74e3a4 2026-10-30 01:30:37,392 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine-interface/c3a24528-9738-4d3d-8d4c-339cb8d539e3 2026-10-30 01:30:38,627 - 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=3.96 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=1.07 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 = 1.071/2.515/3.959/1.444 ms') 2026-10-30 01:30:38,627 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-01125365-49165710 passed 2026-10-30 01:30:38,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-30 01:30:38,775 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01125365-49165710, IP 133.113.184.196, Port 22 2026-10-30 01:30:38,844 - 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-10-30 01:30:38,905 - DEBUG - VM ctest-TestRoutersBasic-01125365-49165710 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-30 01:30:43,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-30 01:30:43,906 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01125365-49165710, IP 133.113.184.196, Port 22 2026-10-30 01:30:44,062 - DEBUG - VM ctest-TestRoutersBasic-01125365-49165710 is ready for SSH connections 2026-10-30 01:30:44,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-30 01:30:44,062 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.113.184.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.248, gateway password: c0ntrail123 2026-10-30 01:30:44,062 - DEBUG - ping -s 56 -c 3 -W 1 133.113.184.196 2026-10-30 01:30:46,935 - DEBUG - PING 133.113.184.196 (133.113.184.196): 56 data bytes 64 bytes from 133.113.184.196: seq=0 ttl=62 time=5.624 ms 64 bytes from 133.113.184.196: seq=1 ttl=62 time=0.828 ms 64 bytes from 133.113.184.196: seq=2 ttl=62 time=1.004 ms --- 133.113.184.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.828/2.485/5.624 ms 2026-10-30 01:30:46,935 - INFO - Ping to IP 133.113.184.196 from VM ctest-TestRoutersBasic-01125365-74293105 passed 2026-10-30 01:30:46,935 - INFO - Deleting interface with subnet_id 10911f93-cf7b-4f60-ac74-690d3937f3e0, port_id None from router 609a2a17-bde1-4056-b71b-fa013b594975 2026-10-30 01:30:47,163 - INFO - Deleting VM ctest-TestRoutersBasic-01125365-49165710 2026-10-30 01:30:47,227 - INFO - Deleting VM ctest-TestRoutersBasic-01125365-74293105 2026-10-30 01:30:47,283 - INFO - Deleting VN ctest-ext_vn-02616478 2026-10-30 01:30:47,334 - DEBUG - VN dacd693b-32b4-49e2-bd0d-9972dfd7671b still in use: Unable to complete operation on network dacd693b-32b4-49e2-bd0d-9972dfd7671b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c1250470-54d8-4f32-a0ce-54d9e3dc979b'] 2026-10-30 01:30:47,334 - WARNING - Deleting VN ctest-ext_vn-02616478 failed..Will retry 2026-10-30 01:30:49,365 - DEBUG - VN dacd693b-32b4-49e2-bd0d-9972dfd7671b still in use: Unable to complete operation on network dacd693b-32b4-49e2-bd0d-9972dfd7671b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5796f7f6-d302-4a3a-a87a-aed03732f172'] 2026-10-30 01:30:49,365 - WARNING - Deleting VN ctest-ext_vn-02616478 failed..Will retry 2026-10-30 01:30:51,457 - DEBUG - Response for deleting network () 2026-10-30 01:30:51,457 - INFO - Deleting VN ctest-vn-00621831 2026-10-30 01:30:51,538 - DEBUG - Response for deleting network () 2026-10-30 01:30:51,799 - DEBUG - No XMPP flaps were noticed during the test
2026-10-30 01:30:51,799 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:00]
2026-10-30 01:30:51,799 - INFO - -------------------------------------------------------------------------------- 2026-10-30 01:30:52,498 - INFO - Deleted project: ctest-TestRoutersBasic-01125365, ID : bc4f093f-5c53-40e0-950b-11b2b6c0bcc7