2024-11-05 11:54:35,777 - INFO - Domain Default found not creating 2024-11-05 11:54:35,991 - INFO - Project ctest-TestBasicVMVNx-88103185 not found, creating it 2024-11-05 11:54:36,534 - INFO - Created Project:ctest-TestBasicVMVNx-88103185, ID : af70f67e-47b4-4cfb-b7a5-69455d00fb78 2024-11-05 11:54:38,191 - INFO - ================================================================================ 2024-11-05 11:54:38,191 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-05 11:54:38,192 - 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-11-05 11:54:38,452 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.29': '0'}} with 2024-11-05 11:54:38,452 - INFO - Initial checks done. Running the testcase now 2024-11-05 11:54:38,452 - INFO - 2024-11-05 11:54:39,102 - DEBUG - Response for create_network : {'network': {'id': '2adaebec-3ef2-44e1-a95c-a64e61dd40f5', 'name': 'ctest-vn-50474051', 'tenant_id': 'af70f67e47b44cfbb7a569455d00fb78', 'project_id': 'af70f67e47b44cfbb7a569455d00fb78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-88103185', 'ctest-vn-50474051'], 'port_security_enabled': True, 'description': ''}} 2024-11-05 11:54:39,310 - DEBUG - Response for create_subnet : {'subnet': {'id': '76f45c3c-f5e5-45c8-b03d-02fc95464b71', 'name': '', 'tenant_id': 'af70f67e47b44cfbb7a569455d00fb78', 'network_id': '2adaebec-3ef2-44e1-a95c-a64e61dd40f5', 'ip_version': 4, 'cidr': '2.22.141.64/26', 'allocation_pools': [{'start': '2.22.141.66', 'end': '2.22.141.126'}], 'gateway_ip': '2.22.141.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.22.141.66', 'tags': [], 'project_id': 'af70f67e47b44cfbb7a569455d00fb78'}} 2024-11-05 11:54:39,332 - INFO - Created VN ctest-vn-50474051 2024-11-05 11:54:39,391 - DEBUG - VN ctest-vn-50474051 UUID is 2adaebec-3ef2-44e1-a95c-a64e61dd40f5 2024-11-05 11:54:39,588 - DEBUG - Services list from nova: [, , ] 2024-11-05 11:54:40,776 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2199-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2199-1) 2024-11-05 11:54:42,117 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2199-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2199-1) 2024-11-05 11:54:42,118 - INFO - Waiting for VM ctest-TestBasicVMVNx-88103185-66527323 to be up.. 2024-11-05 11:54:42,242 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-05 11:54:47,370 - DEBUG - VM is in ACTIVE state now 2024-11-05 11:54:47,370 - INFO - VM name : ctest-TestBasicVMVNx-88103185-66527323 2024-11-05 11:54:47,477 - DEBUG - VM ctest-TestBasicVMVNx-88103185-66527323 ID is 3441e808-a3d8-4058-84bd-c6dc432f50b7 2024-11-05 11:54:47,500 - DEBUG - VM ctest-TestBasicVMVNx-88103185-66527323 launched on Node cn-jenkins-deploy-platform-ansible-os-2199-1 2024-11-05 11:54:47,588 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/3441e808-a3d8-4058-84bd-c6dc432f50b7 2024-11-05 11:54:47,926 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/3441e808-a3d8-4058-84bd-c6dc432f50b7 2024-11-05 11:54:47,973 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/b6dfc1be-23b1-4a92-b9af-e27e165f88d1 2024-11-05 11:54:51,244 - 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 1005ms') 2024-11-05 11:54:51,244 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-88103185-66527323 failed! 2024-11-05 11:54:51,311 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-88103185:ctest-vn-50474051 is 2.22.141.65 and allocation pool is NOT set 2024-11-05 11:54:53,379 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.19 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.194/2.578/3.963/1.384 ms') 2024-11-05 11:54:53,379 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-88103185-66527323 passed 2024-11-05 11:54:53,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-05 11:54:53,539 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-88103185-66527323, IP 2.22.141.67, Port 22 2024-11-05 11:54:53,605 - 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-11-05 11:54:53,693 - DEBUG - VM ctest-TestBasicVMVNx-88103185-66527323 is NOT ready for SSH connections, VM status: ACTIVE 2024-11-05 11:54:58,694 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-05 11:54:58,695 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-88103185-66527323, IP 2.22.141.67, Port 22 2024-11-05 11:54:58,861 - DEBUG - VM ctest-TestBasicVMVNx-88103185-66527323 is ready for SSH connections 2024-11-05 11:54:58,861 - INFO - Waiting for VM ctest-TestBasicVMVNx-88103185-82604745 to be up.. 2024-11-05 11:54:58,956 - DEBUG - VM is in ACTIVE state now 2024-11-05 11:54:58,956 - INFO - VM name : ctest-TestBasicVMVNx-88103185-82604745 2024-11-05 11:54:59,046 - DEBUG - VM ctest-TestBasicVMVNx-88103185-82604745 ID is 693c874f-5b01-4481-aac5-30a32e28bda6 2024-11-05 11:54:59,046 - DEBUG - VM ctest-TestBasicVMVNx-88103185-82604745 launched on Node cn-jenkins-deploy-platform-ansible-os-2199-1 2024-11-05 11:54:59,138 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/693c874f-5b01-4481-aac5-30a32e28bda6 2024-11-05 11:54:59,150 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/4a019506-cba5-465c-bba1-e63cb0ed8c71 2024-11-05 11:55:00,408 - 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.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.427 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 = 0.427/1.975/3.523/1.548 ms') 2024-11-05 11:55:00,408 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-88103185-82604745 passed 2024-11-05 11:55:00,571 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-05 11:55:00,571 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-88103185-82604745, IP 2.22.141.68, Port 22 2024-11-05 11:55:00,727 - DEBUG - VM ctest-TestBasicVMVNx-88103185-82604745 is ready for SSH connections 2024-11-05 11:55:00,728 - DEBUG - FILE SIZE = 1303B 2024-11-05 11:55:00,728 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-88103185-66527323 to ctest-TestBasicVMVNx-88103185-82604745 using scp 2024-11-05 11:55:00,728 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-05 11:55:00,737 - 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.40, gateway password: c0ntrail123 2024-11-05 11:55:00,737 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-05 11:55:02,794 - DEBUG - 1+0 records in 1+0 records out 2024-11-05 11:55:03,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-05 11:55:03,893 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123 2024-11-05 11:55:03,893 - DEBUG - ls -l testfile 2024-11-05 11:55:05,578 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 5 04:55 testfile 2024-11-05 11:55:05,578 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-88103185-82604745 2024-11-05 11:55:05,579 - INFO - Deleting VM ctest-TestBasicVMVNx-88103185-82604745 2024-11-05 11:55:05,674 - INFO - Deleting VM ctest-TestBasicVMVNx-88103185-66527323 2024-11-05 11:55:05,756 - INFO - Deleting VN ctest-vn-50474051 2024-11-05 11:55:05,822 - DEBUG - VN 2adaebec-3ef2-44e1-a95c-a64e61dd40f5 still in use: Unable to complete operation on network 2adaebec-3ef2-44e1-a95c-a64e61dd40f5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a3959285-7dcc-4999-a78c-ceb2bd6932d8'] 2024-11-05 11:55:05,822 - WARNING - Deleting VN ctest-vn-50474051 failed..Will retry 2024-11-05 11:55:07,985 - DEBUG - Response for deleting network () 2024-11-05 11:55:08,246 - DEBUG - No XMPP flaps were noticed during the test
2024-11-05 11:55:08,246 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2024-11-05 11:55:08,247 - INFO - -------------------------------------------------------------------------------- 2024-11-05 11:55:09,072 - INFO - Deleted project: ctest-TestBasicVMVNx-88103185, ID : af70f67e-47b4-4cfb-b7a5-69455d00fb78