2025-01-07 11:55:55,591 - INFO - Domain Default found not creating
2025-01-07 11:55:55,733 - INFO - Project ctest-TestBasicVMVNx-71941794 not found, creating it
2025-01-07 11:55:56,183 - INFO - Created Project:ctest-TestBasicVMVNx-71941794, ID : 15f1ce43-14d1-4679-a3f4-3a2ee7d8c9b3
2025-01-07 11:55:57,707 - INFO - ================================================================================
2025-01-07 11:55:57,707 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-01-07 11:55:57,707 - 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-07 11:55:57,969 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.12': '0'}} with
2025-01-07 11:55:57,969 - INFO - Initial checks done. Running the testcase now
2025-01-07 11:55:57,969 - INFO -
2025-01-07 11:55:58,516 - DEBUG - Response for create_network : {'network': {'id': '3c94690c-e9da-4885-bd28-ccfda9b51193', 'name': 'ctest-vn-16951984', 'tenant_id': '15f1ce4314d14679a3f43a2ee7d8c9b3', 'project_id': '15f1ce4314d14679a3f43a2ee7d8c9b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-71941794', 'ctest-vn-16951984'], 'port_security_enabled': True, 'description': ''}}
2025-01-07 11:55:58,705 - DEBUG - Response for create_subnet : {'subnet': {'id': '6374a259-000c-4656-a5ba-6a08fa508ffe', 'name': '', 'tenant_id': '15f1ce4314d14679a3f43a2ee7d8c9b3', 'network_id': '3c94690c-e9da-4885-bd28-ccfda9b51193', 'ip_version': 4, 'cidr': '1.54.64.128/26', 'allocation_pools': [{'start': '1.54.64.130', 'end': '1.54.64.190'}], 'gateway_ip': '1.54.64.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.54.64.130', 'tags': [], 'project_id': '15f1ce4314d14679a3f43a2ee7d8c9b3'}}
2025-01-07 11:55:58,725 - INFO - Created VN ctest-vn-16951984
2025-01-07 11:55:58,786 - DEBUG - VN ctest-vn-16951984 UUID is 3c94690c-e9da-4885-bd28-ccfda9b51193
2025-01-07 11:55:58,948 - DEBUG - Services list from nova: [, , ]
2025-01-07 11:55:59,987 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2549-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2549-1)
2025-01-07 11:56:01,170 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2549-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2549-1)
2025-01-07 11:56:01,170 - INFO - Waiting for VM ctest-TestBasicVMVNx-71941794-43890465 to be up..
2025-01-07 11:56:01,266 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-07 11:56:06,346 - DEBUG - VM is in ACTIVE state now
2025-01-07 11:56:06,347 - INFO - VM name : ctest-TestBasicVMVNx-71941794-43890465
2025-01-07 11:56:06,436 - DEBUG - VM ctest-TestBasicVMVNx-71941794-43890465 ID is 397ed8d2-2b1f-4bd7-aa38-5103a42bf037
2025-01-07 11:56:06,456 - DEBUG - VM ctest-TestBasicVMVNx-71941794-43890465 launched on Node cn-jenkins-deploy-platform-ansible-os-2549-1
2025-01-07 11:56:06,535 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/397ed8d2-2b1f-4bd7-aa38-5103a42bf037
2025-01-07 11:56:06,838 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/397ed8d2-2b1f-4bd7-aa38-5103a42bf037
2025-01-07 11:56:06,889 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/6871a839-6aed-46b5-ab37-4aca6d9adf33
2025-01-07 11:56:10,162 - 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 1027ms')
2025-01-07 11:56:10,162 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-71941794-43890465 failed!
2025-01-07 11:56:10,218 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-71941794:ctest-vn-16951984 is 1.54.64.129 and allocation pool is NOT set
2025-01-07 11:56:12,278 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.363 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.363/1.706/3.050/1.343 ms')
2025-01-07 11:56:12,279 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-71941794-43890465 passed
2025-01-07 11:56:12,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-07 11:56:12,430 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-71941794-43890465, IP 1.54.64.131, Port 22
2025-01-07 11:56:12,595 - DEBUG - VM ctest-TestBasicVMVNx-71941794-43890465 is ready for SSH connections
2025-01-07 11:56:12,595 - INFO - Waiting for VM ctest-TestBasicVMVNx-71941794-12911704 to be up..
2025-01-07 11:56:12,673 - DEBUG - VM is in ACTIVE state now
2025-01-07 11:56:12,673 - INFO - VM name : ctest-TestBasicVMVNx-71941794-12911704
2025-01-07 11:56:12,759 - DEBUG - VM ctest-TestBasicVMVNx-71941794-12911704 ID is 880557ff-1377-43ab-abc9-77756a21c08e
2025-01-07 11:56:12,759 - DEBUG - VM ctest-TestBasicVMVNx-71941794-12911704 launched on Node cn-jenkins-deploy-platform-ansible-os-2549-1
2025-01-07 11:56:12,859 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/880557ff-1377-43ab-abc9-77756a21c08e
2025-01-07 11:56:12,885 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/47fcf388-4b1f-466e-8ccc-df6d2af28e4f
2025-01-07 11:56:14,135 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.09 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 = 1.085/2.416/3.747/1.331 ms')
2025-01-07 11:56:14,135 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-71941794-12911704 passed
2025-01-07 11:56:14,290 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-07 11:56:14,290 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-71941794-12911704, IP 1.54.64.132, Port 22
2025-01-07 11:56:14,346 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-01-07 11:56:14,435 - DEBUG - VM ctest-TestBasicVMVNx-71941794-12911704 is NOT ready for SSH connections, VM status: ACTIVE
2025-01-07 11:56:19,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-07 11:56:19,436 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-71941794-12911704, IP 1.54.64.132, Port 22
2025-01-07 11:56:19,608 - DEBUG - VM ctest-TestBasicVMVNx-71941794-12911704 is ready for SSH connections
2025-01-07 11:56:19,608 - DEBUG - FILE SIZE = 1303B
2025-01-07 11:56:19,608 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-71941794-43890465 to ctest-TestBasicVMVNx-71941794-12911704 using scp
2025-01-07 11:56:19,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-07 11:56:19,628 - 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.31, gateway password: c0ntrail123
2025-01-07 11:56:19,628 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-01-07 11:56:21,548 - DEBUG - 1+0 records in
1+0 records out
2025-01-07 11:56:22,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-07 11:56:22,682 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123
2025-01-07 11:56:22,682 - DEBUG - ls -l testfile
2025-01-07 11:56:24,257 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 7 04:56 [0;0mtestfile[0m
2025-01-07 11:56:24,257 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-71941794-12911704
2025-01-07 11:56:24,257 - INFO - Deleting VM ctest-TestBasicVMVNx-71941794-12911704
2025-01-07 11:56:24,352 - INFO - Deleting VM ctest-TestBasicVMVNx-71941794-43890465
2025-01-07 11:56:24,422 - INFO - Deleting VN ctest-vn-16951984
2025-01-07 11:56:24,458 - DEBUG - VN 3c94690c-e9da-4885-bd28-ccfda9b51193 still in use: Unable to complete operation on network 3c94690c-e9da-4885-bd28-ccfda9b51193. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-66e73e17-aa42-4a2d-a5f5-47f2003e798c']
2025-01-07 11:56:24,458 - WARNING - Deleting VN ctest-vn-16951984 failed..Will retry
2025-01-07 11:56:26,568 - DEBUG - Response for deleting network ()
2025-01-07 11:56:26,824 - DEBUG - No XMPP flaps were noticed during the test
2025-01-07 11:56:26,824 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-01-07 11:56:26,824 - INFO - --------------------------------------------------------------------------------
2025-01-07 11:56:27,532 - INFO - Deleted project: ctest-TestBasicVMVNx-71941794, ID : 15f1ce43-14d1-4679-a3f4-3a2ee7d8c9b3