2024-11-08 22:43:37,267 - INFO - Domain Default found not creating
2024-11-08 22:43:37,417 - INFO - Project ctest-TestBasicVMVNx-96958247 not found, creating it
2024-11-08 22:43:37,878 - INFO - Created Project:ctest-TestBasicVMVNx-96958247, ID : d8753fba-9464-4e60-9060-fa47ad8e4904
2024-11-08 22:43:39,328 - INFO - ================================================================================
2024-11-08 22:43:39,328 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-11-08 22:43:39,329 - 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-08 22:43:39,594 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.6': '0'}} with
2024-11-08 22:43:39,594 - INFO - Initial checks done. Running the testcase now
2024-11-08 22:43:39,594 - INFO -
2024-11-08 22:43:40,174 - DEBUG - Response for create_network : {'network': {'id': '634cf940-abf5-4f78-9686-e2585bcfb0dd', 'name': 'ctest-vn-36286802', 'tenant_id': 'd8753fba94644e609060fa47ad8e4904', 'project_id': 'd8753fba94644e609060fa47ad8e4904', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-96958247', 'ctest-vn-36286802'], 'port_security_enabled': True, 'description': ''}}
2024-11-08 22:43:40,397 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c54e9f35-9781-4850-bd63-2676299d8774', 'name': '', 'tenant_id': 'd8753fba94644e609060fa47ad8e4904', 'network_id': '634cf940-abf5-4f78-9686-e2585bcfb0dd', 'ip_version': 4, 'cidr': '73.145.4.192/26', 'allocation_pools': [{'start': '73.145.4.194', 'end': '73.145.4.254'}], 'gateway_ip': '73.145.4.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.145.4.194', 'tags': [], 'project_id': 'd8753fba94644e609060fa47ad8e4904'}}
2024-11-08 22:43:40,420 - INFO - Created VN ctest-vn-36286802
2024-11-08 22:43:40,479 - DEBUG - VN ctest-vn-36286802 UUID is 634cf940-abf5-4f78-9686-e2585bcfb0dd
2024-11-08 22:43:40,660 - DEBUG - Services list from nova: [, , ]
2024-11-08 22:43:41,695 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2242-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2242-1)
2024-11-08 22:43:42,873 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2242-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2242-1)
2024-11-08 22:43:42,874 - INFO - Waiting for VM ctest-TestBasicVMVNx-96958247-16354167 to be up..
2024-11-08 22:43:42,987 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-08 22:43:48,073 - DEBUG - VM is in ACTIVE state now
2024-11-08 22:43:48,073 - INFO - VM name : ctest-TestBasicVMVNx-96958247-16354167
2024-11-08 22:43:48,161 - DEBUG - VM ctest-TestBasicVMVNx-96958247-16354167 ID is 22136645-ee13-48cb-b6d0-415b8d7ca0d0
2024-11-08 22:43:48,181 - DEBUG - VM ctest-TestBasicVMVNx-96958247-16354167 launched on Node cn-jenkins-deploy-platform-ansible-os-2242-1
2024-11-08 22:43:48,263 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/22136645-ee13-48cb-b6d0-415b8d7ca0d0
2024-11-08 22:43:48,566 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/22136645-ee13-48cb-b6d0-415b8d7ca0d0
2024-11-08 22:43:48,603 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/391e447e-7f5a-42f4-bbea-f30cdc899da2
2024-11-08 22:43:51,896 - 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 1007ms')
2024-11-08 22:43:51,896 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-96958247-16354167 failed!
2024-11-08 22:43:51,959 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-96958247:ctest-vn-36286802 is 73.145.4.193 and allocation pool is NOT set
2024-11-08 22:43:54,020 - 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.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.422 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.422/1.524/2.627/1.102 ms')
2024-11-08 22:43:54,020 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-96958247-16354167 passed
2024-11-08 22:43:54,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 22:43:54,183 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-96958247-16354167, IP 73.145.4.195, Port 22
2024-11-08 22:43:54,354 - DEBUG - VM ctest-TestBasicVMVNx-96958247-16354167 is ready for SSH connections
2024-11-08 22:43:54,354 - INFO - Waiting for VM ctest-TestBasicVMVNx-96958247-60288139 to be up..
2024-11-08 22:43:54,437 - DEBUG - VM is in ACTIVE state now
2024-11-08 22:43:54,437 - INFO - VM name : ctest-TestBasicVMVNx-96958247-60288139
2024-11-08 22:43:54,512 - DEBUG - VM ctest-TestBasicVMVNx-96958247-60288139 ID is db5fd3c5-93c2-4161-a186-8ac13e288f19
2024-11-08 22:43:54,513 - DEBUG - VM ctest-TestBasicVMVNx-96958247-60288139 launched on Node cn-jenkins-deploy-platform-ansible-os-2242-1
2024-11-08 22:43:54,596 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/db5fd3c5-93c2-4161-a186-8ac13e288f19
2024-11-08 22:43:54,605 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/5b6a9196-9798-49ca-9207-14171d037c21
2024-11-08 22:43:55,863 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.429 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.429/1.600/2.771/1.171 ms')
2024-11-08 22:43:55,863 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-96958247-60288139 passed
2024-11-08 22:43:56,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 22:43:56,027 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-96958247-60288139, IP 73.145.4.196, Port 22
2024-11-08 22:43:56,179 - DEBUG - VM ctest-TestBasicVMVNx-96958247-60288139 is ready for SSH connections
2024-11-08 22:43:56,179 - DEBUG - FILE SIZE = 1303B
2024-11-08 22:43:56,179 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-96958247-16354167 to ctest-TestBasicVMVNx-96958247-60288139 using scp
2024-11-08 22:43:56,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 22:43:56,185 - 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-11-08 22:43:56,185 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-11-08 22:43:58,082 - DEBUG - 1+0 records in
1+0 records out
2024-11-08 22:43:58,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 22:43:59,151 - 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-11-08 22:43:59,152 - DEBUG - ls -l testfile
2024-11-08 22:44:00,721 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 8 15:43 [0;0mtestfile[0m
2024-11-08 22:44:00,721 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-96958247-60288139
2024-11-08 22:44:00,721 - INFO - Deleting VM ctest-TestBasicVMVNx-96958247-60288139
2024-11-08 22:44:00,801 - INFO - Deleting VM ctest-TestBasicVMVNx-96958247-16354167
2024-11-08 22:44:00,867 - INFO - Deleting VN ctest-vn-36286802
2024-11-08 22:44:00,911 - DEBUG - VN 634cf940-abf5-4f78-9686-e2585bcfb0dd still in use: Unable to complete operation on network 634cf940-abf5-4f78-9686-e2585bcfb0dd. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-14f1683f-461a-49b0-8d24-686f0edd713c']
2024-11-08 22:44:00,912 - WARNING - Deleting VN ctest-vn-36286802 failed..Will retry
2024-11-08 22:44:03,029 - DEBUG - Response for deleting network ()
2024-11-08 22:44:03,289 - DEBUG - No XMPP flaps were noticed during the test
2024-11-08 22:44:03,289 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-11-08 22:44:03,289 - INFO - --------------------------------------------------------------------------------
2024-11-08 22:44:03,993 - INFO - Deleted project: ctest-TestBasicVMVNx-96958247, ID : d8753fba-9464-4e60-9060-fa47ad8e4904