2025-06-23 02:05:50,460 - INFO - Domain Default found not creating
2025-06-23 02:05:50,607 - INFO - Project ctest-TestBasicVMVNx-08623964 not found, creating it
2025-06-23 02:05:51,052 - INFO - Created Project:ctest-TestBasicVMVNx-08623964, ID : bfa3ef0f-1b23-4499-bb53-2ac41ad8b782
2025-06-23 02:05:52,458 - INFO - ================================================================================
2025-06-23 02:05:52,458 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-06-23 02:05:52,458 - 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-06-23 02:05:52,714 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with
2025-06-23 02:05:52,715 - INFO - Initial checks done. Running the testcase now
2025-06-23 02:05:52,715 - INFO -
2025-06-23 02:05:53,307 - DEBUG - Response for create_network : {'network': {'id': 'db4615d8-458b-49ba-8378-a789503167d2', 'name': 'ctest-vn-06652322', 'tenant_id': 'bfa3ef0f1b234499bb532ac41ad8b782', 'project_id': 'bfa3ef0f1b234499bb532ac41ad8b782', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-08623964', 'ctest-vn-06652322'], 'port_security_enabled': True, 'description': ''}}
2025-06-23 02:05:53,496 - DEBUG - Response for create_subnet : {'subnet': {'id': '4cad6120-3767-4c1f-9a1c-c2c3ff47280b', 'name': '', 'tenant_id': 'bfa3ef0f1b234499bb532ac41ad8b782', 'network_id': 'db4615d8-458b-49ba-8378-a789503167d2', 'ip_version': 4, 'cidr': '149.2.14.0/26', 'allocation_pools': [{'start': '149.2.14.2', 'end': '149.2.14.62'}], 'gateway_ip': '149.2.14.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.2.14.2', 'tags': [], 'project_id': 'bfa3ef0f1b234499bb532ac41ad8b782'}}
2025-06-23 02:05:53,517 - INFO - Created VN ctest-vn-06652322
2025-06-23 02:05:53,569 - DEBUG - VN ctest-vn-06652322 UUID is db4615d8-458b-49ba-8378-a789503167d2
2025-06-23 02:05:53,736 - DEBUG - Services list from nova: [, , ]
2025-06-23 02:05:54,727 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3518-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3518-1)
2025-06-23 02:05:55,852 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3518-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3518-1)
2025-06-23 02:05:55,852 - INFO - Waiting for VM ctest-TestBasicVMVNx-08623964-68760314 to be up..
2025-06-23 02:05:55,957 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-23 02:06:01,035 - DEBUG - VM is in ACTIVE state now
2025-06-23 02:06:01,035 - INFO - VM name : ctest-TestBasicVMVNx-08623964-68760314
2025-06-23 02:06:01,105 - DEBUG - VM ctest-TestBasicVMVNx-08623964-68760314 ID is f86b9855-7a7e-4826-8836-15d56582a1cc
2025-06-23 02:06:01,122 - DEBUG - VM ctest-TestBasicVMVNx-08623964-68760314 launched on Node cn-jenkins-deploy-platform-ansible-os-3518-1
2025-06-23 02:06:01,192 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f86b9855-7a7e-4826-8836-15d56582a1cc
2025-06-23 02:06:01,507 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f86b9855-7a7e-4826-8836-15d56582a1cc
2025-06-23 02:06:01,539 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1e702529-58cf-49b0-be2f-0378ab849713
2025-06-23 02:06:04,791 - 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 1014ms')
2025-06-23 02:06:04,791 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-08623964-68760314 failed!
2025-06-23 02:06:04,849 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-08623964:ctest-vn-06652322 is 149.2.14.1 and allocation pool is NOT set
2025-06-23 02:06:06,918 - 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=4.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.31 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 = 1.311/3.008/4.705/1.697 ms')
2025-06-23 02:06:06,918 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-08623964-68760314 passed
2025-06-23 02:06:07,069 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-23 02:06:07,069 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-08623964-68760314, IP 149.2.14.3, Port 22
2025-06-23 02:06:07,124 - 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-06-23 02:06:07,197 - DEBUG - VM ctest-TestBasicVMVNx-08623964-68760314 is NOT ready for SSH connections, VM status: ACTIVE
2025-06-23 02:06:12,198 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-23 02:06:12,198 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-08623964-68760314, IP 149.2.14.3, Port 22
2025-06-23 02:06:12,352 - DEBUG - VM ctest-TestBasicVMVNx-08623964-68760314 is ready for SSH connections
2025-06-23 02:06:12,353 - INFO - Waiting for VM ctest-TestBasicVMVNx-08623964-05667958 to be up..
2025-06-23 02:06:12,430 - DEBUG - VM is in ACTIVE state now
2025-06-23 02:06:12,430 - INFO - VM name : ctest-TestBasicVMVNx-08623964-05667958
2025-06-23 02:06:12,506 - DEBUG - VM ctest-TestBasicVMVNx-08623964-05667958 ID is ed5b14e0-2db2-46ef-a66a-fe9b76085aaa
2025-06-23 02:06:12,506 - DEBUG - VM ctest-TestBasicVMVNx-08623964-05667958 launched on Node cn-jenkins-deploy-platform-ansible-os-3518-1
2025-06-23 02:06:12,589 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ed5b14e0-2db2-46ef-a66a-fe9b76085aaa
2025-06-23 02:06:12,598 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d53358a4-9721-4f77-a270-2bd55280477f
2025-06-23 02:06:13,850 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.361 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.361/1.742/3.123/1.381 ms')
2025-06-23 02:06:13,850 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-08623964-05667958 passed
2025-06-23 02:06:14,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-23 02:06:14,001 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-08623964-05667958, IP 149.2.14.4, Port 22
2025-06-23 02:06:14,168 - DEBUG - VM ctest-TestBasicVMVNx-08623964-05667958 is ready for SSH connections
2025-06-23 02:06:14,168 - DEBUG - FILE SIZE = 1303B
2025-06-23 02:06:14,168 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-08623964-68760314 to ctest-TestBasicVMVNx-08623964-05667958 using scp
2025-06-23 02:06:14,169 - 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.38, gateway password: c0ntrail123
2025-06-23 02:06:14,169 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-06-23 02:06:16,048 - DEBUG - 1+0 records in
1+0 records out
2025-06-23 02:06:16,867 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-23 02:06:17,193 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-06-23 02:06:17,194 - DEBUG - ls -l testfile
2025-06-23 02:06:18,746 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 22 20:06 [0;0mtestfile[0m
2025-06-23 02:06:18,747 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-08623964-05667958
2025-06-23 02:06:18,747 - INFO - Deleting VM ctest-TestBasicVMVNx-08623964-05667958
2025-06-23 02:06:18,810 - INFO - Deleting VM ctest-TestBasicVMVNx-08623964-68760314
2025-06-23 02:06:18,879 - INFO - Deleting VN ctest-vn-06652322
2025-06-23 02:06:18,922 - DEBUG - VN db4615d8-458b-49ba-8378-a789503167d2 still in use: Unable to complete operation on network db4615d8-458b-49ba-8378-a789503167d2. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b82a4b48-e2da-4db2-adb9-e8e3855beec6']
2025-06-23 02:06:18,922 - WARNING - Deleting VN ctest-vn-06652322 failed..Will retry
2025-06-23 02:06:21,025 - DEBUG - Response for deleting network ()
2025-06-23 02:06:21,278 - DEBUG - No XMPP flaps were noticed during the test
2025-06-23 02:06:21,278 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-06-23 02:06:21,278 - INFO - --------------------------------------------------------------------------------
2025-06-23 02:06:21,942 - INFO - Deleted project: ctest-TestBasicVMVNx-08623964, ID : bfa3ef0f-1b23-4499-bb53-2ac41ad8b782