2025-07-09 11:40:52,274 - INFO - Domain Default found not creating
2025-07-09 11:40:52,482 - INFO - Project ctest-TestBasicVMVNx-70115602 not found, creating it
2025-07-09 11:40:53,007 - INFO - Created Project:ctest-TestBasicVMVNx-70115602, ID : 96307f6a-ecfd-4c64-96bb-1726a360825d
2025-07-09 11:40:54,944 - INFO - ================================================================================
2025-07-09 11:40:54,945 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-07-09 11:40:54,945 - 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-09 11:40:55,220 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with
2025-07-09 11:40:55,220 - INFO - Initial checks done. Running the testcase now
2025-07-09 11:40:55,220 - INFO -
2025-07-09 11:40:55,947 - DEBUG - Response for create_network : {'network': {'id': '3fd44a46-84c5-4956-b16e-640333201700', 'name': 'ctest-vn-12764058', 'tenant_id': '96307f6aecfd4c6496bb1726a360825d', 'project_id': '96307f6aecfd4c6496bb1726a360825d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-70115602', 'ctest-vn-12764058'], 'port_security_enabled': True, 'description': ''}}
2025-07-09 11:40:56,162 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c1a2109-9b50-48c6-9ffa-040829fd3af7', 'name': '', 'tenant_id': '96307f6aecfd4c6496bb1726a360825d', 'network_id': '3fd44a46-84c5-4956-b16e-640333201700', 'ip_version': 4, 'cidr': '155.84.201.0/26', 'allocation_pools': [{'start': '155.84.201.2', 'end': '155.84.201.62'}], 'gateway_ip': '155.84.201.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.84.201.2', 'tags': [], 'project_id': '96307f6aecfd4c6496bb1726a360825d'}}
2025-07-09 11:40:56,184 - INFO - Created VN ctest-vn-12764058
2025-07-09 11:40:56,240 - DEBUG - VN ctest-vn-12764058 UUID is 3fd44a46-84c5-4956-b16e-640333201700
2025-07-09 11:40:56,446 - DEBUG - Services list from nova: [, , ]
2025-07-09 11:40:57,710 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3617-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3617-1)
2025-07-09 11:40:59,181 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3617-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3617-1)
2025-07-09 11:40:59,181 - INFO - Waiting for VM ctest-TestBasicVMVNx-70115602-57256022 to be up..
2025-07-09 11:40:59,282 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-09 11:41:04,403 - DEBUG - VM is in ACTIVE state now
2025-07-09 11:41:04,403 - INFO - VM name : ctest-TestBasicVMVNx-70115602-57256022
2025-07-09 11:41:04,519 - DEBUG - VM ctest-TestBasicVMVNx-70115602-57256022 ID is 4706f075-c8bd-4254-a439-55be361822a3
2025-07-09 11:41:04,554 - DEBUG - VM ctest-TestBasicVMVNx-70115602-57256022 launched on Node cn-jenkins-deploy-platform-ansible-os-3617-1
2025-07-09 11:41:04,663 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4706f075-c8bd-4254-a439-55be361822a3
2025-07-09 11:41:05,043 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4706f075-c8bd-4254-a439-55be361822a3
2025-07-09 11:41:05,092 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/49adfeb5-3ebb-4ae0-ab45-b10768ed35b0
2025-07-09 11:41:08,379 - 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 1007ms')
2025-07-09 11:41:08,379 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-70115602-57256022 failed!
2025-07-09 11:41:08,439 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-70115602:ctest-vn-12764058 is 155.84.201.1 and allocation pool is NOT set
2025-07-09 11:41:10,505 - 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=13.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.98 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.979/7.473/12.968/5.494 ms')
2025-07-09 11:41:10,505 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-70115602-57256022 passed
2025-07-09 11:41:10,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-09 11:41:10,668 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-70115602-57256022, IP 155.84.201.3, Port 22
2025-07-09 11:41:10,734 - 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-07-09 11:41:10,859 - DEBUG - VM ctest-TestBasicVMVNx-70115602-57256022 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-09 11:41:15,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-09 11:41:15,861 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-70115602-57256022, IP 155.84.201.3, Port 22
2025-07-09 11:41:16,031 - DEBUG - VM ctest-TestBasicVMVNx-70115602-57256022 is ready for SSH connections
2025-07-09 11:41:16,031 - INFO - Waiting for VM ctest-TestBasicVMVNx-70115602-33383101 to be up..
2025-07-09 11:41:16,134 - DEBUG - VM is in ACTIVE state now
2025-07-09 11:41:16,134 - INFO - VM name : ctest-TestBasicVMVNx-70115602-33383101
2025-07-09 11:41:16,227 - DEBUG - VM ctest-TestBasicVMVNx-70115602-33383101 ID is 4e347890-b473-4790-bb98-32fbfd41302c
2025-07-09 11:41:16,227 - DEBUG - VM ctest-TestBasicVMVNx-70115602-33383101 launched on Node cn-jenkins-deploy-platform-ansible-os-3617-1
2025-07-09 11:41:16,326 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4e347890-b473-4790-bb98-32fbfd41302c
2025-07-09 11:41:16,340 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c65006b3-8cee-4455-b8e7-76595e0d0322
2025-07-09 11:41:17,611 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.530 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 = 0.530/2.252/3.974/1.722 ms')
2025-07-09 11:41:17,611 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-70115602-33383101 passed
2025-07-09 11:41:17,772 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-09 11:41:17,772 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-70115602-33383101, IP 155.84.201.4, Port 22
2025-07-09 11:41:17,959 - DEBUG - VM ctest-TestBasicVMVNx-70115602-33383101 is ready for SSH connections
2025-07-09 11:41:17,960 - DEBUG - FILE SIZE = 1303B
2025-07-09 11:41:17,960 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-70115602-57256022 to ctest-TestBasicVMVNx-70115602-33383101 using scp
2025-07-09 11:41:17,961 - 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.50, gateway password: c0ntrail123
2025-07-09 11:41:17,961 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-07-09 11:41:20,141 - DEBUG - 1+0 records in
1+0 records out
2025-07-09 11:41:21,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-09 11:41:21,440 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-09 11:41:21,440 - DEBUG - ls -l testfile
2025-07-09 11:41:23,100 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 9 05:41 [0;0mtestfile[0m
2025-07-09 11:41:23,100 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-70115602-33383101
2025-07-09 11:41:23,100 - INFO - Deleting VM ctest-TestBasicVMVNx-70115602-33383101
2025-07-09 11:41:23,201 - INFO - Deleting VM ctest-TestBasicVMVNx-70115602-57256022
2025-07-09 11:41:23,296 - INFO - Deleting VN ctest-vn-12764058
2025-07-09 11:41:23,347 - DEBUG - VN 3fd44a46-84c5-4956-b16e-640333201700 still in use: Unable to complete operation on network 3fd44a46-84c5-4956-b16e-640333201700. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-15a3bc38-4580-4003-bbb2-1f895040da5b']
2025-07-09 11:41:23,347 - WARNING - Deleting VN ctest-vn-12764058 failed..Will retry
2025-07-09 11:41:25,516 - DEBUG - Response for deleting network ()
2025-07-09 11:41:25,798 - DEBUG - No XMPP flaps were noticed during the test
2025-07-09 11:41:25,798 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:31]
2025-07-09 11:41:25,799 - INFO - --------------------------------------------------------------------------------
2025-07-09 11:41:26,639 - INFO - Deleted project: ctest-TestBasicVMVNx-70115602, ID : 96307f6a-ecfd-4c64-96bb-1726a360825d