2024-09-17 16:25:58,620 - INFO - Domain Default found not creating
2024-09-17 16:25:58,804 - INFO - Project ctest-TestBasicVMVNx-35849624 not found, creating it
2024-09-17 16:25:59,344 - INFO - Created Project:ctest-TestBasicVMVNx-35849624, ID : 0e0131d0-8053-41d8-891c-8b827dc6923e
2024-09-17 16:26:01,166 - INFO - ================================================================================
2024-09-17 16:26:01,166 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-09-17 16:26:01,166 - 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-09-17 16:26:01,430 - DEBUG - Nothing to compare xmpp stats {'10.0.0.54': {'10.20.0.11': '0'}} with
2024-09-17 16:26:01,430 - INFO - Initial checks done. Running the testcase now
2024-09-17 16:26:01,430 - INFO -
2024-09-17 16:26:02,148 - DEBUG - Response for create_network : {'network': {'id': '7dbca7f3-e455-4e22-8cf8-4fe14f6c7e95', 'name': 'ctest-vn-64001214', 'tenant_id': '0e0131d0805341d8891c8b827dc6923e', 'project_id': '0e0131d0805341d8891c8b827dc6923e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-35849624', 'ctest-vn-64001214'], 'port_security_enabled': True, 'description': ''}}
2024-09-17 16:26:02,350 - DEBUG - Response for create_subnet : {'subnet': {'id': '52c31d86-6e83-47fc-b8e6-f97d1e547ea4', 'name': '', 'tenant_id': '0e0131d0805341d8891c8b827dc6923e', 'network_id': '7dbca7f3-e455-4e22-8cf8-4fe14f6c7e95', 'ip_version': 4, 'cidr': '116.161.233.192/26', 'allocation_pools': [{'start': '116.161.233.194', 'end': '116.161.233.254'}], 'gateway_ip': '116.161.233.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.161.233.194', 'tags': [], 'project_id': '0e0131d0805341d8891c8b827dc6923e'}}
2024-09-17 16:26:02,377 - INFO - Created VN ctest-vn-64001214
2024-09-17 16:26:02,438 - DEBUG - VN ctest-vn-64001214 UUID is 7dbca7f3-e455-4e22-8cf8-4fe14f6c7e95
2024-09-17 16:26:02,650 - DEBUG - Services list from nova: [, , ]
2024-09-17 16:26:03,866 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1964-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1964-1)
2024-09-17 16:26:05,281 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1964-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1964-1)
2024-09-17 16:26:05,282 - INFO - Waiting for VM ctest-TestBasicVMVNx-35849624-16721408 to be up..
2024-09-17 16:26:05,377 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-09-17 16:26:10,478 - DEBUG - VM is in ACTIVE state now
2024-09-17 16:26:10,478 - INFO - VM name : ctest-TestBasicVMVNx-35849624-16721408
2024-09-17 16:26:10,573 - DEBUG - VM ctest-TestBasicVMVNx-35849624-16721408 ID is 3ad89318-04cb-4850-b78d-1f69ea3c8fda
2024-09-17 16:26:10,597 - DEBUG - VM ctest-TestBasicVMVNx-35849624-16721408 launched on Node cn-jenkins-deploy-platform-ansible-os-1964-1
2024-09-17 16:26:10,707 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/3ad89318-04cb-4850-b78d-1f69ea3c8fda
2024-09-17 16:26:11,052 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/3ad89318-04cb-4850-b78d-1f69ea3c8fda
2024-09-17 16:26:11,096 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine-interface/6cdf4cb8-785d-48f9-8ecc-1dca90602697
2024-09-17 16:26:14,375 - 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 1006ms')
2024-09-17 16:26:14,376 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-35849624-16721408 failed!
2024-09-17 16:26:14,441 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-35849624:ctest-vn-64001214 is 116.161.233.193 and allocation pool is NOT set
2024-09-17 16:26:16,504 - 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=4.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.594 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.594/2.599/4.604/2.005 ms')
2024-09-17 16:26:16,504 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-35849624-16721408 passed
2024-09-17 16:26:16,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-17 16:26:16,674 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-35849624-16721408, IP 116.161.233.195, Port 22
2024-09-17 16:26:16,740 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2024-09-17 16:26:16,885 - DEBUG - VM ctest-TestBasicVMVNx-35849624-16721408 is NOT ready for SSH connections, VM status: ACTIVE
2024-09-17 16:26:21,885 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-17 16:26:21,886 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-35849624-16721408, IP 116.161.233.195, Port 22
2024-09-17 16:26:22,051 - DEBUG - VM ctest-TestBasicVMVNx-35849624-16721408 is ready for SSH connections
2024-09-17 16:26:22,051 - INFO - Waiting for VM ctest-TestBasicVMVNx-35849624-34956781 to be up..
2024-09-17 16:26:22,150 - DEBUG - VM is in ACTIVE state now
2024-09-17 16:26:22,150 - INFO - VM name : ctest-TestBasicVMVNx-35849624-34956781
2024-09-17 16:26:22,239 - DEBUG - VM ctest-TestBasicVMVNx-35849624-34956781 ID is c4b2a493-c856-4048-812d-05870b351911
2024-09-17 16:26:22,239 - DEBUG - VM ctest-TestBasicVMVNx-35849624-34956781 launched on Node cn-jenkins-deploy-platform-ansible-os-1964-1
2024-09-17 16:26:22,436 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/c4b2a493-c856-4048-812d-05870b351911
2024-09-17 16:26:22,448 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine-interface/f651d0be-bf6b-4d6b-9adb-4b84ac33ab41
2024-09-17 16:26:23,705 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.470 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.470/2.227/3.984/1.757 ms')
2024-09-17 16:26:23,705 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-35849624-34956781 passed
2024-09-17 16:26:23,865 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-17 16:26:23,866 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-35849624-34956781, IP 116.161.233.196, Port 22
2024-09-17 16:26:24,044 - DEBUG - VM ctest-TestBasicVMVNx-35849624-34956781 is ready for SSH connections
2024-09-17 16:26:24,044 - DEBUG - FILE SIZE = 1303B
2024-09-17 16:26:24,044 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-35849624-16721408 to ctest-TestBasicVMVNx-35849624-34956781 using scp
2024-09-17 16:26:24,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-17 16:26:24,051 - 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.54, gateway password: c0ntrail123
2024-09-17 16:26:24,052 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-09-17 16:26:26,051 - DEBUG - 1+0 records in
1+0 records out
2024-09-17 16:26:26,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-17 16:26:27,327 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.54, gateway password: c0ntrail123
2024-09-17 16:26:27,328 - DEBUG - ls -l testfile
2024-09-17 16:26:28,945 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 17 10:26 [0;0mtestfile[0m
2024-09-17 16:26:28,945 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-35849624-34956781
2024-09-17 16:26:28,945 - INFO - Deleting VM ctest-TestBasicVMVNx-35849624-34956781
2024-09-17 16:26:29,026 - INFO - Deleting VM ctest-TestBasicVMVNx-35849624-16721408
2024-09-17 16:26:29,121 - INFO - Deleting VN ctest-vn-64001214
2024-09-17 16:26:29,172 - DEBUG - VN 7dbca7f3-e455-4e22-8cf8-4fe14f6c7e95 still in use: Unable to complete operation on network 7dbca7f3-e455-4e22-8cf8-4fe14f6c7e95. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e88ced52-cea5-40a6-8039-5d2699548be6']
2024-09-17 16:26:29,172 - WARNING - Deleting VN ctest-vn-64001214 failed..Will retry
2024-09-17 16:26:31,296 - DEBUG - Response for deleting network ()
2024-09-17 16:26:31,553 - DEBUG - No XMPP flaps were noticed during the test
2024-09-17 16:26:31,553 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2024-09-17 16:26:31,553 - INFO - --------------------------------------------------------------------------------
2024-09-17 16:26:32,369 - INFO - Deleted project: ctest-TestBasicVMVNx-35849624, ID : 0e0131d0-8053-41d8-891c-8b827dc6923e