2025-08-07 02:20:10,004 - INFO - Domain Default found not creating 2025-08-07 02:20:10,164 - INFO - Project ctest-TestBasicVMVNx-27603268 not found, creating it 2025-08-07 02:20:10,649 - INFO - Created Project:ctest-TestBasicVMVNx-27603268, ID : 7a70c4f7-3155-452f-93a8-6e8aa971a57f 2025-08-07 02:20:12,359 - INFO - ================================================================================ 2025-08-07 02:20:12,360 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-08-07 02:20:12,360 - 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-08-07 02:20:12,617 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.14': '0'}} with 2025-08-07 02:20:12,617 - INFO - Initial checks done. Running the testcase now 2025-08-07 02:20:12,618 - INFO - 2025-08-07 02:20:13,260 - DEBUG - Response for create_network : {'network': {'id': '76995750-0113-42c9-a770-cea0f383ccef', 'name': 'ctest-vn-78757650', 'tenant_id': '7a70c4f73155452f93a86e8aa971a57f', 'project_id': '7a70c4f73155452f93a86e8aa971a57f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-27603268', 'ctest-vn-78757650'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:20:13,463 - DEBUG - Response for create_subnet : {'subnet': {'id': '33f8ca96-cc53-4080-986d-fca4938f7948', 'name': '', 'tenant_id': '7a70c4f73155452f93a86e8aa971a57f', 'network_id': '76995750-0113-42c9-a770-cea0f383ccef', 'ip_version': 4, 'cidr': '143.170.192.64/26', 'allocation_pools': [{'start': '143.170.192.66', 'end': '143.170.192.126'}], 'gateway_ip': '143.170.192.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.170.192.66', 'tags': [], 'project_id': '7a70c4f73155452f93a86e8aa971a57f'}} 2025-08-07 02:20:13,483 - INFO - Created VN ctest-vn-78757650 2025-08-07 02:20:13,537 - DEBUG - VN ctest-vn-78757650 UUID is 76995750-0113-42c9-a770-cea0f383ccef 2025-08-07 02:20:13,712 - DEBUG - Services list from nova: [, , ] 2025-08-07 02:20:14,898 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3766-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3766-1) 2025-08-07 02:20:16,163 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3766-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3766-1) 2025-08-07 02:20:16,163 - INFO - Waiting for VM ctest-TestBasicVMVNx-27603268-80174222 to be up.. 2025-08-07 02:20:16,247 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 02:20:21,326 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:20:21,326 - INFO - VM name : ctest-TestBasicVMVNx-27603268-80174222 2025-08-07 02:20:21,405 - DEBUG - VM ctest-TestBasicVMVNx-27603268-80174222 ID is dfd024c4-29ba-4666-b79c-afb11e61496a 2025-08-07 02:20:21,427 - DEBUG - VM ctest-TestBasicVMVNx-27603268-80174222 launched on Node cn-jenkins-deploy-platform-ansible-os-3766-1 2025-08-07 02:20:21,517 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/dfd024c4-29ba-4666-b79c-afb11e61496a 2025-08-07 02:20:21,867 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/dfd024c4-29ba-4666-b79c-afb11e61496a 2025-08-07 02:20:21,901 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/4fd88a9a-eaeb-4cc5-9798-bafbf826e885 2025-08-07 02:20:25,183 - 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 1028ms') 2025-08-07 02:20:25,183 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-27603268-80174222 failed! 2025-08-07 02:20:25,241 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-27603268:ctest-vn-78757650 is 143.170.192.65 and allocation pool is NOT set 2025-08-07 02:20:27,305 - 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=5.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.23 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 = 2.234/3.706/5.179/1.472 ms') 2025-08-07 02:20:27,305 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-27603268-80174222 passed 2025-08-07 02:20:27,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:20:27,461 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-27603268-80174222, IP 143.170.192.67, Port 22 2025-08-07 02:20:27,531 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-07 02:20:27,630 - DEBUG - VM ctest-TestBasicVMVNx-27603268-80174222 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 02:20:32,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:20:32,631 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-27603268-80174222, IP 143.170.192.67, Port 22 2025-08-07 02:20:32,789 - DEBUG - VM ctest-TestBasicVMVNx-27603268-80174222 is ready for SSH connections 2025-08-07 02:20:32,789 - INFO - Waiting for VM ctest-TestBasicVMVNx-27603268-18539707 to be up.. 2025-08-07 02:20:32,893 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:20:32,893 - INFO - VM name : ctest-TestBasicVMVNx-27603268-18539707 2025-08-07 02:20:32,985 - DEBUG - VM ctest-TestBasicVMVNx-27603268-18539707 ID is 790b5f08-37ca-4151-b5b6-49dcaa48e8ff 2025-08-07 02:20:32,985 - DEBUG - VM ctest-TestBasicVMVNx-27603268-18539707 launched on Node cn-jenkins-deploy-platform-ansible-os-3766-1 2025-08-07 02:20:33,079 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/790b5f08-37ca-4151-b5b6-49dcaa48e8ff 2025-08-07 02:20:33,089 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/5549f8f4-76fd-4e21-b238-05956f0ce439 2025-08-07 02:20:34,347 - 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.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.653 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.653/2.090/3.527/1.437 ms') 2025-08-07 02:20:34,348 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-27603268-18539707 passed 2025-08-07 02:20:34,509 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:20:34,509 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-27603268-18539707, IP 143.170.192.68, Port 22 2025-08-07 02:20:34,684 - DEBUG - VM ctest-TestBasicVMVNx-27603268-18539707 is ready for SSH connections 2025-08-07 02:20:34,684 - DEBUG - FILE SIZE = 1303B 2025-08-07 02:20:34,685 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-27603268-80174222 to ctest-TestBasicVMVNx-27603268-18539707 using scp 2025-08-07 02:20:34,686 - 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.129, gateway password: c0ntrail123 2025-08-07 02:20:34,686 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-08-07 02:20:36,649 - DEBUG - 1+0 records in 1+0 records out 2025-08-07 02:20:37,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:20:37,693 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-08-07 02:20:37,693 - DEBUG - ls -l testfile 2025-08-07 02:20:39,304 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 6 20:20 testfile 2025-08-07 02:20:39,305 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-27603268-18539707 2025-08-07 02:20:39,305 - INFO - Deleting VM ctest-TestBasicVMVNx-27603268-18539707 2025-08-07 02:20:39,377 - INFO - Deleting VM ctest-TestBasicVMVNx-27603268-80174222 2025-08-07 02:20:39,451 - INFO - Deleting VN ctest-vn-78757650 2025-08-07 02:20:39,490 - DEBUG - VN 76995750-0113-42c9-a770-cea0f383ccef still in use: Unable to complete operation on network 76995750-0113-42c9-a770-cea0f383ccef. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-aea9d4e4-0f6d-4888-a4f6-867f6eedfc21'] 2025-08-07 02:20:39,490 - WARNING - Deleting VN ctest-vn-78757650 failed..Will retry 2025-08-07 02:20:41,608 - DEBUG - Response for deleting network () 2025-08-07 02:20:41,878 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 02:20:41,878 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29] 2025-08-07 02:20:41,878 - INFO - -------------------------------------------------------------------------------- 2025-08-07 02:20:42,606 - INFO - Deleted project: ctest-TestBasicVMVNx-27603268, ID : 7a70c4f7-3155-452f-93a8-6e8aa971a57f