2024-12-23 17:49:51,508 - INFO - Domain Default found not creating 2024-12-23 17:49:51,671 - INFO - Project ctest-TestBasicVMVNx-60447005 not found, creating it 2024-12-23 17:49:52,174 - INFO - Created Project:ctest-TestBasicVMVNx-60447005, ID : 478d0e37-ab6c-45d6-9371-a54459493178 2024-12-23 17:49:54,262 - INFO - ================================================================================ 2024-12-23 17:49:54,263 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-12-23 17:49:54,263 - 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 17:49:54,522 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.14': '0'}} with 2024-12-23 17:49:54,522 - INFO - Initial checks done. Running the testcase now 2024-12-23 17:49:54,522 - INFO - 2024-12-23 17:49:55,098 - DEBUG - Response for create_network : {'network': {'id': 'd5715c63-7cb0-4b83-b467-379174e44c87', 'name': 'ctest-vn-35868949', 'tenant_id': '478d0e37ab6c45d69371a54459493178', 'project_id': '478d0e37ab6c45d69371a54459493178', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-60447005', 'ctest-vn-35868949'], 'port_security_enabled': True, 'description': ''}} 2024-12-23 17:49:55,325 - DEBUG - Response for create_subnet : {'subnet': {'id': '675fc329-c3db-4536-9d0f-e678d8718b75', 'name': '', 'tenant_id': '478d0e37ab6c45d69371a54459493178', 'network_id': 'd5715c63-7cb0-4b83-b467-379174e44c87', 'ip_version': 4, 'cidr': '176.111.185.0/26', 'allocation_pools': [{'start': '176.111.185.2', 'end': '176.111.185.62'}], 'gateway_ip': '176.111.185.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.111.185.2', 'tags': [], 'project_id': '478d0e37ab6c45d69371a54459493178'}} 2024-12-23 17:49:55,345 - INFO - Created VN ctest-vn-35868949 2024-12-23 17:49:55,402 - DEBUG - VN ctest-vn-35868949 UUID is d5715c63-7cb0-4b83-b467-379174e44c87 2024-12-23 17:49:55,589 - DEBUG - Services list from nova: [, , ] 2024-12-23 17:49:56,768 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2491-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2491-1) 2024-12-23 17:49:58,025 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2491-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2491-1) 2024-12-23 17:49:58,025 - INFO - Waiting for VM ctest-TestBasicVMVNx-60447005-38311664 to be up.. 2024-12-23 17:49:58,128 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-12-23 17:50:03,237 - DEBUG - VM is in ACTIVE state now 2024-12-23 17:50:03,237 - INFO - VM name : ctest-TestBasicVMVNx-60447005-38311664 2024-12-23 17:50:03,340 - DEBUG - VM ctest-TestBasicVMVNx-60447005-38311664 ID is a42bfa80-47bc-44da-9584-b549642bc3f0 2024-12-23 17:50:03,371 - DEBUG - VM ctest-TestBasicVMVNx-60447005-38311664 launched on Node cn-jenkins-deploy-platform-ansible-os-2491-1 2024-12-23 17:50:03,467 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/a42bfa80-47bc-44da-9584-b549642bc3f0 2024-12-23 17:50:03,779 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/a42bfa80-47bc-44da-9584-b549642bc3f0 2024-12-23 17:50:03,821 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/b379e25e-9179-4230-a979-ee73ae7b57a0 2024-12-23 17:50:07,089 - 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 1014ms') 2024-12-23 17:50:07,089 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-60447005-38311664 failed! 2024-12-23 17:50:07,147 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-60447005:ctest-vn-35868949 is 176.111.185.1 and allocation pool is NOT set 2024-12-23 17:50:09,217 - 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=4.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.999 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 = 0.999/2.636/4.274/1.637 ms') 2024-12-23 17:50:09,217 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-60447005-38311664 passed 2024-12-23 17:50:09,378 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-23 17:50:09,379 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-60447005-38311664, IP 176.111.185.3, Port 22 2024-12-23 17:50:09,535 - DEBUG - VM ctest-TestBasicVMVNx-60447005-38311664 is ready for SSH connections 2024-12-23 17:50:09,535 - INFO - Waiting for VM ctest-TestBasicVMVNx-60447005-17602454 to be up.. 2024-12-23 17:50:09,623 - DEBUG - VM is in ACTIVE state now 2024-12-23 17:50:09,623 - INFO - VM name : ctest-TestBasicVMVNx-60447005-17602454 2024-12-23 17:50:09,709 - DEBUG - VM ctest-TestBasicVMVNx-60447005-17602454 ID is 2c4240d3-92c5-4794-a6a2-a61e02276128 2024-12-23 17:50:09,709 - DEBUG - VM ctest-TestBasicVMVNx-60447005-17602454 launched on Node cn-jenkins-deploy-platform-ansible-os-2491-1 2024-12-23 17:50:09,796 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/2c4240d3-92c5-4794-a6a2-a61e02276128 2024-12-23 17:50:09,807 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/071f5ae1-9f4a-4acb-933d-f273f525f98b 2024-12-23 17:50:11,060 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.17 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 = 2.166/3.178/4.190/1.012 ms') 2024-12-23 17:50:11,060 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-60447005-17602454 passed 2024-12-23 17:50:11,218 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-23 17:50:11,219 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-60447005-17602454, IP 176.111.185.4, Port 22 2024-12-23 17:50:11,385 - DEBUG - VM ctest-TestBasicVMVNx-60447005-17602454 is ready for SSH connections 2024-12-23 17:50:11,385 - DEBUG - FILE SIZE = 1303B 2024-12-23 17:50:11,385 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-60447005-38311664 to ctest-TestBasicVMVNx-60447005-17602454 using scp 2024-12-23 17:50:11,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-23 17:50:11,393 - 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.12, gateway password: c0ntrail123 2024-12-23 17:50:11,393 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-12-23 17:50:13,357 - DEBUG - 1+0 records in 1+0 records out 2024-12-23 17:50:14,143 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-23 17:50:14,483 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2024-12-23 17:50:14,483 - DEBUG - ls -l testfile 2024-12-23 17:50:16,082 - DEBUG - -rw------- 1 cirros cirros 1303 Dec 23 10:50 testfile 2024-12-23 17:50:16,082 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-60447005-17602454 2024-12-23 17:50:16,083 - INFO - Deleting VM ctest-TestBasicVMVNx-60447005-17602454 2024-12-23 17:50:16,156 - INFO - Deleting VM ctest-TestBasicVMVNx-60447005-38311664 2024-12-23 17:50:16,244 - INFO - Deleting VN ctest-vn-35868949 2024-12-23 17:50:16,300 - DEBUG - VN d5715c63-7cb0-4b83-b467-379174e44c87 still in use: Unable to complete operation on network d5715c63-7cb0-4b83-b467-379174e44c87. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c9fb423f-31cf-49be-8dcc-81c7b24386d4'] 2024-12-23 17:50:16,300 - WARNING - Deleting VN ctest-vn-35868949 failed..Will retry 2024-12-23 17:50:18,426 - DEBUG - Response for deleting network () 2024-12-23 17:50:18,685 - DEBUG - No XMPP flaps were noticed during the test 2024-12-23 17:50:18,686 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-12-23 17:50:18,686 - INFO - -------------------------------------------------------------------------------- 2024-12-23 17:50:19,432 - INFO - Deleted project: ctest-TestBasicVMVNx-60447005, ID : 478d0e37-ab6c-45d6-9371-a54459493178