2025-06-26 19:38:46,432 - INFO - Domain Default found not creating
2025-06-26 19:38:46,600 - INFO - Project ctest-TestBasicVMVNx-70078633 not found, creating it
2025-06-26 19:38:47,119 - INFO - Created Project:ctest-TestBasicVMVNx-70078633, ID : bf207998-71f8-47e2-99fa-2c843a932e10
2025-06-26 19:38:48,730 - INFO - ================================================================================
2025-06-26 19:38:48,730 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-06-26 19:38:48,730 - 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 19:38:49,034 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-06-26 19:38:49,034 - INFO - Initial checks done. Running the testcase now
2025-06-26 19:38:49,035 - INFO -
2025-06-26 19:38:49,642 - DEBUG - Response for create_network : {'network': {'id': 'a045ffed-95a8-407c-b8e0-dfc310042025', 'name': 'ctest-vn-67485809', 'tenant_id': 'bf20799871f847e299fa2c843a932e10', 'project_id': 'bf20799871f847e299fa2c843a932e10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-70078633', 'ctest-vn-67485809'], 'port_security_enabled': True, 'description': ''}}
2025-06-26 19:38:49,842 - DEBUG - Response for create_subnet : {'subnet': {'id': '6517707e-9182-483c-a1c2-ebde49f39c20', 'name': '', 'tenant_id': 'bf20799871f847e299fa2c843a932e10', 'network_id': 'a045ffed-95a8-407c-b8e0-dfc310042025', 'ip_version': 4, 'cidr': '125.131.59.192/26', 'allocation_pools': [{'start': '125.131.59.194', 'end': '125.131.59.254'}], 'gateway_ip': '125.131.59.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.131.59.194', 'tags': [], 'project_id': 'bf20799871f847e299fa2c843a932e10'}}
2025-06-26 19:38:49,864 - INFO - Created VN ctest-vn-67485809
2025-06-26 19:38:49,921 - DEBUG - VN ctest-vn-67485809 UUID is a045ffed-95a8-407c-b8e0-dfc310042025
2025-06-26 19:38:50,140 - DEBUG - Services list from nova: [, , ]
2025-06-26 19:38:51,320 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3562-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3562-1)
2025-06-26 19:38:52,538 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3562-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3562-1)
2025-06-26 19:38:52,538 - INFO - Waiting for VM ctest-TestBasicVMVNx-70078633-21918108 to be up..
2025-06-26 19:38:52,617 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-26 19:38:57,728 - DEBUG - VM is in ACTIVE state now
2025-06-26 19:38:57,728 - INFO - VM name : ctest-TestBasicVMVNx-70078633-21918108
2025-06-26 19:38:57,823 - DEBUG - VM ctest-TestBasicVMVNx-70078633-21918108 ID is 57de7b27-96ef-4279-9157-cfec31ee425c
2025-06-26 19:38:57,842 - DEBUG - VM ctest-TestBasicVMVNx-70078633-21918108 launched on Node cn-jenkins-deploy-platform-ansible-os-3562-1
2025-06-26 19:38:57,933 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/57de7b27-96ef-4279-9157-cfec31ee425c
2025-06-26 19:38:58,233 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/57de7b27-96ef-4279-9157-cfec31ee425c
2025-06-26 19:38:58,299 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/884fa4da-0a5a-497a-a243-9f146f0cc386
2025-06-26 19:39:01,601 - 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 1011ms')
2025-06-26 19:39:01,602 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-70078633-21918108 failed!
2025-06-26 19:39:01,657 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-70078633:ctest-vn-67485809 is 125.131.59.193 and allocation pool is NOT set
2025-06-26 19:39:03,728 - 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.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.930 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.930/2.533/4.137/1.603 ms')
2025-06-26 19:39:03,728 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-70078633-21918108 passed
2025-06-26 19:39:03,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-26 19:39:03,893 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-70078633-21918108, IP 125.131.59.195, Port 22
2025-06-26 19:39:04,059 - DEBUG - VM ctest-TestBasicVMVNx-70078633-21918108 is ready for SSH connections
2025-06-26 19:39:04,059 - INFO - Waiting for VM ctest-TestBasicVMVNx-70078633-37882956 to be up..
2025-06-26 19:39:04,269 - DEBUG - VM is in ACTIVE state now
2025-06-26 19:39:04,269 - INFO - VM name : ctest-TestBasicVMVNx-70078633-37882956
2025-06-26 19:39:04,354 - DEBUG - VM ctest-TestBasicVMVNx-70078633-37882956 ID is 177a478e-92c7-4d17-af1a-84a95e42a477
2025-06-26 19:39:04,354 - DEBUG - VM ctest-TestBasicVMVNx-70078633-37882956 launched on Node cn-jenkins-deploy-platform-ansible-os-3562-1
2025-06-26 19:39:04,436 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/177a478e-92c7-4d17-af1a-84a95e42a477
2025-06-26 19:39:04,445 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b41e6ef1-644f-437a-b939-525d6fc02559
2025-06-26 19:39:05,692 - 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=5.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.63 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 = 2.633/4.166/5.699/1.533 ms')
2025-06-26 19:39:05,692 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-70078633-37882956 passed
2025-06-26 19:39:05,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-26 19:39:05,878 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-70078633-37882956, IP 125.131.59.196, Port 22
2025-06-26 19:39:06,067 - DEBUG - VM ctest-TestBasicVMVNx-70078633-37882956 is ready for SSH connections
2025-06-26 19:39:06,068 - DEBUG - FILE SIZE = 1303B
2025-06-26 19:39:06,068 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-70078633-21918108 to ctest-TestBasicVMVNx-70078633-37882956 using scp
2025-06-26 19:39:06,068 - 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 19:39:06,069 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-06-26 19:39:08,089 - DEBUG - 1+0 records in
1+0 records out
2025-06-26 19:39:08,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-26 19:39:09,208 - 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 19:39:09,208 - DEBUG - ls -l testfile
2025-06-26 19:39:10,985 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 26 13:39 [0;0mtestfile[0m
2025-06-26 19:39:10,985 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-70078633-37882956
2025-06-26 19:39:10,986 - INFO - Deleting VM ctest-TestBasicVMVNx-70078633-37882956
2025-06-26 19:39:11,089 - INFO - Deleting VM ctest-TestBasicVMVNx-70078633-21918108
2025-06-26 19:39:11,188 - INFO - Deleting VN ctest-vn-67485809
2025-06-26 19:39:11,232 - DEBUG - VN a045ffed-95a8-407c-b8e0-dfc310042025 still in use: Unable to complete operation on network a045ffed-95a8-407c-b8e0-dfc310042025. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-66d1b6bf-57a3-47e6-9ab7-79516da93a0d']
2025-06-26 19:39:11,232 - WARNING - Deleting VN ctest-vn-67485809 failed..Will retry
2025-06-26 19:39:13,419 - DEBUG - Response for deleting network ()
2025-06-26 19:39:13,698 - DEBUG - No XMPP flaps were noticed during the test
2025-06-26 19:39:13,698 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-06-26 19:39:13,698 - INFO - --------------------------------------------------------------------------------
2025-06-26 19:39:14,504 - INFO - Deleted project: ctest-TestBasicVMVNx-70078633, ID : bf207998-71f8-47e2-99fa-2c843a932e10