{"action":"created","issue":{"url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/2227","labels_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/2227/labels{/name}","comments_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/2227/comments","events_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/2227/events","html_url":"https://github.com/SatelliteQE/robottelo/issues/2227","id":75966304,"number":2227,"title":"Downstream automation failure: test_hammer_options","user":{"login":"tkolhar","id":1586098,"avatar_url":"https://avatars.githubusercontent.com/u/1586098?v=3","gravatar_id":"","url":"https://api.github.com/users/tkolhar","html_url":"https://github.com/tkolhar","followers_url":"https://api.github.com/users/tkolhar/followers","following_url":"https://api.github.com/users/tkolhar/following{/other_user}","gists_url":"https://api.github.com/users/tkolhar/gists{/gist_id}","starred_url":"https://api.github.com/users/tkolhar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkolhar/subscriptions","organizations_url":"https://api.github.com/users/tkolhar/orgs","repos_url":"https://api.github.com/users/tkolhar/repos","events_url":"https://api.github.com/users/tkolhar/events{/privacy}","received_events_url":"https://api.github.com/users/tkolhar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SatelliteQE/robottelo/labels/CLI","name":"CLI","color":"009800"},{"url":"https://api.github.com/repos/SatelliteQE/robottelo/labels/Downstream%20Failure","name":"Downstream Failure","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"elyezer","id":48132,"avatar_url":"https://avatars.githubusercontent.com/u/48132?v=3","gravatar_id":"","url":"https://api.github.com/users/elyezer","html_url":"https://github.com/elyezer","followers_url":"https://api.github.com/users/elyezer/followers","following_url":"https://api.github.com/users/elyezer/following{/other_user}","gists_url":"https://api.github.com/users/elyezer/gists{/gist_id}","starred_url":"https://api.github.com/users/elyezer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elyezer/subscriptions","organizations_url":"https://api.github.com/users/elyezer/orgs","repos_url":"https://api.github.com/users/elyezer/repos","events_url":"https://api.github.com/users/elyezer/events{/privacy}","received_events_url":"https://api.github.com/users/elyezer/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/SatelliteQE/robottelo/milestones/48","html_url":"https://github.com/SatelliteQE/robottelo/milestones/Week%20of%20June%2008,%202015","labels_url":"https://api.github.com/repos/SatelliteQE/robottelo/milestones/48/labels","id":1112053,"number":48,"title":"Week of June 08, 2015","description":"","creator":{"login":"elyezer","id":48132,"avatar_url":"https://avatars.githubusercontent.com/u/48132?v=3","gravatar_id":"","url":"https://api.github.com/users/elyezer","html_url":"https://github.com/elyezer","followers_url":"https://api.github.com/users/elyezer/followers","following_url":"https://api.github.com/users/elyezer/following{/other_user}","gists_url":"https://api.github.com/users/elyezer/gists{/gist_id}","starred_url":"https://api.github.com/users/elyezer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elyezer/subscriptions","organizations_url":"https://api.github.com/users/elyezer/orgs","repos_url":"https://api.github.com/users/elyezer/repos","events_url":"https://api.github.com/users/elyezer/events{/privacy}","received_events_url":"https://api.github.com/users/elyezer/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":31,"state":"closed","created_at":"2015-05-15T13:01:40Z","updated_at":"2015-07-09T12:35:53Z","due_on":"2015-06-14T03:00:00Z","closed_at":"2015-06-19T12:25:59Z"},"comments":7,"created_at":"2015-05-13T12:23:41Z","updated_at":"2015-07-09T12:35:53Z","closed_at":null,"body":"TestNames:\r\ntests.foreman.cli.test_hammer.HammerCommandsTestCase.test_hammer_options\r\n\r\nThis is regression and hence I am re-opening this bz:\r\n\r\nThe error message : \r\nError Message\r\nAssertionError:{\r\n \"hammer\": {\r\n  \"added_command\": false, \r\n  \"added_subcommands\": [\r\n   \"docker\"\r\n  ]\r\n }, \r\n \"hammer docker\": {\r\n  \"added_command\": true, \r\n  \"added_options\": [\r\n   \"help\"\r\n  ], \r\n  \"added_subcommands\": [\r\n   \"image\", \r\n   \"tag\", \r\n   \"container\"\r\n  ]\r\n }, \r\n \"hammer docker container\": {\r\n  \"added_command\": true, \r\n  \"added_options\": [\r\n   \"help\"\r\n  ], \r\n  \"added_subcommands\": [\r\n   \"info\", \r\n   \"status\", \r\n   \"logs\", \r\n   \"list\", \r\n   \"create\", \r\n   \"stop\", \r\n   \"start\", \r\n   \"delete\"\r\n  ]\r\n }, \r\n \"hammer docker container create\": {\r\n  \"added_command\": true, \r\n  \"added_options\": [\r\n   \"tty\", \r\n   \"help\", \r\n   \"location-ids\", \r\n   \"locations\", \r\n   \"tag\", \r\n   \"attach-stderr\", \r\n   \"cpu-sets\", \r\n   \"compute-resource-id\", \r\n   \"organization-ids\", \r\n   \"attach-stdin\", \r\n   \"compute-resource\", \r\n   \"capsule-id\", \r\n   \"attach-stdout\", \r\n   \"memory\", \r\n   \"entrypoint\", \r\n   \"registry-id\", \r\n   \"cpu-shares\", \r\n   \"capsule\", \r\n   \"organizations\", \r\n   \"name\", \r\n   \"repository-name\", \r\n   \"command\"\r\n  ]\r\n }, \r\n \"hammer docker container delete\": {\r\n  \"added_command\": true, \r\n  \"added_options\": [\r\n   \"compute-resource\", \r\n   \"id\", \r\n   \"help\", \r\n   \"name\", \r\n   \"compute-resource-id\"\r\n  ]\r\n }, \r\n \"hammer docker container info\": {\r\n  \"added_command\": true, \r\n  \"added_options\": [\r\n   \"compute-resource\", \r\n   \"id\", \r\n   \"help\", \r\n   \"name\", \r\n   \"compute-resource-id\"\r\n  ]\r\n }, \r\n \"hammer docker container list\": {\r\n  \"added_command\": true, \r\n  \"added_options\": [\r\n   \"compute-resource\", \r\n   \"page\", \r\n   \"compute-resource-id\", \r\n   \"help\", \r\n   \"per-page\"\r\n  ]\r\n }, \r\n \"hammer docker container logs\": {\r\n  \"added_command\": true, \r\n  \"added_options\": [\r\n   \"name\", \r\n   \"stdout\", \r\n   \"compute-resource-id\", \r\n   \"compute-resource\", \r\n   \"tail\", \r\n   \"stderr\", \r\n   \"id\", \r\n   \"help\"\r\n  ]\r\n }, \r\n \"hammer docker container start\": {\r\n  \"added_command\": true, \r\n  \"added_options\": [\r\n   \"compute-resource\", \r\n   \"id\", \r\n   \"help\", \r\n   \"name\", \r\n   \"compute-resource-id\"\r\n  ]\r\n }, \r\n \"hammer docker container status\": {\r\n  \"added_command\": true, \r\n  \"added_options\": [\r\n   \"compute-resource\", \r\n   \"id\", \r\n   \"help\", \r\n   \"name\", \r\n   \"compute-resource-id\"\r\n  ]\r\n }, \r\n \"hammer docker container stop\": {\r\n  \"added_command\": true, \r\n  \"added_options\": [\r\n   \"compute-resource\", \r\n   \"id\", \r\n   \"help\", \r\n   \"name\", \r\n   \"compute-resource-id\"\r\n  ]\r\n }, \r\n \"hammer docker image\": {\r\n  \"added_command\": true, \r\n  \"added_options\": [\r\n   \"help\"\r\n  ], \r\n  \"added_subcommands\": [\r\n   \"info\", \r\n   \"list\"\r\n  ]\r\n }, \r\n \"hammer docker image info\": {\r\n  \"added_command\": true, \r\n  \"added_options\": [\r\n   \"id\", \r\n   \"name\", \r\n   \"help\", \r\n   \"repository\", \r\n   \"repository-id\"\r\n  ]\r\n }, \r\n \"hammer docker image list\": {\r\n  \"added_command\": true, \r\n  \"added_options\": [\r\n   \"lifecycle-environment\", \r\n   \"product-id\", \r\n   \"help\", \r\n   \"content-view-version\", \r\n   \"lifecycle-environment-id\", \r\n   \"repository-id\", \r\n   \"product\", \r\n   \"repository\", \r\n   \"full-results\", \r\n   \"content-view-filter-id\", \r\n   \"content-view-id\", \r\n   \"organization-id\", \r\n   \"content-view-version-id\", \r\n   \"by\", \r\n   \"content-view\", \r\n   \"search\", \r\n   \"organization-label\", \r\n   \"content-view-filter\", \r\n   \"ids\", \r\n   \"order\", \r\n   \"organization\", \r\n   \"page\", \r\n   \"per-page\"\r\n  ]\r\n }, \r\n \"hammer docker tag\": {\r\n  \"added_command\": true, \r\n  \"added_options\": [\r\n   \"help\"\r\n  ], \r\n  \"added_subcommands\": [\r\n   \"info\", \r\n   \"list\"\r\n  ]\r\n }, \r\n \"hammer docker tag info\": {\r\n  \"added_command\": true, \r\n  \"added_options\": [\r\n   \"id\", \r\n   \"name\", \r\n   \"help\", \r\n   \"repository\", \r\n   \"repository-id\"\r\n  ]\r\n }, \r\n \"hammer docker tag list\": {\r\n  \"added_command\": true, \r\n  \"added_options\": [\r\n   \"lifecycle-environment\", \r\n   \"product-id\", \r\n   \"help\", \r\n   \"content-view-version\", \r\n   \"lifecycle-environment-id\", \r\n   \"repository-id\", \r\n   \"product\", \r\n   \"repository\", \r\n   \"full-results\", \r\n   \"content-view-filter-id\", \r\n   \"content-view-id\", \r\n   \"organization-id\", \r\n   \"content-view-version-id\", \r\n   \"by\", \r\n   \"content-view\", \r\n   \"search\", \r\n   \"organization-label\", \r\n   \"content-view-filter\", \r\n   \"ids\", \r\n   \"order\", \r\n   \"organization\", \r\n   \"page\", \r\n   \"per-page\"\r\n  ]\r\n }\r\n}"},"comment":{"url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/comments/119946597","html_url":"https://github.com/SatelliteQE/robottelo/issues/2227#issuecomment-119946597","issue_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/2227","id":119946597,"user":{"login":"tkolhar","id":1586098,"avatar_url":"https://avatars.githubusercontent.com/u/1586098?v=3","gravatar_id":"","url":"https://api.github.com/users/tkolhar","html_url":"https://github.com/tkolhar","followers_url":"https://api.github.com/users/tkolhar/followers","following_url":"https://api.github.com/users/tkolhar/following{/other_user}","gists_url":"https://api.github.com/users/tkolhar/gists{/gist_id}","starred_url":"https://api.github.com/users/tkolhar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkolhar/subscriptions","organizations_url":"https://api.github.com/users/tkolhar/orgs","repos_url":"https://api.github.com/users/tkolhar/repos","events_url":"https://api.github.com/users/tkolhar/events{/privacy}","received_events_url":"https://api.github.com/users/tkolhar/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T12:35:53Z","updated_at":"2015-07-09T12:35:53Z","body":"this issue occurred again dated 7/8/2015\r\nTestNames:\r\ntests.foreman.cli.test_hammer.HammerCommandsTestCase.test_hammer_options\r\n\r\nError Message\r\n\r\n{\r\n \"hammer content-view puppet-module list\": {\r\n  \"added_command\": false, \r\n  \"added_options\": [\r\n   \"search\", \r\n   \"full-results\", \r\n   \"page\", \r\n   \"order\", \r\n   \"by\", \r\n   \"per-page\"\r\n  ]\r\n }, \r\n \"hammer content-view version incremental-update\": {\r\n  \"added_command\": false, \r\n  \"added_options\": [\r\n   \"content-host-ids\"\r\n  ], \r\n  \"removed_options\": [\r\n   \"content-view-version-environments\", \r\n   \"ids\", \r\n   \"id\"\r\n  ]\r\n }, \r\n \"hammer docker\": {\r\n  \"added_command\": false, \r\n  \"added_subcommands\": [\r\n   \"registry\"\r\n  ]\r\n }, \r\n \"hammer docker registry\": {\r\n  \"added_command\": false, \r\n  \"added_subcommands\": [\r\n   \"info\", \r\n   \"create\", \r\n   \"list\", \r\n   \"update\", \r\n   \"delete\"\r\n  ], \r\n  \"removed_subcommands\": [\r\n   \"image\", \r\n   \"tag\", \r\n   \"container\"\r\n  ]\r\n }, \r\n \"hammer docker registry create\": {\r\n  \"added_command\": false, \r\n  \"removed_subcommands\": [\r\n   \"image\", \r\n   \"tag\", \r\n   \"container\"\r\n  ]\r\n }, \r\n \"hammer docker registry delete\": {\r\n  \"added_command\": false, \r\n  \"removed_subcommands\": [\r\n   \"image\", \r\n   \"tag\", \r\n   \"container\"\r\n  ]\r\n }, \r\n \"hammer docker registry info\": {\r\n  \"added_command\": false, \r\n  \"removed_subcommands\": [\r\n   \"image\", \r\n   \"tag\", \r\n   \"container\"\r\n  ]\r\n }, \r\n \"hammer docker registry list\": {\r\n  \"added_command\": false, \r\n  \"removed_subcommands\": [\r\n   \"image\", \r\n   \"tag\", \r\n   \"container\"\r\n  ]\r\n }, \r\n \"hammer docker registry update\": {\r\n  \"added_command\": false, \r\n  \"removed_subcommands\": [\r\n   \"image\", \r\n   \"tag\", \r\n   \"container\"\r\n  ]\r\n }\r\n}\r\n\r\nStacktrace\r\n\r\n  File \"/usr/lib64/python2.7/unittest/case.py\", line 369, in run\r\n    testMethod()\r\n  File \"/home/jenkins/workspace/satellite6-automation-downstream-rhel71-cli/tests/foreman/cli/test_hammer.py\", line 110, in test_hammer_options\r\n    json.dumps(self.differences, indent=True, sort_keys=True)\r\n  File \"/usr/lib64/python2.7/unittest/case.py\", line 450, in fail\r\n    raise self.failureException(msg)"}}