2025-06-26 02:13:36,973 - INFO - Domain Default found not creating
2025-06-26 02:13:37,135 - INFO - Project ctest-TestBasicVMVNx-64208086 not found, creating it
2025-06-26 02:13:37,614 - INFO - Created Project:ctest-TestBasicVMVNx-64208086, ID : 34353603-3a73-4aab-afc8-48abedb4b467
2025-06-26 02:13:39,124 - INFO - ================================================================================
2025-06-26 02:13:39,125 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-06-26 02:13:39,125 - 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-26 02:13:39,379 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-06-26 02:13:39,380 - INFO - Initial checks done. Running the testcase now
2025-06-26 02:13:39,380 - INFO -
2025-06-26 02:13:39,963 - DEBUG - Response for create_network : {'network': {'id': '8e3070e6-a9f3-446a-8a65-c92664483c3c', 'name': 'ctest-vn-09456648', 'tenant_id': '343536033a734aabafc848abedb4b467', 'project_id': '343536033a734aabafc848abedb4b467', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-64208086', 'ctest-vn-09456648'], 'port_security_enabled': True, 'description': ''}}
2025-06-26 02:13:40,183 - DEBUG - Response for create_subnet : {'subnet': {'id': '36784d9f-1468-4a84-a63d-bca5e35ed0aa', 'name': '', 'tenant_id': '343536033a734aabafc848abedb4b467', 'network_id': '8e3070e6-a9f3-446a-8a65-c92664483c3c', 'ip_version': 4, 'cidr': '29.251.104.192/26', 'allocation_pools': [{'start': '29.251.104.194', 'end': '29.251.104.254'}], 'gateway_ip': '29.251.104.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.251.104.194', 'tags': [], 'project_id': '343536033a734aabafc848abedb4b467'}}
2025-06-26 02:13:40,203 - INFO - Created VN ctest-vn-09456648
2025-06-26 02:13:40,260 - DEBUG - VN ctest-vn-09456648 UUID is 8e3070e6-a9f3-446a-8a65-c92664483c3c
2025-06-26 02:13:40,437 - DEBUG - Services list from nova: [, , ]
2025-06-26 02:13:41,491 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3553-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3553-1)
2025-06-26 02:13:42,662 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3553-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3553-1)
2025-06-26 02:13:42,663 - INFO - Waiting for VM ctest-TestBasicVMVNx-64208086-19813570 to be up..
2025-06-26 02:13:42,765 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-26 02:13:47,849 - DEBUG - VM is in ACTIVE state now
2025-06-26 02:13:47,849 - INFO - VM name : ctest-TestBasicVMVNx-64208086-19813570
2025-06-26 02:13:47,933 - DEBUG - VM ctest-TestBasicVMVNx-64208086-19813570 ID is 838b7f9a-fa1e-49a2-bf6f-7357b6e775fa
2025-06-26 02:13:47,955 - DEBUG - VM ctest-TestBasicVMVNx-64208086-19813570 launched on Node cn-jenkins-deploy-platform-ansible-os-3553-1
2025-06-26 02:13:48,042 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/838b7f9a-fa1e-49a2-bf6f-7357b6e775fa
2025-06-26 02:13:48,340 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/838b7f9a-fa1e-49a2-bf6f-7357b6e775fa
2025-06-26 02:13:48,376 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d836cd93-2d52-465a-b0b1-bd221893b24a
2025-06-26 02:13:51,651 - 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-06-26 02:13:51,651 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-64208086-19813570 failed!
2025-06-26 02:13:51,712 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-64208086:ctest-vn-09456648 is 29.251.104.193 and allocation pool is NOT set
2025-06-26 02:13:53,778 - 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.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.961 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.961/2.050/3.139/1.089 ms')
2025-06-26 02:13:53,778 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-64208086-19813570 passed
2025-06-26 02:13:53,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-26 02:13:53,932 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-64208086-19813570, IP 29.251.104.195, Port 22
2025-06-26 02:13:54,002 - 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-26 02:13:54,095 - DEBUG - VM ctest-TestBasicVMVNx-64208086-19813570 is NOT ready for SSH connections, VM status: ACTIVE
2025-06-26 02:13:59,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-26 02:13:59,096 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-64208086-19813570, IP 29.251.104.195, Port 22
2025-06-26 02:13:59,267 - DEBUG - VM ctest-TestBasicVMVNx-64208086-19813570 is ready for SSH connections
2025-06-26 02:13:59,267 - INFO - Waiting for VM ctest-TestBasicVMVNx-64208086-54210181 to be up..
2025-06-26 02:13:59,355 - DEBUG - VM is in ACTIVE state now
2025-06-26 02:13:59,355 - INFO - VM name : ctest-TestBasicVMVNx-64208086-54210181
2025-06-26 02:13:59,441 - DEBUG - VM ctest-TestBasicVMVNx-64208086-54210181 ID is b0fd4598-da9c-46d9-9342-af3ea09c6516
2025-06-26 02:13:59,441 - DEBUG - VM ctest-TestBasicVMVNx-64208086-54210181 launched on Node cn-jenkins-deploy-platform-ansible-os-3553-1
2025-06-26 02:13:59,562 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b0fd4598-da9c-46d9-9342-af3ea09c6516
2025-06-26 02:13:59,575 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1a970180-9756-4355-8196-c6f55a3b2591
2025-06-26 02:14:00,828 - 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=4.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.536 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.536/2.424/4.312/1.888 ms')
2025-06-26 02:14:00,828 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-64208086-54210181 passed
2025-06-26 02:14:00,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-26 02:14:00,984 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-64208086-54210181, IP 29.251.104.196, Port 22
2025-06-26 02:14:01,148 - DEBUG - VM ctest-TestBasicVMVNx-64208086-54210181 is ready for SSH connections
2025-06-26 02:14:01,148 - DEBUG - FILE SIZE = 1303B
2025-06-26 02:14:01,148 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-64208086-19813570 to ctest-TestBasicVMVNx-64208086-54210181 using scp
2025-06-26 02:14:01,149 - 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.254, gateway password: c0ntrail123
2025-06-26 02:14:01,149 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-06-26 02:14:03,142 - DEBUG - 1+0 records in
1+0 records out
2025-06-26 02:14:03,786 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-26 02:14:04,136 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-06-26 02:14:04,136 - DEBUG - ls -l testfile
2025-06-26 02:14:05,752 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 25 20:14 [0;0mtestfile[0m
2025-06-26 02:14:05,752 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-64208086-54210181
2025-06-26 02:14:05,752 - INFO - Deleting VM ctest-TestBasicVMVNx-64208086-54210181
2025-06-26 02:14:05,931 - INFO - Deleting VM ctest-TestBasicVMVNx-64208086-19813570
2025-06-26 02:14:06,010 - INFO - Deleting VN ctest-vn-09456648
2025-06-26 02:14:06,054 - DEBUG - VN 8e3070e6-a9f3-446a-8a65-c92664483c3c still in use: Unable to complete operation on network 8e3070e6-a9f3-446a-8a65-c92664483c3c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-01f6d262-d047-49d8-a2cf-057ff273fcaf']
2025-06-26 02:14:06,054 - WARNING - Deleting VN ctest-vn-09456648 failed..Will retry
2025-06-26 02:14:08,250 - DEBUG - Response for deleting network ()
2025-06-26 02:14:08,507 - DEBUG - No XMPP flaps were noticed during the test
2025-06-26 02:14:08,508 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-06-26 02:14:08,508 - INFO - --------------------------------------------------------------------------------
2025-06-26 02:14:09,278 - INFO - Deleted project: ctest-TestBasicVMVNx-64208086, ID : 34353603-3a73-4aab-afc8-48abedb4b467