2025-04-16 20:09:47,020 - INFO - Domain Default found not creating
2025-04-16 20:09:47,190 - INFO - Project ctest-TestBasicVMVNx-46386342 not found, creating it
2025-04-16 20:09:47,680 - INFO - Created Project:ctest-TestBasicVMVNx-46386342, ID : 91c85b37-383e-4b6c-9674-4e10565d9872
2025-04-16 20:09:49,174 - INFO - ================================================================================
2025-04-16 20:09:49,174 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-04-16 20:09:49,174 - 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-16 20:09:49,436 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.129': '0'}} with
2025-04-16 20:09:49,436 - INFO - Initial checks done. Running the testcase now
2025-04-16 20:09:49,436 - INFO -
2025-04-16 20:09:50,001 - DEBUG - Response for create_network : {'network': {'id': 'a9836164-69ca-48b3-a2c6-f827e36cbb2e', 'name': 'ctest-vn-12985323', 'tenant_id': '91c85b37383e4b6c96744e10565d9872', 'project_id': '91c85b37383e4b6c96744e10565d9872', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-46386342', 'ctest-vn-12985323'], 'port_security_enabled': True, 'description': ''}}
2025-04-16 20:09:50,223 - DEBUG - Response for create_subnet : {'subnet': {'id': '468536da-511f-422b-8dbb-0d01a7a2a104', 'name': '', 'tenant_id': '91c85b37383e4b6c96744e10565d9872', 'network_id': 'a9836164-69ca-48b3-a2c6-f827e36cbb2e', 'ip_version': 4, 'cidr': '22.179.53.128/26', 'allocation_pools': [{'start': '22.179.53.130', 'end': '22.179.53.190'}], 'gateway_ip': '22.179.53.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.179.53.130', 'tags': [], 'project_id': '91c85b37383e4b6c96744e10565d9872'}}
2025-04-16 20:09:50,246 - INFO - Created VN ctest-vn-12985323
2025-04-16 20:09:50,302 - DEBUG - VN ctest-vn-12985323 UUID is a9836164-69ca-48b3-a2c6-f827e36cbb2e
2025-04-16 20:09:50,497 - DEBUG - Services list from nova: [, , ]
2025-04-16 20:09:51,568 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3125-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3125-1)
2025-04-16 20:09:52,733 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3125-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3125-1)
2025-04-16 20:09:52,734 - INFO - Waiting for VM ctest-TestBasicVMVNx-46386342-57326670 to be up..
2025-04-16 20:09:52,820 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-16 20:09:57,948 - DEBUG - VM is in ACTIVE state now
2025-04-16 20:09:57,949 - INFO - VM name : ctest-TestBasicVMVNx-46386342-57326670
2025-04-16 20:09:58,034 - DEBUG - VM ctest-TestBasicVMVNx-46386342-57326670 ID is c59ecf57-f656-4e93-b67c-45fa1902b498
2025-04-16 20:09:58,056 - DEBUG - VM ctest-TestBasicVMVNx-46386342-57326670 launched on Node cn-jenkins-deploy-platform-ansible-os-3125-1
2025-04-16 20:09:58,145 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/c59ecf57-f656-4e93-b67c-45fa1902b498
2025-04-16 20:09:58,446 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/c59ecf57-f656-4e93-b67c-45fa1902b498
2025-04-16 20:09:58,480 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/304eac30-0dc0-4189-b6ff-83538a4f7b16
2025-04-16 20:10:01,775 - 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 1030ms')
2025-04-16 20:10:01,775 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-46386342-57326670 failed!
2025-04-16 20:10:01,837 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-46386342:ctest-vn-12985323 is 22.179.53.129 and allocation pool is NOT set
2025-04-16 20:10:03,898 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.508 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.508/2.121/3.734/1.613 ms')
2025-04-16 20:10:03,898 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-46386342-57326670 passed
2025-04-16 20:10:04,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-16 20:10:04,054 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-46386342-57326670, IP 22.179.53.131, Port 22
2025-04-16 20:10:04,218 - DEBUG - VM ctest-TestBasicVMVNx-46386342-57326670 is ready for SSH connections
2025-04-16 20:10:04,219 - INFO - Waiting for VM ctest-TestBasicVMVNx-46386342-05264205 to be up..
2025-04-16 20:10:04,311 - DEBUG - VM is in ACTIVE state now
2025-04-16 20:10:04,311 - INFO - VM name : ctest-TestBasicVMVNx-46386342-05264205
2025-04-16 20:10:04,404 - DEBUG - VM ctest-TestBasicVMVNx-46386342-05264205 ID is 0a1e0c1e-a82a-459a-8d0b-14ec458166d7
2025-04-16 20:10:04,404 - DEBUG - VM ctest-TestBasicVMVNx-46386342-05264205 launched on Node cn-jenkins-deploy-platform-ansible-os-3125-1
2025-04-16 20:10:04,492 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/0a1e0c1e-a82a-459a-8d0b-14ec458166d7
2025-04-16 20:10:04,505 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/f79c1258-c6a0-4c9f-8e0a-1ac79609f1d3
2025-04-16 20:10:05,756 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.835 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.835/1.952/3.069/1.117 ms')
2025-04-16 20:10:05,756 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-46386342-05264205 passed
2025-04-16 20:10:05,914 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-16 20:10:05,914 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-46386342-05264205, IP 22.179.53.132, Port 22
2025-04-16 20:10:06,069 - DEBUG - VM ctest-TestBasicVMVNx-46386342-05264205 is ready for SSH connections
2025-04-16 20:10:06,070 - DEBUG - FILE SIZE = 1303B
2025-04-16 20:10:06,070 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-46386342-57326670 to ctest-TestBasicVMVNx-46386342-05264205 using scp
2025-04-16 20:10:06,070 - 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.129, gateway password: c0ntrail123
2025-04-16 20:10:06,071 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-04-16 20:10:08,059 - DEBUG - 1+0 records in
1+0 records out
2025-04-16 20:10:08,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-16 20:10:09,186 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123
2025-04-16 20:10:09,187 - DEBUG - ls -l testfile
2025-04-16 20:10:10,801 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 16 14:10 [0;0mtestfile[0m
2025-04-16 20:10:10,801 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-46386342-05264205
2025-04-16 20:10:10,801 - INFO - Deleting VM ctest-TestBasicVMVNx-46386342-05264205
2025-04-16 20:10:10,875 - INFO - Deleting VM ctest-TestBasicVMVNx-46386342-57326670
2025-04-16 20:10:10,949 - INFO - Deleting VN ctest-vn-12985323
2025-04-16 20:10:10,994 - DEBUG - VN a9836164-69ca-48b3-a2c6-f827e36cbb2e still in use: Unable to complete operation on network a9836164-69ca-48b3-a2c6-f827e36cbb2e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-3d41d1ae-349a-4d61-b95f-9a920316cc05']
2025-04-16 20:10:10,994 - WARNING - Deleting VN ctest-vn-12985323 failed..Will retry
2025-04-16 20:10:13,132 - DEBUG - Response for deleting network ()
2025-04-16 20:10:13,388 - DEBUG - No XMPP flaps were noticed during the test
2025-04-16 20:10:13,388 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-04-16 20:10:13,388 - INFO - --------------------------------------------------------------------------------
2025-04-16 20:10:14,103 - INFO - Deleted project: ctest-TestBasicVMVNx-46386342, ID : 91c85b37-383e-4b6c-9674-4e10565d9872