2024-12-26 02:00:04,441 - INFO - Reading existing Domain with UUID e87579be-da4b-4b50-b3a2-8e191a3368e1
2024-12-26 02:00:04,454 - INFO - Using existing domain ['admin_domain'](e87579be-da4b-4b50-b3a2-8e191a3368e1)
2024-12-26 02:00:04,664 - INFO - Project ctest-TestBasicVMVNx-60179405 not found, creating it
2024-12-26 02:00:05,213 - INFO - Created Project:ctest-TestBasicVMVNx-60179405, ID : 8eb1d597-ea2d-46c0-b597-f96690abbc50
2024-12-26 02:00:07,002 - INFO - ================================================================================
2024-12-26 02:00:07,002 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-12-26 02:00:07,003 - 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-12-26 02:00:07,391 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.0.0.29': '0'}} with
2024-12-26 02:00:07,391 - INFO - Initial checks done. Running the testcase now
2024-12-26 02:00:07,391 - INFO -
2024-12-26 02:00:08,175 - DEBUG - Response for create_network : {'network': {'id': '6aaecc25-e648-4a14-9dbc-a1f1a4063fca', 'name': 'ctest-vn-50418032', 'tenant_id': '8eb1d597ea2d46c0b597f96690abbc50', 'project_id': '8eb1d597ea2d46c0b597f96690abbc50', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVNx-60179405', 'ctest-vn-50418032'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2024-12-26 02:00:08,455 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1f931a2-3c84-4c2a-a9f7-22a8ab78be71', 'name': '', 'tenant_id': '8eb1d597ea2d46c0b597f96690abbc50', 'network_id': '6aaecc25-e648-4a14-9dbc-a1f1a4063fca', 'ip_version': 4, 'cidr': '55.192.106.0/26', 'allocation_pools': [{'start': '55.192.106.2', 'end': '55.192.106.62'}], 'gateway_ip': '55.192.106.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2024-12-26T02:00:08.345931', 'updated_at': '2024-12-26T02:00:08.345931', 'dns_server_address': '55.192.106.2', 'tags': [], 'project_id': '8eb1d597ea2d46c0b597f96690abbc50'}}
2024-12-26 02:00:08,521 - INFO - Created VN ctest-vn-50418032
2024-12-26 02:00:08,574 - DEBUG - VN ctest-vn-50418032 UUID is 6aaecc25-e648-4a14-9dbc-a1f1a4063fca
2024-12-26 02:00:08,854 - DEBUG - Services list from nova: [, , ]
2024-12-26 02:00:10,112 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-459-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-459-1)
2024-12-26 02:00:11,481 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-459-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-459-1)
2024-12-26 02:00:11,482 - INFO - Waiting for VM ctest-TestBasicVMVNx-60179405-59757348 to be up..
2024-12-26 02:00:11,641 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-12-26 02:00:16,790 - DEBUG - VM is in ACTIVE state now
2024-12-26 02:00:16,790 - INFO - VM name : ctest-TestBasicVMVNx-60179405-59757348
2024-12-26 02:00:16,934 - DEBUG - VM ctest-TestBasicVMVNx-60179405-59757348 ID is d66b60f1-2327-41c8-a13f-1bfcd1ba143d
2024-12-26 02:00:16,958 - DEBUG - VM ctest-TestBasicVMVNx-60179405-59757348 launched on Node cn-jenkins-deploy-platform-juju-os-459-1
2024-12-26 02:00:17,114 - DEBUG - Requesting: https://10.0.0.29:8082/virtual-machine/d66b60f1-2327-41c8-a13f-1bfcd1ba143d
2024-12-26 02:00:17,464 - DEBUG - Requesting: https://10.0.0.29:8082/virtual-machine/d66b60f1-2327-41c8-a13f-1bfcd1ba143d
2024-12-26 02:00:17,555 - DEBUG - Requesting: https://10.0.0.29:8082/virtual-machine-interface/481832ee-cf7f-4c50-8be0-4907e0c8cde3
2024-12-26 02:00:21,024 - 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 1002ms')
2024-12-26 02:00:21,025 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-60179405-59757348 failed!
2024-12-26 02:00:21,083 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVNx-60179405:ctest-vn-50418032 is 55.192.106.1 and allocation pool is NOT set
2024-12-26 02:00:23,177 - 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=7.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.01 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 = 3.006/5.358/7.710/2.352 ms')
2024-12-26 02:00:23,177 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-60179405-59757348 passed
2024-12-26 02:00:23,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-26 02:00:23,335 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-60179405-59757348, IP 55.192.106.3, Port 22
2024-12-26 02:00:23,422 - 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-12-26 02:00:23,568 - DEBUG - VM ctest-TestBasicVMVNx-60179405-59757348 is NOT ready for SSH connections, VM status: ACTIVE
2024-12-26 02:00:28,568 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-26 02:00:28,569 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-60179405-59757348, IP 55.192.106.3, Port 22
2024-12-26 02:00:28,800 - DEBUG - VM ctest-TestBasicVMVNx-60179405-59757348 is ready for SSH connections
2024-12-26 02:00:28,800 - INFO - Waiting for VM ctest-TestBasicVMVNx-60179405-79473414 to be up..
2024-12-26 02:00:28,944 - DEBUG - VM is in ACTIVE state now
2024-12-26 02:00:28,944 - INFO - VM name : ctest-TestBasicVMVNx-60179405-79473414
2024-12-26 02:00:29,087 - DEBUG - VM ctest-TestBasicVMVNx-60179405-79473414 ID is 8c4dec31-81f3-4aba-ab72-ccccdff27916
2024-12-26 02:00:29,087 - DEBUG - VM ctest-TestBasicVMVNx-60179405-79473414 launched on Node cn-jenkins-deploy-platform-juju-os-459-1
2024-12-26 02:00:29,226 - DEBUG - Requesting: https://10.0.0.29:8082/virtual-machine/8c4dec31-81f3-4aba-ab72-ccccdff27916
2024-12-26 02:00:29,283 - DEBUG - Requesting: https://10.0.0.29:8082/virtual-machine-interface/673c4a4b-62fe-4e3b-a420-637f51ea64f7
2024-12-26 02:00:30,758 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.382 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.382/1.637/2.892/1.255 ms')
2024-12-26 02:00:30,758 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-60179405-79473414 passed
2024-12-26 02:00:30,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-26 02:00:30,910 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-60179405-79473414, IP 55.192.106.4, Port 22
2024-12-26 02:00:31,124 - DEBUG - VM ctest-TestBasicVMVNx-60179405-79473414 is ready for SSH connections
2024-12-26 02:00:31,124 - DEBUG - FILE SIZE = 1303B
2024-12-26 02:00:31,125 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-60179405-59757348 to ctest-TestBasicVMVNx-60179405-79473414 using scp
2024-12-26 02:00:31,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-26 02:00:31,136 - 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.29, gateway password: c0ntrail123
2024-12-26 02:00:31,136 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-12-26 02:00:32,710 - DEBUG - 1+0 records in
1+0 records out
2024-12-26 02:00:33,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-26 02:00:33,822 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2024-12-26 02:00:33,822 - DEBUG - ls -l testfile
2024-12-26 02:00:35,389 - DEBUG - -rw------- 1 cirros cirros 1303 Dec 25 19:00 [0;0mtestfile[0m
2024-12-26 02:00:35,389 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-60179405-79473414
2024-12-26 02:00:35,389 - INFO - Deleting VM ctest-TestBasicVMVNx-60179405-79473414
2024-12-26 02:00:35,488 - INFO - Deleting VM ctest-TestBasicVMVNx-60179405-59757348
2024-12-26 02:00:35,596 - INFO - Deleting VN ctest-vn-50418032
2024-12-26 02:00:35,734 - DEBUG - VN 6aaecc25-e648-4a14-9dbc-a1f1a4063fca still in use: Unable to complete operation on network 6aaecc25-e648-4a14-9dbc-a1f1a4063fca. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e3916a55-2b79-43a1-8798-7d3c4095f8d4']
2024-12-26 02:00:35,734 - WARNING - Deleting VN ctest-vn-50418032 failed..Will retry
2024-12-26 02:00:37,911 - DEBUG - Response for deleting network ()
2024-12-26 02:00:38,296 - DEBUG - No XMPP flaps were noticed during the test
2024-12-26 02:00:38,296 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:31]
2024-12-26 02:00:38,296 - INFO - --------------------------------------------------------------------------------
2024-12-26 02:00:39,056 - INFO - Deleted project: ctest-TestBasicVMVNx-60179405, ID : 8eb1d597-ea2d-46c0-b597-f96690abbc50