2025-01-13 02:22:34,199 - INFO - Domain Default found not creating
2025-01-13 02:22:34,391 - INFO - Project ctest-TestBasicVMVNx-11587751 not found, creating it
2025-01-13 02:22:34,900 - INFO - Created Project:ctest-TestBasicVMVNx-11587751, ID : d1585046-08ac-46a0-a058-82e7bc9daf15
2025-01-13 02:22:36,616 - INFO - ================================================================================
2025-01-13 02:22:36,616 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-01-13 02:22:36,616 - 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-01-13 02:22:36,891 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.0.0.12': '0'}} with
2025-01-13 02:22:36,891 - INFO - Initial checks done. Running the testcase now
2025-01-13 02:22:36,892 - INFO -
2025-01-13 02:22:37,512 - DEBUG - Response for create_network : {'network': {'id': '33670f0b-9520-48ba-939c-8712147ee860', 'name': 'ctest-vn-30870674', 'tenant_id': 'd158504608ac46a0a05882e7bc9daf15', 'project_id': 'd158504608ac46a0a05882e7bc9daf15', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-11587751', 'ctest-vn-30870674'], 'port_security_enabled': True, 'description': ''}}
2025-01-13 02:22:37,731 - DEBUG - Response for create_subnet : {'subnet': {'id': '03ef7c99-b95b-4fad-8031-c12811432e14', 'name': '', 'tenant_id': 'd158504608ac46a0a05882e7bc9daf15', 'network_id': '33670f0b-9520-48ba-939c-8712147ee860', 'ip_version': 4, 'cidr': '40.4.43.128/26', 'allocation_pools': [{'start': '40.4.43.130', 'end': '40.4.43.190'}], 'gateway_ip': '40.4.43.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.4.43.130', 'tags': [], 'project_id': 'd158504608ac46a0a05882e7bc9daf15'}}
2025-01-13 02:22:37,752 - INFO - Created VN ctest-vn-30870674
2025-01-13 02:22:37,807 - DEBUG - VN ctest-vn-30870674 UUID is 33670f0b-9520-48ba-939c-8712147ee860
2025-01-13 02:22:37,979 - DEBUG - Services list from nova: [, , ]
2025-01-13 02:22:39,119 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2604-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2604-1)
2025-01-13 02:22:40,456 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2604-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2604-1)
2025-01-13 02:22:40,457 - INFO - Waiting for VM ctest-TestBasicVMVNx-11587751-19597866 to be up..
2025-01-13 02:22:40,576 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-13 02:22:45,681 - DEBUG - VM is in ACTIVE state now
2025-01-13 02:22:45,681 - INFO - VM name : ctest-TestBasicVMVNx-11587751-19597866
2025-01-13 02:22:45,773 - DEBUG - VM ctest-TestBasicVMVNx-11587751-19597866 ID is a0717a13-a4a3-41c9-96c8-7a431f9d051e
2025-01-13 02:22:45,795 - DEBUG - VM ctest-TestBasicVMVNx-11587751-19597866 launched on Node cn-jenkins-deploy-platform-ansible-os-2604-1.
2025-01-13 02:22:45,892 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/a0717a13-a4a3-41c9-96c8-7a431f9d051e
2025-01-13 02:22:46,235 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/a0717a13-a4a3-41c9-96c8-7a431f9d051e
2025-01-13 02:22:46,276 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/717f0547-3778-4cb7-9bfe-36bf4bb940ca
2025-01-13 02:22:49,561 - 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 1019ms')
2025-01-13 02:22:49,562 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-11587751-19597866 failed!
2025-01-13 02:22:49,623 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-11587751:ctest-vn-30870674 is 40.4.43.129 and allocation pool is NOT set
2025-01-13 02:22:51,690 - 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=3.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.29 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.287/3.488/3.689/0.201 ms')
2025-01-13 02:22:51,690 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-11587751-19597866 passed
2025-01-13 02:22:51,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 02:22:51,843 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-11587751-19597866, IP 40.4.43.131, Port 22
2025-01-13 02:22:51,909 - 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-01-13 02:22:51,999 - DEBUG - VM ctest-TestBasicVMVNx-11587751-19597866 is NOT ready for SSH connections, VM status: ACTIVE
2025-01-13 02:22:56,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 02:22:56,999 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-11587751-19597866, IP 40.4.43.131, Port 22
2025-01-13 02:22:57,165 - DEBUG - VM ctest-TestBasicVMVNx-11587751-19597866 is ready for SSH connections
2025-01-13 02:22:57,165 - INFO - Waiting for VM ctest-TestBasicVMVNx-11587751-11705484 to be up..
2025-01-13 02:22:57,272 - DEBUG - VM is in ACTIVE state now
2025-01-13 02:22:57,272 - INFO - VM name : ctest-TestBasicVMVNx-11587751-11705484
2025-01-13 02:22:57,362 - DEBUG - VM ctest-TestBasicVMVNx-11587751-11705484 ID is 922d508f-08b2-4289-a430-f7484a44a293
2025-01-13 02:22:57,363 - DEBUG - VM ctest-TestBasicVMVNx-11587751-11705484 launched on Node cn-jenkins-deploy-platform-ansible-os-2604-1.
2025-01-13 02:22:57,458 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/922d508f-08b2-4289-a430-f7484a44a293
2025-01-13 02:22:57,471 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/aea489a9-9b31-4b51-bb5d-485fab05427f
2025-01-13 02:22:58,725 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.523 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.523/2.231/3.939/1.708 ms')
2025-01-13 02:22:58,725 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-11587751-11705484 passed
2025-01-13 02:22:58,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 02:22:58,888 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-11587751-11705484, IP 40.4.43.132, Port 22
2025-01-13 02:22:59,047 - DEBUG - VM ctest-TestBasicVMVNx-11587751-11705484 is ready for SSH connections
2025-01-13 02:22:59,047 - DEBUG - FILE SIZE = 1303B
2025-01-13 02:22:59,047 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-11587751-19597866 to ctest-TestBasicVMVNx-11587751-11705484 using scp
2025-01-13 02:22:59,048 - 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
2025-01-13 02:22:59,048 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-01-13 02:23:01,164 - DEBUG - 1+0 records in
1+0 records out
2025-01-13 02:23:01,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 02:23:02,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
2025-01-13 02:23:02,232 - DEBUG - ls -l testfile
2025-01-13 02:23:03,897 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 12 19:23 [0;0mtestfile[0m
2025-01-13 02:23:03,897 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-11587751-11705484
2025-01-13 02:23:03,897 - INFO - Deleting VM ctest-TestBasicVMVNx-11587751-11705484
2025-01-13 02:23:03,983 - INFO - Deleting VM ctest-TestBasicVMVNx-11587751-19597866
2025-01-13 02:23:04,083 - INFO - Deleting VN ctest-vn-30870674
2025-01-13 02:23:04,124 - DEBUG - VN 33670f0b-9520-48ba-939c-8712147ee860 still in use: Unable to complete operation on network 33670f0b-9520-48ba-939c-8712147ee860. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-98df07c2-11f0-4872-ad69-484d0c5f896c']
2025-01-13 02:23:04,125 - WARNING - Deleting VN ctest-vn-30870674 failed..Will retry
2025-01-13 02:23:06,265 - DEBUG - Response for deleting network ()
2025-01-13 02:23:06,521 - DEBUG - No XMPP flaps were noticed during the test
2025-01-13 02:23:06,522 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2025-01-13 02:23:06,522 - INFO - --------------------------------------------------------------------------------
2025-01-13 02:23:07,301 - INFO - Deleted project: ctest-TestBasicVMVNx-11587751, ID : d1585046-08ac-46a0-a058-82e7bc9daf15