2024-10-19 18:35:43,874 - INFO - Domain Default found not creating 2024-10-19 18:35:44,099 - INFO - Project ctest-TestBasicVMVNx-16721632 not found, creating it 2024-10-19 18:35:44,731 - INFO - Created Project:ctest-TestBasicVMVNx-16721632, ID : 9a246e96-70f7-4f29-9712-1f42191c981d 2024-10-19 18:35:46,610 - INFO - ================================================================================ 2024-10-19 18:35:46,610 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-19 18:35:46,610 - 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-19 18:35:46,870 - DEBUG - Nothing to compare xmpp stats {'10.0.0.37': {'10.20.0.8': '0'}} with 2024-10-19 18:35:46,870 - INFO - Initial checks done. Running the testcase now 2024-10-19 18:35:46,870 - INFO - 2024-10-19 18:35:47,613 - DEBUG - Response for create_network : {'network': {'id': '383fbaae-f016-481d-a0b6-d225cec1f985', 'name': 'ctest-vn-89603552', 'tenant_id': '9a246e9670f74f2997121f42191c981d', 'project_id': '9a246e9670f74f2997121f42191c981d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-16721632', 'ctest-vn-89603552'], 'port_security_enabled': True, 'description': ''}} 2024-10-19 18:35:47,905 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d2d97be-4d62-45cc-be65-e820a6602be2', 'name': '', 'tenant_id': '9a246e9670f74f2997121f42191c981d', 'network_id': '383fbaae-f016-481d-a0b6-d225cec1f985', 'ip_version': 4, 'cidr': '82.168.179.64/26', 'allocation_pools': [{'start': '82.168.179.66', 'end': '82.168.179.126'}], 'gateway_ip': '82.168.179.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.168.179.66', 'tags': [], 'project_id': '9a246e9670f74f2997121f42191c981d'}} 2024-10-19 18:35:47,933 - INFO - Created VN ctest-vn-89603552 2024-10-19 18:35:48,010 - DEBUG - VN ctest-vn-89603552 UUID is 383fbaae-f016-481d-a0b6-d225cec1f985 2024-10-19 18:35:48,227 - DEBUG - Services list from nova: [, , ] 2024-10-19 18:35:49,578 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2119-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2119-1) 2024-10-19 18:35:51,097 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2119-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2119-1) 2024-10-19 18:35:51,098 - INFO - Waiting for VM ctest-TestBasicVMVNx-16721632-47981620 to be up.. 2024-10-19 18:35:51,328 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-19 18:35:56,429 - DEBUG - VM is in ACTIVE state now 2024-10-19 18:35:56,430 - INFO - VM name : ctest-TestBasicVMVNx-16721632-47981620 2024-10-19 18:35:56,551 - DEBUG - VM ctest-TestBasicVMVNx-16721632-47981620 ID is 5a9a1b24-cb14-4c05-8e4b-1fb9766f0385 2024-10-19 18:35:56,577 - DEBUG - VM ctest-TestBasicVMVNx-16721632-47981620 launched on Node cn-jenkins-deploy-platform-ansible-os-2119-1 2024-10-19 18:35:56,690 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/5a9a1b24-cb14-4c05-8e4b-1fb9766f0385 2024-10-19 18:35:57,069 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/5a9a1b24-cb14-4c05-8e4b-1fb9766f0385 2024-10-19 18:35:57,125 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/db917408-d671-41ea-8e29-c32a8490a3a3 2024-10-19 18:36:00,403 - 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 1010ms') 2024-10-19 18:36:00,403 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-16721632-47981620 failed! 2024-10-19 18:36:00,466 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-16721632:ctest-vn-89603552 is 82.168.179.65 and allocation pool is NOT set 2024-10-19 18:36:04,535 - 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=2 ttl=63 time=5.49 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1004ms\r\nrtt min/avg/max/mdev = 5.492/5.492/5.492/0.000 ms') 2024-10-19 18:36:04,535 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-16721632-47981620 passed 2024-10-19 18:36:04,702 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-19 18:36:04,702 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-16721632-47981620, IP 82.168.179.67, Port 22 2024-10-19 18:36:04,770 - 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-10-19 18:36:04,882 - DEBUG - VM ctest-TestBasicVMVNx-16721632-47981620 is NOT ready for SSH connections, VM status: ACTIVE 2024-10-19 18:36:09,883 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-19 18:36:09,883 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-16721632-47981620, IP 82.168.179.67, Port 22 2024-10-19 18:36:10,052 - DEBUG - VM ctest-TestBasicVMVNx-16721632-47981620 is ready for SSH connections 2024-10-19 18:36:10,052 - INFO - Waiting for VM ctest-TestBasicVMVNx-16721632-32306417 to be up.. 2024-10-19 18:36:10,148 - DEBUG - VM is in ACTIVE state now 2024-10-19 18:36:10,149 - INFO - VM name : ctest-TestBasicVMVNx-16721632-32306417 2024-10-19 18:36:10,258 - DEBUG - VM ctest-TestBasicVMVNx-16721632-32306417 ID is 661e924f-950d-44fa-b130-8ef4ed6c3ef8 2024-10-19 18:36:10,258 - DEBUG - VM ctest-TestBasicVMVNx-16721632-32306417 launched on Node cn-jenkins-deploy-platform-ansible-os-2119-1 2024-10-19 18:36:10,371 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/661e924f-950d-44fa-b130-8ef4ed6c3ef8 2024-10-19 18:36:10,385 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/068780f5-6cdc-4509-9aae-46aa23669aba 2024-10-19 18:36:11,663 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.445 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.445/2.157/3.869/1.712 ms') 2024-10-19 18:36:11,663 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-16721632-32306417 passed 2024-10-19 18:36:11,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-19 18:36:11,826 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-16721632-32306417, IP 82.168.179.68, Port 22 2024-10-19 18:36:11,982 - DEBUG - VM ctest-TestBasicVMVNx-16721632-32306417 is ready for SSH connections 2024-10-19 18:36:11,982 - DEBUG - FILE SIZE = 1303B 2024-10-19 18:36:11,982 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-16721632-47981620 to ctest-TestBasicVMVNx-16721632-32306417 using scp 2024-10-19 18:36:11,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-19 18:36:11,990 - 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.37, gateway password: c0ntrail123 2024-10-19 18:36:11,990 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-19 18:36:17,345 - DEBUG - 1+0 records in 1+0 records out 2024-10-19 18:36:18,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-19 18:36:18,659 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2024-10-19 18:36:18,659 - DEBUG - ls -l testfile 2024-10-19 18:36:19,311 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 19 12:36 testfile 2024-10-19 18:36:19,311 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-16721632-32306417 2024-10-19 18:36:19,312 - INFO - Deleting VM ctest-TestBasicVMVNx-16721632-32306417 2024-10-19 18:36:19,400 - INFO - Deleting VM ctest-TestBasicVMVNx-16721632-47981620 2024-10-19 18:36:19,500 - INFO - Deleting VN ctest-vn-89603552 2024-10-19 18:36:19,559 - DEBUG - VN 383fbaae-f016-481d-a0b6-d225cec1f985 still in use: Unable to complete operation on network 383fbaae-f016-481d-a0b6-d225cec1f985. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-acea8dc3-1b7b-4ff8-b64a-49dfbbffdc1f'] 2024-10-19 18:36:19,559 - WARNING - Deleting VN ctest-vn-89603552 failed..Will retry 2024-10-19 18:36:21,705 - DEBUG - Response for deleting network () 2024-10-19 18:36:21,976 - DEBUG - No XMPP flaps were noticed during the test 2024-10-19 18:36:21,976 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:35] 2024-10-19 18:36:21,976 - INFO - -------------------------------------------------------------------------------- 2024-10-19 18:36:22,781 - INFO - Deleted project: ctest-TestBasicVMVNx-16721632, ID : 9a246e96-70f7-4f29-9712-1f42191c981d