2025-01-09 11:36:18,101 - INFO - Domain Default found not creating
2025-01-09 11:36:18,283 - INFO - Project ctest-TestBasicVMVNx-34293020 not found, creating it
2025-01-09 11:36:18,779 - INFO - Created Project:ctest-TestBasicVMVNx-34293020, ID : 91dbb3da-e14a-42fc-aec2-95414c397933
2025-01-09 11:36:20,448 - INFO - ================================================================================
2025-01-09 11:36:20,452 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-01-09 11:36:20,452 - 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-09 11:36:20,726 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.8': '0'}} with
2025-01-09 11:36:20,726 - INFO - Initial checks done. Running the testcase now
2025-01-09 11:36:20,726 - INFO -
2025-01-09 11:36:21,278 - DEBUG - Response for create_network : {'network': {'id': 'd319e2b7-a43f-43bb-a24d-f071fc9a681f', 'name': 'ctest-vn-23719642', 'tenant_id': '91dbb3dae14a42fcaec295414c397933', 'project_id': '91dbb3dae14a42fcaec295414c397933', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-34293020', 'ctest-vn-23719642'], 'port_security_enabled': True, 'description': ''}}
2025-01-09 11:36:21,470 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b39f6562-a534-467c-9c7b-2fe41dc01b33', 'name': '', 'tenant_id': '91dbb3dae14a42fcaec295414c397933', 'network_id': 'd319e2b7-a43f-43bb-a24d-f071fc9a681f', 'ip_version': 4, 'cidr': '75.183.158.192/26', 'allocation_pools': [{'start': '75.183.158.194', 'end': '75.183.158.254'}], 'gateway_ip': '75.183.158.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.183.158.194', 'tags': [], 'project_id': '91dbb3dae14a42fcaec295414c397933'}}
2025-01-09 11:36:21,494 - INFO - Created VN ctest-vn-23719642
2025-01-09 11:36:21,549 - DEBUG - VN ctest-vn-23719642 UUID is d319e2b7-a43f-43bb-a24d-f071fc9a681f
2025-01-09 11:36:21,738 - DEBUG - Services list from nova: [, , ]
2025-01-09 11:36:22,855 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2583-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2583-1)
2025-01-09 11:36:24,086 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2583-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2583-1)
2025-01-09 11:36:24,087 - INFO - Waiting for VM ctest-TestBasicVMVNx-34293020-96445088 to be up..
2025-01-09 11:36:24,201 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-09 11:36:29,293 - DEBUG - VM is in ACTIVE state now
2025-01-09 11:36:29,293 - INFO - VM name : ctest-TestBasicVMVNx-34293020-96445088
2025-01-09 11:36:29,383 - DEBUG - VM ctest-TestBasicVMVNx-34293020-96445088 ID is 9da6e1ca-16ac-4dcd-ab2e-73cb51ba3561
2025-01-09 11:36:29,404 - DEBUG - VM ctest-TestBasicVMVNx-34293020-96445088 launched on Node cn-jenkins-deploy-platform-ansible-os-2583-1
2025-01-09 11:36:29,491 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/9da6e1ca-16ac-4dcd-ab2e-73cb51ba3561
2025-01-09 11:36:29,799 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/9da6e1ca-16ac-4dcd-ab2e-73cb51ba3561
2025-01-09 11:36:29,835 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/26cbcac1-26c2-416a-90ca-9aee72743e93
2025-01-09 11:36:33,128 - 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 1017ms')
2025-01-09 11:36:33,128 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-34293020-96445088 failed!
2025-01-09 11:36:33,185 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-34293020:ctest-vn-23719642 is 75.183.158.193 and allocation pool is NOT set
2025-01-09 11:36:35,253 - 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.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.833 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.833/2.513/4.194/1.680 ms')
2025-01-09 11:36:35,253 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-34293020-96445088 passed
2025-01-09 11:36:35,405 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-09 11:36:35,405 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34293020-96445088, IP 75.183.158.195, Port 22
2025-01-09 11:36:35,570 - DEBUG - VM ctest-TestBasicVMVNx-34293020-96445088 is ready for SSH connections
2025-01-09 11:36:35,570 - INFO - Waiting for VM ctest-TestBasicVMVNx-34293020-38235951 to be up..
2025-01-09 11:36:35,672 - DEBUG - VM is in ACTIVE state now
2025-01-09 11:36:35,673 - INFO - VM name : ctest-TestBasicVMVNx-34293020-38235951
2025-01-09 11:36:35,769 - DEBUG - VM ctest-TestBasicVMVNx-34293020-38235951 ID is 38303a01-b1e4-47ed-b7d5-9234b431b0df
2025-01-09 11:36:35,769 - DEBUG - VM ctest-TestBasicVMVNx-34293020-38235951 launched on Node cn-jenkins-deploy-platform-ansible-os-2583-1
2025-01-09 11:36:35,857 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/38303a01-b1e4-47ed-b7d5-9234b431b0df
2025-01-09 11:36:35,867 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/d6592e4c-408e-4f59-8062-a2b19e89aca3
2025-01-09 11:36:37,120 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.03 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 = 1.032/3.090/5.148/2.058 ms')
2025-01-09 11:36:37,120 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-34293020-38235951 passed
2025-01-09 11:36:37,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-09 11:36:37,277 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34293020-38235951, IP 75.183.158.196, Port 22
2025-01-09 11:36:37,447 - DEBUG - VM ctest-TestBasicVMVNx-34293020-38235951 is ready for SSH connections
2025-01-09 11:36:37,447 - DEBUG - FILE SIZE = 1303B
2025-01-09 11:36:37,447 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-34293020-96445088 to ctest-TestBasicVMVNx-34293020-38235951 using scp
2025-01-09 11:36:37,448 - 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-09 11:36:37,448 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-01-09 11:36:39,403 - DEBUG - 1+0 records in
1+0 records out
2025-01-09 11:36:40,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-09 11:36:40,535 - 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-09 11:36:40,536 - DEBUG - ls -l testfile
2025-01-09 11:36:42,129 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 9 04:36 [0;0mtestfile[0m
2025-01-09 11:36:42,129 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-34293020-38235951
2025-01-09 11:36:42,129 - INFO - Deleting VM ctest-TestBasicVMVNx-34293020-38235951
2025-01-09 11:36:42,207 - INFO - Deleting VM ctest-TestBasicVMVNx-34293020-96445088
2025-01-09 11:36:42,288 - INFO - Deleting VN ctest-vn-23719642
2025-01-09 11:36:42,332 - DEBUG - VN d319e2b7-a43f-43bb-a24d-f071fc9a681f still in use: Unable to complete operation on network d319e2b7-a43f-43bb-a24d-f071fc9a681f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-135d6f09-1b0a-4f61-982e-1bb04b28ae8a']
2025-01-09 11:36:42,332 - WARNING - Deleting VN ctest-vn-23719642 failed..Will retry
2025-01-09 11:36:44,463 - DEBUG - Response for deleting network ()
2025-01-09 11:36:44,719 - DEBUG - No XMPP flaps were noticed during the test
2025-01-09 11:36:44,719 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-09 11:36:44,719 - INFO - --------------------------------------------------------------------------------
2025-01-09 11:36:45,441 - INFO - Deleted project: ctest-TestBasicVMVNx-34293020, ID : 91dbb3da-e14a-42fc-aec2-95414c397933