2025-01-03 07:41:08,428 - INFO - Domain Default found not creating
2025-01-03 07:41:08,564 - INFO - Project ctest-TestBasicVMVNx-06392276 not found, creating it
2025-01-03 07:41:08,992 - INFO - Created Project:ctest-TestBasicVMVNx-06392276, ID : 23442433-2ccf-487c-8c8c-3023fde0cbd2
2025-01-03 07:41:10,365 - INFO - ================================================================================
2025-01-03 07:41:10,365 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-01-03 07:41:10,366 - 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-03 07:41:10,619 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.8': '0'}} with
2025-01-03 07:41:10,620 - INFO - Initial checks done. Running the testcase now
2025-01-03 07:41:10,620 - INFO -
2025-01-03 07:41:11,198 - DEBUG - Response for create_network : {'network': {'id': 'edc4d187-8e05-4ec7-987f-d6c8bf895828', 'name': 'ctest-vn-02905136', 'tenant_id': '234424332ccf487c8c8c3023fde0cbd2', 'project_id': '234424332ccf487c8c8c3023fde0cbd2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-06392276', 'ctest-vn-02905136'], 'port_security_enabled': True, 'description': ''}}
2025-01-03 07:41:11,407 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8fe510a-7c51-4d6b-8163-a70663842955', 'name': '', 'tenant_id': '234424332ccf487c8c8c3023fde0cbd2', 'network_id': 'edc4d187-8e05-4ec7-987f-d6c8bf895828', 'ip_version': 4, 'cidr': '67.18.115.128/26', 'allocation_pools': [{'start': '67.18.115.130', 'end': '67.18.115.190'}], 'gateway_ip': '67.18.115.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.18.115.130', 'tags': [], 'project_id': '234424332ccf487c8c8c3023fde0cbd2'}}
2025-01-03 07:41:11,423 - INFO - Created VN ctest-vn-02905136
2025-01-03 07:41:11,474 - DEBUG - VN ctest-vn-02905136 UUID is edc4d187-8e05-4ec7-987f-d6c8bf895828
2025-01-03 07:41:11,668 - DEBUG - Services list from nova: [, , ]
2025-01-03 07:41:12,655 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2518-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2518-1)
2025-01-03 07:41:13,756 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2518-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2518-1)
2025-01-03 07:41:13,757 - INFO - Waiting for VM ctest-TestBasicVMVNx-06392276-30627999 to be up..
2025-01-03 07:41:13,832 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-03 07:41:18,906 - DEBUG - VM is in ACTIVE state now
2025-01-03 07:41:18,906 - INFO - VM name : ctest-TestBasicVMVNx-06392276-30627999
2025-01-03 07:41:18,980 - DEBUG - VM ctest-TestBasicVMVNx-06392276-30627999 ID is f26917a0-71d9-431e-a8a5-132e2554d4c7
2025-01-03 07:41:18,999 - DEBUG - VM ctest-TestBasicVMVNx-06392276-30627999 launched on Node cn-jenkins-deploy-platform-ansible-os-2518-1
2025-01-03 07:41:19,077 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/f26917a0-71d9-431e-a8a5-132e2554d4c7
2025-01-03 07:41:19,372 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/f26917a0-71d9-431e-a8a5-132e2554d4c7
2025-01-03 07:41:19,401 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/21f6e78d-75b1-4bd4-a8f1-e3ff685d483b
2025-01-03 07:41:22,656 - 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 1015ms')
2025-01-03 07:41:22,656 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-06392276-30627999 failed!
2025-01-03 07:41:22,710 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-06392276:ctest-vn-02905136 is 67.18.115.129 and allocation pool is NOT set
2025-01-03 07:41:24,771 - 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=2.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.440 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.440/1.629/2.818/1.189 ms')
2025-01-03 07:41:24,771 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-06392276-30627999 passed
2025-01-03 07:41:24,918 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-03 07:41:24,918 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-06392276-30627999, IP 67.18.115.131, Port 22
2025-01-03 07:41:25,084 - DEBUG - VM ctest-TestBasicVMVNx-06392276-30627999 is ready for SSH connections
2025-01-03 07:41:25,084 - INFO - Waiting for VM ctest-TestBasicVMVNx-06392276-52919737 to be up..
2025-01-03 07:41:25,260 - DEBUG - VM is in ACTIVE state now
2025-01-03 07:41:25,260 - INFO - VM name : ctest-TestBasicVMVNx-06392276-52919737
2025-01-03 07:41:25,331 - DEBUG - VM ctest-TestBasicVMVNx-06392276-52919737 ID is e0fdbdf4-a456-43fc-a05e-f5ca437255cd
2025-01-03 07:41:25,332 - DEBUG - VM ctest-TestBasicVMVNx-06392276-52919737 launched on Node cn-jenkins-deploy-platform-ansible-os-2518-1
2025-01-03 07:41:25,468 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/e0fdbdf4-a456-43fc-a05e-f5ca437255cd
2025-01-03 07:41:25,479 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/6d81d7c7-ca67-42a2-934c-93fc8190ad3b
2025-01-03 07:41:26,722 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.706 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.706/2.027/3.348/1.321 ms')
2025-01-03 07:41:26,723 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-06392276-52919737 passed
2025-01-03 07:41:26,870 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-03 07:41:26,870 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-06392276-52919737, IP 67.18.115.132, Port 22
2025-01-03 07:41:26,925 - 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-03 07:41:26,996 - DEBUG - VM ctest-TestBasicVMVNx-06392276-52919737 is NOT ready for SSH connections, VM status: ACTIVE
2025-01-03 07:41:31,997 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-03 07:41:31,997 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-06392276-52919737, IP 67.18.115.132, Port 22
2025-01-03 07:41:32,157 - DEBUG - VM ctest-TestBasicVMVNx-06392276-52919737 is ready for SSH connections
2025-01-03 07:41:32,158 - DEBUG - FILE SIZE = 1303B
2025-01-03 07:41:32,158 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-06392276-30627999 to ctest-TestBasicVMVNx-06392276-52919737 using scp
2025-01-03 07:41:32,158 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-03 07:41:32,176 - 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.23, gateway password: c0ntrail123
2025-01-03 07:41:32,176 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-01-03 07:41:34,072 - DEBUG - 1+0 records in
1+0 records out
2025-01-03 07:41:34,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-03 07:41:35,126 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2025-01-03 07:41:35,126 - DEBUG - ls -l testfile
2025-01-03 07:41:36,716 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 3 00:41 [0;0mtestfile[0m
2025-01-03 07:41:36,716 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-06392276-52919737
2025-01-03 07:41:36,716 - INFO - Deleting VM ctest-TestBasicVMVNx-06392276-52919737
2025-01-03 07:41:36,783 - INFO - Deleting VM ctest-TestBasicVMVNx-06392276-30627999
2025-01-03 07:41:36,849 - INFO - Deleting VN ctest-vn-02905136
2025-01-03 07:41:36,884 - DEBUG - VN edc4d187-8e05-4ec7-987f-d6c8bf895828 still in use: Unable to complete operation on network edc4d187-8e05-4ec7-987f-d6c8bf895828. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-abf3df28-342e-4490-b4f9-c52049aabc4b']
2025-01-03 07:41:36,884 - WARNING - Deleting VN ctest-vn-02905136 failed..Will retry
2025-01-03 07:41:38,995 - DEBUG - Response for deleting network ()
2025-01-03 07:41:39,247 - DEBUG - No XMPP flaps were noticed during the test
2025-01-03 07:41:39,248 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-01-03 07:41:39,248 - INFO - --------------------------------------------------------------------------------
2025-01-03 07:41:39,908 - INFO - Deleted project: ctest-TestBasicVMVNx-06392276, ID : 23442433-2ccf-487c-8c8c-3023fde0cbd2