2026-08-17 12:54:08,557 - INFO - Domain Default found not creating 2026-08-17 12:54:08,752 - INFO - Project ctest-TestRoutersBasic-13198493 not found, creating it 2026-08-17 12:54:09,252 - INFO - Created Project:ctest-TestRoutersBasic-13198493, ID : ec377d3f-5f5e-4c36-8c91-b62b83abd70b 2026-08-17 12:54:11,062 - INFO - ================================================================================ 2026-08-17 12:54:11,062 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-17 12:54:11,062 - 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-17 12:54:11,345 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2026-08-17 12:54:11,345 - INFO - Initial checks done. Running the testcase now 2026-08-17 12:54:11,345 - INFO - 2026-08-17 12:54:12,259 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-13198493 2026-08-17 12:54:12,355 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-13198493 2026-08-17 12:54:12,688 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13198493', 'default']} 2026-08-17 12:54:12,985 - DEBUG - Response for create_network : {'network': {'id': '1826bd6b-d1e4-42bf-a27f-1b5001ce413e', 'name': 'ctest-vn-43494229', 'tenant_id': 'ec377d3f5f5e4c368c91b62b83abd70b', 'project_id': 'ec377d3f5f5e4c368c91b62b83abd70b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13198493', 'ctest-vn-43494229'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 12:54:13,160 - DEBUG - Response for create_subnet : {'subnet': {'id': '064bb774-2656-48b4-9f1e-db0066608955', 'name': '', 'tenant_id': 'ec377d3f5f5e4c368c91b62b83abd70b', 'network_id': '1826bd6b-d1e4-42bf-a27f-1b5001ce413e', 'ip_version': 4, 'cidr': '56.242.35.128/26', 'allocation_pools': [{'start': '56.242.35.130', 'end': '56.242.35.190'}], 'gateway_ip': '56.242.35.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.242.35.130', 'tags': [], 'project_id': 'ec377d3f5f5e4c368c91b62b83abd70b'}} 2026-08-17 12:54:13,180 - INFO - Created VN ctest-vn-43494229 2026-08-17 12:54:13,231 - DEBUG - VN ctest-vn-43494229 UUID is 1826bd6b-d1e4-42bf-a27f-1b5001ce413e 2026-08-17 12:54:13,597 - DEBUG - Response for create_network : {'network': {'id': '57b577c4-3f16-4749-b75e-531af48ede46', 'name': 'ctest-ext_vn-53552900', 'tenant_id': 'ec377d3f5f5e4c368c91b62b83abd70b', 'project_id': 'ec377d3f5f5e4c368c91b62b83abd70b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13198493', 'ctest-ext_vn-53552900'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 12:54:13,775 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee685715-6fda-47ba-980f-038795d2a82b', 'name': '', 'tenant_id': 'ec377d3f5f5e4c368c91b62b83abd70b', 'network_id': '57b577c4-3f16-4749-b75e-531af48ede46', 'ip_version': 4, 'cidr': '70.183.133.64/26', 'allocation_pools': [{'start': '70.183.133.66', 'end': '70.183.133.126'}], 'gateway_ip': '70.183.133.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.183.133.66', 'tags': [], 'project_id': 'ec377d3f5f5e4c368c91b62b83abd70b'}} 2026-08-17 12:54:13,794 - INFO - Created VN ctest-ext_vn-53552900 2026-08-17 12:54:13,847 - DEBUG - VN ctest-ext_vn-53552900 UUID is 57b577c4-3f16-4749-b75e-531af48ede46 2026-08-17 12:54:14,054 - DEBUG - Services list from nova: [, , ] 2026-08-17 12:54:14,393 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6172-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6172-1) 2026-08-17 12:54:14,788 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6172-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6172-1) 2026-08-17 12:54:14,859 - INFO - Setting gateway for router 675ccce2-00fe-422b-accb-8739e07a91f5 to network 57b577c4-3f16-4749-b75e-531af48ede46 2026-08-17 12:54:14,937 - INFO - Adding interface with subnet_id 064bb774-2656-48b4-9f1e-db0066608955, port_id None to router 675ccce2-00fe-422b-accb-8739e07a91f5 2026-08-17 12:54:15,228 - INFO - Waiting for VM ctest-TestRoutersBasic-13198493-76151195 to be up.. 2026-08-17 12:54:15,294 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 12:54:20,377 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 12:54:25,454 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 12:54:30,536 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 12:54:35,685 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 12:54:40,757 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 12:54:45,837 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 12:54:50,951 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 12:54:56,057 - DEBUG - VM is in ACTIVE state now 2026-08-17 12:54:56,058 - INFO - VM name : ctest-TestRoutersBasic-13198493-76151195 2026-08-17 12:54:56,141 - DEBUG - VM ctest-TestRoutersBasic-13198493-76151195 ID is c2caaeee-5586-4d0f-8bfb-69d9475e4343 2026-08-17 12:54:56,166 - DEBUG - VM ctest-TestRoutersBasic-13198493-76151195 launched on Node cn-jenkins-deploy-platform-ansible-os-6172-1 2026-08-17 12:54:56,249 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/c2caaeee-5586-4d0f-8bfb-69d9475e4343 2026-08-17 12:54:56,676 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/c2caaeee-5586-4d0f-8bfb-69d9475e4343 2026-08-17 12:54:56,714 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/06ed2927-7117-4bae-9945-48e8920a6b7d 2026-08-17 12:54:59,979 - 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 1012ms') 2026-08-17 12:54:59,980 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-13198493-76151195 failed! 2026-08-17 12:55:00,035 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-13198493:ctest-vn-43494229 is 56.242.35.129 and allocation pool is NOT set 2026-08-17 12:55:02,100 - 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.60 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.472 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.472/2.033/3.595/1.561 ms') 2026-08-17 12:55:02,100 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-13198493-76151195 passed 2026-08-17 12:55:02,251 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 12:55:02,251 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13198493-76151195, IP 56.242.35.131, Port 22 2026-08-17 12:55:02,422 - DEBUG - VM ctest-TestRoutersBasic-13198493-76151195 is ready for SSH connections 2026-08-17 12:55:02,422 - INFO - Waiting for VM ctest-TestRoutersBasic-13198493-36233866 to be up.. 2026-08-17 12:55:02,503 - DEBUG - VM is in ACTIVE state now 2026-08-17 12:55:02,503 - INFO - VM name : ctest-TestRoutersBasic-13198493-36233866 2026-08-17 12:55:02,594 - DEBUG - VM ctest-TestRoutersBasic-13198493-36233866 ID is 29e5cf5a-0084-4d2d-b3e1-5725f87db35c 2026-08-17 12:55:02,594 - DEBUG - VM ctest-TestRoutersBasic-13198493-36233866 launched on Node cn-jenkins-deploy-platform-ansible-os-6172-1 2026-08-17 12:55:02,675 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/29e5cf5a-0084-4d2d-b3e1-5725f87db35c 2026-08-17 12:55:02,685 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/04f366a0-f9e8-44d9-b021-e54a014e1b31 2026-08-17 12:55:03,942 - 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=4.76 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=4.18 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 = 4.177/4.466/4.755/0.289 ms') 2026-08-17 12:55:03,942 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-13198493-36233866 passed 2026-08-17 12:55:04,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 12:55:04,096 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13198493-36233866, IP 70.183.133.68, Port 22 2026-08-17 12:55:04,162 - 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-17 12:55:04,240 - DEBUG - VM ctest-TestRoutersBasic-13198493-36233866 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-17 12:55:09,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 12:55:09,241 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13198493-36233866, IP 70.183.133.68, Port 22 2026-08-17 12:55:09,410 - DEBUG - VM ctest-TestRoutersBasic-13198493-36233866 is ready for SSH connections 2026-08-17 12:55:09,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 12:55:09,410 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.183.133.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-08-17 12:55:09,410 - DEBUG - ping -s 56 -c 3 -W 1 70.183.133.68 2026-08-17 12:55:12,412 - DEBUG - PING 70.183.133.68 (70.183.133.68): 56 data bytes 64 bytes from 70.183.133.68: seq=0 ttl=62 time=9.042 ms 64 bytes from 70.183.133.68: seq=1 ttl=62 time=1.068 ms 64 bytes from 70.183.133.68: seq=2 ttl=62 time=1.071 ms --- 70.183.133.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.068/3.727/9.042 ms 2026-08-17 12:55:12,412 - INFO - Ping to IP 70.183.133.68 from VM ctest-TestRoutersBasic-13198493-76151195 passed 2026-08-17 12:55:12,412 - INFO - Deleting interface with subnet_id 064bb774-2656-48b4-9f1e-db0066608955, port_id None from router 675ccce2-00fe-422b-accb-8739e07a91f5 2026-08-17 12:55:12,616 - INFO - Deleting VM ctest-TestRoutersBasic-13198493-36233866 2026-08-17 12:55:12,709 - INFO - Deleting VM ctest-TestRoutersBasic-13198493-76151195 2026-08-17 12:55:12,784 - INFO - Deleting VN ctest-ext_vn-53552900 2026-08-17 12:55:12,860 - DEBUG - VN 57b577c4-3f16-4749-b75e-531af48ede46 still in use: Unable to complete operation on network 57b577c4-3f16-4749-b75e-531af48ede46. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fb8472da-8773-42d6-b984-7103ab451343'] 2026-08-17 12:55:12,860 - WARNING - Deleting VN ctest-ext_vn-53552900 failed..Will retry 2026-08-17 12:55:15,002 - DEBUG - Response for deleting network () 2026-08-17 12:55:15,002 - INFO - Deleting VN ctest-vn-43494229 2026-08-17 12:55:15,102 - DEBUG - Response for deleting network () 2026-08-17 12:55:15,361 - DEBUG - No XMPP flaps were noticed during the test
2026-08-17 12:55:15,361 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:04]
2026-08-17 12:55:15,362 - INFO - -------------------------------------------------------------------------------- 2026-08-17 12:55:16,145 - INFO - Deleted project: ctest-TestRoutersBasic-13198493, ID : ec377d3f-5f5e-4c36-8c91-b62b83abd70b