2024-10-28 13:41:27,387 - INFO - Domain Default found not creating
2024-10-28 13:41:27,573 - INFO - Project ctest-TestBasicVMVNx-21010357 not found, creating it
2024-10-28 13:41:28,060 - INFO - Created Project:ctest-TestBasicVMVNx-21010357, ID : 4a7a3b41-1e98-4a31-b474-a55a58283829
2024-10-28 13:41:29,577 - INFO - ================================================================================
2024-10-28 13:41:29,577 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-10-28 13:41:29,577 - 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
2024-10-28 13:41:29,838 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.6': '0'}} with
2024-10-28 13:41:29,838 - INFO - Initial checks done. Running the testcase now
2024-10-28 13:41:29,838 - INFO -
2024-10-28 13:41:30,429 - DEBUG - Response for create_network : {'network': {'id': '9ea97122-1f6a-4233-819b-3eeee55aa46b', 'name': 'ctest-vn-09110525', 'tenant_id': '4a7a3b411e984a31b474a55a58283829', 'project_id': '4a7a3b411e984a31b474a55a58283829', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-21010357', 'ctest-vn-09110525'], 'port_security_enabled': True, 'description': ''}}
2024-10-28 13:41:30,627 - DEBUG - Response for create_subnet : {'subnet': {'id': '904eb7b0-4c8c-4882-8c2f-24f2f9d897e8', 'name': '', 'tenant_id': '4a7a3b411e984a31b474a55a58283829', 'network_id': '9ea97122-1f6a-4233-819b-3eeee55aa46b', 'ip_version': 4, 'cidr': '145.123.140.0/26', 'allocation_pools': [{'start': '145.123.140.2', 'end': '145.123.140.62'}], 'gateway_ip': '145.123.140.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.123.140.2', 'tags': [], 'project_id': '4a7a3b411e984a31b474a55a58283829'}}
2024-10-28 13:41:30,646 - INFO - Created VN ctest-vn-09110525
2024-10-28 13:41:30,704 - DEBUG - VN ctest-vn-09110525 UUID is 9ea97122-1f6a-4233-819b-3eeee55aa46b
2024-10-28 13:41:30,881 - DEBUG - Services list from nova: [, , ]
2024-10-28 13:41:31,949 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2162-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2162-1)
2024-10-28 13:41:33,129 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2162-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2162-1)
2024-10-28 13:41:33,129 - INFO - Waiting for VM ctest-TestBasicVMVNx-21010357-89330864 to be up..
2024-10-28 13:41:33,217 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-28 13:41:38,304 - DEBUG - VM is in ACTIVE state now
2024-10-28 13:41:38,304 - INFO - VM name : ctest-TestBasicVMVNx-21010357-89330864
2024-10-28 13:41:38,384 - DEBUG - VM ctest-TestBasicVMVNx-21010357-89330864 ID is 3ecdf7ab-6ce3-4e3a-b135-68d2573765ac
2024-10-28 13:41:38,404 - DEBUG - VM ctest-TestBasicVMVNx-21010357-89330864 launched on Node cn-jenkins-deploy-platform-ansible-os-2162-1
2024-10-28 13:41:38,486 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/3ecdf7ab-6ce3-4e3a-b135-68d2573765ac
2024-10-28 13:41:38,787 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/3ecdf7ab-6ce3-4e3a-b135-68d2573765ac
2024-10-28 13:41:38,826 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/8f130511-e609-4944-8fc4-bd3846384375
2024-10-28 13:41:42,111 - 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 1032ms')
2024-10-28 13:41:42,111 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-21010357-89330864 failed!
2024-10-28 13:41:42,176 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-21010357:ctest-vn-09110525 is 145.123.140.1 and allocation pool is NOT set
2024-10-28 13:41:44,238 - 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=5.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.455 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.455/3.171/5.887/2.716 ms')
2024-10-28 13:41:44,238 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-21010357-89330864 passed
2024-10-28 13:41:44,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 13:41:44,392 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-21010357-89330864, IP 145.123.140.3, Port 22
2024-10-28 13:41:44,547 - DEBUG - VM ctest-TestBasicVMVNx-21010357-89330864 is ready for SSH connections
2024-10-28 13:41:44,547 - INFO - Waiting for VM ctest-TestBasicVMVNx-21010357-78657162 to be up..
2024-10-28 13:41:44,628 - DEBUG - VM is in ACTIVE state now
2024-10-28 13:41:44,628 - INFO - VM name : ctest-TestBasicVMVNx-21010357-78657162
2024-10-28 13:41:44,704 - DEBUG - VM ctest-TestBasicVMVNx-21010357-78657162 ID is 5c02fd1f-b899-4780-8af3-605dccbbb3f1
2024-10-28 13:41:44,705 - DEBUG - VM ctest-TestBasicVMVNx-21010357-78657162 launched on Node cn-jenkins-deploy-platform-ansible-os-2162-1
2024-10-28 13:41:44,784 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/5c02fd1f-b899-4780-8af3-605dccbbb3f1
2024-10-28 13:41:44,799 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/1d50621d-2136-4b33-a45e-8f81a7d21b3d
2024-10-28 13:41:46,060 - 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=4.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.850 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.850/2.735/4.621/1.885 ms')
2024-10-28 13:41:46,061 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-21010357-78657162 passed
2024-10-28 13:41:46,232 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 13:41:46,232 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-21010357-78657162, IP 145.123.140.4, Port 22
2024-10-28 13:41:46,391 - DEBUG - VM ctest-TestBasicVMVNx-21010357-78657162 is ready for SSH connections
2024-10-28 13:41:46,391 - DEBUG - FILE SIZE = 1303B
2024-10-28 13:41:46,391 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-21010357-89330864 to ctest-TestBasicVMVNx-21010357-78657162 using scp
2024-10-28 13:41:46,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 13:41:46,398 - 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
2024-10-28 13:41:46,399 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-10-28 13:41:48,300 - DEBUG - 1+0 records in
1+0 records out
2024-10-28 13:41:48,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 13:41:49,238 - 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
2024-10-28 13:41:49,238 - DEBUG - ls -l testfile
2024-10-28 13:41:50,853 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 28 07:41 [0;0mtestfile[0m
2024-10-28 13:41:50,853 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-21010357-78657162
2024-10-28 13:41:50,853 - INFO - Deleting VM ctest-TestBasicVMVNx-21010357-78657162
2024-10-28 13:41:50,919 - INFO - Deleting VM ctest-TestBasicVMVNx-21010357-89330864
2024-10-28 13:41:51,004 - INFO - Deleting VN ctest-vn-09110525
2024-10-28 13:41:51,048 - DEBUG - VN 9ea97122-1f6a-4233-819b-3eeee55aa46b still in use: Unable to complete operation on network 9ea97122-1f6a-4233-819b-3eeee55aa46b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-4af64282-505d-467c-b43a-018d44007f2a']
2024-10-28 13:41:51,048 - WARNING - Deleting VN ctest-vn-09110525 failed..Will retry
2024-10-28 13:41:53,185 - DEBUG - Response for deleting network ()
2024-10-28 13:41:53,443 - DEBUG - No XMPP flaps were noticed during the test
2024-10-28 13:41:53,443 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-10-28 13:41:53,443 - INFO - --------------------------------------------------------------------------------
2024-10-28 13:41:54,470 - INFO - Deleted project: ctest-TestBasicVMVNx-21010357, ID : 4a7a3b41-1e98-4a31-b474-a55a58283829