2025-06-23 13:44:02,699 - INFO - Domain Default found not creating
2025-06-23 13:44:02,868 - INFO - Project ctest-TestBasicVMVNx-87573927 not found, creating it
2025-06-23 13:44:03,358 - INFO - Created Project:ctest-TestBasicVMVNx-87573927, ID : 26370aab-427b-4581-a092-61a7b59f5d7c
2025-06-23 13:44:04,953 - INFO - ================================================================================
2025-06-23 13:44:04,953 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-06-23 13:44:04,953 - 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 13:44:05,210 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-06-23 13:44:05,210 - INFO - Initial checks done. Running the testcase now
2025-06-23 13:44:05,210 - INFO -
2025-06-23 13:44:05,833 - DEBUG - Response for create_network : {'network': {'id': '4e2c9b94-e935-49ae-b230-e6332fe54d0a', 'name': 'ctest-vn-77663278', 'tenant_id': '26370aab427b4581a09261a7b59f5d7c', 'project_id': '26370aab427b4581a09261a7b59f5d7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-87573927', 'ctest-vn-77663278'], 'port_security_enabled': True, 'description': ''}}
2025-06-23 13:44:06,006 - DEBUG - Response for create_subnet : {'subnet': {'id': '32a0db29-8090-4ac1-9251-dbaf9b1e2184', 'name': '', 'tenant_id': '26370aab427b4581a09261a7b59f5d7c', 'network_id': '4e2c9b94-e935-49ae-b230-e6332fe54d0a', 'ip_version': 4, 'cidr': '22.39.139.0/26', 'allocation_pools': [{'start': '22.39.139.2', 'end': '22.39.139.62'}], 'gateway_ip': '22.39.139.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.39.139.2', 'tags': [], 'project_id': '26370aab427b4581a09261a7b59f5d7c'}}
2025-06-23 13:44:06,026 - INFO - Created VN ctest-vn-77663278
2025-06-23 13:44:06,082 - DEBUG - VN ctest-vn-77663278 UUID is 4e2c9b94-e935-49ae-b230-e6332fe54d0a
2025-06-23 13:44:06,261 - DEBUG - Services list from nova: [, , ]
2025-06-23 13:44:07,435 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3520-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3520-1)
2025-06-23 13:44:08,743 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3520-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3520-1)
2025-06-23 13:44:08,743 - INFO - Waiting for VM ctest-TestBasicVMVNx-87573927-67130933 to be up..
2025-06-23 13:44:08,857 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-23 13:44:13,938 - DEBUG - VM is in ACTIVE state now
2025-06-23 13:44:13,939 - INFO - VM name : ctest-TestBasicVMVNx-87573927-67130933
2025-06-23 13:44:14,024 - DEBUG - VM ctest-TestBasicVMVNx-87573927-67130933 ID is 1396aa8b-95bc-4d36-9030-08587ee1d1c6
2025-06-23 13:44:14,046 - DEBUG - VM ctest-TestBasicVMVNx-87573927-67130933 launched on Node cn-jenkins-deploy-platform-ansible-os-3520-1
2025-06-23 13:44:14,127 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1396aa8b-95bc-4d36-9030-08587ee1d1c6
2025-06-23 13:44:14,471 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1396aa8b-95bc-4d36-9030-08587ee1d1c6
2025-06-23 13:44:14,506 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/149817d9-c652-4587-b68b-c519c96fad16
2025-06-23 13:44:17,764 - 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 1007ms')
2025-06-23 13:44:17,764 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-87573927-67130933 failed!
2025-06-23 13:44:17,822 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-87573927:ctest-vn-77663278 is 22.39.139.1 and allocation pool is NOT set
2025-06-23 13:44:19,896 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.11 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 = 3.114/3.879/4.644/0.765 ms')
2025-06-23 13:44:19,896 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-87573927-67130933 passed
2025-06-23 13:44:20,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-23 13:44:20,054 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-87573927-67130933, IP 22.39.139.3, Port 22
2025-06-23 13:44:20,214 - DEBUG - VM ctest-TestBasicVMVNx-87573927-67130933 is ready for SSH connections
2025-06-23 13:44:20,214 - INFO - Waiting for VM ctest-TestBasicVMVNx-87573927-59058590 to be up..
2025-06-23 13:44:20,306 - DEBUG - VM is in ACTIVE state now
2025-06-23 13:44:20,306 - INFO - VM name : ctest-TestBasicVMVNx-87573927-59058590
2025-06-23 13:44:20,397 - DEBUG - VM ctest-TestBasicVMVNx-87573927-59058590 ID is 88c5af5e-e5c3-46fb-8ba0-c812f3e2e5f8
2025-06-23 13:44:20,398 - DEBUG - VM ctest-TestBasicVMVNx-87573927-59058590 launched on Node cn-jenkins-deploy-platform-ansible-os-3520-1
2025-06-23 13:44:20,492 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/88c5af5e-e5c3-46fb-8ba0-c812f3e2e5f8
2025-06-23 13:44:20,503 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/dd00cdda-c3f1-4d64-a2fc-e54301e1db78
2025-06-23 13:44:21,758 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.737 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.737/2.297/3.858/1.560 ms')
2025-06-23 13:44:21,758 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-87573927-59058590 passed
2025-06-23 13:44:21,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-23 13:44:21,906 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-87573927-59058590, IP 22.39.139.4, Port 22
2025-06-23 13:44:22,063 - DEBUG - VM ctest-TestBasicVMVNx-87573927-59058590 is ready for SSH connections
2025-06-23 13:44:22,063 - DEBUG - FILE SIZE = 1303B
2025-06-23 13:44:22,063 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-87573927-67130933 to ctest-TestBasicVMVNx-87573927-59058590 using scp
2025-06-23 13:44:22,064 - 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-23 13:44:22,064 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-06-23 13:44:24,046 - DEBUG - 1+0 records in
1+0 records out
2025-06-23 13:44:24,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-23 13:44:25,073 - 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-23 13:44:25,073 - DEBUG - ls -l testfile
2025-06-23 13:44:26,726 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 23 07:44 [0;0mtestfile[0m
2025-06-23 13:44:26,726 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-87573927-59058590
2025-06-23 13:44:26,726 - INFO - Deleting VM ctest-TestBasicVMVNx-87573927-59058590
2025-06-23 13:44:26,797 - INFO - Deleting VM ctest-TestBasicVMVNx-87573927-67130933
2025-06-23 13:44:26,868 - INFO - Deleting VN ctest-vn-77663278
2025-06-23 13:44:26,912 - DEBUG - VN 4e2c9b94-e935-49ae-b230-e6332fe54d0a still in use: Unable to complete operation on network 4e2c9b94-e935-49ae-b230-e6332fe54d0a. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-97374380-f74d-4620-9e6c-413ba7a78486']
2025-06-23 13:44:26,912 - WARNING - Deleting VN ctest-vn-77663278 failed..Will retry
2025-06-23 13:44:29,057 - DEBUG - Response for deleting network ()
2025-06-23 13:44:29,312 - DEBUG - No XMPP flaps were noticed during the test
2025-06-23 13:44:29,312 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-06-23 13:44:29,312 - INFO - --------------------------------------------------------------------------------
2025-06-23 13:44:30,058 - INFO - Deleted project: ctest-TestBasicVMVNx-87573927, ID : 26370aab-427b-4581-a092-61a7b59f5d7c