2025-02-17 18:49:50,316 - INFO - Domain Default found not creating
2025-02-17 18:49:50,483 - INFO - Project ctest-TestBasicVMVNx-05895311 not found, creating it
2025-02-17 18:49:50,992 - INFO - Created Project:ctest-TestBasicVMVNx-05895311, ID : ed189807-c380-4f0e-852b-d0be4ececbfd
2025-02-17 18:49:52,611 - INFO - ================================================================================
2025-02-17 18:49:52,611 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-02-17 18:49:52,611 - 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-02-17 18:49:52,873 - DEBUG - Nothing to compare xmpp stats {'10.0.0.58': {'10.20.0.20': '0'}} with
2025-02-17 18:49:52,873 - INFO - Initial checks done. Running the testcase now
2025-02-17 18:49:52,873 - INFO -
2025-02-17 18:49:53,521 - DEBUG - Response for create_network : {'network': {'id': '17551c5d-57ab-4df8-994c-be25e005437f', 'name': 'ctest-vn-29034445', 'tenant_id': 'ed189807c3804f0e852bd0be4ececbfd', 'project_id': 'ed189807c3804f0e852bd0be4ececbfd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-05895311', 'ctest-vn-29034445'], 'port_security_enabled': True, 'description': ''}}
2025-02-17 18:49:53,678 - DEBUG - Response for create_subnet : {'subnet': {'id': '948ff28f-1252-4469-aba3-93a84118027a', 'name': '', 'tenant_id': 'ed189807c3804f0e852bd0be4ececbfd', 'network_id': '17551c5d-57ab-4df8-994c-be25e005437f', 'ip_version': 4, 'cidr': '83.153.192.0/26', 'allocation_pools': [{'start': '83.153.192.2', 'end': '83.153.192.62'}], 'gateway_ip': '83.153.192.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.153.192.2', 'tags': [], 'project_id': 'ed189807c3804f0e852bd0be4ececbfd'}}
2025-02-17 18:49:53,699 - INFO - Created VN ctest-vn-29034445
2025-02-17 18:49:53,754 - DEBUG - VN ctest-vn-29034445 UUID is 17551c5d-57ab-4df8-994c-be25e005437f
2025-02-17 18:49:53,944 - DEBUG - Services list from nova: [, , ]
2025-02-17 18:49:55,122 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2743-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2743-1)
2025-02-17 18:49:56,472 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2743-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2743-1)
2025-02-17 18:49:56,472 - INFO - Waiting for VM ctest-TestBasicVMVNx-05895311-64442526 to be up..
2025-02-17 18:49:56,571 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-02-17 18:50:01,658 - DEBUG - VM is in ACTIVE state now
2025-02-17 18:50:01,659 - INFO - VM name : ctest-TestBasicVMVNx-05895311-64442526
2025-02-17 18:50:01,744 - DEBUG - VM ctest-TestBasicVMVNx-05895311-64442526 ID is 4d8cb08c-8182-4c8e-9c38-2b428985f10d
2025-02-17 18:50:01,767 - DEBUG - VM ctest-TestBasicVMVNx-05895311-64442526 launched on Node cn-jenkins-deploy-platform-ansible-os-2743-1
2025-02-17 18:50:01,859 - DEBUG - Requesting: http://10.0.0.58:8082/virtual-machine/4d8cb08c-8182-4c8e-9c38-2b428985f10d
2025-02-17 18:50:02,209 - DEBUG - Requesting: http://10.0.0.58:8082/virtual-machine/4d8cb08c-8182-4c8e-9c38-2b428985f10d
2025-02-17 18:50:02,248 - DEBUG - Requesting: http://10.0.0.58:8082/virtual-machine-interface/331a4671-9919-47ad-9fe9-deb7460d62bb
2025-02-17 18:50:05,536 - 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 1022ms')
2025-02-17 18:50:05,536 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-05895311-64442526 failed!
2025-02-17 18:50:05,594 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-05895311:ctest-vn-29034445 is 83.153.192.1 and allocation pool is NOT set
2025-02-17 18:50:07,658 - 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.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.368 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.368/2.314/4.261/1.946 ms')
2025-02-17 18:50:07,658 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-05895311-64442526 passed
2025-02-17 18:50:07,818 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-17 18:50:07,818 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-05895311-64442526, IP 83.153.192.3, Port 22
2025-02-17 18:50:07,984 - DEBUG - VM ctest-TestBasicVMVNx-05895311-64442526 is ready for SSH connections
2025-02-17 18:50:07,984 - INFO - Waiting for VM ctest-TestBasicVMVNx-05895311-59202646 to be up..
2025-02-17 18:50:08,111 - DEBUG - VM is in ACTIVE state now
2025-02-17 18:50:08,112 - INFO - VM name : ctest-TestBasicVMVNx-05895311-59202646
2025-02-17 18:50:08,217 - DEBUG - VM ctest-TestBasicVMVNx-05895311-59202646 ID is 2ebcc0f8-c4f7-4326-9013-82a192dcd2e2
2025-02-17 18:50:08,218 - DEBUG - VM ctest-TestBasicVMVNx-05895311-59202646 launched on Node cn-jenkins-deploy-platform-ansible-os-2743-1
2025-02-17 18:50:08,325 - DEBUG - Requesting: http://10.0.0.58:8082/virtual-machine/2ebcc0f8-c4f7-4326-9013-82a192dcd2e2
2025-02-17 18:50:08,336 - DEBUG - Requesting: http://10.0.0.58:8082/virtual-machine-interface/b30e09a3-6702-42d7-888c-2ce52aecd2bd
2025-02-17 18:50:09,592 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.07 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 = 2.068/3.945/5.822/1.877 ms')
2025-02-17 18:50:09,592 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-05895311-59202646 passed
2025-02-17 18:50:09,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-17 18:50:09,754 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-05895311-59202646, IP 83.153.192.4, Port 22
2025-02-17 18:50:09,820 - 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-02-17 18:50:09,904 - DEBUG - VM ctest-TestBasicVMVNx-05895311-59202646 is NOT ready for SSH connections, VM status: ACTIVE
2025-02-17 18:50:14,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-17 18:50:14,905 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-05895311-59202646, IP 83.153.192.4, Port 22
2025-02-17 18:50:15,092 - DEBUG - VM ctest-TestBasicVMVNx-05895311-59202646 is ready for SSH connections
2025-02-17 18:50:15,093 - DEBUG - FILE SIZE = 1303B
2025-02-17 18:50:15,093 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-05895311-64442526 to ctest-TestBasicVMVNx-05895311-59202646 using scp
2025-02-17 18:50:15,093 - 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.58, gateway password: c0ntrail123
2025-02-17 18:50:15,094 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-02-17 18:50:17,119 - DEBUG - 1+0 records in
1+0 records out
2025-02-17 18:50:17,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-17 18:50:18,148 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.58, gateway password: c0ntrail123
2025-02-17 18:50:18,148 - DEBUG - ls -l testfile
2025-02-17 18:50:19,759 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 17 11:50 [0;0mtestfile[0m
2025-02-17 18:50:19,760 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-05895311-59202646
2025-02-17 18:50:19,760 - INFO - Deleting VM ctest-TestBasicVMVNx-05895311-59202646
2025-02-17 18:50:19,833 - INFO - Deleting VM ctest-TestBasicVMVNx-05895311-64442526
2025-02-17 18:50:19,908 - INFO - Deleting VN ctest-vn-29034445
2025-02-17 18:50:19,949 - DEBUG - VN 17551c5d-57ab-4df8-994c-be25e005437f still in use: Unable to complete operation on network 17551c5d-57ab-4df8-994c-be25e005437f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f9b22efc-a356-438e-a3f9-fc7e2e293b6d']
2025-02-17 18:50:19,949 - WARNING - Deleting VN ctest-vn-29034445 failed..Will retry
2025-02-17 18:50:22,066 - DEBUG - Response for deleting network ()
2025-02-17 18:50:22,320 - DEBUG - No XMPP flaps were noticed during the test
2025-02-17 18:50:22,321 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2025-02-17 18:50:22,321 - INFO - --------------------------------------------------------------------------------
2025-02-17 18:50:23,090 - INFO - Deleted project: ctest-TestBasicVMVNx-05895311, ID : ed189807-c380-4f0e-852b-d0be4ececbfd