I don't know why the CQ fails to catch this, but I've been consistently getting this error for the last two days. I have setup a new board, repo synced and still get it. I've run repo status and everything looks good. To reproduce:
repo sync -j8
(enter chroot)
emerge-{BOARD} autotest-chrome
You should get this error:
AttributeError: 'module' object has no attribute 'exceptions'
ERROR:root:policy_ForceGoogleSafeSearch: 'module' object has no attribute 'exceptions'
Traceback (most recent call last):
File "/build/cyan/tmp/portage/chromeos-base/autotest-chrome-0.0.1-r6738/work/autotest-work/client/bin/setup_job.py", line 75, in init_test
exec import_stmt + '\n' + init_stmt in locals_dict, globals_dict
File "<string>", line 1, in <module>
File "/build/cyan/tmp/portage/chromeos-base/autotest-chrome-0.0.1-r6738/work/autotest-work/client/site_tests/policy_ForceGoogleSafeSearch/policy_ForceGoogleSafeSearch.py", line 6, in <module>
from autotest_lib.client.cros.enterprise import enterprise_policy_base
File "/build/cyan/tmp/portage/chromeos-base/autotest-chrome-0.0.1-r6738/work/autotest-work/client/cros/enterprise/enterprise_policy_base.py", line 13, in <module>
from autotest_lib.client.cros import cryptohome
File "/build/cyan/tmp/portage/chromeos-base/autotest-chrome-0.0.1-r6738/work/autotest-work/client/cros/cryptohome.py", line 5, in <module>
import dbus, gobject, logging, os, random, re, shutil, string, time
File "/usr/lib64/python2.7/site-packages/dbus/__init__.py", line 81, in <module>
import dbus.exceptions as exceptions
AttributeError: 'module' object has no attribute 'exceptions'
ERROR:root:policy_ForceYouTubeSafetyMode: 'module' object has no attribute 'exceptions'
Traceback (most recent call last):
File "/build/cyan/tmp/portage/chromeos-base/autotest-chrome-0.0.1-r6738/work/autotest-work/client/bin/setup_job.py", line 75, in init_test
exec import_stmt + '\n' + init_stmt in locals_dict, globals_dict
File "<string>", line 1, in <module>
File "/build/cyan/tmp/portage/chromeos-base/autotest-chrome-0.0.1-r6738/work/autotest-work/client/site_tests/policy_ForceYouTubeSafetyMode/policy_ForceYouTubeSafetyMode.py", line 8, in <module>
from autotest_lib.client.cros.enterprise import enterprise_policy_base
File "/build/cyan/tmp/portage/chromeos-base/autotest-chrome-0.0.1-r6738/work/autotest-work/client/cros/enterprise/enterprise_policy_base.py", line 13, in <module>
from autotest_lib.client.cros import cryptohome
File "/build/cyan/tmp/portage/chromeos-base/autotest-chrome-0.0.1-r6738/work/autotest-work/client/cros/cryptohome.py", line 5, in <module>
import dbus, gobject, logging, os, random, re, shutil, string, time
File "/usr/lib64/python2.7/site-packages/dbus/__init__.py", line 81, in <module>
import dbus.exceptions as exceptions
AttributeError: 'module' object has no attribute 'exceptions'
ERROR:root:policy_ImagesAllowedForUrls: 'module' object has no attribute 'exceptions'
Traceback (most recent call last):
File "/build/cyan/tmp/portage/chromeos-base/autotest-chrome-0.0.1-r6738/work/autotest-work/client/bin/setup_job.py", line 75, in init_test
exec import_stmt + '\n' + init_stmt in locals_dict, globals_dict
File "<string>", line 1, in <module>
File "/build/cyan/tmp/portage/chromeos-base/autotest-chrome-0.0.1-r6738/work/autotest-work/client/site_tests/policy_ImagesAllowedForUrls/policy_ImagesAllowedForUrls.py", line 8, in <module>
from autotest_lib.client.cros.enterprise import enterprise_policy_base
File "/build/cyan/tmp/portage/chromeos-base/autotest-chrome-0.0.1-r6738/work/autotest-work/client/cros/enterprise/enterprise_policy_base.py", line 13, in <module>
from autotest_lib.client.cros import cryptohome
File "/build/cyan/tmp/portage/chromeos-base/autotest-chrome-0.0.1-r6738/work/autotest-work/client/cros/cryptohome.py", line 5, in <module>
import dbus, gobject, logging, os, random, re, shutil, string, time
File "/usr/lib64/python2.7/site-packages/dbus/__init__.py", line 81, in <module>
import dbus.exceptions as exceptions
AttributeError: 'module' object has no attribute 'exceptions'
ERROR:root:policy_ImagesBlockedForUrls: 'module' object has no attribute 'exceptions'
Traceback (most recent call last):
File "/build/cyan/tmp/portage/chromeos-base/autotest-chrome-0.0.1-r6738/work/autotest-work/client/bin/setup_job.py", line 75, in init_test
exec import_stmt + '\n' + init_stmt in locals_dict, globals_dict
File "<string>", line 1, in <module>
File "/build/cyan/tmp/portage/chromeos-base/autotest-chrome-0.0.1-r6738/work/autotest-work/client/site_tests/policy_ImagesBlockedForUrls/policy_ImagesBlockedForUrls.py", line 8, in <module>
from autotest_lib.client.cros.enterprise import enterprise_policy_base
File "/build/cyan/tmp/portage/chromeos-base/autotest-chrome-0.0.1-r6738/work/autotest-work/client/cros/enterprise/enterprise_policy_base.py", line 13, in <module>
from autotest_lib.client.cros import cryptohome
File "/build/cyan/tmp/portage/chromeos-base/autotest-chrome-0.0.1-r6738/work/autotest-work/client/cros/cryptohome.py", line 5, in <module>
import dbus, gobject, logging, os, random, re, shutil, string, time
File "/usr/lib64/python2.7/site-packages/dbus/__init__.py", line 81, in <module>
import dbus.exceptions as exceptions
AttributeError: 'module' object has no attribute 'exceptions'
ERROR:root:policy_JavaScriptAllowedForUrls: 'module' object has no attribute 'exceptions'
Traceback (most recent call last):
File "/build/cyan/tmp/portage/chromeos-base/autotest-chrome-0.0.1-r6738/work/autotest-work/client/bin/setup_job.py", line 75, in init_test
exec import_stmt + '\n' + init_stmt in locals_dict, globals_dict
File "<string>", line 1, in <module>
File "/build/cyan/tmp/portage/chromeos-base/autotest-chrome-0.0.1-r6738/work/autotest-work/client/site_tests/policy_JavaScriptAllowedForUrls/policy_JavaScriptAllowedForUrls.py", line 9, in <module>
from autotest_lib.client.cros.enterprise import enterprise_policy_base
File "/build/cyan/tmp/portage/chromeos-base/autotest-chrome-0.0.1-r6738/work/autotest-work/client/cros/enterprise/enterprise_policy_base.py", line 13, in <module>
from autotest_lib.client.cros import cryptohome
File "/build/cyan/tmp/portage/chromeos-base/autotest-chrome-0.0.1-r6738/work/autotest-work/client/cros/cryptohome.py", line 5, in <module>
import dbus, gobject, logging, os, random, re, shutil, string, time
File "/usr/lib64/python2.7/site-packages/dbus/__init__.py", line 81, in <module>
import dbus.exceptions as exceptions
Assigning to the sheriffs to see if anyone else gets this.
Comment 1 by gurcheta...@chromium.org
, May 8 2017