2025-12-25 02:04:01,426 - INFO - Domain Default found not creating
2025-12-25 02:04:01,602 - INFO - Project ctest-TestBasicVMVNx-94119322 not found, creating it
2025-12-25 02:04:02,068 - INFO - Created Project:ctest-TestBasicVMVNx-94119322, ID : d39a9f35-bbfe-4cae-9b8f-420cb3b9d2b6
2025-12-25 02:04:03,568 - INFO - ================================================================================
2025-12-25 02:04:03,568 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-12-25 02:04:03,568 - 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-12-25 02:04:03,823 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-12-25 02:04:03,823 - INFO - Initial checks done. Running the testcase now
2025-12-25 02:04:03,823 - INFO -
2025-12-25 02:04:04,355 - DEBUG - Response for create_network : {'network': {'id': '3ccc0ab8-63b5-43ac-beba-1a1c30126aa6', 'name': 'ctest-vn-72075465', 'tenant_id': 'd39a9f35bbfe4cae9b8f420cb3b9d2b6', 'project_id': 'd39a9f35bbfe4cae9b8f420cb3b9d2b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-94119322', 'ctest-vn-72075465'], 'port_security_enabled': True, 'description': ''}}
2025-12-25 02:04:04,571 - DEBUG - Response for create_subnet : {'subnet': {'id': '9ec2f3bb-05a6-4fe1-9c8d-2b226ddb2535', 'name': '', 'tenant_id': 'd39a9f35bbfe4cae9b8f420cb3b9d2b6', 'network_id': '3ccc0ab8-63b5-43ac-beba-1a1c30126aa6', 'ip_version': 4, 'cidr': '57.38.131.192/26', 'allocation_pools': [{'start': '57.38.131.194', 'end': '57.38.131.254'}], 'gateway_ip': '57.38.131.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.38.131.194', 'tags': [], 'project_id': 'd39a9f35bbfe4cae9b8f420cb3b9d2b6'}}
2025-12-25 02:04:04,592 - INFO - Created VN ctest-vn-72075465
2025-12-25 02:04:04,645 - DEBUG - VN ctest-vn-72075465 UUID is 3ccc0ab8-63b5-43ac-beba-1a1c30126aa6
2025-12-25 02:04:04,853 - DEBUG - Services list from nova: [, , ]
2025-12-25 02:04:05,880 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4923-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4923-1)
2025-12-25 02:04:07,085 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4923-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4923-1)
2025-12-25 02:04:07,087 - INFO - Waiting for VM ctest-TestBasicVMVNx-94119322-66715223 to be up..
2025-12-25 02:04:07,157 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-25 02:04:12,225 - DEBUG - VM is in ACTIVE state now
2025-12-25 02:04:12,225 - INFO - VM name : ctest-TestBasicVMVNx-94119322-66715223
2025-12-25 02:04:12,297 - DEBUG - VM ctest-TestBasicVMVNx-94119322-66715223 ID is 9d1f87ec-796a-451d-80de-03ef896df1ed
2025-12-25 02:04:12,323 - DEBUG - VM ctest-TestBasicVMVNx-94119322-66715223 launched on Node cn-jenkins-deploy-platform-ansible-os-4923-1
2025-12-25 02:04:12,392 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9d1f87ec-796a-451d-80de-03ef896df1ed
2025-12-25 02:04:12,688 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9d1f87ec-796a-451d-80de-03ef896df1ed
2025-12-25 02:04:12,720 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ec5bf7cf-90b2-4623-b8ad-76aad7a00dd8
2025-12-25 02:04:15,988 - 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 1031ms')
2025-12-25 02:04:15,988 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-94119322-66715223 failed!
2025-12-25 02:04:16,041 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-94119322:ctest-vn-72075465 is 57.38.131.193 and allocation pool is NOT set
2025-12-25 02:04:18,113 - 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.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.92 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.918/2.971/4.024/1.053 ms')
2025-12-25 02:04:18,113 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-94119322-66715223 passed
2025-12-25 02:04:18,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-25 02:04:18,261 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-94119322-66715223, IP 57.38.131.195, Port 22
2025-12-25 02:04:18,326 - 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-12-25 02:04:18,399 - DEBUG - VM ctest-TestBasicVMVNx-94119322-66715223 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-25 02:04:23,401 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-25 02:04:23,401 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-94119322-66715223, IP 57.38.131.195, Port 22
2025-12-25 02:04:23,556 - DEBUG - VM ctest-TestBasicVMVNx-94119322-66715223 is ready for SSH connections
2025-12-25 02:04:23,556 - INFO - Waiting for VM ctest-TestBasicVMVNx-94119322-27890753 to be up..
2025-12-25 02:04:23,643 - DEBUG - VM is in ACTIVE state now
2025-12-25 02:04:23,643 - INFO - VM name : ctest-TestBasicVMVNx-94119322-27890753
2025-12-25 02:04:23,720 - DEBUG - VM ctest-TestBasicVMVNx-94119322-27890753 ID is af1a1685-b561-489a-8620-113af58e2cf7
2025-12-25 02:04:23,720 - DEBUG - VM ctest-TestBasicVMVNx-94119322-27890753 launched on Node cn-jenkins-deploy-platform-ansible-os-4923-1
2025-12-25 02:04:23,791 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/af1a1685-b561-489a-8620-113af58e2cf7
2025-12-25 02:04:23,799 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/734355af-bc71-4d99-86ad-4d0eb7841ad0
2025-12-25 02:04:25,027 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.365 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.365/1.807/3.250/1.442 ms')
2025-12-25 02:04:25,027 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-94119322-27890753 passed
2025-12-25 02:04:25,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-25 02:04:25,173 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-94119322-27890753, IP 57.38.131.196, Port 22
2025-12-25 02:04:25,324 - DEBUG - VM ctest-TestBasicVMVNx-94119322-27890753 is ready for SSH connections
2025-12-25 02:04:25,325 - DEBUG - FILE SIZE = 1303B
2025-12-25 02:04:25,325 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-94119322-66715223 to ctest-TestBasicVMVNx-94119322-27890753 using scp
2025-12-25 02:04:25,326 - 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-12-25 02:04:25,326 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-12-25 02:04:27,232 - DEBUG - 1+0 records in
1+0 records out
2025-12-25 02:04:27,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-25 02:04:27,818 - 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-12-25 02:04:27,818 - DEBUG - ls -l testfile
2025-12-25 02:04:29,378 - DEBUG - -rw------- 1 cirros cirros 1303 Dec 24 19:04 [0;0mtestfile[0m
2025-12-25 02:04:29,378 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-94119322-27890753
2025-12-25 02:04:29,378 - INFO - Deleting VM ctest-TestBasicVMVNx-94119322-27890753
2025-12-25 02:04:29,445 - INFO - Deleting VM ctest-TestBasicVMVNx-94119322-66715223
2025-12-25 02:04:29,517 - INFO - Deleting VN ctest-vn-72075465
2025-12-25 02:04:29,550 - DEBUG - VN 3ccc0ab8-63b5-43ac-beba-1a1c30126aa6 still in use: Unable to complete operation on network 3ccc0ab8-63b5-43ac-beba-1a1c30126aa6. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d752aa8a-d36a-4852-a3be-d04dc8e5e055']
2025-12-25 02:04:29,550 - WARNING - Deleting VN ctest-vn-72075465 failed..Will retry
2025-12-25 02:04:31,644 - DEBUG - Response for deleting network ()
2025-12-25 02:04:31,901 - DEBUG - No XMPP flaps were noticed during the test
2025-12-25 02:04:31,901 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:28]
2025-12-25 02:04:31,901 - INFO - --------------------------------------------------------------------------------
2025-12-25 02:04:32,576 - INFO - Deleted project: ctest-TestBasicVMVNx-94119322, ID : d39a9f35-bbfe-4cae-9b8f-420cb3b9d2b6