2024-12-23 11:42:06,172 - INFO - Domain Default found not creating 2024-12-23 11:42:06,350 - INFO - Project ctest-TestBasicVMVNx-25577423 not found, creating it 2024-12-23 11:42:06,817 - INFO - Created Project:ctest-TestBasicVMVNx-25577423, ID : 576d1c13-3e9a-4b4c-84ff-7db3ddba8fae 2024-12-23 11:42:08,473 - INFO - ================================================================================ 2024-12-23 11:42:08,473 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-12-23 11:42:08,473 - 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-12-23 11:42:08,735 - DEBUG - Nothing to compare xmpp stats {'10.0.0.44': {'10.20.0.5': '0'}} with 2024-12-23 11:42:08,736 - INFO - Initial checks done. Running the testcase now 2024-12-23 11:42:08,736 - INFO - 2024-12-23 11:42:09,350 - DEBUG - Response for create_network : {'network': {'id': 'c4e448a6-ab36-45a6-b19d-6f901725a8ed', 'name': 'ctest-vn-28219137', 'tenant_id': '576d1c133e9a4b4c84ff7db3ddba8fae', 'project_id': '576d1c133e9a4b4c84ff7db3ddba8fae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-25577423', 'ctest-vn-28219137'], 'port_security_enabled': True, 'description': ''}} 2024-12-23 11:42:09,501 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f695b60e-0d71-40f9-8274-475ecd559670', 'name': '', 'tenant_id': '576d1c133e9a4b4c84ff7db3ddba8fae', 'network_id': 'c4e448a6-ab36-45a6-b19d-6f901725a8ed', 'ip_version': 4, 'cidr': '211.118.33.128/26', 'allocation_pools': [{'start': '211.118.33.130', 'end': '211.118.33.190'}], 'gateway_ip': '211.118.33.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.118.33.130', 'tags': [], 'project_id': '576d1c133e9a4b4c84ff7db3ddba8fae'}} 2024-12-23 11:42:09,520 - INFO - Created VN ctest-vn-28219137 2024-12-23 11:42:09,573 - DEBUG - VN ctest-vn-28219137 UUID is c4e448a6-ab36-45a6-b19d-6f901725a8ed 2024-12-23 11:42:09,765 - DEBUG - Services list from nova: [, , ] 2024-12-23 11:42:10,942 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2490-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2490-1) 2024-12-23 11:42:12,240 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2490-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2490-1) 2024-12-23 11:42:12,240 - INFO - Waiting for VM ctest-TestBasicVMVNx-25577423-71814337 to be up.. 2024-12-23 11:42:12,339 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-12-23 11:42:17,423 - DEBUG - VM is in ACTIVE state now 2024-12-23 11:42:17,424 - INFO - VM name : ctest-TestBasicVMVNx-25577423-71814337 2024-12-23 11:42:17,509 - DEBUG - VM ctest-TestBasicVMVNx-25577423-71814337 ID is 65945835-29d4-4cd6-a127-30de285650e9 2024-12-23 11:42:17,530 - DEBUG - VM ctest-TestBasicVMVNx-25577423-71814337 launched on Node cn-jenkins-deploy-platform-ansible-os-2490-1 2024-12-23 11:42:17,612 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/65945835-29d4-4cd6-a127-30de285650e9 2024-12-23 11:42:17,949 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/65945835-29d4-4cd6-a127-30de285650e9 2024-12-23 11:42:17,988 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/a4a2e195-2c04-4f51-bbe6-7302aeef39f4 2024-12-23 11:42:21,271 - 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 1025ms') 2024-12-23 11:42:21,271 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-25577423-71814337 failed! 2024-12-23 11:42:21,332 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-25577423:ctest-vn-28219137 is 211.118.33.129 and allocation pool is NOT set 2024-12-23 11:42:23,392 - 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=5.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.845 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 = 0.845/3.143/5.442/2.298 ms') 2024-12-23 11:42:23,392 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-25577423-71814337 passed 2024-12-23 11:42:23,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-23 11:42:23,545 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-25577423-71814337, IP 211.118.33.131, Port 22 2024-12-23 11:42:23,710 - DEBUG - VM ctest-TestBasicVMVNx-25577423-71814337 is ready for SSH connections 2024-12-23 11:42:23,711 - INFO - Waiting for VM ctest-TestBasicVMVNx-25577423-51268463 to be up.. 2024-12-23 11:42:23,824 - DEBUG - VM is in ACTIVE state now 2024-12-23 11:42:23,824 - INFO - VM name : ctest-TestBasicVMVNx-25577423-51268463 2024-12-23 11:42:23,923 - DEBUG - VM ctest-TestBasicVMVNx-25577423-51268463 ID is 65fe03c6-86c3-49fb-a533-4bf4b4784956 2024-12-23 11:42:23,923 - DEBUG - VM ctest-TestBasicVMVNx-25577423-51268463 launched on Node cn-jenkins-deploy-platform-ansible-os-2490-1 2024-12-23 11:42:24,013 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/65fe03c6-86c3-49fb-a533-4bf4b4784956 2024-12-23 11:42:24,022 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/d4fa6f7e-42f5-446a-97ff-eb3d3b3dd725 2024-12-23 11:42:25,275 - 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.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.84 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.835/3.152/3.470/0.317 ms') 2024-12-23 11:42:25,275 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-25577423-51268463 passed 2024-12-23 11:42:25,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-23 11:42:25,437 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-25577423-51268463, IP 211.118.33.132, Port 22 2024-12-23 11:42:25,502 - 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-12-23 11:42:25,589 - DEBUG - VM ctest-TestBasicVMVNx-25577423-51268463 is NOT ready for SSH connections, VM status: ACTIVE 2024-12-23 11:42:30,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-23 11:42:30,590 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-25577423-51268463, IP 211.118.33.132, Port 22 2024-12-23 11:42:30,744 - DEBUG - VM ctest-TestBasicVMVNx-25577423-51268463 is ready for SSH connections 2024-12-23 11:42:30,744 - DEBUG - FILE SIZE = 1303B 2024-12-23 11:42:30,744 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-25577423-71814337 to ctest-TestBasicVMVNx-25577423-51268463 using scp 2024-12-23 11:42:30,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-23 11:42:30,752 - 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.44, gateway password: c0ntrail123 2024-12-23 11:42:30,752 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-12-23 11:42:32,853 - DEBUG - 1+0 records in 1+0 records out 2024-12-23 11:42:33,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-23 11:42:34,091 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123 2024-12-23 11:42:34,092 - DEBUG - ls -l testfile 2024-12-23 11:42:35,723 - DEBUG - -rw------- 1 cirros cirros 1303 Dec 23 04:42 testfile 2024-12-23 11:42:35,723 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-25577423-51268463 2024-12-23 11:42:35,723 - INFO - Deleting VM ctest-TestBasicVMVNx-25577423-51268463 2024-12-23 11:42:35,800 - INFO - Deleting VM ctest-TestBasicVMVNx-25577423-71814337 2024-12-23 11:42:35,873 - INFO - Deleting VN ctest-vn-28219137 2024-12-23 11:42:35,987 - DEBUG - VN c4e448a6-ab36-45a6-b19d-6f901725a8ed still in use: Unable to complete operation on network c4e448a6-ab36-45a6-b19d-6f901725a8ed. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-897a877b-688a-41c3-8553-5cd87fbde39b'] 2024-12-23 11:42:35,988 - WARNING - Deleting VN ctest-vn-28219137 failed..Will retry 2024-12-23 11:42:38,114 - DEBUG - Response for deleting network () 2024-12-23 11:42:38,386 - DEBUG - No XMPP flaps were noticed during the test 2024-12-23 11:42:38,386 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30] 2024-12-23 11:42:38,386 - INFO - -------------------------------------------------------------------------------- 2024-12-23 11:42:39,176 - INFO - Deleted project: ctest-TestBasicVMVNx-25577423, ID : 576d1c13-3e9a-4b4c-84ff-7db3ddba8fae