{"action":"opened","issue":{"url":"https://api.github.com/repos/Linaro/art-reports/issues/33","repository_url":"https://api.github.com/repos/Linaro/art-reports","labels_url":"https://api.github.com/repos/Linaro/art-reports/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/Linaro/art-reports/issues/33/comments","events_url":"https://api.github.com/repos/Linaro/art-reports/issues/33/events","html_url":"https://github.com/Linaro/art-reports/issues/33","id":150020217,"number":33,"title":"LAVA job fetching fails with strange error","user":{"login":"mwasilew","id":618901,"avatar_url":"https://avatars.githubusercontent.com/u/618901?v=3","gravatar_id":"","url":"https://api.github.com/users/mwasilew","html_url":"https://github.com/mwasilew","followers_url":"https://api.github.com/users/mwasilew/followers","following_url":"https://api.github.com/users/mwasilew/following{/other_user}","gists_url":"https://api.github.com/users/mwasilew/gists{/gist_id}","starred_url":"https://api.github.com/users/mwasilew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwasilew/subscriptions","organizations_url":"https://api.github.com/users/mwasilew/orgs","repos_url":"https://api.github.com/users/mwasilew/repos","events_url":"https://api.github.com/users/mwasilew/events{/privacy}","received_events_url":"https://api.github.com/users/mwasilew/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-21T09:36:36Z","updated_at":"2016-04-21T09:36:36Z","closed_at":null,"body":"Despite updating the code, restarting all services (including RabbitMQ) and clearing queue from old jobs, the error still happens. I also removed all .pyc files just in case. Traceback below:\r\n\r\n    [2016-04-21 08:56:14,185] ERROR: Task benchmarks.tasks.set_testjob_results[49d54de1-1b1b-4dea-acfa-a264e069fba3] raised unexpected: AttributeError(\"'TestJob' object has no attribute 'results_loaded'\",)\r\n    Traceback (most recent call last):\r\n      File \"/srv/art-reports.linaro.org/.virtualenv/local/lib/python2.7/site-packages/celery/app/trace.py\", line 240, in trace_task\r\n        R = retval = fun(*args, **kwargs)\r\n      File \"/srv/art-reports.linaro.org/.virtualenv/local/lib/python2.7/site-packages/celery/app/trace.py\", line 438, in __protected_call__\r\n        return self.run(*args, **kwargs)\r\n      File \"/srv/art-reports.linaro.org/project/benchmarks/tasks.py\", line 29, in set_testjob_results\r\n        store_testjob_data(testjob, test_results)\r\n      File \"/srv/art-reports.linaro.org/project/benchmarks/tasks.py\", line 39, in store_testjob_data\r\n        testjob.save()\r\n      File \"/srv/art-reports.linaro.org/project/benchmarks/models.py\", line 233, in save\r\n        super(TestJob, self).save(*args, **kwargs)\r\n      File \"/srv/art-reports.linaro.org/.virtualenv/local/lib/python2.7/site-packages/django/db/models/base.py\", line 734, in save\r\n        force_update=force_update, update_fields=update_fields)\r\n      File \"/srv/art-reports.linaro.org/.virtualenv/local/lib/python2.7/site-packages/django/db/models/base.py\", line 762, in save_base\r\n        updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)\r\n      File \"/srv/art-reports.linaro.org/.virtualenv/local/lib/python2.7/site-packages/django/db/models/base.py\", line 824, in _save_table\r\n        for f in non_pks]\r\n      File \"/srv/art-reports.linaro.org/.virtualenv/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py\", line 684, in pre_save\r\n        return getattr(model_instance, self.attname)\r\n    AttributeError: 'TestJob' object has no attribute 'results_loaded'\r\n"}}