From Fedora Project Wiki

(Created page with "{{QA/Test_Case |description=This test case tests whether Eclipse SSH related authentication failures are properly handled by Fedora Packager for Eclipse. |setup= # Boot into the ...")
 
No edit summary
Line 6: Line 6:
# Make sure that file {{command|~/.fedora.cert}} exists and your FAS SSH key is properly set up in Eclipse and the public key properly uploaded to the FAS account system.
# Make sure that file {{command|~/.fedora.cert}} exists and your FAS SSH key is properly set up in Eclipse and the public key properly uploaded to the FAS account system.
|actions=
|actions=
# Open Eclipse and use a new workspace. {{command|eclipse -data test_day_20111013_fpe_cloning}}
# Open Eclipse and use a new workspace. {{command|eclipse -data test_day_20111013_fpe_cloning_SSH_setup}}
# Press {{command|CTRL+ALT+F I}} to open the import wizard. Alternatively press {{command|CTRL+3}} and start typing "Projects from Fedora Git", then press return.
# Press {{command|CTRL+ALT+F I}} to open the import wizard. Alternatively press {{command|CTRL+3}} and start typing "Projects from Fedora Git", then press return.
# If you've never used Eclipse for SSH based cloning you will likely not have SSH preferences set up. This might cause some clone failures, but should give you appropriate error messages with proposed fixes. Should you run into this problem, detailed instructions are [https://fedoraproject.org/wiki/Fedora_Packager_For_Eclipse_User_Guide#Configure_SSH_in_Eclipse here]. Feedback is very welcome if error messages are not what you would expect. In fact, this is one test case we'd like to have tested.
# If you've never used Eclipse for SSH based cloning you will likely not have SSH preferences set up. This might cause some clone failures, but should give you appropriate error messages with proposed fixes. Should you run into this problem, detailed instructions are [https://fedoraproject.org/wiki/Fedora_Packager_For_Eclipse_User_Guide#Configure_SSH_in_Eclipse here]. Feedback is very welcome if error messages are not what you would expect. In fact, this is one test case we'd like to have tested.

Revision as of 16:18, 12 September 2011

Description

This test case tests whether Eclipse SSH related authentication failures are properly handled by Fedora Packager for Eclipse.

Setup

  1. Boot into the machine/VM you wish to test
  2. Ensure the eclipse-fedorapackager-0.2.1-1.fc16 package IS installed. Install it via yum install eclipse-fedorapackager-0.2.1-1.fc16.
  3. Make sure that file ~/.fedora.cert exists and your FAS SSH key is properly set up in Eclipse and the public key properly uploaded to the FAS account system.

How to test

  1. Open Eclipse and use a new workspace. eclipse -data test_day_20111013_fpe_cloning_SSH_setup
  2. Press CTRL+ALT+F I to open the import wizard. Alternatively press CTRL+3 and start typing "Projects from Fedora Git", then press return.
  3. If you've never used Eclipse for SSH based cloning you will likely not have SSH preferences set up. This might cause some clone failures, but should give you appropriate error messages with proposed fixes. Should you run into this problem, detailed instructions are here. Feedback is very welcome if error messages are not what you would expect. In fact, this is one test case we'd like to have tested.
  4. Enter the package name Package-x-generic-16.pngeclipse-fedorapackager. In the top area of the wizard, a message should be shown that ~/.fedora.cert has been found and should use the username extracted from it for the SSH based clone. Click "Finish". This will only work if you are a sponsored packager. If you are not sponsored, proceed with anonymous clone tests.

<<<FIXME>>>

Expected Results

  1. It is expected that errors occur if SSH is not properly configured in Eclipse.