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

Issue 727122 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

desktopui_ChromeSanity failed with "version `Base' not found" python-dbus import error

Project Member Reported by derat@chromium.org, May 28 2017

Issue description

I recently added a desktopui_ChromeSanity autotest in https://chromium-review.googlesource.com/c/436766/. It runs as part of bvt-perbuild.

Per https://wmatrix.googleplex.com/unfiltered?hide_missing=True&releases=tot&tests=desktopui_ChromeSanity, it's failed exactly once so far, at R61-9594.0.0 on the mccloud builder, with this error:

Unhandled ImportError: /usr/lib64/libdbus-1.so.3: version `Base' not found (required by /usr/local/lib64/python2.7/site-packages/_dbus_bindings.so)

The full run is at https://wmatrix.googleplex.com/testrun/unfiltered?test_ids=488730774. All of the links to logs that I see just go to empty Cloud Storage folders.

https://uberchromeos-server38.corp.google.com/new_tko/#tab_id=test_detail_view&object_id=488730774 tantalizingly claims that it'll give me the "Test debug log", but when I try to expand that section it just spins for a minute before giving me a "Request timed out" error and "Failed to load log desktopui_ChromeSanity/debug/desktopui_ChromeSanity.DEBUG".

I suspect that the error comes either from the test's "from dbus.mainloop.glib import DBusGMainLoop" line or from client/common_lib/cros/session_manager.py, which itself imports the "dbus" module.

Given that the test passed on mccloud for the two adjacent versions (R61-9593.0.0 and R61-9595.0.0), and that it passed on all other boards at R61-9594.0.0, I can think of several possibilities, all of which scare me:

a) Our build system sometimes leaves out shared libraries.
b) Importing dbus-python fails non-deterministically.

Are there any other explanations? We use dbus-python in lots of other tests, so both the Chrome OS CQ and Chrome PFQ are probably susceptible to the same problem.
 

Comment 1 by vapier@chromium.org, May 28 2017

i doubt it's (b).  we just dropped the Base version hack from the dbus ebuild which should have triggered rebuilds in dependent packages.

however, the autotest stuff throws a wrinkle into things.  i don't know what the caching logic looks like there.

Comment 2 by ihf@chromium.org, May 29 2017

https://pantheon.corp.google.com/storage/browser/chromeos-autotest-results/119935867-chromeos-test/chromeos4-row2-rack11-host7/debug/

One should consider that stateful might have gotten corrupted.

05/27 11:00:35.715 INFO |               job:0227| 		ERROR	desktopui_ChromeSanity	desktopui_ChromeSanity	timestamp=1495908035	localtime=May 27 11:00:35	Unhandled ImportError: /usr/lib64/libdbus-1.so.3: version `Base' not found (required by /usr/local/lib64/python2.7/site-packages/_dbus_bindings.so)
  Traceback (most recent call last):
    File "/usr/local/autotest/bin/parallel.py", line 18, in fork_start
      l()
    File "/usr/local/autotest/bin/job.py", line 484, in <lambda>
      l = lambda : test.runtest(self, url, tag, args, dargs)
    File "/usr/local/autotest/bin/test.py", line 117, in runtest
      job.sysinfo.log_after_each_iteration)
    File "/usr/local/autotest/common_lib/test.py", line 886, in runtest
      exec ('import %s' % modulename, local_namespace, global_namespace)
    File "<string>", line 1, in <module>
    File "/usr/local/autotest/tests/desktopui_ChromeSanity/desktopui_ChromeSanity.py", line 12, in <module>
      from autotest_lib.client.common_lib.cros import chrome, session_manager
    File "/usr/local/autotest/common_lib/cros/session_manager.py", line 5, in <module>
      import dbus
    File "/usr/local/lib64/python2.7/site-packages/dbus/__init__.py", line 79, in <module>
      import dbus.types as types
    File "/usr/local/lib64/python2.7/site-packages/dbus/types.py", line 6, in <module>
      from _dbus_bindings import ObjectPath, ByteArray, Signature, Byte,\
  ImportError: /usr/lib64/libdbus-1.so.3: version `Base' not found (required by /usr/local/lib64/python2.7/site-packages/_dbus_bindings.so)


119935867-chromeos-test%2Fchromeos4-row2-rack11-host7%2Fdebug%2Fclient.0.txt
12.4 KB View Download

Sign in to add a comment