2025-01-27 16:12:16,524 - INFO - Domain Default found not creating
2025-01-27 16:12:16,693 - INFO - Project ctest-TestBasicVMVNx-84713140 not found, creating it
2025-01-27 16:12:17,172 - INFO - Created Project:ctest-TestBasicVMVNx-84713140, ID : 9fa697b8-5a1e-4e82-86a5-1b0e7f4b38fd
2025-01-27 16:12:18,601 - INFO - ================================================================================
2025-01-27 16:12:18,601 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-01-27 16:12:18,601 - 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-01-27 16:12:18,856 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.6': '0'}} with
2025-01-27 16:12:18,856 - INFO - Initial checks done. Running the testcase now
2025-01-27 16:12:18,856 - INFO -
2025-01-27 16:12:19,401 - DEBUG - Response for create_network : {'network': {'id': '569bb7aa-0b76-4379-b2b0-4bf693dbb1ac', 'name': 'ctest-vn-78921201', 'tenant_id': '9fa697b85a1e4e8286a51b0e7f4b38fd', 'project_id': '9fa697b85a1e4e8286a51b0e7f4b38fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-84713140', 'ctest-vn-78921201'], 'port_security_enabled': True, 'description': ''}}
2025-01-27 16:12:19,594 - DEBUG - Response for create_subnet : {'subnet': {'id': '1d34270f-0e8d-45d5-b2ca-0c8696c2457a', 'name': '', 'tenant_id': '9fa697b85a1e4e8286a51b0e7f4b38fd', 'network_id': '569bb7aa-0b76-4379-b2b0-4bf693dbb1ac', 'ip_version': 4, 'cidr': '44.80.249.192/26', 'allocation_pools': [{'start': '44.80.249.194', 'end': '44.80.249.254'}], 'gateway_ip': '44.80.249.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.80.249.194', 'tags': [], 'project_id': '9fa697b85a1e4e8286a51b0e7f4b38fd'}}
2025-01-27 16:12:19,612 - INFO - Created VN ctest-vn-78921201
2025-01-27 16:12:19,662 - DEBUG - VN ctest-vn-78921201 UUID is 569bb7aa-0b76-4379-b2b0-4bf693dbb1ac
2025-01-27 16:12:19,873 - DEBUG - Services list from nova: [, , ]
2025-01-27 16:12:20,890 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2665-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2665-1)
2025-01-27 16:12:22,053 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2665-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2665-1)
2025-01-27 16:12:22,053 - INFO - Waiting for VM ctest-TestBasicVMVNx-84713140-44741650 to be up..
2025-01-27 16:12:22,136 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-27 16:12:27,217 - DEBUG - VM is in ACTIVE state now
2025-01-27 16:12:27,217 - INFO - VM name : ctest-TestBasicVMVNx-84713140-44741650
2025-01-27 16:12:27,300 - DEBUG - VM ctest-TestBasicVMVNx-84713140-44741650 ID is a853df94-74d4-4894-81c9-f519ee3632fd
2025-01-27 16:12:27,318 - DEBUG - VM ctest-TestBasicVMVNx-84713140-44741650 launched on Node cn-jenkins-deploy-platform-ansible-os-2665-1
2025-01-27 16:12:27,400 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/a853df94-74d4-4894-81c9-f519ee3632fd
2025-01-27 16:12:27,706 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/a853df94-74d4-4894-81c9-f519ee3632fd
2025-01-27 16:12:27,739 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/5d31fd77-e238-48f4-9a80-b7f737a4a4bc
2025-01-27 16:12:30,987 - 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 1014ms')
2025-01-27 16:12:30,987 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-84713140-44741650 failed!
2025-01-27 16:12:31,042 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-84713140:ctest-vn-78921201 is 44.80.249.193 and allocation pool is NOT set
2025-01-27 16:12:33,098 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.417 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.417/1.769/3.122/1.352 ms')
2025-01-27 16:12:33,098 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-84713140-44741650 passed
2025-01-27 16:12:33,246 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-27 16:12:33,246 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-84713140-44741650, IP 44.80.249.195, Port 22
2025-01-27 16:12:33,398 - DEBUG - VM ctest-TestBasicVMVNx-84713140-44741650 is ready for SSH connections
2025-01-27 16:12:33,398 - INFO - Waiting for VM ctest-TestBasicVMVNx-84713140-35832831 to be up..
2025-01-27 16:12:33,470 - DEBUG - VM is in ACTIVE state now
2025-01-27 16:12:33,470 - INFO - VM name : ctest-TestBasicVMVNx-84713140-35832831
2025-01-27 16:12:33,546 - DEBUG - VM ctest-TestBasicVMVNx-84713140-35832831 ID is 2e5d1ddc-226d-4205-a68a-6c06e56879c2
2025-01-27 16:12:33,546 - DEBUG - VM ctest-TestBasicVMVNx-84713140-35832831 launched on Node cn-jenkins-deploy-platform-ansible-os-2665-1
2025-01-27 16:12:33,623 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/2e5d1ddc-226d-4205-a68a-6c06e56879c2
2025-01-27 16:12:33,634 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/c660d9a5-feb0-4860-bdf2-e315351e3898
2025-01-27 16:12:34,871 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.511 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.511/1.701/2.892/1.190 ms')
2025-01-27 16:12:34,871 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-84713140-35832831 passed
2025-01-27 16:12:35,022 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-27 16:12:35,023 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-84713140-35832831, IP 44.80.249.196, Port 22
2025-01-27 16:12:35,174 - DEBUG - VM ctest-TestBasicVMVNx-84713140-35832831 is ready for SSH connections
2025-01-27 16:12:35,174 - DEBUG - FILE SIZE = 1303B
2025-01-27 16:12:35,174 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-84713140-44741650 to ctest-TestBasicVMVNx-84713140-35832831 using scp
2025-01-27 16:12:35,175 - 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.34, gateway password: c0ntrail123
2025-01-27 16:12:35,175 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-01-27 16:12:37,043 - DEBUG - 1+0 records in
1+0 records out
2025-01-27 16:12:37,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-27 16:12:37,979 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123
2025-01-27 16:12:37,979 - DEBUG - ls -l testfile
2025-01-27 16:12:39,582 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 27 09:12 [0;0mtestfile[0m
2025-01-27 16:12:39,582 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-84713140-35832831
2025-01-27 16:12:39,582 - INFO - Deleting VM ctest-TestBasicVMVNx-84713140-35832831
2025-01-27 16:12:39,650 - INFO - Deleting VM ctest-TestBasicVMVNx-84713140-44741650
2025-01-27 16:12:39,721 - INFO - Deleting VN ctest-vn-78921201
2025-01-27 16:12:39,755 - DEBUG - VN 569bb7aa-0b76-4379-b2b0-4bf693dbb1ac still in use: Unable to complete operation on network 569bb7aa-0b76-4379-b2b0-4bf693dbb1ac. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-73c33f85-c65f-40e2-8628-572399d38c1f']
2025-01-27 16:12:39,755 - WARNING - Deleting VN ctest-vn-78921201 failed..Will retry
2025-01-27 16:12:41,851 - DEBUG - Response for deleting network ()
2025-01-27 16:12:42,104 - DEBUG - No XMPP flaps were noticed during the test
2025-01-27 16:12:42,104 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-27 16:12:42,104 - INFO - --------------------------------------------------------------------------------
2025-01-27 16:12:42,773 - INFO - Deleted project: ctest-TestBasicVMVNx-84713140, ID : 9fa697b8-5a1e-4e82-86a5-1b0e7f4b38fd