2025-05-06 07:18:10,575 - INFO - Domain Default found not creating
2025-05-06 07:18:10,716 - INFO - Project ctest-TestBasicVMVNx-16338086 not found, creating it
2025-05-06 07:18:11,185 - INFO - Created Project:ctest-TestBasicVMVNx-16338086, ID : c45eb39a-bd54-45f0-9bd2-1f45b2a6f1ad
2025-05-06 07:18:12,618 - INFO - ================================================================================
2025-05-06 07:18:12,619 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-05-06 07:18:12,619 - 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-05-06 07:18:12,884 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-05-06 07:18:12,884 - INFO - Initial checks done. Running the testcase now
2025-05-06 07:18:12,885 - INFO -
2025-05-06 07:18:13,453 - DEBUG - Response for create_network : {'network': {'id': '17dbbf98-0245-4688-aca0-0aefb3401b8e', 'name': 'ctest-vn-54736338', 'tenant_id': 'c45eb39abd5445f09bd21f45b2a6f1ad', 'project_id': 'c45eb39abd5445f09bd21f45b2a6f1ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-16338086', 'ctest-vn-54736338'], 'port_security_enabled': True, 'description': ''}}
2025-05-06 07:18:13,660 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd2d99b1-2312-4e14-91b2-4b599abc77c8', 'name': '', 'tenant_id': 'c45eb39abd5445f09bd21f45b2a6f1ad', 'network_id': '17dbbf98-0245-4688-aca0-0aefb3401b8e', 'ip_version': 4, 'cidr': '173.255.4.0/26', 'allocation_pools': [{'start': '173.255.4.2', 'end': '173.255.4.62'}], 'gateway_ip': '173.255.4.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.255.4.2', 'tags': [], 'project_id': 'c45eb39abd5445f09bd21f45b2a6f1ad'}}
2025-05-06 07:18:13,682 - INFO - Created VN ctest-vn-54736338
2025-05-06 07:18:13,735 - DEBUG - VN ctest-vn-54736338 UUID is 17dbbf98-0245-4688-aca0-0aefb3401b8e
2025-05-06 07:18:13,901 - DEBUG - Services list from nova: [, , ]
2025-05-06 07:18:14,925 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3274-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3274-1)
2025-05-06 07:18:16,070 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3274-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3274-1)
2025-05-06 07:18:16,071 - INFO - Waiting for VM ctest-TestBasicVMVNx-16338086-72398507 to be up..
2025-05-06 07:18:16,171 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-05-06 07:18:21,255 - DEBUG - VM is in ACTIVE state now
2025-05-06 07:18:21,255 - INFO - VM name : ctest-TestBasicVMVNx-16338086-72398507
2025-05-06 07:18:21,329 - DEBUG - VM ctest-TestBasicVMVNx-16338086-72398507 ID is 48f0c3b1-4540-45cf-a498-61a59934e465
2025-05-06 07:18:21,349 - DEBUG - VM ctest-TestBasicVMVNx-16338086-72398507 launched on Node cn-jenkins-deploy-platform-ansible-os-3274-1
2025-05-06 07:18:21,430 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/48f0c3b1-4540-45cf-a498-61a59934e465
2025-05-06 07:18:21,722 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/48f0c3b1-4540-45cf-a498-61a59934e465
2025-05-06 07:18:21,757 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/de5bd16a-af51-412e-b029-b18738c98163
2025-05-06 07:18:25,005 - 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 1003ms')
2025-05-06 07:18:25,005 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-16338086-72398507 failed!
2025-05-06 07:18:25,059 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-16338086:ctest-vn-54736338 is 173.255.4.1 and allocation pool is NOT set
2025-05-06 07:18:27,116 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.53 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 = 1.534/2.557/3.580/1.023 ms')
2025-05-06 07:18:27,116 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-16338086-72398507 passed
2025-05-06 07:18:27,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-06 07:18:27,267 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-16338086-72398507, IP 173.255.4.3, Port 22
2025-05-06 07:18:27,419 - DEBUG - VM ctest-TestBasicVMVNx-16338086-72398507 is ready for SSH connections
2025-05-06 07:18:27,419 - INFO - Waiting for VM ctest-TestBasicVMVNx-16338086-34071392 to be up..
2025-05-06 07:18:27,501 - DEBUG - VM is in ACTIVE state now
2025-05-06 07:18:27,501 - INFO - VM name : ctest-TestBasicVMVNx-16338086-34071392
2025-05-06 07:18:27,582 - DEBUG - VM ctest-TestBasicVMVNx-16338086-34071392 ID is 3e4d2365-ad41-49b0-9c4c-05726ffa4d25
2025-05-06 07:18:27,582 - DEBUG - VM ctest-TestBasicVMVNx-16338086-34071392 launched on Node cn-jenkins-deploy-platform-ansible-os-3274-1
2025-05-06 07:18:27,652 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3e4d2365-ad41-49b0-9c4c-05726ffa4d25
2025-05-06 07:18:27,661 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9275699c-f1dd-460d-b9fe-607d5bc58279
2025-05-06 07:18:28,899 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.441 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.441/1.690/2.940/1.249 ms')
2025-05-06 07:18:28,900 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-16338086-34071392 passed
2025-05-06 07:18:29,051 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-06 07:18:29,051 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-16338086-34071392, IP 173.255.4.4, Port 22
2025-05-06 07:18:29,207 - DEBUG - VM ctest-TestBasicVMVNx-16338086-34071392 is ready for SSH connections
2025-05-06 07:18:29,207 - DEBUG - FILE SIZE = 1303B
2025-05-06 07:18:29,207 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-16338086-72398507 to ctest-TestBasicVMVNx-16338086-34071392 using scp
2025-05-06 07:18:29,208 - 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.50, gateway password: c0ntrail123
2025-05-06 07:18:29,209 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-05-06 07:18:31,139 - DEBUG - 1+0 records in
1+0 records out
2025-05-06 07:18:31,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-06 07:18:32,079 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-05-06 07:18:32,079 - DEBUG - ls -l testfile
2025-05-06 07:18:33,672 - DEBUG - -rw------- 1 cirros cirros 1303 May 6 01:18 [0;0mtestfile[0m
2025-05-06 07:18:33,672 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-16338086-34071392
2025-05-06 07:18:33,673 - INFO - Deleting VM ctest-TestBasicVMVNx-16338086-34071392
2025-05-06 07:18:33,770 - INFO - Deleting VM ctest-TestBasicVMVNx-16338086-72398507
2025-05-06 07:18:33,840 - INFO - Deleting VN ctest-vn-54736338
2025-05-06 07:18:33,890 - DEBUG - VN 17dbbf98-0245-4688-aca0-0aefb3401b8e still in use: Unable to complete operation on network 17dbbf98-0245-4688-aca0-0aefb3401b8e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-dbafa1bc-390f-4606-8c44-7b617145eddf']
2025-05-06 07:18:33,890 - WARNING - Deleting VN ctest-vn-54736338 failed..Will retry
2025-05-06 07:18:36,007 - DEBUG - Response for deleting network ()
2025-05-06 07:18:36,261 - DEBUG - No XMPP flaps were noticed during the test
2025-05-06 07:18:36,261 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-05-06 07:18:36,261 - INFO - --------------------------------------------------------------------------------
2025-05-06 07:18:36,948 - INFO - Deleted project: ctest-TestBasicVMVNx-16338086, ID : c45eb39a-bd54-45f0-9bd2-1f45b2a6f1ad