2025-09-13 14:20:51,327 - INFO - Domain Default found not creating
2025-09-13 14:20:51,469 - INFO - Project ctest-TestBasicVMVNx-15997161 not found, creating it
2025-09-13 14:20:51,919 - INFO - Created Project:ctest-TestBasicVMVNx-15997161, ID : 69d83959-1761-4ff8-ae7b-7c0883004822
2025-09-13 14:20:53,578 - INFO - ================================================================================
2025-09-13 14:20:53,578 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-09-13 14:20:53,579 - 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-13 14:20:53,830 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-09-13 14:20:53,831 - INFO - Initial checks done. Running the testcase now
2025-09-13 14:20:53,831 - INFO -
2025-09-13 14:20:54,414 - DEBUG - Response for create_network : {'network': {'id': '15400b07-829e-4c1a-b3fe-081f36e8f02a', 'name': 'ctest-vn-55351534', 'tenant_id': '69d8395917614ff8ae7b7c0883004822', 'project_id': '69d8395917614ff8ae7b7c0883004822', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-15997161', 'ctest-vn-55351534'], 'port_security_enabled': True, 'description': ''}}
2025-09-13 14:20:54,579 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb6ca35e-fc9f-4e11-b4b1-3df1e19a92d4', 'name': '', 'tenant_id': '69d8395917614ff8ae7b7c0883004822', 'network_id': '15400b07-829e-4c1a-b3fe-081f36e8f02a', 'ip_version': 4, 'cidr': '173.73.184.192/26', 'allocation_pools': [{'start': '173.73.184.194', 'end': '173.73.184.254'}], 'gateway_ip': '173.73.184.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.73.184.194', 'tags': [], 'project_id': '69d8395917614ff8ae7b7c0883004822'}}
2025-09-13 14:20:54,599 - INFO - Created VN ctest-vn-55351534
2025-09-13 14:20:54,653 - DEBUG - VN ctest-vn-55351534 UUID is 15400b07-829e-4c1a-b3fe-081f36e8f02a
2025-09-13 14:20:54,860 - DEBUG - Services list from nova: [, , ]
2025-09-13 14:20:55,947 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4102-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4102-1)
2025-09-13 14:20:57,103 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4102-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4102-1)
2025-09-13 14:20:57,103 - INFO - Waiting for VM ctest-TestBasicVMVNx-15997161-45406498 to be up..
2025-09-13 14:20:57,185 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-13 14:21:02,292 - DEBUG - VM is in ACTIVE state now
2025-09-13 14:21:02,292 - INFO - VM name : ctest-TestBasicVMVNx-15997161-45406498
2025-09-13 14:21:02,382 - DEBUG - VM ctest-TestBasicVMVNx-15997161-45406498 ID is f7cf677a-bfc2-4ab2-b003-a77e5d58bad6
2025-09-13 14:21:02,404 - DEBUG - VM ctest-TestBasicVMVNx-15997161-45406498 launched on Node cn-jenkins-deploy-platform-ansible-os-4102-1
2025-09-13 14:21:02,479 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f7cf677a-bfc2-4ab2-b003-a77e5d58bad6
2025-09-13 14:21:02,825 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f7cf677a-bfc2-4ab2-b003-a77e5d58bad6
2025-09-13 14:21:02,859 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/89ba8d68-0eab-46ab-b83f-7379730a09f9
2025-09-13 14:21:06,129 - 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 1027ms')
2025-09-13 14:21:06,129 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-15997161-45406498 failed!
2025-09-13 14:21:06,185 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-15997161:ctest-vn-55351534 is 173.73.184.193 and allocation pool is NOT set
2025-09-13 14:21:08,254 - 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.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.93 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.928/3.209/3.490/0.281 ms')
2025-09-13 14:21:08,254 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-15997161-45406498 passed
2025-09-13 14:21:08,401 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-13 14:21:08,401 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-15997161-45406498, IP 173.73.184.195, Port 22
2025-09-13 14:21:08,471 - 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-13 14:21:08,546 - DEBUG - VM ctest-TestBasicVMVNx-15997161-45406498 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-13 14:21:13,546 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-13 14:21:13,546 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-15997161-45406498, IP 173.73.184.195, Port 22
2025-09-13 14:21:13,704 - DEBUG - VM ctest-TestBasicVMVNx-15997161-45406498 is ready for SSH connections
2025-09-13 14:21:13,704 - INFO - Waiting for VM ctest-TestBasicVMVNx-15997161-40917903 to be up..
2025-09-13 14:21:13,774 - DEBUG - VM is in ACTIVE state now
2025-09-13 14:21:13,774 - INFO - VM name : ctest-TestBasicVMVNx-15997161-40917903
2025-09-13 14:21:13,844 - DEBUG - VM ctest-TestBasicVMVNx-15997161-40917903 ID is 570ec3f1-7151-46f7-abe2-b91473846abc
2025-09-13 14:21:13,844 - DEBUG - VM ctest-TestBasicVMVNx-15997161-40917903 launched on Node cn-jenkins-deploy-platform-ansible-os-4102-1
2025-09-13 14:21:13,918 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/570ec3f1-7151-46f7-abe2-b91473846abc
2025-09-13 14:21:13,926 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/007935f6-e221-46d5-be03-9d9500928bd2
2025-09-13 14:21:15,161 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.385 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.385/1.720/3.056/1.335 ms')
2025-09-13 14:21:15,161 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-15997161-40917903 passed
2025-09-13 14:21:15,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-13 14:21:15,313 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-15997161-40917903, IP 173.73.184.196, Port 22
2025-09-13 14:21:15,469 - DEBUG - VM ctest-TestBasicVMVNx-15997161-40917903 is ready for SSH connections
2025-09-13 14:21:15,469 - DEBUG - FILE SIZE = 1303B
2025-09-13 14:21:15,469 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-15997161-45406498 to ctest-TestBasicVMVNx-15997161-40917903 using scp
2025-09-13 14:21:15,471 - 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.22, gateway password: c0ntrail123
2025-09-13 14:21:15,471 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-09-13 14:21:17,494 - DEBUG - 1+0 records in
1+0 records out
2025-09-13 14:21:18,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-13 14:21:18,541 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-09-13 14:21:18,542 - DEBUG - ls -l testfile
2025-09-13 14:21:20,165 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 13 08:21 [0;0mtestfile[0m
2025-09-13 14:21:20,165 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-15997161-40917903
2025-09-13 14:21:20,165 - INFO - Deleting VM ctest-TestBasicVMVNx-15997161-40917903
2025-09-13 14:21:20,252 - INFO - Deleting VM ctest-TestBasicVMVNx-15997161-45406498
2025-09-13 14:21:20,323 - INFO - Deleting VN ctest-vn-55351534
2025-09-13 14:21:20,359 - DEBUG - VN 15400b07-829e-4c1a-b3fe-081f36e8f02a still in use: Unable to complete operation on network 15400b07-829e-4c1a-b3fe-081f36e8f02a. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-7954d386-47df-4872-b9f0-44915882957c']
2025-09-13 14:21:20,359 - WARNING - Deleting VN ctest-vn-55351534 failed..Will retry
2025-09-13 14:21:22,474 - DEBUG - Response for deleting network ()
2025-09-13 14:21:22,737 - DEBUG - No XMPP flaps were noticed during the test
2025-09-13 14:21:22,737 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-09-13 14:21:22,737 - INFO - --------------------------------------------------------------------------------
2025-09-13 14:21:23,460 - INFO - Deleted project: ctest-TestBasicVMVNx-15997161, ID : 69d83959-1761-4ff8-ae7b-7c0883004822