2025-02-17 02:37:11,282 - INFO - Domain Default found not creating
2025-02-17 02:37:11,443 - INFO - Project ctest-TestBasicVMVNx-58631770 not found, creating it
2025-02-17 02:37:11,931 - INFO - Created Project:ctest-TestBasicVMVNx-58631770, ID : c6bee8e1-5c5a-4428-8590-93dea099ff58
2025-02-17 02:37:13,639 - INFO - ================================================================================
2025-02-17 02:37:13,639 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-02-17 02:37:13,639 - 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
2025-02-17 02:37:13,898 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.0.0.30': '0'}} with
2025-02-17 02:37:13,898 - INFO - Initial checks done. Running the testcase now
2025-02-17 02:37:13,898 - INFO -
2025-02-17 02:37:14,530 - DEBUG - Response for create_network : {'network': {'id': '02f47d1d-5d96-4584-a978-bcc560912153', 'name': 'ctest-vn-45052775', 'tenant_id': 'c6bee8e15c5a4428859093dea099ff58', 'project_id': 'c6bee8e15c5a4428859093dea099ff58', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-58631770', 'ctest-vn-45052775'], 'port_security_enabled': True, 'description': ''}}
2025-02-17 02:37:14,749 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad9d017d-9c13-41dc-ba6a-69ff94c747c9', 'name': '', 'tenant_id': 'c6bee8e15c5a4428859093dea099ff58', 'network_id': '02f47d1d-5d96-4584-a978-bcc560912153', 'ip_version': 4, 'cidr': '192.50.7.128/26', 'allocation_pools': [{'start': '192.50.7.130', 'end': '192.50.7.190'}], 'gateway_ip': '192.50.7.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.50.7.130', 'tags': [], 'project_id': 'c6bee8e15c5a4428859093dea099ff58'}}
2025-02-17 02:37:14,770 - INFO - Created VN ctest-vn-45052775
2025-02-17 02:37:14,828 - DEBUG - VN ctest-vn-45052775 UUID is 02f47d1d-5d96-4584-a978-bcc560912153
2025-02-17 02:37:15,033 - DEBUG - Services list from nova: [, , ]
2025-02-17 02:37:16,202 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2742-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2742-1)
2025-02-17 02:37:17,488 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2742-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2742-1)
2025-02-17 02:37:17,488 - INFO - Waiting for VM ctest-TestBasicVMVNx-58631770-62133354 to be up..
2025-02-17 02:37:17,598 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-02-17 02:37:22,687 - DEBUG - VM is in ACTIVE state now
2025-02-17 02:37:22,687 - INFO - VM name : ctest-TestBasicVMVNx-58631770-62133354
2025-02-17 02:37:22,775 - DEBUG - VM ctest-TestBasicVMVNx-58631770-62133354 ID is 2f4445b1-77a5-4e0e-819a-297ed6343217
2025-02-17 02:37:22,798 - DEBUG - VM ctest-TestBasicVMVNx-58631770-62133354 launched on Node cn-jenkins-deploy-platform-ansible-os-2742-1.
2025-02-17 02:37:22,888 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/2f4445b1-77a5-4e0e-819a-297ed6343217
2025-02-17 02:37:23,225 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/2f4445b1-77a5-4e0e-819a-297ed6343217
2025-02-17 02:37:23,260 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/7f399a39-11a6-480c-85ba-f4cd4b6d2042
2025-02-17 02:37:26,540 - 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')
2025-02-17 02:37:26,540 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-58631770-62133354 failed!
2025-02-17 02:37:26,596 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-58631770:ctest-vn-45052775 is 192.50.7.129 and allocation pool is NOT set
2025-02-17 02:37:28,659 - 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.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.715 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.715/5.413/10.112/4.698 ms')
2025-02-17 02:37:28,659 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-58631770-62133354 passed
2025-02-17 02:37:28,816 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-17 02:37:28,816 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-58631770-62133354, IP 192.50.7.131, Port 22
2025-02-17 02:37:28,872 - 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': ''}
2025-02-17 02:37:28,974 - DEBUG - VM ctest-TestBasicVMVNx-58631770-62133354 is NOT ready for SSH connections, VM status: ACTIVE
2025-02-17 02:37:33,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-17 02:37:33,975 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-58631770-62133354, IP 192.50.7.131, Port 22
2025-02-17 02:37:34,136 - DEBUG - VM ctest-TestBasicVMVNx-58631770-62133354 is ready for SSH connections
2025-02-17 02:37:34,136 - INFO - Waiting for VM ctest-TestBasicVMVNx-58631770-72152801 to be up..
2025-02-17 02:37:34,267 - DEBUG - VM is in ACTIVE state now
2025-02-17 02:37:34,267 - INFO - VM name : ctest-TestBasicVMVNx-58631770-72152801
2025-02-17 02:37:34,363 - DEBUG - VM ctest-TestBasicVMVNx-58631770-72152801 ID is ef41e5c2-b3d7-4ba4-a2fb-72b3b2c65f45
2025-02-17 02:37:34,363 - DEBUG - VM ctest-TestBasicVMVNx-58631770-72152801 launched on Node cn-jenkins-deploy-platform-ansible-os-2742-1.
2025-02-17 02:37:34,454 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/ef41e5c2-b3d7-4ba4-a2fb-72b3b2c65f45
2025-02-17 02:37:34,466 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/ee043ea7-cf6d-435c-8941-749c769323ff
2025-02-17 02:37:35,728 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.471 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.471/2.170/3.870/1.699 ms')
2025-02-17 02:37:35,729 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-58631770-72152801 passed
2025-02-17 02:37:35,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-17 02:37:35,884 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-58631770-72152801, IP 192.50.7.132, Port 22
2025-02-17 02:37:36,050 - DEBUG - VM ctest-TestBasicVMVNx-58631770-72152801 is ready for SSH connections
2025-02-17 02:37:36,050 - DEBUG - FILE SIZE = 1303B
2025-02-17 02:37:36,051 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-58631770-62133354 to ctest-TestBasicVMVNx-58631770-72152801 using scp
2025-02-17 02:37:36,052 - 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.30, gateway password: c0ntrail123
2025-02-17 02:37:36,052 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-02-17 02:37:38,023 - DEBUG - 1+0 records in
1+0 records out
2025-02-17 02:37:38,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-17 02:37:39,022 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123
2025-02-17 02:37:39,022 - DEBUG - ls -l testfile
2025-02-17 02:37:40,646 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 16 19:37 [0;0mtestfile[0m
2025-02-17 02:37:40,646 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-58631770-72152801
2025-02-17 02:37:40,646 - INFO - Deleting VM ctest-TestBasicVMVNx-58631770-72152801
2025-02-17 02:37:40,722 - INFO - Deleting VM ctest-TestBasicVMVNx-58631770-62133354
2025-02-17 02:37:40,790 - INFO - Deleting VN ctest-vn-45052775
2025-02-17 02:37:40,833 - DEBUG - VN 02f47d1d-5d96-4584-a978-bcc560912153 still in use: Unable to complete operation on network 02f47d1d-5d96-4584-a978-bcc560912153. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b94d9637-892e-42aa-95f2-5328c1609fe1']
2025-02-17 02:37:40,834 - WARNING - Deleting VN ctest-vn-45052775 failed..Will retry
2025-02-17 02:37:42,972 - DEBUG - Response for deleting network ()
2025-02-17 02:37:43,230 - DEBUG - No XMPP flaps were noticed during the test
2025-02-17 02:37:43,230 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2025-02-17 02:37:43,230 - INFO - --------------------------------------------------------------------------------
2025-02-17 02:37:43,990 - INFO - Deleted project: ctest-TestBasicVMVNx-58631770, ID : c6bee8e1-5c5a-4428-8590-93dea099ff58