| Summary: | Simple CLI tests are failing with -s parameter | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Lukas Zapletal <lzap> |
| Component: | katello-agent | Assignee: | Tomas Strachota <tstrachota> |
| Status: | CLOSED NOTABUG | QA Contact: | Katello QA List <katello-qa-list> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0.0 | CC: | gkhachik |
| Target Milestone: | Unspecified | ||
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-03-01 09:52:26 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 747354 | ||
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. Lukas, could you please guide me where to find the script in comment#0 (for verifying this issue). It's our system tests in /scripts/system-test/cli-system-test. They used to have different name. # CLOSE Well I think our tests are failing periodically from time to time :) so it's normal process. |
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