{"action":"created","issue":{"url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/2332","labels_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/2332/labels{/name}","comments_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/2332/comments","events_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/2332/events","html_url":"https://github.com/SatelliteQE/robottelo/issues/2332","id":82348856,"number":2332,"title":"Automation failure : tests.foreman.cli.test_product.TestProduct","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":null,"milestone":null,"comments":1,"created_at":"2015-05-29T09:23:56Z","updated_at":"2015-05-29T09:41:57Z","closed_at":null,"body":"TestNames:\r\ntests.foreman.cli.test_product.TestProduct.test_add_syncplan_1 \r\ntests.foreman.cli.test_product.TestProduct.test_remove_syncplan_1\r\n\r\nError Message\r\n\r\n'' != [] : Running product info should cause no errors.\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-rhel66-cli/tests/foreman/cli/test_product.py\", line 427, in test_add_syncplan_1\r\n    \"Running product info should cause no errors.\")\r\n  File \"/usr/lib64/python2.7/unittest/case.py\", line 553, in assertEqual\r\n    assertion_func(first, second, msg=msg)\r\n  File \"/usr/lib64/python2.7/unittest/case.py\", line 546, in _baseAssertEqual\r\n    raise self.failureException(msg)\r\n'\\'\\' != [] : Running product info should cause no errors.\\n-------------------- \r\nlooks like assertion error since empy string compared with empty list\r\nplease fix it thanks"},"comment":{"url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/comments/106759504","html_url":"https://github.com/SatelliteQE/robottelo/issues/2332#issuecomment-106759504","issue_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/2332","id":106759504,"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-05-29T09:41:57Z","updated_at":"2015-05-29T09:41:57Z","body":"when executed locally nosetests:\r\n$ nosetests -c robottelo.properties test_add_syncplan_1 /home/tkolhar/git/robottelo/tests/foreman/cli/test_product.py\r\nFAIL: @Test: Check if product can be assigned a syncplan\r\nTraceback (most recent call last):\r\n  File \"/home/tkolhar/git/robottelo/tests/foreman/cli/test_product.py\", line 427, in test_add_syncplan_1\r\n    \"Running product info should cause no errors.\")\r\nAssertionError: '' != [] : Running product info should cause no errors.\r\n\r\nFAIL: @Test: Check if product can be assigned a syncplan\r\nTraceback (most recent call last):\r\n  File \"/home/tkolhar/git/robottelo/tests/foreman/cli/test_product.py\", line 452, in test_remove_syncplan_1\r\n    'Running set_sync_plan should cause no errors.'\r\nAssertionError: '' != [] : Running set_sync_plan should cause no errors.\r\nXML: foreman-results.xml\r\n\r\n\r\n"}}