2024-11-10 22:01:57,732 - INFO - Domain Default found not creating
2024-11-10 22:01:57,940 - INFO - Project ctest-TestBasicVMVNx-96824838 not found, creating it
2024-11-10 22:01:58,473 - INFO - Created Project:ctest-TestBasicVMVNx-96824838, ID : cf5633bd-7342-41ff-9482-aaaa5ee90e3d
2024-11-10 22:02:00,047 - INFO - ================================================================================
2024-11-10 22:02:00,047 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-11-10 22:02:00,047 - 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-11-10 22:02:00,300 - DEBUG - Nothing to compare xmpp stats {'10.0.0.47': {'10.20.0.5': '0'}} with
2024-11-10 22:02:00,300 - INFO - Initial checks done. Running the testcase now
2024-11-10 22:02:00,300 - INFO -
2024-11-10 22:02:00,913 - DEBUG - Response for create_network : {'network': {'id': '606a79d2-db57-45df-86d1-e7562bc729fa', 'name': 'ctest-vn-00056926', 'tenant_id': 'cf5633bd734241ff9482aaaa5ee90e3d', 'project_id': 'cf5633bd734241ff9482aaaa5ee90e3d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-96824838', 'ctest-vn-00056926'], 'port_security_enabled': True, 'description': ''}}
2024-11-10 22:02:01,129 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a423bd3-46cb-422d-9d02-43d7fa546926', 'name': '', 'tenant_id': 'cf5633bd734241ff9482aaaa5ee90e3d', 'network_id': '606a79d2-db57-45df-86d1-e7562bc729fa', 'ip_version': 4, 'cidr': '203.49.26.128/26', 'allocation_pools': [{'start': '203.49.26.130', 'end': '203.49.26.190'}], 'gateway_ip': '203.49.26.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.49.26.130', 'tags': [], 'project_id': 'cf5633bd734241ff9482aaaa5ee90e3d'}}
2024-11-10 22:02:01,149 - INFO - Created VN ctest-vn-00056926
2024-11-10 22:02:01,211 - DEBUG - VN ctest-vn-00056926 UUID is 606a79d2-db57-45df-86d1-e7562bc729fa
2024-11-10 22:02:01,390 - DEBUG - Services list from nova: [, , ]
2024-11-10 22:02:02,473 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2266-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2266-1)
2024-11-10 22:02:03,785 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2266-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2266-1)
2024-11-10 22:02:03,785 - INFO - Waiting for VM ctest-TestBasicVMVNx-96824838-17196883 to be up..
2024-11-10 22:02:03,902 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-10 22:02:08,989 - DEBUG - VM is in ACTIVE state now
2024-11-10 22:02:08,989 - INFO - VM name : ctest-TestBasicVMVNx-96824838-17196883
2024-11-10 22:02:09,080 - DEBUG - VM ctest-TestBasicVMVNx-96824838-17196883 ID is ced6a600-f92f-4036-ac5b-e14c0986b7d2
2024-11-10 22:02:09,101 - DEBUG - VM ctest-TestBasicVMVNx-96824838-17196883 launched on Node cn-jenkins-deploy-platform-ansible-os-2266-1
2024-11-10 22:02:09,187 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/ced6a600-f92f-4036-ac5b-e14c0986b7d2
2024-11-10 22:02:09,506 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/ced6a600-f92f-4036-ac5b-e14c0986b7d2
2024-11-10 22:02:09,547 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/bfc9ca9a-2a4e-49de-b2fa-ba6a22667eb2
2024-11-10 22:02:12,841 - 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 1031ms')
2024-11-10 22:02:12,841 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-96824838-17196883 failed!
2024-11-10 22:02:12,903 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-96824838:ctest-vn-00056926 is 203.49.26.129 and allocation pool is NOT set
2024-11-10 22:02:14,965 - 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=10.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.23 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 = 2.226/6.242/10.259/4.016 ms')
2024-11-10 22:02:14,965 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-96824838-17196883 passed
2024-11-10 22:02:15,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-10 22:02:15,127 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-96824838-17196883, IP 203.49.26.131, Port 22
2024-11-10 22:02:15,282 - DEBUG - VM ctest-TestBasicVMVNx-96824838-17196883 is ready for SSH connections
2024-11-10 22:02:15,282 - INFO - Waiting for VM ctest-TestBasicVMVNx-96824838-44154056 to be up..
2024-11-10 22:02:15,373 - DEBUG - VM is in ACTIVE state now
2024-11-10 22:02:15,374 - INFO - VM name : ctest-TestBasicVMVNx-96824838-44154056
2024-11-10 22:02:15,456 - DEBUG - VM ctest-TestBasicVMVNx-96824838-44154056 ID is ce48f72c-2027-44bb-b55b-2bb2752154cd
2024-11-10 22:02:15,456 - DEBUG - VM ctest-TestBasicVMVNx-96824838-44154056 launched on Node cn-jenkins-deploy-platform-ansible-os-2266-1
2024-11-10 22:02:15,554 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/ce48f72c-2027-44bb-b55b-2bb2752154cd
2024-11-10 22:02:15,567 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/f30fe921-adc6-4e60-8c57-9e648fab169d
2024-11-10 22:02:16,828 - 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=2.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.450 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.450/1.580/2.711/1.130 ms')
2024-11-10 22:02:16,828 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-96824838-44154056 passed
2024-11-10 22:02:16,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-10 22:02:16,986 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-96824838-44154056, IP 203.49.26.132, Port 22
2024-11-10 22:02:17,146 - DEBUG - VM ctest-TestBasicVMVNx-96824838-44154056 is ready for SSH connections
2024-11-10 22:02:17,146 - DEBUG - FILE SIZE = 1303B
2024-11-10 22:02:17,146 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-96824838-17196883 to ctest-TestBasicVMVNx-96824838-44154056 using scp
2024-11-10 22:02:17,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-10 22:02:17,151 - 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.47, gateway password: c0ntrail123
2024-11-10 22:02:17,151 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-11-10 22:02:18,772 - DEBUG - 1+0 records in
1+0 records out
2024-11-10 22:02:19,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-10 22:02:19,724 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.47, gateway password: c0ntrail123
2024-11-10 22:02:19,724 - DEBUG - ls -l testfile
2024-11-10 22:02:21,338 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 10 15:02 [0;0mtestfile[0m
2024-11-10 22:02:21,338 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-96824838-44154056
2024-11-10 22:02:21,339 - INFO - Deleting VM ctest-TestBasicVMVNx-96824838-44154056
2024-11-10 22:02:21,413 - INFO - Deleting VM ctest-TestBasicVMVNx-96824838-17196883
2024-11-10 22:02:21,612 - INFO - Deleting VN ctest-vn-00056926
2024-11-10 22:02:21,660 - DEBUG - VN 606a79d2-db57-45df-86d1-e7562bc729fa still in use: Unable to complete operation on network 606a79d2-db57-45df-86d1-e7562bc729fa. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-910fdb2d-5651-4f3e-9824-f3a7c1035508']
2024-11-10 22:02:21,661 - WARNING - Deleting VN ctest-vn-00056926 failed..Will retry
2024-11-10 22:02:23,809 - DEBUG - Response for deleting network ()
2024-11-10 22:02:24,065 - DEBUG - No XMPP flaps were noticed during the test
2024-11-10 22:02:24,065 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-11-10 22:02:24,065 - INFO - --------------------------------------------------------------------------------
2024-11-10 22:02:24,772 - INFO - Deleted project: ctest-TestBasicVMVNx-96824838, ID : cf5633bd-7342-41ff-9482-aaaa5ee90e3d