2025-09-11 08:32:30,505 - INFO - Domain Default found not creating
2025-09-11 08:32:30,658 - INFO - Project ctest-TestBasicVMVNx-63147780 not found, creating it
2025-09-11 08:32:31,089 - INFO - Created Project:ctest-TestBasicVMVNx-63147780, ID : 8dba500f-a451-4360-b135-209bd487820a
2025-09-11 08:32:32,589 - INFO - ================================================================================
2025-09-11 08:32:32,589 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-09-11 08:32:32,589 - 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-09-11 08:32:32,841 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with
2025-09-11 08:32:32,841 - INFO - Initial checks done. Running the testcase now
2025-09-11 08:32:32,841 - INFO -
2025-09-11 08:32:33,366 - DEBUG - Response for create_network : {'network': {'id': '28f6beae-2b42-4204-8a06-8bdedcf10e10', 'name': 'ctest-vn-48598682', 'tenant_id': '8dba500fa4514360b135209bd487820a', 'project_id': '8dba500fa4514360b135209bd487820a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-63147780', 'ctest-vn-48598682'], 'port_security_enabled': True, 'description': ''}}
2025-09-11 08:32:33,568 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a7471e03-a203-405c-bc73-a38c37e64248', 'name': '', 'tenant_id': '8dba500fa4514360b135209bd487820a', 'network_id': '28f6beae-2b42-4204-8a06-8bdedcf10e10', 'ip_version': 4, 'cidr': '149.173.198.64/26', 'allocation_pools': [{'start': '149.173.198.66', 'end': '149.173.198.126'}], 'gateway_ip': '149.173.198.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.173.198.66', 'tags': [], 'project_id': '8dba500fa4514360b135209bd487820a'}}
2025-09-11 08:32:33,585 - INFO - Created VN ctest-vn-48598682
2025-09-11 08:32:33,637 - DEBUG - VN ctest-vn-48598682 UUID is 28f6beae-2b42-4204-8a06-8bdedcf10e10
2025-09-11 08:32:33,853 - DEBUG - Services list from nova: [, , ]
2025-09-11 08:32:34,864 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4083-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4083-1)
2025-09-11 08:32:35,985 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4083-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4083-1)
2025-09-11 08:32:35,985 - INFO - Waiting for VM ctest-TestBasicVMVNx-63147780-62838597 to be up..
2025-09-11 08:32:36,067 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-11 08:32:41,140 - DEBUG - VM is in ACTIVE state now
2025-09-11 08:32:41,140 - INFO - VM name : ctest-TestBasicVMVNx-63147780-62838597
2025-09-11 08:32:41,209 - DEBUG - VM ctest-TestBasicVMVNx-63147780-62838597 ID is 560bf901-797a-47cd-a2e6-f9076e88959f
2025-09-11 08:32:41,229 - DEBUG - VM ctest-TestBasicVMVNx-63147780-62838597 launched on Node cn-jenkins-deploy-platform-ansible-os-4083-1
2025-09-11 08:32:41,298 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/560bf901-797a-47cd-a2e6-f9076e88959f
2025-09-11 08:32:41,589 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/560bf901-797a-47cd-a2e6-f9076e88959f
2025-09-11 08:32:41,624 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/e9eb6785-272a-47cc-bdc9-a42772b6c89c
2025-09-11 08:32:44,859 - 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-09-11 08:32:44,859 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-63147780-62838597 failed!
2025-09-11 08:32:44,913 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-63147780:ctest-vn-48598682 is 149.173.198.65 and allocation pool is NOT set
2025-09-11 08:32:46,970 - 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.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.703 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.703/1.934/3.165/1.231 ms')
2025-09-11 08:32:46,970 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-63147780-62838597 passed
2025-09-11 08:32:47,124 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 08:32:47,125 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-63147780-62838597, IP 149.173.198.67, Port 22
2025-09-11 08:32:47,180 - 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-09-11 08:32:47,254 - DEBUG - VM ctest-TestBasicVMVNx-63147780-62838597 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-11 08:32:52,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 08:32:52,254 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-63147780-62838597, IP 149.173.198.67, Port 22
2025-09-11 08:32:52,408 - DEBUG - VM ctest-TestBasicVMVNx-63147780-62838597 is ready for SSH connections
2025-09-11 08:32:52,408 - INFO - Waiting for VM ctest-TestBasicVMVNx-63147780-81965056 to be up..
2025-09-11 08:32:52,480 - DEBUG - VM is in ACTIVE state now
2025-09-11 08:32:52,480 - INFO - VM name : ctest-TestBasicVMVNx-63147780-81965056
2025-09-11 08:32:52,554 - DEBUG - VM ctest-TestBasicVMVNx-63147780-81965056 ID is 1afab20f-3493-49e3-ae65-e0bcd0794557
2025-09-11 08:32:52,554 - DEBUG - VM ctest-TestBasicVMVNx-63147780-81965056 launched on Node cn-jenkins-deploy-platform-ansible-os-4083-1
2025-09-11 08:32:52,636 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/1afab20f-3493-49e3-ae65-e0bcd0794557
2025-09-11 08:32:52,645 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/cc26b79a-56f6-47b6-8829-33373df1e2d4
2025-09-11 08:32:53,888 - 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=2.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.404 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.404/1.648/2.892/1.244 ms')
2025-09-11 08:32:53,888 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-63147780-81965056 passed
2025-09-11 08:32:54,037 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 08:32:54,037 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-63147780-81965056, IP 149.173.198.68, Port 22
2025-09-11 08:32:54,203 - DEBUG - VM ctest-TestBasicVMVNx-63147780-81965056 is ready for SSH connections
2025-09-11 08:32:54,203 - DEBUG - FILE SIZE = 1303B
2025-09-11 08:32:54,203 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-63147780-62838597 to ctest-TestBasicVMVNx-63147780-81965056 using scp
2025-09-11 08:32:54,205 - 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.41, gateway password: c0ntrail123
2025-09-11 08:32:54,205 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-09-11 08:32:56,119 - DEBUG - 1+0 records in
1+0 records out
2025-09-11 08:32:56,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 08:32:57,161 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-09-11 08:32:57,162 - DEBUG - ls -l testfile
2025-09-11 08:32:58,789 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 11 02:32 [0;0mtestfile[0m
2025-09-11 08:32:58,789 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-63147780-81965056
2025-09-11 08:32:58,789 - INFO - Deleting VM ctest-TestBasicVMVNx-63147780-81965056
2025-09-11 08:32:58,860 - INFO - Deleting VM ctest-TestBasicVMVNx-63147780-62838597
2025-09-11 08:32:58,935 - INFO - Deleting VN ctest-vn-48598682
2025-09-11 08:32:58,970 - DEBUG - VN 28f6beae-2b42-4204-8a06-8bdedcf10e10 still in use: Unable to complete operation on network 28f6beae-2b42-4204-8a06-8bdedcf10e10. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b0234464-78d8-4eed-b39c-de6dab637d9f']
2025-09-11 08:32:58,970 - WARNING - Deleting VN ctest-vn-48598682 failed..Will retry
2025-09-11 08:33:01,067 - DEBUG - Response for deleting network ()
2025-09-11 08:33:01,326 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 08:33:01,326 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-09-11 08:33:01,326 - INFO - --------------------------------------------------------------------------------
2025-09-11 08:33:02,003 - INFO - Deleted project: ctest-TestBasicVMVNx-63147780, ID : 8dba500f-a451-4360-b135-209bd487820a