2025-07-01 17:29:04,164 - INFO - Domain Default found not creating 2025-07-01 17:29:04,624 - INFO - Project ctest-TestBasicVMVNx-78608716 not found, creating it 2025-07-01 17:29:05,399 - INFO - Created Project:ctest-TestBasicVMVNx-78608716, ID : 319610e6-b4bc-41c9-b1d0-b765bc155c5c 2025-07-01 17:29:07,689 - INFO - ================================================================================ 2025-07-01 17:29:07,689 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-07-01 17:29:07,689 - INFO - TEST DESCRIPTION : Description: Test to validate File Transfer using scp between VMs. Files of different sizes. Test steps: 1. Creating vm's - vm1 and vm2 and a Vn - vn222 2. Transfer file from vm1 to vm2 with diferrent file sizes using scp 3. file sizes - 64,1202,2210,10000 4. verify files present in vm2 match with the size of the file sent. Pass criteria: File in vm2 should match with the transferred file size from vm1 Maintainer : ganeshahv@juniper.net 2025-07-01 17:29:08,007 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-01 17:29:08,007 - INFO - Initial checks done. Running the testcase now 2025-07-01 17:29:08,007 - INFO - 2025-07-01 17:29:08,984 - DEBUG - Response for create_network : {'network': {'id': '5e443b48-1824-438e-a79f-6b4c9585b558', 'name': 'ctest-vn-29465756', 'tenant_id': '319610e6b4bc41c9b1d0b765bc155c5c', 'project_id': '319610e6b4bc41c9b1d0b765bc155c5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-78608716', 'ctest-vn-29465756'], 'port_security_enabled': True, 'description': ''}} 2025-07-01 17:29:09,308 - DEBUG - Response for create_subnet : {'subnet': {'id': '6422c61d-73c5-4686-a8a5-4bc633366853', 'name': '', 'tenant_id': '319610e6b4bc41c9b1d0b765bc155c5c', 'network_id': '5e443b48-1824-438e-a79f-6b4c9585b558', 'ip_version': 4, 'cidr': '52.156.83.128/26', 'allocation_pools': [{'start': '52.156.83.130', 'end': '52.156.83.190'}], 'gateway_ip': '52.156.83.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.156.83.130', 'tags': [], 'project_id': '319610e6b4bc41c9b1d0b765bc155c5c'}} 2025-07-01 17:29:09,347 - INFO - Created VN ctest-vn-29465756 2025-07-01 17:29:09,413 - DEBUG - VN ctest-vn-29465756 UUID is 5e443b48-1824-438e-a79f-6b4c9585b558 2025-07-01 17:29:09,713 - DEBUG - Services list from nova: [, , ] 2025-07-01 17:29:11,296 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3588-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3588-1) 2025-07-01 17:29:12,757 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3588-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3588-1) 2025-07-01 17:29:12,757 - INFO - Waiting for VM ctest-TestBasicVMVNx-78608716-77517918 to be up.. 2025-07-01 17:29:12,897 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-01 17:29:18,109 - DEBUG - VM is in ACTIVE state now 2025-07-01 17:29:18,109 - INFO - VM name : ctest-TestBasicVMVNx-78608716-77517918 2025-07-01 17:29:18,244 - DEBUG - VM ctest-TestBasicVMVNx-78608716-77517918 ID is dae77dec-0742-4001-889d-39b26357cfdf 2025-07-01 17:29:18,266 - DEBUG - VM ctest-TestBasicVMVNx-78608716-77517918 launched on Node cn-jenkins-deploy-platform-ansible-os-3588-1 2025-07-01 17:29:18,349 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/dae77dec-0742-4001-889d-39b26357cfdf 2025-07-01 17:29:18,647 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/dae77dec-0742-4001-889d-39b26357cfdf 2025-07-01 17:29:18,686 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a3cae522-2c5c-40c4-a274-6ccf57da761f 2025-07-01 17:29:21,976 - 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 1013ms') 2025-07-01 17:29:21,976 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-78608716-77517918 failed! 2025-07-01 17:29:22,056 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-78608716:ctest-vn-29465756 is 52.156.83.129 and allocation pool is NOT set 2025-07-01 17:29:24,137 - 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=3.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.505 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 = 0.505/2.047/3.590/1.542 ms') 2025-07-01 17:29:24,137 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-78608716-77517918 passed 2025-07-01 17:29:24,312 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-01 17:29:24,312 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-78608716-77517918, IP 52.156.83.131, Port 22 2025-07-01 17:29:24,512 - DEBUG - VM ctest-TestBasicVMVNx-78608716-77517918 is ready for SSH connections 2025-07-01 17:29:24,513 - INFO - Waiting for VM ctest-TestBasicVMVNx-78608716-57851428 to be up.. 2025-07-01 17:29:24,704 - DEBUG - VM is in ACTIVE state now 2025-07-01 17:29:24,705 - INFO - VM name : ctest-TestBasicVMVNx-78608716-57851428 2025-07-01 17:29:24,838 - DEBUG - VM ctest-TestBasicVMVNx-78608716-57851428 ID is 254c79b8-b8ab-4453-9cfd-1efc582be9dd 2025-07-01 17:29:24,838 - DEBUG - VM ctest-TestBasicVMVNx-78608716-57851428 launched on Node cn-jenkins-deploy-platform-ansible-os-3588-1 2025-07-01 17:29:24,931 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/254c79b8-b8ab-4453-9cfd-1efc582be9dd 2025-07-01 17:29:24,946 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0a3cf0dc-dca9-43a3-9899-e6ee776bef81 2025-07-01 17:29:26,234 - 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=12.3 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.92 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 = 2.917/7.620/12.324/4.703 ms') 2025-07-01 17:29:26,235 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-78608716-57851428 passed 2025-07-01 17:29:26,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-01 17:29:26,408 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-78608716-57851428, IP 52.156.83.132, Port 22 2025-07-01 17:29:26,490 - 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': ''} 2025-07-01 17:29:26,782 - DEBUG - VM ctest-TestBasicVMVNx-78608716-57851428 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-01 17:29:31,783 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-01 17:29:31,783 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-78608716-57851428, IP 52.156.83.132, Port 22 2025-07-01 17:29:31,983 - DEBUG - VM ctest-TestBasicVMVNx-78608716-57851428 is ready for SSH connections 2025-07-01 17:29:31,983 - DEBUG - FILE SIZE = 1303B 2025-07-01 17:29:31,983 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-78608716-77517918 to ctest-TestBasicVMVNx-78608716-57851428 using scp 2025-07-01 17:29:31,985 - DEBUG - Running remote_cmd, Cmd : dd bs=1303 count=1 if=/dev/zero of=testfile, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-01 17:29:31,986 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-07-01 17:29:34,328 - DEBUG - 1+0 records in 1+0 records out 2025-07-01 17:29:35,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-01 17:29:35,524 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-01 17:29:35,524 - DEBUG - ls -l testfile 2025-07-01 17:29:37,388 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 1 11:29 testfile 2025-07-01 17:29:37,388 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-78608716-57851428 2025-07-01 17:29:37,389 - INFO - Deleting VM ctest-TestBasicVMVNx-78608716-57851428 2025-07-01 17:29:37,543 - INFO - Deleting VM ctest-TestBasicVMVNx-78608716-77517918 2025-07-01 17:29:37,691 - INFO - Deleting VN ctest-vn-29465756 2025-07-01 17:29:37,760 - DEBUG - VN 5e443b48-1824-438e-a79f-6b4c9585b558 still in use: Unable to complete operation on network 5e443b48-1824-438e-a79f-6b4c9585b558. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8567a877-846d-4fa7-9c27-d465465b8fd3'] 2025-07-01 17:29:37,760 - WARNING - Deleting VN ctest-vn-29465756 failed..Will retry 2025-07-01 17:29:40,018 - DEBUG - Response for deleting network () 2025-07-01 17:29:40,326 - DEBUG - No XMPP flaps were noticed during the test
2025-07-01 17:29:40,326 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:33]
2025-07-01 17:29:40,326 - INFO - -------------------------------------------------------------------------------- 2025-07-01 17:29:41,292 - INFO - Deleted project: ctest-TestBasicVMVNx-78608716, ID : 319610e6-b4bc-41c9-b1d0-b765bc155c5c