New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 719082 link

Starred by 1 user

Issue metadata

Status: Verified
Owner: ----
Closed: May 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

chromeos-base/autotest-chrome-0.0.1-r6738 fails to build

Project Member Reported by gurcheta...@chromium.org, May 5 2017

Issue description

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.


 
Status: WontFix (was: Untriaged)
I repo synced this morning and it builds now.
Cc: dbehr@chromium.org hychao@chromium.org
Owner: ----
Status: Available (was: WontFix)
Weird, it happened again after a few successful builds.
Cc: ihf@chromium.org
Status: Verified (was: Available)
I had to sudo emerge a few dbus-libs:

sudo emerge dev-libs/dbus-glib
sudo emerge dev-python/dbus-python

Sign in to add a comment