2026-10-27 17:01:46,127 - INFO - Domain Default found not creating 2026-10-27 17:01:46,371 - INFO - Project ctest-TestRoutersBasic-22315630 not found, creating it 2026-10-27 17:01:46,951 - INFO - Created Project:ctest-TestRoutersBasic-22315630, ID : 2de53459-d636-4ad9-99da-61bf4f8f034a 2026-10-27 17:01:49,470 - INFO - ================================================================================ 2026-10-27 17:01:49,470 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-27 17:01:49,470 - 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-27 17:01:49,751 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-10-27 17:01:49,751 - INFO - Initial checks done. Running the testcase now 2026-10-27 17:01:49,751 - INFO - 2026-10-27 17:01:50,671 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-22315630 2026-10-27 17:01:50,769 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-22315630 2026-10-27 17:01:51,109 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22315630', 'default']} 2026-10-27 17:01:51,455 - DEBUG - Response for create_network : {'network': {'id': '2ef505da-9d2a-4ed9-b94a-37084e6253b7', 'name': 'ctest-vn-62579741', 'tenant_id': '2de53459d6364ad999da61bf4f8f034a', 'project_id': '2de53459d6364ad999da61bf4f8f034a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22315630', 'ctest-vn-62579741'], 'port_security_enabled': True, 'description': ''}} 2026-10-27 17:01:51,700 - DEBUG - Response for create_subnet : {'subnet': {'id': '340f22ef-e7aa-4c60-917f-7da1435622c0', 'name': '', 'tenant_id': '2de53459d6364ad999da61bf4f8f034a', 'network_id': '2ef505da-9d2a-4ed9-b94a-37084e6253b7', 'ip_version': 4, 'cidr': '47.95.21.192/26', 'allocation_pools': [{'start': '47.95.21.194', 'end': '47.95.21.254'}], 'gateway_ip': '47.95.21.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.95.21.194', 'tags': [], 'project_id': '2de53459d6364ad999da61bf4f8f034a'}} 2026-10-27 17:01:51,722 - INFO - Created VN ctest-vn-62579741 2026-10-27 17:01:51,778 - DEBUG - VN ctest-vn-62579741 UUID is 2ef505da-9d2a-4ed9-b94a-37084e6253b7 2026-10-27 17:01:52,152 - DEBUG - Response for create_network : {'network': {'id': 'c0e746f0-7ce0-4039-a1d7-eeb077b8f030', 'name': 'ctest-ext_vn-08146609', 'tenant_id': '2de53459d6364ad999da61bf4f8f034a', 'project_id': '2de53459d6364ad999da61bf4f8f034a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22315630', 'ctest-ext_vn-08146609'], 'port_security_enabled': True, 'description': ''}} 2026-10-27 17:01:52,340 - DEBUG - Response for create_subnet : {'subnet': {'id': '65ab8db2-e53a-475a-842d-68fb75cc5e4e', 'name': '', 'tenant_id': '2de53459d6364ad999da61bf4f8f034a', 'network_id': 'c0e746f0-7ce0-4039-a1d7-eeb077b8f030', 'ip_version': 4, 'cidr': '161.42.17.64/26', 'allocation_pools': [{'start': '161.42.17.66', 'end': '161.42.17.126'}], 'gateway_ip': '161.42.17.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.42.17.66', 'tags': [], 'project_id': '2de53459d6364ad999da61bf4f8f034a'}} 2026-10-27 17:01:52,359 - INFO - Created VN ctest-ext_vn-08146609 2026-10-27 17:01:52,417 - DEBUG - VN ctest-ext_vn-08146609 UUID is c0e746f0-7ce0-4039-a1d7-eeb077b8f030 2026-10-27 17:01:52,610 - DEBUG - Services list from nova: [, , ] 2026-10-27 17:01:53,070 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6420-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6420-1) 2026-10-27 17:01:53,623 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6420-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6420-1) 2026-10-27 17:01:53,714 - INFO - Setting gateway for router 962948bf-13ec-4cca-bd61-cae4699c1f2c to network c0e746f0-7ce0-4039-a1d7-eeb077b8f030 2026-10-27 17:01:53,781 - INFO - Adding interface with subnet_id 340f22ef-e7aa-4c60-917f-7da1435622c0, port_id None to router 962948bf-13ec-4cca-bd61-cae4699c1f2c 2026-10-27 17:01:54,120 - INFO - Waiting for VM ctest-TestRoutersBasic-22315630-93153916 to be up.. 2026-10-27 17:01:54,201 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 17:01:59,294 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 17:02:04,386 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 17:02:09,477 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 17:02:15,018 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 17:02:20,108 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 17:02:25,193 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 17:02:30,278 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 17:02:35,387 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-27 17:02:40,506 - DEBUG - VM is in ACTIVE state now 2026-10-27 17:02:40,506 - INFO - VM name : ctest-TestRoutersBasic-22315630-93153916 2026-10-27 17:02:40,631 - DEBUG - VM ctest-TestRoutersBasic-22315630-93153916 ID is 811145fd-331b-421f-9925-ca6dc50a09e5 2026-10-27 17:02:40,674 - DEBUG - VM ctest-TestRoutersBasic-22315630-93153916 launched on Node cn-jenkins-deploy-platform-ansible-os-6420-1 2026-10-27 17:02:40,778 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/811145fd-331b-421f-9925-ca6dc50a09e5 2026-10-27 17:02:41,196 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/811145fd-331b-421f-9925-ca6dc50a09e5 2026-10-27 17:02:41,250 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/93031380-0041-4416-a6fd-9acd46bda041 2026-10-27 17:02:44,524 - 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=2 ttl=63 time=6.30 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1013ms\r\nrtt min/avg/max/mdev = 6.296/6.296/6.296/0.000 ms') 2026-10-27 17:02:44,524 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-22315630-93153916 passed 2026-10-27 17:02:44,681 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-27 17:02:44,681 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22315630-93153916, IP 47.95.21.195, Port 22 2026-10-27 17:02:44,860 - DEBUG - VM ctest-TestRoutersBasic-22315630-93153916 is ready for SSH connections 2026-10-27 17:02:44,860 - INFO - Waiting for VM ctest-TestRoutersBasic-22315630-48577809 to be up.. 2026-10-27 17:02:44,950 - DEBUG - VM is in ACTIVE state now 2026-10-27 17:02:44,950 - INFO - VM name : ctest-TestRoutersBasic-22315630-48577809 2026-10-27 17:02:45,038 - DEBUG - VM ctest-TestRoutersBasic-22315630-48577809 ID is efb0ac2a-d80e-457a-a7b4-50d5267037f3 2026-10-27 17:02:45,038 - DEBUG - VM ctest-TestRoutersBasic-22315630-48577809 launched on Node cn-jenkins-deploy-platform-ansible-os-6420-1 2026-10-27 17:02:45,123 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/efb0ac2a-d80e-457a-a7b4-50d5267037f3 2026-10-27 17:02:45,136 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/82cd3e09-ce2d-4994-bbfc-5e305d6e6887 2026-10-27 17:02:46,391 - 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=5.68 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=2.16 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 = 2.159/3.920/5.681/1.761 ms') 2026-10-27 17:02:46,391 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-22315630-48577809 passed 2026-10-27 17:02:46,545 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-27 17:02:46,545 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22315630-48577809, IP 161.42.17.68, Port 22 2026-10-27 17:02:46,612 - 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-27 17:02:46,700 - DEBUG - VM ctest-TestRoutersBasic-22315630-48577809 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-27 17:02:51,701 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-27 17:02:51,701 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22315630-48577809, IP 161.42.17.68, Port 22 2026-10-27 17:02:51,872 - DEBUG - VM ctest-TestRoutersBasic-22315630-48577809 is ready for SSH connections 2026-10-27 17:02:51,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-27 17:02:51,872 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.42.17.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-10-27 17:02:51,872 - DEBUG - ping -s 56 -c 3 -W 1 161.42.17.68 2026-10-27 17:02:54,927 - DEBUG - PING 161.42.17.68 (161.42.17.68): 56 data bytes 64 bytes from 161.42.17.68: seq=0 ttl=62 time=7.821 ms 64 bytes from 161.42.17.68: seq=1 ttl=62 time=1.116 ms 64 bytes from 161.42.17.68: seq=2 ttl=62 time=1.227 ms --- 161.42.17.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.116/3.388/7.821 ms 2026-10-27 17:02:54,927 - INFO - Ping to IP 161.42.17.68 from VM ctest-TestRoutersBasic-22315630-93153916 passed 2026-10-27 17:02:54,927 - INFO - Deleting interface with subnet_id 340f22ef-e7aa-4c60-917f-7da1435622c0, port_id None from router 962948bf-13ec-4cca-bd61-cae4699c1f2c 2026-10-27 17:02:55,162 - INFO - Deleting VM ctest-TestRoutersBasic-22315630-48577809 2026-10-27 17:02:55,249 - INFO - Deleting VM ctest-TestRoutersBasic-22315630-93153916 2026-10-27 17:02:55,336 - INFO - Deleting VN ctest-ext_vn-08146609 2026-10-27 17:02:55,429 - DEBUG - VN c0e746f0-7ce0-4039-a1d7-eeb077b8f030 still in use: Unable to complete operation on network c0e746f0-7ce0-4039-a1d7-eeb077b8f030. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f95af0f3-3a59-4d0e-a62b-1f4d15a6b034'] 2026-10-27 17:02:55,429 - WARNING - Deleting VN ctest-ext_vn-08146609 failed..Will retry 2026-10-27 17:02:57,469 - DEBUG - VN c0e746f0-7ce0-4039-a1d7-eeb077b8f030 still in use: Unable to complete operation on network c0e746f0-7ce0-4039-a1d7-eeb077b8f030. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3ef26b32-5f1b-4613-9cd5-42aa051aff97'] 2026-10-27 17:02:57,469 - WARNING - Deleting VN ctest-ext_vn-08146609 failed..Will retry 2026-10-27 17:02:59,582 - DEBUG - Response for deleting network () 2026-10-27 17:02:59,582 - INFO - Deleting VN ctest-vn-62579741 2026-10-27 17:02:59,700 - DEBUG - Response for deleting network () 2026-10-27 17:02:59,970 - DEBUG - No XMPP flaps were noticed during the test
2026-10-27 17:02:59,970 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:10]
2026-10-27 17:02:59,970 - INFO - -------------------------------------------------------------------------------- 2026-10-27 17:03:00,791 - INFO - Deleted project: ctest-TestRoutersBasic-22315630, ID : 2de53459-d636-4ad9-99da-61bf4f8f034a