2024-10-29 11:33:42,157 - INFO - Domain Default found not creating
2024-10-29 11:33:42,369 - INFO - Project ctest-TestBasicVMVNx-08746762 not found, creating it
2024-10-29 11:33:43,554 - INFO - Created Project:ctest-TestBasicVMVNx-08746762, ID : 239252f8-e050-41d5-b1da-cafea1da8198
2024-10-29 11:33:45,370 - INFO - ================================================================================
2024-10-29 11:33:45,370 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-10-29 11:33:45,370 - 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-10-29 11:33:45,630 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.12': '0'}} with
2024-10-29 11:33:45,630 - INFO - Initial checks done. Running the testcase now
2024-10-29 11:33:45,630 - INFO -
2024-10-29 11:33:46,320 - DEBUG - Response for create_network : {'network': {'id': '5cc240c6-3f16-4247-9805-e7b3c09c6645', 'name': 'ctest-vn-53284704', 'tenant_id': '239252f8e05041d5b1dacafea1da8198', 'project_id': '239252f8e05041d5b1dacafea1da8198', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-08746762', 'ctest-vn-53284704'], 'port_security_enabled': True, 'description': ''}}
2024-10-29 11:33:46,549 - DEBUG - Response for create_subnet : {'subnet': {'id': '3279af7e-3389-4d33-9a10-bd699a32e1ec', 'name': '', 'tenant_id': '239252f8e05041d5b1dacafea1da8198', 'network_id': '5cc240c6-3f16-4247-9805-e7b3c09c6645', 'ip_version': 4, 'cidr': '40.106.133.64/26', 'allocation_pools': [{'start': '40.106.133.66', 'end': '40.106.133.126'}], 'gateway_ip': '40.106.133.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.106.133.66', 'tags': [], 'project_id': '239252f8e05041d5b1dacafea1da8198'}}
2024-10-29 11:33:46,573 - INFO - Created VN ctest-vn-53284704
2024-10-29 11:33:46,634 - DEBUG - VN ctest-vn-53284704 UUID is 5cc240c6-3f16-4247-9805-e7b3c09c6645
2024-10-29 11:33:46,833 - DEBUG - Services list from nova: [, , ]
2024-10-29 11:33:48,056 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2175-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2175-1)
2024-10-29 11:33:49,435 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2175-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2175-1)
2024-10-29 11:33:49,435 - INFO - Waiting for VM ctest-TestBasicVMVNx-08746762-73655495 to be up..
2024-10-29 11:33:49,551 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-29 11:33:54,688 - DEBUG - VM is in ACTIVE state now
2024-10-29 11:33:54,688 - INFO - VM name : ctest-TestBasicVMVNx-08746762-73655495
2024-10-29 11:33:54,781 - DEBUG - VM ctest-TestBasicVMVNx-08746762-73655495 ID is d785ef8c-4b77-4bd6-b781-4d7f161f4bc3
2024-10-29 11:33:54,804 - DEBUG - VM ctest-TestBasicVMVNx-08746762-73655495 launched on Node cn-jenkins-deploy-platform-ansible-os-2175-1
2024-10-29 11:33:54,902 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/d785ef8c-4b77-4bd6-b781-4d7f161f4bc3
2024-10-29 11:33:55,249 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/d785ef8c-4b77-4bd6-b781-4d7f161f4bc3
2024-10-29 11:33:55,352 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/590ec9a7-2097-4fce-a917-e7d92e716242
2024-10-29 11:33:58,643 - 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 1026ms')
2024-10-29 11:33:58,643 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-08746762-73655495 failed!
2024-10-29 11:33:58,707 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-08746762:ctest-vn-53284704 is 40.106.133.65 and allocation pool is NOT set
2024-10-29 11:34:00,783 - 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.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.26 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.263/3.371/3.480/0.108 ms')
2024-10-29 11:34:00,783 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-08746762-73655495 passed
2024-10-29 11:34:00,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-29 11:34:00,971 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-08746762-73655495, IP 40.106.133.67, Port 22
2024-10-29 11:34:01,143 - DEBUG - VM ctest-TestBasicVMVNx-08746762-73655495 is ready for SSH connections
2024-10-29 11:34:01,143 - INFO - Waiting for VM ctest-TestBasicVMVNx-08746762-62941659 to be up..
2024-10-29 11:34:01,265 - DEBUG - VM is in ACTIVE state now
2024-10-29 11:34:01,266 - INFO - VM name : ctest-TestBasicVMVNx-08746762-62941659
2024-10-29 11:34:01,375 - DEBUG - VM ctest-TestBasicVMVNx-08746762-62941659 ID is 3a321a91-a1cf-4dcc-8200-ab41de1d71a7
2024-10-29 11:34:01,375 - DEBUG - VM ctest-TestBasicVMVNx-08746762-62941659 launched on Node cn-jenkins-deploy-platform-ansible-os-2175-1
2024-10-29 11:34:01,486 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/3a321a91-a1cf-4dcc-8200-ab41de1d71a7
2024-10-29 11:34:01,502 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/e285e161-94e1-44e6-babe-b75eef63fbfd
2024-10-29 11:34:02,784 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.10 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 = 3.097/3.118/3.139/0.021 ms')
2024-10-29 11:34:02,784 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-08746762-62941659 passed
2024-10-29 11:34:02,951 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-29 11:34:02,951 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-08746762-62941659, IP 40.106.133.68, Port 22
2024-10-29 11:34:03,017 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2024-10-29 11:34:03,147 - DEBUG - VM ctest-TestBasicVMVNx-08746762-62941659 is NOT ready for SSH connections, VM status: ACTIVE
2024-10-29 11:34:08,147 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-29 11:34:08,148 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-08746762-62941659, IP 40.106.133.68, Port 22
2024-10-29 11:34:08,306 - DEBUG - VM ctest-TestBasicVMVNx-08746762-62941659 is ready for SSH connections
2024-10-29 11:34:08,306 - DEBUG - FILE SIZE = 1303B
2024-10-29 11:34:08,306 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-08746762-73655495 to ctest-TestBasicVMVNx-08746762-62941659 using scp
2024-10-29 11:34:08,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-29 11:34:08,313 - 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-10-29 11:34:08,314 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-10-29 11:34:10,366 - DEBUG - 1+0 records in
1+0 records out
2024-10-29 11:34:11,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-29 11:34:11,444 - 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-10-29 11:34:11,444 - DEBUG - ls -l testfile
2024-10-29 11:34:13,064 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 29 05:34 [0;0mtestfile[0m
2024-10-29 11:34:13,065 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-08746762-62941659
2024-10-29 11:34:13,065 - INFO - Deleting VM ctest-TestBasicVMVNx-08746762-62941659
2024-10-29 11:34:13,167 - INFO - Deleting VM ctest-TestBasicVMVNx-08746762-73655495
2024-10-29 11:34:13,267 - INFO - Deleting VN ctest-vn-53284704
2024-10-29 11:34:13,334 - DEBUG - VN 5cc240c6-3f16-4247-9805-e7b3c09c6645 still in use: Unable to complete operation on network 5cc240c6-3f16-4247-9805-e7b3c09c6645. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b2dffaea-4ca8-47d4-ad3c-55573dedb367']
2024-10-29 11:34:13,334 - WARNING - Deleting VN ctest-vn-53284704 failed..Will retry
2024-10-29 11:34:15,462 - DEBUG - Response for deleting network ()
2024-10-29 11:34:15,726 - DEBUG - No XMPP flaps were noticed during the test
2024-10-29 11:34:15,726 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2024-10-29 11:34:15,726 - INFO - --------------------------------------------------------------------------------
2024-10-29 11:34:16,584 - INFO - Deleted project: ctest-TestBasicVMVNx-08746762, ID : 239252f8-e050-41d5-b1da-cafea1da8198