2024-09-03 13:54:45,786 - INFO - Domain Default found not creating 2024-09-03 13:54:45,958 - INFO - Project ctest-TestBasicVMVNx-28824951 not found, creating it 2024-09-03 13:54:46,456 - INFO - Created Project:ctest-TestBasicVMVNx-28824951, ID : a928a75c-d5bc-46ae-997d-a1309a76619a 2024-09-03 13:54:48,016 - INFO - ================================================================================ 2024-09-03 13:54:48,016 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-03 13:54:48,016 - 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-09-03 13:54:48,280 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.6': '0'}} with 2024-09-03 13:54:48,281 - INFO - Initial checks done. Running the testcase now 2024-09-03 13:54:48,281 - INFO - 2024-09-03 13:54:48,877 - DEBUG - Response for create_network : {'network': {'id': 'dba9d6f7-b03c-407e-b814-6ba8d745b22c', 'name': 'ctest-vn-48125884', 'tenant_id': 'a928a75cd5bc46ae997da1309a76619a', 'project_id': 'a928a75cd5bc46ae997da1309a76619a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-28824951', 'ctest-vn-48125884'], 'port_security_enabled': True, 'description': ''}} 2024-09-03 13:54:49,035 - DEBUG - Response for create_subnet : {'subnet': {'id': '23f57f5b-396c-48b2-be07-4f220048df1f', 'name': '', 'tenant_id': 'a928a75cd5bc46ae997da1309a76619a', 'network_id': 'dba9d6f7-b03c-407e-b814-6ba8d745b22c', 'ip_version': 4, 'cidr': '120.77.145.64/26', 'allocation_pools': [{'start': '120.77.145.66', 'end': '120.77.145.126'}], 'gateway_ip': '120.77.145.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.77.145.66', 'tags': [], 'project_id': 'a928a75cd5bc46ae997da1309a76619a'}} 2024-09-03 13:54:49,055 - INFO - Created VN ctest-vn-48125884 2024-09-03 13:54:49,107 - DEBUG - VN ctest-vn-48125884 UUID is dba9d6f7-b03c-407e-b814-6ba8d745b22c 2024-09-03 13:54:49,299 - DEBUG - Services list from nova: [, , ] 2024-09-03 13:54:50,346 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1835-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1835-1) 2024-09-03 13:54:51,505 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1835-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1835-1) 2024-09-03 13:54:51,505 - INFO - Waiting for VM ctest-TestBasicVMVNx-28824951-25140012 to be up.. 2024-09-03 13:54:51,594 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-03 13:54:56,680 - DEBUG - VM is in ACTIVE state now 2024-09-03 13:54:56,680 - INFO - VM name : ctest-TestBasicVMVNx-28824951-25140012 2024-09-03 13:54:56,762 - DEBUG - VM ctest-TestBasicVMVNx-28824951-25140012 ID is aa6033a8-467e-4ba7-a94f-37695fffbbe4 2024-09-03 13:54:56,783 - DEBUG - VM ctest-TestBasicVMVNx-28824951-25140012 launched on Node cn-jenkins-deploy-platform-ansible-os-1835-1 2024-09-03 13:54:56,863 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/aa6033a8-467e-4ba7-a94f-37695fffbbe4 2024-09-03 13:54:57,172 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/aa6033a8-467e-4ba7-a94f-37695fffbbe4 2024-09-03 13:54:57,209 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/39ec0134-f5f6-4bf7-9438-d766e2c4bc31 2024-09-03 13:55:00,482 - 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 1031ms') 2024-09-03 13:55:00,482 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-28824951-25140012 failed! 2024-09-03 13:55:00,539 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-28824951:ctest-vn-48125884 is 120.77.145.65 and allocation pool is NOT set 2024-09-03 13:55:02,601 - 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.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.59 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 = 2.585/3.238/3.892/0.653 ms') 2024-09-03 13:55:02,601 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-28824951-25140012 passed 2024-09-03 13:55:02,751 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 13:55:02,751 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28824951-25140012, IP 120.77.145.67, Port 22 2024-09-03 13:55:02,806 - 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-09-03 13:55:02,893 - DEBUG - VM ctest-TestBasicVMVNx-28824951-25140012 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-03 13:55:07,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 13:55:07,893 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28824951-25140012, IP 120.77.145.67, Port 22 2024-09-03 13:55:08,050 - DEBUG - VM ctest-TestBasicVMVNx-28824951-25140012 is ready for SSH connections 2024-09-03 13:55:08,050 - INFO - Waiting for VM ctest-TestBasicVMVNx-28824951-80480264 to be up.. 2024-09-03 13:55:08,141 - DEBUG - VM is in ACTIVE state now 2024-09-03 13:55:08,141 - INFO - VM name : ctest-TestBasicVMVNx-28824951-80480264 2024-09-03 13:55:08,222 - DEBUG - VM ctest-TestBasicVMVNx-28824951-80480264 ID is 10253687-c5fa-4216-990f-82fc940658ac 2024-09-03 13:55:08,222 - DEBUG - VM ctest-TestBasicVMVNx-28824951-80480264 launched on Node cn-jenkins-deploy-platform-ansible-os-1835-1 2024-09-03 13:55:08,318 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/10253687-c5fa-4216-990f-82fc940658ac 2024-09-03 13:55:08,327 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/456cdff7-4355-496a-b728-db8ddcc586b8 2024-09-03 13:55:09,570 - 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=4.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.400 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.400/2.465/4.530/2.065 ms') 2024-09-03 13:55:09,570 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-28824951-80480264 passed 2024-09-03 13:55:09,719 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 13:55:09,719 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28824951-80480264, IP 120.77.145.68, Port 22 2024-09-03 13:55:09,874 - DEBUG - VM ctest-TestBasicVMVNx-28824951-80480264 is ready for SSH connections 2024-09-03 13:55:09,874 - DEBUG - FILE SIZE = 1303B 2024-09-03 13:55:09,874 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-28824951-25140012 to ctest-TestBasicVMVNx-28824951-80480264 using scp 2024-09-03 13:55:09,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 13:55:09,881 - 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.32, gateway password: c0ntrail123 2024-09-03 13:55:09,881 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-03 13:55:11,828 - DEBUG - 1+0 records in 1+0 records out 2024-09-03 13:55:12,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 13:55:12,956 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-09-03 13:55:12,957 - DEBUG - ls -l testfile 2024-09-03 13:55:14,543 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 3 07:55 testfile 2024-09-03 13:55:14,543 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-28824951-80480264 2024-09-03 13:55:14,543 - INFO - Deleting VM ctest-TestBasicVMVNx-28824951-80480264 2024-09-03 13:55:14,628 - INFO - Deleting VM ctest-TestBasicVMVNx-28824951-25140012 2024-09-03 13:55:14,704 - INFO - Deleting VN ctest-vn-48125884 2024-09-03 13:55:14,744 - DEBUG - VN dba9d6f7-b03c-407e-b814-6ba8d745b22c still in use: Unable to complete operation on network dba9d6f7-b03c-407e-b814-6ba8d745b22c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e427f5c5-fc2f-4515-9b8e-489a55ac47ce'] 2024-09-03 13:55:14,745 - WARNING - Deleting VN ctest-vn-48125884 failed..Will retry 2024-09-03 13:55:16,853 - DEBUG - Response for deleting network () 2024-09-03 13:55:17,109 - DEBUG - No XMPP flaps were noticed during the test 2024-09-03 13:55:17,110 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29] 2024-09-03 13:55:17,110 - INFO - -------------------------------------------------------------------------------- 2024-09-03 13:55:17,809 - INFO - Deleted project: ctest-TestBasicVMVNx-28824951, ID : a928a75c-d5bc-46ae-997d-a1309a76619a