Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
# scripts/test/katello-cli-simple-test.sh -s
# tail -f -n100 ~/.katello/client.log
2011-07-26 13:26:51,739 [ERROR][MainThread] error() @ base.py:169 - Traceback (most recent call last):
File "/data/work/CloudForms/katello/cli/src/katello/client/cli/base.py", line 209, in main
return command.main(command_args)
File "/data/work/CloudForms/katello/cli/src/katello/client/core/base.py", line 330, in main
return self.run()
File "/data/work/CloudForms/katello/cli/src/katello/client/core/shell_command.py", line 45, in run
shell.cmdloop()
File "/usr/lib/python2.7/cmd.py", line 141, in cmdloop
line = self.precmd(line)
File "/data/work/CloudForms/katello/cli/src/katello/client/shell.py", line 109, in precmd
parts = parse_tokens(line)
File "/data/work/CloudForms/katello/cli/src/katello/client/core/utils.py", line 300, in parse_tokens
if tok[0] == '"' or tok[0] == "'":
IndexError: string index out of range
I think this is not a problem of the shell itself. It occurs when I try to insert invalid statement:
> repo status --id=
I have tried except block and the exception is nicer now.
853b661 Bug 725719 - Simple CLI tests are failing with -s parameter
But I have found its more problem of our tests. The REPO_ID is not run when I run
# scripts/test/katello-cli-simple-test.sh provider
its not determined correctly
REPO_ID=`$CMD repo list --org="$FIRST_ORG" | grep $REPO | grep -i id | awk '{print $2}'`
I guess something is wrong with my setup. Closing.
Description of problem: # scripts/test/katello-cli-simple-test.sh -s # tail -f -n100 ~/.katello/client.log 2011-07-26 13:26:51,739 [ERROR][MainThread] error() @ base.py:169 - Traceback (most recent call last): File "/data/work/CloudForms/katello/cli/src/katello/client/cli/base.py", line 209, in main return command.main(command_args) File "/data/work/CloudForms/katello/cli/src/katello/client/core/base.py", line 330, in main return self.run() File "/data/work/CloudForms/katello/cli/src/katello/client/core/shell_command.py", line 45, in run shell.cmdloop() File "/usr/lib/python2.7/cmd.py", line 141, in cmdloop line = self.precmd(line) File "/data/work/CloudForms/katello/cli/src/katello/client/shell.py", line 109, in precmd parts = parse_tokens(line) File "/data/work/CloudForms/katello/cli/src/katello/client/core/utils.py", line 300, in parse_tokens if tok[0] == '"' or tok[0] == "'": IndexError: string index out of range