{"action":"created","issue":{"url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/5867","repository_url":"https://api.github.com/repos/SatelliteQE/robottelo","labels_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/5867/labels{/name}","comments_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/5867/comments","events_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/5867/events","html_url":"https://github.com/SatelliteQE/robottelo/issues/5867","id":307949666,"number":5867,"title":"Another failure commonly seen with Sat62 and Tier1","user":{"login":"kbidarkar","id":373096,"avatar_url":"https://avatars2.githubusercontent.com/u/373096?v=4","gravatar_id":"","url":"https://api.github.com/users/kbidarkar","html_url":"https://github.com/kbidarkar","followers_url":"https://api.github.com/users/kbidarkar/followers","following_url":"https://api.github.com/users/kbidarkar/following{/other_user}","gists_url":"https://api.github.com/users/kbidarkar/gists{/gist_id}","starred_url":"https://api.github.com/users/kbidarkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbidarkar/subscriptions","organizations_url":"https://api.github.com/users/kbidarkar/orgs","repos_url":"https://api.github.com/users/kbidarkar/repos","events_url":"https://api.github.com/users/kbidarkar/events{/privacy}","received_events_url":"https://api.github.com/users/kbidarkar/received_events","type":"User","site_admin":false},"labels":[{"id":468870824,"url":"https://api.github.com/repos/SatelliteQE/robottelo/labels/6.2","name":"6.2","color":"f9d0c4","default":false},{"id":67639888,"url":"https://api.github.com/repos/SatelliteQE/robottelo/labels/CLI","name":"CLI","color":"009800","default":false},{"id":517129776,"url":"https://api.github.com/repos/SatelliteQE/robottelo/labels/DO%20NOT%20MERGE","name":"DO NOT MERGE","color":"ffcc00","default":false},{"id":67639968,"url":"https://api.github.com/repos/SatelliteQE/robottelo/labels/High","name":"High","color":"eb6420","default":false},{"id":877038772,"url":"https://api.github.com/repos/SatelliteQE/robottelo/labels/python3","name":"python3","color":"a1fce7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-23T09:07:39Z","updated_at":"2018-03-26T09:11:59Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"NOTE:\r\nBelow are the changes since the last run of Sat6.2.14\r\n\r\n    This is tested with the python3.6 interpreter\r\n    Also, cryptography module was updated to version 2.1.4 from 1.4, to avoid cryptography module installation failures. Just used the sat6.3.z version.\r\n    The cryptography module with version 1.8.2 also seems to install fine.\r\n    Refer Build 98 of Sat6.2-Tier1 for more logs.\r\n\r\n```\r\n_______________ TestImport.test_negative_reimport_users_default ________________\r\n\r\nself = <tests.foreman.cli.test_import.TestImport testMethod=test_negative_reimport_users_default>\r\n\r\n@tier1\r\n\r\ndef test_negative_reimport_users_default(self):\r\n\r\n\"\"\"Try to Import all users from the\r\n\r\npredefined source and try to import them again\r\n\r\n\r\n@id: 7142fcf0-1766-4bf6-bb82-26dbf9fb18ec\r\n\r\n\r\n@expectedresults: 2nd Import will result in No Action Taken\r\n\r\n\r\n\"\"\"\r\n\r\nfor test_data in gen_import_user_data():\r\n\r\nwith self.subTest(test_data):\r\n\r\ntmp_dir = self.default_dataset[0]\r\n\r\nfiles = dict(self.default_dataset[1])\r\n\r\n>               files = update_csv_values(files, test_data, tmp_dir)\r\n\r\ntests/foreman/cli/test_import.py:736:\r\n\r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\r\n\r\ntests/foreman/cli/test_import.py:174: in update_csv_values\r\n\r\nresult = Import.csv_to_dataset([files[file_]])\r\n\r\nrobottelo/cli/import_.py:79: in csv_to_dataset\r\n\r\nfor row in reader\r\n\r\nrobottelo/cli/import_.py:76: in <listcomp>\r\n\r\nresult.extend([{\r\n\r\n/usr/lib64/python3.6/csv.py:111: in __next__\r\n\r\nself.fieldnames\r\n\r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\r\n\r\nself = <csv.DictReader object at 0x7f5641f10550>\r\n\r\n@property\r\n\r\ndef fieldnames(self):\r\n\r\nif self._fieldnames is None:\r\n\r\ntry:\r\n\r\n>               self._fieldnames = next(self.reader)\r\n\r\nE _csv.Error: iterator should return strings, not bytes (did you open the file in text mode?)\r\n\r\n/usr/lib64/python3.6/csv.py:98: Error\r\n\r\n----------------------------- Captured stdout call -----------------------------\r\n\r\n2018-03-23 00:43:27 - robottelo - DEBUG - Started Test: TestImport/test_negative_reimport_users_default\r\n\r\n2018-03-23 00:43:27 - robottelo.ssh - DEBUG - Instantiated Paramiko client 0x7f5641f10c50\r\n\r\n2018-03-23 00:43:27 - robottelo.ssh - INFO - Connected to [None]\r\n\r\n2018-03-23 00:43:27 - robottelo.ssh - DEBUG - Destroyed Paramiko client 0x7f5641f10c50\r\n\r\n2018-03-23 00:43:27 - robottelo - DEBUG - Finished Test: TestImport/test_negative_reimport_users_default\r\n```"},"comment":{"url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/comments/376098823","html_url":"https://github.com/SatelliteQE/robottelo/issues/5867#issuecomment-376098823","issue_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/5867","id":376098823,"user":{"login":"kbidarkar","id":373096,"avatar_url":"https://avatars2.githubusercontent.com/u/373096?v=4","gravatar_id":"","url":"https://api.github.com/users/kbidarkar","html_url":"https://github.com/kbidarkar","followers_url":"https://api.github.com/users/kbidarkar/followers","following_url":"https://api.github.com/users/kbidarkar/following{/other_user}","gists_url":"https://api.github.com/users/kbidarkar/gists{/gist_id}","starred_url":"https://api.github.com/users/kbidarkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbidarkar/subscriptions","organizations_url":"https://api.github.com/users/kbidarkar/orgs","repos_url":"https://api.github.com/users/kbidarkar/repos","events_url":"https://api.github.com/users/kbidarkar/events{/privacy}","received_events_url":"https://api.github.com/users/kbidarkar/received_events","type":"User","site_admin":false},"created_at":"2018-03-26T09:11:59Z","updated_at":"2018-03-26T09:11:59Z","author_association":"CONTRIBUTOR","body":"@ldjebran, thanks for the suggestion, but it appears the issue still persists.\r\n I tried this change and ran the sat6.2.z automation, but the failures still seem to exist as seen from automation-6.2-tier1-rhel7 automation , refer build no 99."}}
{"actor":{"display_login":"kbidarkar"}}