2024-08-21 12:05:59,080 - INFO - Domain Default found not creating 2024-08-21 12:05:59,471 - INFO - Project ctest-TestBasicVMVNx-34092364 not found, creating it 2024-08-21 12:06:00,380 - INFO - Created Project:ctest-TestBasicVMVNx-34092364, ID : 51e311ca-8f63-4483-9923-adc5e0edfcbc 2024-08-21 12:06:02,596 - INFO - ================================================================================ 2024-08-21 12:06:02,596 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-21 12:06:02,597 - 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-08-21 12:06:02,910 - DEBUG - Nothing to compare xmpp stats {'10.0.0.60': {'10.20.0.18': '0'}} with 2024-08-21 12:06:02,910 - INFO - Initial checks done. Running the testcase now 2024-08-21 12:06:02,910 - INFO - 2024-08-21 12:06:03,730 - DEBUG - Response for create_network : {'network': {'id': 'e4d82ba7-42ad-46a9-a1b2-515e104e9068', 'name': 'ctest-vn-10736076', 'tenant_id': '51e311ca8f6344839923adc5e0edfcbc', 'project_id': '51e311ca8f6344839923adc5e0edfcbc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-34092364', 'ctest-vn-10736076'], 'port_security_enabled': True, 'description': ''}} 2024-08-21 12:06:03,935 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6efcc8d-922d-49f8-a7d4-a90b05f8ca20', 'name': '', 'tenant_id': '51e311ca8f6344839923adc5e0edfcbc', 'network_id': 'e4d82ba7-42ad-46a9-a1b2-515e104e9068', 'ip_version': 4, 'cidr': '203.39.22.64/26', 'allocation_pools': [{'start': '203.39.22.66', 'end': '203.39.22.126'}], 'gateway_ip': '203.39.22.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.39.22.66', 'tags': [], 'project_id': '51e311ca8f6344839923adc5e0edfcbc'}} 2024-08-21 12:06:03,970 - INFO - Created VN ctest-vn-10736076 2024-08-21 12:06:04,027 - DEBUG - VN ctest-vn-10736076 UUID is e4d82ba7-42ad-46a9-a1b2-515e104e9068 2024-08-21 12:06:04,291 - DEBUG - Services list from nova: [, , ] 2024-08-21 12:06:06,258 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1684-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1684-1) 2024-08-21 12:06:07,766 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1684-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1684-1) 2024-08-21 12:06:07,766 - INFO - Waiting for VM ctest-TestBasicVMVNx-34092364-77663568 to be up.. 2024-08-21 12:06:07,872 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-21 12:06:13,014 - DEBUG - VM is in ACTIVE state now 2024-08-21 12:06:13,014 - INFO - VM name : ctest-TestBasicVMVNx-34092364-77663568 2024-08-21 12:06:13,153 - DEBUG - VM ctest-TestBasicVMVNx-34092364-77663568 ID is a83e85d3-1b21-41ad-b40a-58335af07c74 2024-08-21 12:06:13,184 - DEBUG - VM ctest-TestBasicVMVNx-34092364-77663568 launched on Node cn-jenkins-deploy-platform-ansible-os-1684-1 2024-08-21 12:06:13,303 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine/a83e85d3-1b21-41ad-b40a-58335af07c74 2024-08-21 12:06:13,629 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine/a83e85d3-1b21-41ad-b40a-58335af07c74 2024-08-21 12:06:13,680 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine-interface/a8ebd91e-da30-4ae3-9160-6d1ffa0ef546 2024-08-21 12:06:16,961 - 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 1008ms') 2024-08-21 12:06:16,961 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-34092364-77663568 failed! 2024-08-21 12:06:17,022 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-34092364:ctest-vn-10736076 is 203.39.22.65 and allocation pool is NOT set 2024-08-21 12:06:19,096 - 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=12.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.52 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.516/8.067/12.619/4.551 ms') 2024-08-21 12:06:19,096 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-34092364-77663568 passed 2024-08-21 12:06:19,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 12:06:19,282 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34092364-77663568, IP 203.39.22.67, Port 22 2024-08-21 12:06:19,349 - 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-08-21 12:06:19,473 - DEBUG - VM ctest-TestBasicVMVNx-34092364-77663568 is NOT ready for SSH connections, VM status: ACTIVE 2024-08-21 12:06:24,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 12:06:24,474 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34092364-77663568, IP 203.39.22.67, Port 22 2024-08-21 12:06:24,671 - DEBUG - VM ctest-TestBasicVMVNx-34092364-77663568 is ready for SSH connections 2024-08-21 12:06:24,671 - INFO - Waiting for VM ctest-TestBasicVMVNx-34092364-75675745 to be up.. 2024-08-21 12:06:24,866 - DEBUG - VM is in ACTIVE state now 2024-08-21 12:06:24,866 - INFO - VM name : ctest-TestBasicVMVNx-34092364-75675745 2024-08-21 12:06:25,033 - DEBUG - VM ctest-TestBasicVMVNx-34092364-75675745 ID is 4fa8c6b6-3d1f-4253-a47f-34a821382712 2024-08-21 12:06:25,034 - DEBUG - VM ctest-TestBasicVMVNx-34092364-75675745 launched on Node cn-jenkins-deploy-platform-ansible-os-1684-1 2024-08-21 12:06:25,222 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine/4fa8c6b6-3d1f-4253-a47f-34a821382712 2024-08-21 12:06:25,241 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine-interface/b0c36d6a-3203-415e-a70f-953fab37829a 2024-08-21 12:06:26,542 - 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=10.3 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.800 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.800/5.568/10.337/4.768 ms') 2024-08-21 12:06:26,543 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-34092364-75675745 passed 2024-08-21 12:06:26,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 12:06:26,726 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34092364-75675745, IP 203.39.22.68, Port 22 2024-08-21 12:06:26,933 - DEBUG - VM ctest-TestBasicVMVNx-34092364-75675745 is ready for SSH connections 2024-08-21 12:06:26,933 - DEBUG - FILE SIZE = 1303B 2024-08-21 12:06:26,933 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-34092364-77663568 to ctest-TestBasicVMVNx-34092364-75675745 using scp 2024-08-21 12:06:26,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 12:06:26,954 - 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.60, gateway password: c0ntrail123 2024-08-21 12:06:26,955 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-21 12:06:29,741 - DEBUG - 1+0 records in 1+0 records out 2024-08-21 12:06:30,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 12:06:30,968 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.60, gateway password: c0ntrail123 2024-08-21 12:06:30,968 - DEBUG - ls -l testfile 2024-08-21 12:06:32,718 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 21 06:06 testfile 2024-08-21 12:06:32,719 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-34092364-75675745 2024-08-21 12:06:32,719 - INFO - Deleting VM ctest-TestBasicVMVNx-34092364-75675745 2024-08-21 12:06:32,837 - INFO - Deleting VM ctest-TestBasicVMVNx-34092364-77663568 2024-08-21 12:06:32,920 - INFO - Deleting VN ctest-vn-10736076 2024-08-21 12:06:32,978 - DEBUG - VN e4d82ba7-42ad-46a9-a1b2-515e104e9068 still in use: Unable to complete operation on network e4d82ba7-42ad-46a9-a1b2-515e104e9068. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e950bcf7-782d-480d-9d3d-056c18a9247e'] 2024-08-21 12:06:32,978 - WARNING - Deleting VN ctest-vn-10736076 failed..Will retry 2024-08-21 12:06:35,202 - DEBUG - Response for deleting network () 2024-08-21 12:06:35,506 - DEBUG - No XMPP flaps were noticed during the test 2024-08-21 12:06:35,507 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:33] 2024-08-21 12:06:35,507 - INFO - -------------------------------------------------------------------------------- 2024-08-21 12:06:36,284 - INFO - Deleted project: ctest-TestBasicVMVNx-34092364, ID : 51e311ca-8f63-4483-9923-adc5e0edfcbc