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

Issue 899496 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Nov 8
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug
Build-Toolchain

Blocking:
issue 834385



Sign in to add a comment

test_image failed with glibc 2.27

Project Member Reported by yunlian@chromium.org, Oct 27

Issue description

With glibc 2.27,
test_image failed with
Traceback (most recent call last):
  File "/mnt/host/source/chromite/cros/test/image_test.py", line 142, in TestBlacklistedFileTypes
    self.assertFalse(failures, '\n'.join(failures))
AssertionError: File dir-ROOT-A/usr/include/rpcsvc/yp.x has blacklisted type text/x-c.
File dir-ROOT-A/usr/include/rpcsvc/nis_callback.x has blacklisted type text/x-c.
File dir-ROOT-A/usr/include/rpcsvc/yppasswd.x has blacklisted type text/x-c.
File dir-ROOT-A/usr/include/rpcsvc/nis.x has blacklisted type text/x-c.
File dir-ROOT-A/usr/include/rpcsvc/nis_object.x has blacklisted type text/x-c.

This is because it does thought the .x files are .c files.
 
Blocking: 834385
Project Member

Comment 2 by bugdroid1@chromium.org, Oct 30

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/crosutils/+/ed7cd2db4af05aec12055d21dd879b7d703e7e35

commit ed7cd2db4af05aec12055d21dd879b7d703e7e35
Author: Yunlian Jiang <yunlian@google.com>
Date: Tue Oct 30 19:03:24 2018

filter /usr/include/rpcsvc/*.x from image

This masks out the /usr/include/rpcsvc/*.x for target images so that
test_image can pass with glibc 2.27.

BUG= chromium:899496 
TEST=tryjob with glibc 2.27, test_image passes.

Change-Id: I438e9a2b832492c846e611f92ea7e248eeb63e5c
Reviewed-on: https://chromium-review.googlesource.com/1303285
Commit-Ready: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>

[modify] https://crrev.com/ed7cd2db4af05aec12055d21dd879b7d703e7e35/common.sh

Owner: yunlian@chromium.org
Status: Fixed (was: Untriaged)

Sign in to add a comment