{"action":"created","issue":{"url":"https://api.github.com/repos/01org/meta-security-isafw/issues/61","repository_url":"https://api.github.com/repos/01org/meta-security-isafw","labels_url":"https://api.github.com/repos/01org/meta-security-isafw/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/01org/meta-security-isafw/issues/61/comments","events_url":"https://api.github.com/repos/01org/meta-security-isafw/issues/61/events","html_url":"https://github.com/01org/meta-security-isafw/issues/61","id":162613417,"number":61,"title":"CFA: invalid index exception","user":{"login":"pohly","id":22076,"avatar_url":"https://avatars.githubusercontent.com/u/22076?v=3","gravatar_id":"","url":"https://api.github.com/users/pohly","html_url":"https://github.com/pohly","followers_url":"https://api.github.com/users/pohly/followers","following_url":"https://api.github.com/users/pohly/following{/other_user}","gists_url":"https://api.github.com/users/pohly/gists{/gist_id}","starred_url":"https://api.github.com/users/pohly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pohly/subscriptions","organizations_url":"https://api.github.com/users/pohly/orgs","repos_url":"https://api.github.com/users/pohly/repos","events_url":"https://api.github.com/users/pohly/events{/privacy}","received_events_url":"https://api.github.com/users/pohly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-06-28T06:41:22Z","updated_at":"2016-07-08T06:28:44Z","closed_at":null,"body":"Sometimes, under uncertain circumstances, parsing manifest files fails because a line does not contain two words, leading to this exception (https://ostroproject.org/jenkins/job/build_intel-quark/1997/console):\r\n```\r\nERROR: Exception in plugin ISA_LicenseChecker process_report():\r\n03:46:29.670 Traceback (most recent call last):\r\n03:46:29.670   File \"/var/lib/jenkins/ostro-worker-19-slot-0-OTusb/ostro-os/meta-security-isafw/lib/isafw/isafw.py\", line 133, in call_plugins\r\n03:46:29.670     method(*parameters, **keywords)\r\n03:46:29.670   File \"/var/lib/jenkins/ostro-worker-19-slot-0-OTusb/ostro-os/meta-security-isafw/lib/isafw/isaplugins/ISA_la_plugin.py\", line 262, in process_report\r\n03:46:29.670     return LicenseChecker.process_report()\r\n03:46:29.670   File \"/var/lib/jenkins/ostro-worker-19-slot-0-OTusb/ostro-os/meta-security-isafw/lib/isafw/isaplugins/ISA_la_plugin.py\", line 127, in process_report\r\n03:46:29.670     self.process_pkg_list()\r\n03:46:29.670   File \"/var/lib/jenkins/ostro-worker-19-slot-0-OTusb/ostro-os/meta-security-isafw/lib/isafw/isaplugins/ISA_la_plugin.py\", line 145, in process_pkg_list\r\n03:46:29.670     orig_pkg_name = line.split()[2]\r\n03:46:29.670 IndexError: list index out of range\r\n```\r\n\r\nThat was with meta-security-isafw 89d4453a79926a3d8ba9b31634771711bfb8b2b0.\r\n\r\nAt the very least we should add better error handling for the input files. Then if those errors trigger, we may get more information about the root cause of the problem."},"comment":{"url":"https://api.github.com/repos/01org/meta-security-isafw/issues/comments/231285292","html_url":"https://github.com/01org/meta-security-isafw/issues/61#issuecomment-231285292","issue_url":"https://api.github.com/repos/01org/meta-security-isafw/issues/61","id":231285292,"user":{"login":"ereshetova","id":1013701,"avatar_url":"https://avatars.githubusercontent.com/u/1013701?v=3","gravatar_id":"","url":"https://api.github.com/users/ereshetova","html_url":"https://github.com/ereshetova","followers_url":"https://api.github.com/users/ereshetova/followers","following_url":"https://api.github.com/users/ereshetova/following{/other_user}","gists_url":"https://api.github.com/users/ereshetova/gists{/gist_id}","starred_url":"https://api.github.com/users/ereshetova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ereshetova/subscriptions","organizations_url":"https://api.github.com/users/ereshetova/orgs","repos_url":"https://api.github.com/users/ereshetova/repos","events_url":"https://api.github.com/users/ereshetova/events{/privacy}","received_events_url":"https://api.github.com/users/ereshetova/received_events","type":"User","site_admin":false},"created_at":"2016-07-08T06:28:44Z","updated_at":"2016-07-08T06:28:44Z","body":"Problem is that I cannot find any UKNOWN in the logs..."}}
{"actor":{"display_login":"ereshetova"}}