2024-09-17 20:25:47,590 - INFO - Domain Default found not creating 2024-09-17 20:25:47,749 - INFO - Project ctest-TestBasicVMVNx-20507837 not found, creating it 2024-09-17 20:25:48,232 - INFO - Created Project:ctest-TestBasicVMVNx-20507837, ID : c9cce3f6-e046-446c-8aee-3ca17f54be32 2024-09-17 20:25:49,703 - INFO - ================================================================================ 2024-09-17 20:25:49,703 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-17 20:25:49,703 - 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-09-17 20:25:49,957 - DEBUG - Nothing to compare xmpp stats {'10.0.0.77': {'10.20.0.24': '0'}} with 2024-09-17 20:25:49,957 - INFO - Initial checks done. Running the testcase now 2024-09-17 20:25:49,957 - INFO - 2024-09-17 20:25:50,524 - DEBUG - Response for create_network : {'network': {'id': '393fc8e0-ba9f-4e6a-9fe7-b19afe652784', 'name': 'ctest-vn-04007302', 'tenant_id': 'c9cce3f6e046446c8aee3ca17f54be32', 'project_id': 'c9cce3f6e046446c8aee3ca17f54be32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-20507837', 'ctest-vn-04007302'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 20:25:50,768 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f56ac816-4f8b-43a7-9fae-6cb17442db67', 'name': '', 'tenant_id': 'c9cce3f6e046446c8aee3ca17f54be32', 'network_id': '393fc8e0-ba9f-4e6a-9fe7-b19afe652784', 'ip_version': 4, 'cidr': '69.87.51.128/26', 'allocation_pools': [{'start': '69.87.51.130', 'end': '69.87.51.190'}], 'gateway_ip': '69.87.51.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.87.51.130', 'tags': [], 'project_id': 'c9cce3f6e046446c8aee3ca17f54be32'}} 2024-09-17 20:25:50,792 - INFO - Created VN ctest-vn-04007302 2024-09-17 20:25:50,851 - DEBUG - VN ctest-vn-04007302 UUID is 393fc8e0-ba9f-4e6a-9fe7-b19afe652784 2024-09-17 20:25:51,027 - DEBUG - Services list from nova: [, , ] 2024-09-17 20:25:52,071 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1972-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1972-1) 2024-09-17 20:25:53,231 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1972-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1972-1) 2024-09-17 20:25:53,231 - INFO - Waiting for VM ctest-TestBasicVMVNx-20507837-50579108 to be up.. 2024-09-17 20:25:53,318 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-17 20:25:58,399 - DEBUG - VM is in ACTIVE state now 2024-09-17 20:25:58,400 - INFO - VM name : ctest-TestBasicVMVNx-20507837-50579108 2024-09-17 20:25:58,478 - DEBUG - VM ctest-TestBasicVMVNx-20507837-50579108 ID is aa535b92-bcdc-4224-84b0-206fc310c0ff 2024-09-17 20:25:58,496 - DEBUG - VM ctest-TestBasicVMVNx-20507837-50579108 launched on Node cn-jenkins-deploy-platform-ansible-os-1972-1 2024-09-17 20:25:58,574 - DEBUG - Requesting: http://10.0.0.77:8082/virtual-machine/aa535b92-bcdc-4224-84b0-206fc310c0ff 2024-09-17 20:25:58,875 - DEBUG - Requesting: http://10.0.0.77:8082/virtual-machine/aa535b92-bcdc-4224-84b0-206fc310c0ff 2024-09-17 20:25:58,918 - DEBUG - Requesting: http://10.0.0.77:8082/virtual-machine-interface/7641dea9-b1d8-4268-a0c4-82111418dcbf 2024-09-17 20:26:02,246 - 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 1015ms') 2024-09-17 20:26:02,247 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-20507837-50579108 failed! 2024-09-17 20:26:02,307 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-20507837:ctest-vn-04007302 is 69.87.51.129 and allocation pool is NOT set 2024-09-17 20:26:04,372 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.367 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.367/2.024/3.682/1.657 ms') 2024-09-17 20:26:04,373 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-20507837-50579108 passed 2024-09-17 20:26:04,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 20:26:04,531 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-20507837-50579108, IP 69.87.51.131, Port 22 2024-09-17 20:26:04,687 - DEBUG - VM ctest-TestBasicVMVNx-20507837-50579108 is ready for SSH connections 2024-09-17 20:26:04,687 - INFO - Waiting for VM ctest-TestBasicVMVNx-20507837-53461671 to be up.. 2024-09-17 20:26:04,769 - DEBUG - VM is in ACTIVE state now 2024-09-17 20:26:04,769 - INFO - VM name : ctest-TestBasicVMVNx-20507837-53461671 2024-09-17 20:26:04,849 - DEBUG - VM ctest-TestBasicVMVNx-20507837-53461671 ID is 4e738ede-b454-44fe-b9b4-25f9917ad6da 2024-09-17 20:26:04,849 - DEBUG - VM ctest-TestBasicVMVNx-20507837-53461671 launched on Node cn-jenkins-deploy-platform-ansible-os-1972-1 2024-09-17 20:26:04,930 - DEBUG - Requesting: http://10.0.0.77:8082/virtual-machine/4e738ede-b454-44fe-b9b4-25f9917ad6da 2024-09-17 20:26:04,943 - DEBUG - Requesting: http://10.0.0.77:8082/virtual-machine-interface/c757f93b-6254-4141-a8ee-0588bd5103cb 2024-09-17 20:26:06,196 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.481 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.481/1.863/3.245/1.382 ms') 2024-09-17 20:26:06,197 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-20507837-53461671 passed 2024-09-17 20:26:06,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 20:26:06,355 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-20507837-53461671, IP 69.87.51.132, Port 22 2024-09-17 20:26:06,512 - DEBUG - VM ctest-TestBasicVMVNx-20507837-53461671 is ready for SSH connections 2024-09-17 20:26:06,512 - DEBUG - FILE SIZE = 1303B 2024-09-17 20:26:06,512 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-20507837-50579108 to ctest-TestBasicVMVNx-20507837-53461671 using scp 2024-09-17 20:26:06,512 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 20:26:06,519 - 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.77, gateway password: c0ntrail123 2024-09-17 20:26:06,519 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-17 20:26:08,409 - DEBUG - 1+0 records in 1+0 records out 2024-09-17 20:26:09,165 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 20:26:09,491 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.77, gateway password: c0ntrail123 2024-09-17 20:26:09,491 - DEBUG - ls -l testfile 2024-09-17 20:26:11,087 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 17 14:26 testfile 2024-09-17 20:26:11,087 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-20507837-53461671 2024-09-17 20:26:11,088 - INFO - Deleting VM ctest-TestBasicVMVNx-20507837-53461671 2024-09-17 20:26:11,155 - INFO - Deleting VM ctest-TestBasicVMVNx-20507837-50579108 2024-09-17 20:26:11,224 - INFO - Deleting VN ctest-vn-04007302 2024-09-17 20:26:11,267 - DEBUG - VN 393fc8e0-ba9f-4e6a-9fe7-b19afe652784 still in use: Unable to complete operation on network 393fc8e0-ba9f-4e6a-9fe7-b19afe652784. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6ec1a38c-54a0-4bc2-a505-0559bf3ab421'] 2024-09-17 20:26:11,267 - WARNING - Deleting VN ctest-vn-04007302 failed..Will retry 2024-09-17 20:26:13,385 - DEBUG - Response for deleting network () 2024-09-17 20:26:13,645 - DEBUG - No XMPP flaps were noticed during the test
2024-09-17 20:26:13,645 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-09-17 20:26:13,645 - INFO - -------------------------------------------------------------------------------- 2024-09-17 20:26:14,340 - INFO - Deleted project: ctest-TestBasicVMVNx-20507837, ID : c9cce3f6-e046-446c-8aee-3ca17f54be32