2024-11-04 08:10:00,251 - INFO - Domain Default found not creating
2024-11-04 08:10:00,431 - INFO - Project ctest-TestBasicVMVNx-46185626 not found, creating it
2024-11-04 08:10:00,948 - INFO - Created Project:ctest-TestBasicVMVNx-46185626, ID : 529160aa-c93d-4702-b7c1-a4e8d9894dc1
2024-11-04 08:10:02,564 - INFO - ================================================================================
2024-11-04 08:10:02,564 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-11-04 08:10:02,564 - 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-04 08:10:02,849 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.5': '0'}} with
2024-11-04 08:10:02,849 - INFO - Initial checks done. Running the testcase now
2024-11-04 08:10:02,849 - INFO -
2024-11-04 08:10:03,484 - DEBUG - Response for create_network : {'network': {'id': '2fa5c307-76cf-471a-9ed0-7ce435948a76', 'name': 'ctest-vn-92202629', 'tenant_id': '529160aac93d4702b7c1a4e8d9894dc1', 'project_id': '529160aac93d4702b7c1a4e8d9894dc1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-46185626', 'ctest-vn-92202629'], 'port_security_enabled': True, 'description': ''}}
2024-11-04 08:10:03,691 - DEBUG - Response for create_subnet : {'subnet': {'id': '6774879c-35a8-4e18-a1ec-2c6c3acdb649', 'name': '', 'tenant_id': '529160aac93d4702b7c1a4e8d9894dc1', 'network_id': '2fa5c307-76cf-471a-9ed0-7ce435948a76', 'ip_version': 4, 'cidr': '183.99.101.128/26', 'allocation_pools': [{'start': '183.99.101.130', 'end': '183.99.101.190'}], 'gateway_ip': '183.99.101.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.99.101.130', 'tags': [], 'project_id': '529160aac93d4702b7c1a4e8d9894dc1'}}
2024-11-04 08:10:03,714 - INFO - Created VN ctest-vn-92202629
2024-11-04 08:10:03,772 - DEBUG - VN ctest-vn-92202629 UUID is 2fa5c307-76cf-471a-9ed0-7ce435948a76
2024-11-04 08:10:03,968 - DEBUG - Services list from nova: [, , ]
2024-11-04 08:10:05,059 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2197-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2197-1)
2024-11-04 08:10:06,339 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2197-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2197-1)
2024-11-04 08:10:06,339 - INFO - Waiting for VM ctest-TestBasicVMVNx-46185626-03803596 to be up..
2024-11-04 08:10:06,446 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-04 08:10:11,570 - DEBUG - VM is in ACTIVE state now
2024-11-04 08:10:11,570 - INFO - VM name : ctest-TestBasicVMVNx-46185626-03803596
2024-11-04 08:10:11,655 - DEBUG - VM ctest-TestBasicVMVNx-46185626-03803596 ID is 8022765d-c02c-4bb0-8248-d17a3f0187ca
2024-11-04 08:10:11,801 - DEBUG - VM ctest-TestBasicVMVNx-46185626-03803596 launched on Node cn-jenkins-deploy-platform-ansible-os-2197-1
2024-11-04 08:10:11,890 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/8022765d-c02c-4bb0-8248-d17a3f0187ca
2024-11-04 08:10:12,218 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/8022765d-c02c-4bb0-8248-d17a3f0187ca
2024-11-04 08:10:12,263 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/b0a79591-563c-4620-bcfa-28e084bdc2aa
2024-11-04 08:10:15,570 - 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 1029ms')
2024-11-04 08:10:15,571 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-46185626-03803596 failed!
2024-11-04 08:10:15,636 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-46185626:ctest-vn-92202629 is 183.99.101.129 and allocation pool is NOT set
2024-11-04 08:10:17,692 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.444 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.444/1.629/2.814/1.185 ms')
2024-11-04 08:10:17,692 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-46185626-03803596 passed
2024-11-04 08:10:17,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-04 08:10:17,856 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-46185626-03803596, IP 183.99.101.131, Port 22
2024-11-04 08:10:18,016 - DEBUG - VM ctest-TestBasicVMVNx-46185626-03803596 is ready for SSH connections
2024-11-04 08:10:18,016 - INFO - Waiting for VM ctest-TestBasicVMVNx-46185626-67680670 to be up..
2024-11-04 08:10:18,108 - DEBUG - VM is in ACTIVE state now
2024-11-04 08:10:18,108 - INFO - VM name : ctest-TestBasicVMVNx-46185626-67680670
2024-11-04 08:10:18,189 - DEBUG - VM ctest-TestBasicVMVNx-46185626-67680670 ID is c66a5708-fc8e-4f8f-b529-7373d85c0958
2024-11-04 08:10:18,190 - DEBUG - VM ctest-TestBasicVMVNx-46185626-67680670 launched on Node cn-jenkins-deploy-platform-ansible-os-2197-1
2024-11-04 08:10:18,281 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/c66a5708-fc8e-4f8f-b529-7373d85c0958
2024-11-04 08:10:18,291 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/13e46261-bde0-4c61-b7ea-1a33e264309b
2024-11-04 08:10:19,935 - 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=1384 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=374 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 374.077/878.895/1383.714/504.818 ms, pipe 2')
2024-11-04 08:10:19,936 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-46185626-67680670 passed
2024-11-04 08:10:20,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-04 08:10:20,112 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-46185626-67680670, IP 183.99.101.132, Port 22
2024-11-04 08:10:20,271 - DEBUG - VM ctest-TestBasicVMVNx-46185626-67680670 is ready for SSH connections
2024-11-04 08:10:20,272 - DEBUG - FILE SIZE = 1303B
2024-11-04 08:10:20,272 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-46185626-03803596 to ctest-TestBasicVMVNx-46185626-67680670 using scp
2024-11-04 08:10:20,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-04 08:10:20,279 - 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.12, gateway password: c0ntrail123
2024-11-04 08:10:20,279 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-11-04 08:10:22,292 - DEBUG - 1+0 records in
1+0 records out
2024-11-04 08:10:22,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-04 08:10:23,232 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123
2024-11-04 08:10:23,232 - DEBUG - ls -l testfile
2024-11-04 08:10:24,817 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 4 01:10 [0;0mtestfile[0m
2024-11-04 08:10:24,817 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-46185626-67680670
2024-11-04 08:10:24,817 - INFO - Deleting VM ctest-TestBasicVMVNx-46185626-67680670
2024-11-04 08:10:24,896 - INFO - Deleting VM ctest-TestBasicVMVNx-46185626-03803596
2024-11-04 08:10:24,977 - INFO - Deleting VN ctest-vn-92202629
2024-11-04 08:10:25,029 - DEBUG - VN 2fa5c307-76cf-471a-9ed0-7ce435948a76 still in use: Unable to complete operation on network 2fa5c307-76cf-471a-9ed0-7ce435948a76. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-6cd61651-9cb5-443b-80f2-f500a13a6be3']
2024-11-04 08:10:25,029 - WARNING - Deleting VN ctest-vn-92202629 failed..Will retry
2024-11-04 08:10:27,990 - DEBUG - Response for deleting network ()
2024-11-04 08:10:28,253 - DEBUG - No XMPP flaps were noticed during the test
2024-11-04 08:10:28,254 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:26]
2024-11-04 08:10:28,254 - INFO - --------------------------------------------------------------------------------
2024-11-04 08:10:28,978 - INFO - Deleted project: ctest-TestBasicVMVNx-46185626, ID : 529160aa-c93d-4702-b7c1-a4e8d9894dc1