2025-01-04 21:34:26,085 - INFO - Domain Default found not creating
2025-01-04 21:34:26,269 - INFO - Project ctest-TestBasicVMVNx-29877034 not found, creating it
2025-01-04 21:34:26,786 - INFO - Created Project:ctest-TestBasicVMVNx-29877034, ID : f65d61de-8e20-4432-ad70-becee0ddf647
2025-01-04 21:34:28,505 - INFO - ================================================================================
2025-01-04 21:34:28,505 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-01-04 21:34:28,505 - 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-04 21:34:28,779 - DEBUG - Nothing to compare xmpp stats {'10.0.0.54': {'10.20.0.8': '0'}} with
2025-01-04 21:34:28,779 - INFO - Initial checks done. Running the testcase now
2025-01-04 21:34:28,779 - INFO -
2025-01-04 21:34:29,378 - DEBUG - Response for create_network : {'network': {'id': '8710513e-91eb-44bd-a1f0-a33a05b45dc9', 'name': 'ctest-vn-61686486', 'tenant_id': 'f65d61de8e204432ad70becee0ddf647', 'project_id': 'f65d61de8e204432ad70becee0ddf647', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-29877034', 'ctest-vn-61686486'], 'port_security_enabled': True, 'description': ''}}
2025-01-04 21:34:29,598 - DEBUG - Response for create_subnet : {'subnet': {'id': '64c5bce5-e09f-4c3e-a279-2130413f9d92', 'name': '', 'tenant_id': 'f65d61de8e204432ad70becee0ddf647', 'network_id': '8710513e-91eb-44bd-a1f0-a33a05b45dc9', 'ip_version': 4, 'cidr': '201.123.59.64/26', 'allocation_pools': [{'start': '201.123.59.66', 'end': '201.123.59.126'}], 'gateway_ip': '201.123.59.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.123.59.66', 'tags': [], 'project_id': 'f65d61de8e204432ad70becee0ddf647'}}
2025-01-04 21:34:29,619 - INFO - Created VN ctest-vn-61686486
2025-01-04 21:34:29,673 - DEBUG - VN ctest-vn-61686486 UUID is 8710513e-91eb-44bd-a1f0-a33a05b45dc9
2025-01-04 21:34:29,867 - DEBUG - Services list from nova: [, , ]
2025-01-04 21:34:30,972 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2531-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2531-1)
2025-01-04 21:34:32,260 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2531-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2531-1)
2025-01-04 21:34:32,263 - INFO - Waiting for VM ctest-TestBasicVMVNx-29877034-23018622 to be up..
2025-01-04 21:34:32,350 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-04 21:34:37,461 - DEBUG - VM is in ACTIVE state now
2025-01-04 21:34:37,461 - INFO - VM name : ctest-TestBasicVMVNx-29877034-23018622
2025-01-04 21:34:37,573 - DEBUG - VM ctest-TestBasicVMVNx-29877034-23018622 ID is 9ee793e6-fbc1-4b02-b8f1-6aefaa2a4cb3
2025-01-04 21:34:37,596 - DEBUG - VM ctest-TestBasicVMVNx-29877034-23018622 launched on Node cn-jenkins-deploy-platform-ansible-os-2531-1
2025-01-04 21:34:37,699 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/9ee793e6-fbc1-4b02-b8f1-6aefaa2a4cb3
2025-01-04 21:34:38,043 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/9ee793e6-fbc1-4b02-b8f1-6aefaa2a4cb3
2025-01-04 21:34:38,087 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine-interface/961d3138-9939-455e-b513-891bea647749
2025-01-04 21:34:41,370 - 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 1022ms')
2025-01-04 21:34:41,370 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-29877034-23018622 failed!
2025-01-04 21:34:41,433 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-29877034:ctest-vn-61686486 is 201.123.59.65 and allocation pool is NOT set
2025-01-04 21:34:43,494 - 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=8.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.827 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.827/4.657/8.488/3.830 ms')
2025-01-04 21:34:43,494 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-29877034-23018622 passed
2025-01-04 21:34:43,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-04 21:34:43,653 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-29877034-23018622, IP 201.123.59.67, Port 22
2025-01-04 21:34:43,719 - 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-04 21:34:43,829 - DEBUG - VM ctest-TestBasicVMVNx-29877034-23018622 is NOT ready for SSH connections, VM status: ACTIVE
2025-01-04 21:34:48,830 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-04 21:34:48,830 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-29877034-23018622, IP 201.123.59.67, Port 22
2025-01-04 21:34:48,996 - DEBUG - VM ctest-TestBasicVMVNx-29877034-23018622 is ready for SSH connections
2025-01-04 21:34:48,996 - INFO - Waiting for VM ctest-TestBasicVMVNx-29877034-08287775 to be up..
2025-01-04 21:34:49,081 - DEBUG - VM is in ACTIVE state now
2025-01-04 21:34:49,081 - INFO - VM name : ctest-TestBasicVMVNx-29877034-08287775
2025-01-04 21:34:49,174 - DEBUG - VM ctest-TestBasicVMVNx-29877034-08287775 ID is caf71f1d-f0b8-4750-8ea0-6e1708211153
2025-01-04 21:34:49,174 - DEBUG - VM ctest-TestBasicVMVNx-29877034-08287775 launched on Node cn-jenkins-deploy-platform-ansible-os-2531-1
2025-01-04 21:34:49,260 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/caf71f1d-f0b8-4750-8ea0-6e1708211153
2025-01-04 21:34:49,270 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine-interface/a7d1d737-89fc-4e3c-bf09-52daee91b921
2025-01-04 21:34:50,521 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.500 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.500/1.727/2.954/1.227 ms')
2025-01-04 21:34:50,521 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-29877034-08287775 passed
2025-01-04 21:34:50,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-04 21:34:50,765 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-29877034-08287775, IP 201.123.59.68, Port 22
2025-01-04 21:34:50,931 - DEBUG - VM ctest-TestBasicVMVNx-29877034-08287775 is ready for SSH connections
2025-01-04 21:34:50,932 - DEBUG - FILE SIZE = 1303B
2025-01-04 21:34:50,932 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-29877034-23018622 to ctest-TestBasicVMVNx-29877034-08287775 using scp
2025-01-04 21:34:50,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-04 21:34:50,955 - 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
2025-01-04 21:34:50,955 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-01-04 21:34:52,923 - DEBUG - 1+0 records in
1+0 records out
2025-01-04 21:34:53,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-04 21:34:54,070 - 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
2025-01-04 21:34:54,071 - DEBUG - ls -l testfile
2025-01-04 21:34:55,846 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 4 14:34 [0;0mtestfile[0m
2025-01-04 21:34:55,846 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-29877034-08287775
2025-01-04 21:34:55,846 - INFO - Deleting VM ctest-TestBasicVMVNx-29877034-08287775
2025-01-04 21:34:55,932 - INFO - Deleting VM ctest-TestBasicVMVNx-29877034-23018622
2025-01-04 21:34:56,031 - INFO - Deleting VN ctest-vn-61686486
2025-01-04 21:34:56,079 - DEBUG - VN 8710513e-91eb-44bd-a1f0-a33a05b45dc9 still in use: Unable to complete operation on network 8710513e-91eb-44bd-a1f0-a33a05b45dc9. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c080ebb2-41a7-406f-9024-86709c889d28']
2025-01-04 21:34:56,079 - WARNING - Deleting VN ctest-vn-61686486 failed..Will retry
2025-01-04 21:34:58,223 - DEBUG - Response for deleting network ()
2025-01-04 21:34:58,488 - DEBUG - No XMPP flaps were noticed during the test
2025-01-04 21:34:58,488 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2025-01-04 21:34:58,488 - INFO - --------------------------------------------------------------------------------
2025-01-04 21:34:59,248 - INFO - Deleted project: ctest-TestBasicVMVNx-29877034, ID : f65d61de-8e20-4432-ad70-becee0ddf647