Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 585986 Details for
Bug 823851
rhc-chk and "rhc domain status"will return failure message even if all the files are matched in win7
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
The massage of rhc-chk
file_823851.txt (text/plain), 4.18 KB, created by
yquan
on 2012-05-22 10:10:41 UTC
(
hide
)
Description:
The massage of rhc-chk
Filename:
MIME Type:
Creator:
yquan
Created:
2012-05-22 10:10:41 UTC
Size:
4.18 KB
patch
obsolete
>test_01_ssh_private_key(Test3_SSH) > >c:/Ruby193/lib/ruby/gems/1.9.1/gems/rhc-0.93.3/bin/rhc-chk:351:in `check_permissions' > > 348: > > 349: perms = sprintf('%o',File.stat(file).mode)[-3..-1] > > 350: > > => 351: assert_match permission, perms, error_for(:bad_permissions,file,perms,permission.source) > > 352: end > > 353: end > > 354: > >c:/Ruby193/lib/ruby/gems/1.9.1/gems/rhc-0.93.3/bin/rhc-chk:281:in `test_01_ssh_private_key' > >=============================================================================== > >F > >=============================================================================== > >Failure: Local C:/Users/window7/.ssh/id_rsa does not match remote pub key, SSH auth will not work > >Perhaps you should regenerate your public key, or run 'rhc sshkey add' to add your new key. > ><false> is not true. > >test_02_ssh_public_key(Test3_SSH) > >c:/Ruby193/lib/ruby/gems/1.9.1/gems/rhc-0.93.3/bin/rhc-chk:311:in `test_02_ssh_public_key' > > 308: > > 309: # Test public key and remote key > > 310: assert_not_nil $user_info, error_for(:no_account) > > => 311: assert $remote_ssh_pubkeys.include?(@@local_ssh_pubkey), error_for(:no_match_pub, @libra_kfile) > > 312: ensure > > 313: fp.close if fp > > 314: end > >=============================================================================== > >F > >=============================================================================== > >Failure: File C:/Users/window7/.ssh/config does not exist, cannot check permissions. > ><false> is not true. > >test_05_ssh_config(Test3_SSH) > >c:/Ruby193/lib/ruby/gems/1.9.1/gems/rhc-0.93.3/bin/rhc-chk:347:in `check_permissions' > > 344: def check_permissions(file,permission) > > 345: file = File.expand_path(file) > > 346: > > => 347: assert File.exists?(file), error_for(:file_not_found,file) > > 348: > > 349: perms = sprintf('%o',File.stat(file).mode)[-3..-1] > > 350: > >c:/Ruby193/lib/ruby/gems/1.9.1/gems/rhc-0.93.3/bin/rhc-chk:317:in `test_05_ssh_config' > >=============================================================================== > >F > >=============================================================================== > >Failure: Either ssh-agent is not running or you do not have any keys loaded. > ><false> is not true. > >test_06_ssh_agent(Test3_SSH) > >c:/Ruby193/lib/ruby/gems/1.9.1/gems/rhc-0.93.3/bin/rhc-chk:323:in `test_06_ssh_agent' > > 320: def test_06_ssh_agent > > 321: loaded_keys = `ssh-add -L`.lines.to_a > > 322: # Make sure we can load keys from ssh-agent > > => 323: assert !loaded_keys.empty?, error_for(:no_keys_loaded) > > 324: loaded_keys.map!{|key| key.split(' ')[1]} > > 325: > > 326: assert_not_nil @@local_ssh_pubkey, error_for(:no_pubkey, 'the keys in ssh-agent') > >=============================================================================== > >F > >=============================================================================== > >Failure: Cannot SSH into your app: php2-domaintest04. > ><#<Process::Status: pid 1860 exit 1>> expected but was > ><0>. > >test_07_ssh_connect(Test3_SSH) > >c:/Ruby193/lib/ruby/gems/1.9.1/gems/rhc-0.93.3/bin/rhc-chk:339:in `block (2 levels) in test_07_ssh_connect' > > 336: domain = $user_info['user_info']['rhc_domain'] > > 337: ssh_command = sprintf("ssh %s@%s.%s true &> /dev/null", uuid, host, domain) > > 338: system(ssh_command) > > => 339: continue_test{ assert_equal $?, 0, error_for(:cant_ssh, host) } > > 340: end > > 341: end > > 342: > >c:/Ruby193/lib/ruby/gems/1.9.1/gems/rhc-0.93.3/bin/rhc-chk:180:in `continue_test' > >c:/Ruby193/lib/ruby/gems/1.9.1/gems/rhc-0.93.3/bin/rhc-chk:339:in `block in test_07_ssh_connect' > >c:/Ruby193/lib/ruby/gems/1.9.1/gems/rhc-0.93.3/bin/rhc-chk:333:in `each' > >c:/Ruby193/lib/ruby/gems/1.9.1/gems/rhc-0.93.3/bin/rhc-chk:333:in `test_07_ssh_connect' > >=============================================================================== > > > > > >Finished in 5.5 seconds. > > > >7 tests, 14 assertions, 5 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications > >42.8571% passed > > > >1.27 tests/s, 2.55 assertions/s
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 823851
: 585986