2026-01-01 06:47:54,464 - INFO - Domain Default found not creating 2026-01-01 06:47:54,633 - INFO - Project ctest-TestRoutersBasic-89241361 not found, creating it 2026-01-01 06:47:55,121 - INFO - Created Project:ctest-TestRoutersBasic-89241361, ID : 6e41f3f4-54d4-4d54-a37a-ad2a09dcc256 2026-01-01 06:47:56,759 - INFO - ================================================================================ 2026-01-01 06:47:56,759 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-01 06:47:56,759 - 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-01-01 06:47:57,019 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2026-01-01 06:47:57,019 - INFO - Initial checks done. Running the testcase now 2026-01-01 06:47:57,019 - INFO - 2026-01-01 06:47:57,828 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-89241361 2026-01-01 06:47:57,921 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-89241361 2026-01-01 06:47:58,249 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89241361', 'default']} 2026-01-01 06:47:58,546 - DEBUG - Response for create_network : {'network': {'id': '73b64f8c-ab27-4300-8abb-5dc20983d742', 'name': 'ctest-vn-48594629', 'tenant_id': '6e41f3f454d44d54a37aad2a09dcc256', 'project_id': '6e41f3f454d44d54a37aad2a09dcc256', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89241361', 'ctest-vn-48594629'], 'port_security_enabled': True, 'description': ''}} 2026-01-01 06:47:58,715 - DEBUG - Response for create_subnet : {'subnet': {'id': '2757b56a-d8b6-4be0-869e-40d37707c48b', 'name': '', 'tenant_id': '6e41f3f454d44d54a37aad2a09dcc256', 'network_id': '73b64f8c-ab27-4300-8abb-5dc20983d742', 'ip_version': 4, 'cidr': '94.218.12.0/26', 'allocation_pools': [{'start': '94.218.12.2', 'end': '94.218.12.62'}], 'gateway_ip': '94.218.12.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.218.12.2', 'tags': [], 'project_id': '6e41f3f454d44d54a37aad2a09dcc256'}} 2026-01-01 06:47:58,734 - INFO - Created VN ctest-vn-48594629 2026-01-01 06:47:58,785 - DEBUG - VN ctest-vn-48594629 UUID is 73b64f8c-ab27-4300-8abb-5dc20983d742 2026-01-01 06:47:59,117 - DEBUG - Response for create_network : {'network': {'id': '4ee8efc1-02bb-41ea-ae6d-a9e9bbbe048d', 'name': 'ctest-ext_vn-75478010', 'tenant_id': '6e41f3f454d44d54a37aad2a09dcc256', 'project_id': '6e41f3f454d44d54a37aad2a09dcc256', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89241361', 'ctest-ext_vn-75478010'], 'port_security_enabled': True, 'description': ''}} 2026-01-01 06:47:59,286 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b38f0e7-1355-457b-b424-3271dcbc93e3', 'name': '', 'tenant_id': '6e41f3f454d44d54a37aad2a09dcc256', 'network_id': '4ee8efc1-02bb-41ea-ae6d-a9e9bbbe048d', 'ip_version': 4, 'cidr': '195.127.192.128/26', 'allocation_pools': [{'start': '195.127.192.130', 'end': '195.127.192.190'}], 'gateway_ip': '195.127.192.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.127.192.130', 'tags': [], 'project_id': '6e41f3f454d44d54a37aad2a09dcc256'}} 2026-01-01 06:47:59,305 - INFO - Created VN ctest-ext_vn-75478010 2026-01-01 06:47:59,357 - DEBUG - VN ctest-ext_vn-75478010 UUID is 4ee8efc1-02bb-41ea-ae6d-a9e9bbbe048d 2026-01-01 06:47:59,529 - DEBUG - Services list from nova: [, , ] 2026-01-01 06:48:00,670 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4950-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4950-1) 2026-01-01 06:48:01,953 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4950-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4950-1) 2026-01-01 06:48:02,044 - INFO - Setting gateway for router f7561b57-3d92-4c4f-a91a-afac1b4d5e54 to network 4ee8efc1-02bb-41ea-ae6d-a9e9bbbe048d 2026-01-01 06:48:02,096 - INFO - Adding interface with subnet_id 2757b56a-d8b6-4be0-869e-40d37707c48b, port_id None to router f7561b57-3d92-4c4f-a91a-afac1b4d5e54 2026-01-01 06:48:02,409 - INFO - Waiting for VM ctest-TestRoutersBasic-89241361-41629498 to be up.. 2026-01-01 06:48:02,564 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-01 06:48:07,680 - DEBUG - VM is in ACTIVE state now 2026-01-01 06:48:07,681 - INFO - VM name : ctest-TestRoutersBasic-89241361-41629498 2026-01-01 06:48:07,791 - DEBUG - VM ctest-TestRoutersBasic-89241361-41629498 ID is a2a155d0-944b-4413-a9ad-c2c6b59fc5c8 2026-01-01 06:48:07,812 - DEBUG - VM ctest-TestRoutersBasic-89241361-41629498 launched on Node cn-jenkins-deploy-platform-ansible-os-4950-1 2026-01-01 06:48:07,906 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a2a155d0-944b-4413-a9ad-c2c6b59fc5c8 2026-01-01 06:48:08,248 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a2a155d0-944b-4413-a9ad-c2c6b59fc5c8 2026-01-01 06:48:08,284 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6c22f974-eacb-4d65-a7f7-3a02bd0f2b14 2026-01-01 06:48:11,526 - 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 1010ms') 2026-01-01 06:48:11,527 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-89241361-41629498 failed! 2026-01-01 06:48:11,585 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-89241361:ctest-vn-48594629 is 94.218.12.1 and allocation pool is NOT set 2026-01-01 06:48:13,652 - 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=6.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.22 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 = 3.216/4.636/6.056/1.420 ms') 2026-01-01 06:48:13,652 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-89241361-41629498 passed 2026-01-01 06:48:13,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 06:48:13,805 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89241361-41629498, IP 94.218.12.3, Port 22 2026-01-01 06:48:13,980 - DEBUG - VM ctest-TestRoutersBasic-89241361-41629498 is ready for SSH connections 2026-01-01 06:48:13,980 - INFO - Waiting for VM ctest-TestRoutersBasic-89241361-24244322 to be up.. 2026-01-01 06:48:14,066 - DEBUG - VM is in ACTIVE state now 2026-01-01 06:48:14,066 - INFO - VM name : ctest-TestRoutersBasic-89241361-24244322 2026-01-01 06:48:14,154 - DEBUG - VM ctest-TestRoutersBasic-89241361-24244322 ID is ca169155-81f0-47d5-8aab-f8b7376380d2 2026-01-01 06:48:14,155 - DEBUG - VM ctest-TestRoutersBasic-89241361-24244322 launched on Node cn-jenkins-deploy-platform-ansible-os-4950-1 2026-01-01 06:48:14,244 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ca169155-81f0-47d5-8aab-f8b7376380d2 2026-01-01 06:48:14,256 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/48077f9e-4866-4006-ae03-6a026434b1d8 2026-01-01 06:48:15,507 - 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=3.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.76 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 3.553/3.657/3.762/0.104 ms') 2026-01-01 06:48:15,507 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-89241361-24244322 passed 2026-01-01 06:48:15,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 06:48:15,661 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89241361-24244322, IP 195.127.192.131, Port 22 2026-01-01 06:48:15,727 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-01-01 06:48:15,806 - DEBUG - VM ctest-TestRoutersBasic-89241361-24244322 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-01 06:48:20,806 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 06:48:20,807 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89241361-24244322, IP 195.127.192.131, Port 22 2026-01-01 06:48:20,969 - DEBUG - VM ctest-TestRoutersBasic-89241361-24244322 is ready for SSH connections 2026-01-01 06:48:20,969 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 06:48:20,970 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.127.192.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-01 06:48:20,970 - DEBUG - ping -s 56 -c 3 -W 1 195.127.192.131 2026-01-01 06:48:24,730 - DEBUG - PING 195.127.192.131 (195.127.192.131): 56 data bytes 64 bytes from 195.127.192.131: seq=0 ttl=62 time=6.757 ms 64 bytes from 195.127.192.131: seq=1 ttl=62 time=0.988 ms 64 bytes from 195.127.192.131: seq=2 ttl=62 time=0.938 ms --- 195.127.192.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.938/2.894/6.757 ms 2026-01-01 06:48:24,731 - INFO - Ping to IP 195.127.192.131 from VM ctest-TestRoutersBasic-89241361-41629498 passed 2026-01-01 06:48:24,731 - INFO - Deleting interface with subnet_id 2757b56a-d8b6-4be0-869e-40d37707c48b, port_id None from router f7561b57-3d92-4c4f-a91a-afac1b4d5e54 2026-01-01 06:48:24,929 - INFO - Deleting VM ctest-TestRoutersBasic-89241361-24244322 2026-01-01 06:48:25,034 - INFO - Deleting VM ctest-TestRoutersBasic-89241361-41629498 2026-01-01 06:48:25,143 - INFO - Deleting VN ctest-ext_vn-75478010 2026-01-01 06:48:25,223 - DEBUG - VN 4ee8efc1-02bb-41ea-ae6d-a9e9bbbe048d still in use: Unable to complete operation on network 4ee8efc1-02bb-41ea-ae6d-a9e9bbbe048d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5a7898c4-0e29-46be-bcf6-2dc28a171610'] 2026-01-01 06:48:25,223 - WARNING - Deleting VN ctest-ext_vn-75478010 failed..Will retry 2026-01-01 06:48:27,325 - DEBUG - Response for deleting network () 2026-01-01 06:48:27,326 - INFO - Deleting VN ctest-vn-48594629 2026-01-01 06:48:27,429 - DEBUG - Response for deleting network () 2026-01-01 06:48:27,695 - DEBUG - No XMPP flaps were noticed during the test
2026-01-01 06:48:27,696 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2026-01-01 06:48:27,696 - INFO - -------------------------------------------------------------------------------- 2026-01-01 06:48:28,429 - INFO - Deleted project: ctest-TestRoutersBasic-89241361, ID : 6e41f3f4-54d4-4d54-a37a-ad2a09dcc256