2025-04-09 20:04:06,185 - INFO - Domain Default found not creating
2025-04-09 20:04:06,320 - INFO - Project ctest-TestBasicVMVNx-46180080 not found, creating it
2025-04-09 20:04:06,791 - INFO - Created Project:ctest-TestBasicVMVNx-46180080, ID : 78860589-4bec-4963-92eb-0c2488392e6d
2025-04-09 20:04:08,179 - INFO - ================================================================================
2025-04-09 20:04:08,179 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-04-09 20:04:08,179 - 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-04-09 20:04:08,437 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with
2025-04-09 20:04:08,437 - INFO - Initial checks done. Running the testcase now
2025-04-09 20:04:08,437 - INFO -
2025-04-09 20:04:08,976 - DEBUG - Response for create_network : {'network': {'id': '17aeb1a7-7ad2-4d87-be5c-24f968eb4077', 'name': 'ctest-vn-23179248', 'tenant_id': '788605894bec496392eb0c2488392e6d', 'project_id': '788605894bec496392eb0c2488392e6d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-46180080', 'ctest-vn-23179248'], 'port_security_enabled': True, 'description': ''}}
2025-04-09 20:04:09,188 - DEBUG - Response for create_subnet : {'subnet': {'id': '75ef2fa9-5a20-432d-8c32-88f3ca55d464', 'name': '', 'tenant_id': '788605894bec496392eb0c2488392e6d', 'network_id': '17aeb1a7-7ad2-4d87-be5c-24f968eb4077', 'ip_version': 4, 'cidr': '36.107.204.0/26', 'allocation_pools': [{'start': '36.107.204.2', 'end': '36.107.204.62'}], 'gateway_ip': '36.107.204.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.107.204.2', 'tags': [], 'project_id': '788605894bec496392eb0c2488392e6d'}}
2025-04-09 20:04:09,206 - INFO - Created VN ctest-vn-23179248
2025-04-09 20:04:09,262 - DEBUG - VN ctest-vn-23179248 UUID is 17aeb1a7-7ad2-4d87-be5c-24f968eb4077
2025-04-09 20:04:09,467 - DEBUG - Services list from nova: [, , ]
2025-04-09 20:04:10,472 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3073-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3073-1)
2025-04-09 20:04:11,604 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3073-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3073-1)
2025-04-09 20:04:11,604 - INFO - Waiting for VM ctest-TestBasicVMVNx-46180080-40112778 to be up..
2025-04-09 20:04:11,686 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-09 20:04:16,774 - DEBUG - VM is in ACTIVE state now
2025-04-09 20:04:16,774 - INFO - VM name : ctest-TestBasicVMVNx-46180080-40112778
2025-04-09 20:04:16,851 - DEBUG - VM ctest-TestBasicVMVNx-46180080-40112778 ID is 9bdc5577-c633-43ea-9eb3-1fd5de4bd2ee
2025-04-09 20:04:16,870 - DEBUG - VM ctest-TestBasicVMVNx-46180080-40112778 launched on Node cn-jenkins-deploy-platform-ansible-os-3073-1
2025-04-09 20:04:16,946 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/9bdc5577-c633-43ea-9eb3-1fd5de4bd2ee
2025-04-09 20:04:17,244 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/9bdc5577-c633-43ea-9eb3-1fd5de4bd2ee
2025-04-09 20:04:17,279 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/5fd0ae9c-439a-4306-b767-eb7215b061ed
2025-04-09 20:04:20,533 - 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 1023ms')
2025-04-09 20:04:20,533 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-46180080-40112778 failed!
2025-04-09 20:04:20,586 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-46180080:ctest-vn-23179248 is 36.107.204.1 and allocation pool is NOT set
2025-04-09 20:04:22,647 - 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.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.418 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 = 0.418/2.094/3.771/1.676 ms')
2025-04-09 20:04:22,647 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-46180080-40112778 passed
2025-04-09 20:04:22,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-09 20:04:22,798 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-46180080-40112778, IP 36.107.204.3, Port 22
2025-04-09 20:04:22,958 - DEBUG - VM ctest-TestBasicVMVNx-46180080-40112778 is ready for SSH connections
2025-04-09 20:04:22,958 - INFO - Waiting for VM ctest-TestBasicVMVNx-46180080-50639010 to be up..
2025-04-09 20:04:23,031 - DEBUG - VM is in ACTIVE state now
2025-04-09 20:04:23,031 - INFO - VM name : ctest-TestBasicVMVNx-46180080-50639010
2025-04-09 20:04:23,101 - DEBUG - VM ctest-TestBasicVMVNx-46180080-50639010 ID is 296c48e4-e15f-4ec5-9225-87f6dfe2795c
2025-04-09 20:04:23,101 - DEBUG - VM ctest-TestBasicVMVNx-46180080-50639010 launched on Node cn-jenkins-deploy-platform-ansible-os-3073-1
2025-04-09 20:04:23,175 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/296c48e4-e15f-4ec5-9225-87f6dfe2795c
2025-04-09 20:04:23,184 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/bb82c17a-5222-4229-9cf4-adaa63f0d444
2025-04-09 20:04:24,429 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.342 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.342/1.577/2.813/1.235 ms')
2025-04-09 20:04:24,429 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-46180080-50639010 passed
2025-04-09 20:04:24,578 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-09 20:04:24,578 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-46180080-50639010, IP 36.107.204.4, Port 22
2025-04-09 20:04:24,752 - DEBUG - VM ctest-TestBasicVMVNx-46180080-50639010 is ready for SSH connections
2025-04-09 20:04:24,752 - DEBUG - FILE SIZE = 1303B
2025-04-09 20:04:24,752 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-46180080-40112778 to ctest-TestBasicVMVNx-46180080-50639010 using scp
2025-04-09 20:04:24,753 - 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.48, gateway password: c0ntrail123
2025-04-09 20:04:24,753 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-04-09 20:04:26,615 - DEBUG - 1+0 records in
1+0 records out
2025-04-09 20:04:27,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-09 20:04:27,685 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2025-04-09 20:04:27,685 - DEBUG - ls -l testfile
2025-04-09 20:04:29,290 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 9 14:04 [0;0mtestfile[0m
2025-04-09 20:04:29,290 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-46180080-50639010
2025-04-09 20:04:29,290 - INFO - Deleting VM ctest-TestBasicVMVNx-46180080-50639010
2025-04-09 20:04:29,367 - INFO - Deleting VM ctest-TestBasicVMVNx-46180080-40112778
2025-04-09 20:04:29,427 - INFO - Deleting VN ctest-vn-23179248
2025-04-09 20:04:29,465 - DEBUG - VN 17aeb1a7-7ad2-4d87-be5c-24f968eb4077 still in use: Unable to complete operation on network 17aeb1a7-7ad2-4d87-be5c-24f968eb4077. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-dec8d364-0680-4549-8e1e-0802597b022c']
2025-04-09 20:04:29,465 - WARNING - Deleting VN ctest-vn-23179248 failed..Will retry
2025-04-09 20:04:31,561 - DEBUG - Response for deleting network ()
2025-04-09 20:04:31,823 - DEBUG - No XMPP flaps were noticed during the test
2025-04-09 20:04:31,824 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-04-09 20:04:31,824 - INFO - --------------------------------------------------------------------------------
2025-04-09 20:04:32,483 - INFO - Deleted project: ctest-TestBasicVMVNx-46180080, ID : 78860589-4bec-4963-92eb-0c2488392e6d