New issue
Advanced search Search tips

Issue 680990 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

TestImportedSymbolsAreAvailable fails

Project Member Reported by tnagel@chromium.org, Jan 13 2017

Issue description

FAIL: TestImportedSymbolsAreAvailable (chromite.cros.test.image_test.SymbolsTest)
Ensure all ELF files' imported symbols are available in ROOT-A.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/host/source/chromite/cros/test/image_test.py", line 375, in TestImportedSymbolsAreAvailable
    self.assertFalse(failures, '\n'.join(failures))
AssertionError: File dir-ROOT-A/usr/lib64/samba/nss_info/sfu.so contains unsatisfied symbols: set(['ads_idmap_cached_connection', 'wb_dsgetdcname_gencache_get'])
File dir-ROOT-A/usr/lib64/samba/libidmap-samba4.so contains unsatisfied symbols: set(['find_domain_from_name', 'get_global_winbindd_state_offline', 'winbind_event_context'])
File dir-ROOT-A/usr/lib64/samba/nss_info/rfc2307.so contains unsatisfied symbols: set(['ads_idmap_cached_connection', 'wb_dsgetdcname_gencache_get'])
File dir-ROOT-A/usr/lib64/samba/nss_info/hash.so contains unsatisfied symbols: set(['wcache_tdc_fetch_list'])
File dir-ROOT-A/usr/lib64/samba/idmap/hash.so contains unsatisfied symbols: set(['wcache_tdc_fetch_list'])
File dir-ROOT-A/usr/lib64/samba/idmap/rfc2307.so contains unsatisfied symbols: set(['ads_idmap_cached_connection', 'winbind_event_context'])
File dir-ROOT-A/usr/lib64/samba/idmap/autorid.so contains unsatisfied symbols: set(['wcache_tdc_fetch_domainbysid'])
File dir-ROOT-A/usr/lib64/samba/nss_info/sfu20.so contains unsatisfied symbols: set(['ads_idmap_cached_connection', 'wb_dsgetdcname_gencache_get'])
File dir-ROOT-A/usr/lib64/samba/idmap/ad.so contains unsatisfied symbols: set(['ads_idmap_cached_connection', 'wb_dsgetdcname_gencache_get'])
File dir-ROOT-A/usr/lib64/samba/idmap/rid.so contains unsatisfied symbols: set(['find_domain_from_name_noinit'])
 

Comment 1 by tnagel@chromium.org, Jan 14 2017

Cc: ljusten@chromium.org
According to Zentaro's https://chromium-review.googlesource.com/#/c/427287 this can be fixed by masking:

/usr/lib64/samba/libidmap-samba4.so
/usr/lib64/samba/nss_info
/usr/lib64/samba/idmap
Project Member

Comment 2 by bugdroid1@chromium.org, Jan 15 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/e8866eaa00f1b7a5884a13d9dda474a46d578374

commit e8866eaa00f1b7a5884a13d9dda474a46d578374
Author: Zentaro Kavanagh <zentaro@google.com>
Date: Sat Jan 14 23:54:47 2017

Mask out libraries with unsatisfied symbols for samba.

These libraries are not used for this feature and the
missing symbols are related to calls to the winbind
daemon which we don't run.

TEST=passes test_image
BUG= chromium:680990 

Change-Id: Ia14aaf300f66122753a27c5e357466382030fb9b
Reviewed-on: https://chromium-review.googlesource.com/428437
Commit-Ready: Thiemo Nagel <tnagel@chromium.org>
Tested-by: Thiemo Nagel <tnagel@chromium.org>
Reviewed-by: Thiemo Nagel <tnagel@chromium.org>

[modify] https://crrev.com/e8866eaa00f1b7a5884a13d9dda474a46d578374/chromeos/config/env/net-fs/samba

Comment 3 by tnagel@chromium.org, Jan 16 2017

Status: Fixed (was: Assigned)
Status: Verified (was: Fixed)
bulk Verify of older or not-user-facing Chromad bugs

Sign in to add a comment