Project

General

Profile

Bug #8765

BATS tests failing - hammer can't find katello commands

Added by Stephen Benjamin almost 5 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

# (in test file fb-content-katello.bats, line 15)
#   `--name="Test Product" | grep -q "Product created"' failed
# /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4/lib/hammer_cli/./apipie/../abstract.rb:68: warning: already initialized constant DEFAULT_LABEL_INDENT
# Error: No such sub-command 'product'
# 
# See: 'hammer --help'
not ok 14 create package repository
# (in test file fb-content-katello.bats, line 21)
#   `--url https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/ | grep -q "Repository created"' failed
# /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4/lib/hammer_cli/./apipie/../abstract.rb:68: warning: already initialized constant DEFAULT_LABEL_INDENT
# Error: No such sub-command 'repository'
# 
# See: 'hammer --help'
not ok 15 sync repository
# (in test file fb-content-katello.bats, line 26)
#   `--product="Test Product" --name="Zoo" | grep -q success' failed
# /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4/lib/hammer_cli/./apipie/../abstract.rb:68: warning: already initialized constant DEFAULT_LABEL_INDENT
# Error: No such sub-command 'repository'
# 
# See: 'hammer --help'
not ok 16 create puppet repository
# (in test file fb-content-katello.bats, line 31)
#   `--product="Test Product" --content-type="puppet" --name "Puppet Modules" | grep -q "Repository created"' failed
# /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4/lib/hammer_cli/./apipie/../abstract.rb:68: warning: already initialized constant DEFAULT_LABEL_INDENT
# Error: No such sub-command 'repository'
# 
# See: 'hammer --help'
not ok 17 upload puppet module
# (in test file fb-content-katello.bats, line 38)
#   `--path="/tmp/stbenjam-dummy-0.2.0.tar.gz" | grep -q "Successfully uploaded"' failed
#   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
#                                  Dload  Upload   Total   Spent    Left  Speed
# 
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
102  2059    0  2059    0     0   3908      0 --:--:-- --:--:-- --:--:--  6073
# /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4/lib/hammer_cli/./apipie/../abstract.rb:68: warning: already initialized constant DEFAULT_LABEL_INDENT
# Error: No such sub-command 'repository'
# 
# See: 'hammer --help'
not ok 18 create lifecycle environment
# (in test file fb-content-katello.bats, line 43)
#   `--prior="Library" --name="Test" | grep -q "Environment created"' failed
# /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4/lib/hammer_cli/./apipie/../abstract.rb:68: warning: already initialized constant DEFAULT_LABEL_INDENT
# Error: No such sub-command 'lifecycle-environment'
# 
# See: 'hammer --help'
not ok 19 create content view
# (in test file fb-content-katello.bats, line 48)
#   `--name="Test CV" | grep -q "Content view created"' failed
# /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4/lib/hammer_cli/./apipie/../abstract.rb:68: warning: already initialized constant DEFAULT_LABEL_INDENT
# Error: No such sub-command 'content-view'
# 
# See: 'hammer --help'
not ok 20 add repo to content view
# (in test file fb-content-katello.bats, line 53)
#   `| grep Zoo | cut -d\| -f1 | egrep -i '[0-9]+')' failed
# /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4/lib/hammer_cli/./apipie/../abstract.rb:68: warning: already initialized constant DEFAULT_LABEL_INDENT
# Error: No such sub-command 'repository'
# 
# See: 'hammer --help'
not ok 21 add puppet module to content view
# (in test file fb-content-katello.bats, line 60)
#   `| grep Puppet | cut -d\| -f1 | egrep -i '[0-9]+')' failed
# /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4/lib/hammer_cli/./apipie/../abstract.rb:68: warning: already initialized constant DEFAULT_LABEL_INDENT
# Error: No such sub-command 'repository'
# 
# See: 'hammer --help'
not ok 22 publish content view
# (in test file fb-content-katello.bats, line 68)
#   `--name="Test CV" | grep -q success' failed
# /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4/lib/hammer_cli/./apipie/../abstract.rb:68: warning: already initialized constant DEFAULT_LABEL_INDENT
# Error: No such sub-command 'content-view'
# 
# See: 'hammer --help'
not ok 23 promote content view
# (in test file fb-content-katello.bats, line 73)
#   `--content-view="Test CV" --to-lifecycle-environment="Test" --version 1 | grep -q success' failed
# /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4/lib/hammer_cli/./apipie/../abstract.rb:68: warning: already initialized constant DEFAULT_LABEL_INDENT
# Error: No such sub-command 'content-view'
# 
# See: 'hammer --help'
not ok 24 create activation key
# (in test file fb-content-katello.bats, line 79)
#   `--unlimited-content-hosts=true | grep -q "Activation key created"' failed
# /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4/lib/hammer_cli/./apipie/../abstract.rb:68: warning: already initialized constant DEFAULT_LABEL_INDENT
# Error: No such sub-command 'activation-key'
# 
# See: 'hammer --help'
not ok 25 add subscription to activation key
# (in test file fb-content-katello.bats, line 85)
#   `--name="Test AK" | grep ID | tr -d ' ' | cut -d':' -f2)' failed
# /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4/lib/hammer_cli/./apipie/../abstract.rb:68: warning: already initialized constant DEFAULT_LABEL_INDENT
# Error: No such sub-command 'activation-key'

Associated revisions

Revision 942c8636 (diff)
Added by Stephen Benjamin almost 5 years ago

fixes #8765 - rpm spec should match dependencies of gem

Revision 43192de0
Added by Stephen Benjamin almost 5 years ago

Merge pull request #263 from stbenjam/8765

fixes #8765 - rpm spec should match dependencies of gem

Revision b08372cb (diff)
Added by Stephen Benjamin almost 5 years ago

refs #8765 - use correct name for bootdisk hammer cli plugin

Revision 9637f7ea
Added by Stephen Benjamin almost 5 years ago

Merge pull request #264 from stbenjam/8765-redo

refs #8765 - use correct name for bootdisk hammer cli plugin

History

#1 Updated by Stephen Benjamin almost 5 years ago

  • Subject changed from bats tests failing - hammer can't find katello commands to BATS tests failing - hammer can't find katello commands

#2 Updated by Stephen Benjamin almost 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/263 added
  • Pull request deleted ()

#3 Updated by Anonymous almost 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Eric Helms almost 5 years ago

  • Legacy Backlogs Release (now unused) set to 14

#5 Updated by Eric Helms almost 5 years ago

  • Triaged changed from No to Yes

Also available in: Atom PDF