[sos-devel] Failed: sosreport/sos#4008 (bmr-sysroot-fixes - 05f3d5b)

Travis CI builds at travis-ci.org
Fri Nov 1 16:40:51 UTC 2019


Build Update for sosreport/sos
-------------------------------------

Build: #4008
Status: Failed

Duration: 2 mins and 50 secs
Commit: 05f3d5b (bmr-sysroot-fixes)
Author: Bryn M. Reeves
Message: [kernel] remove trailing directory globs in forbidden paths

Since the forbidden path test now uses an exact match the trailing
globs ("/some/directory/path/to/exclude/*") used to exclude trace
related directories from collection lead to a failure to properly
blacklist these files:

The glob is expanded, for e.g.:

  "/sys/kernel/debug/tracing/per_cpu/*"

Expands to unclude a 'cpuN' sub-directory for each CPU present on
the machine. These expanded paths are then added to the forbidden
paths list for the plugin:

  /sys/kernel/debug/tracing/per_cpu/cpu0
  /sys/kernel/debug/tracing/per_cpu/cpu1
  ...

When an attempt is made to collect the entire "per_cpu" directory
a check is made for the full "/sys/kernel/debug/tracing/per_cpu"
path against each entry in the forbidden paths list. Since this is
a prefix of the actual paths stored no match is returned and the
collection is permitted.

Remove the trailing globs from these directory paths and prevent
any collection of the directories they reference by the plugin.

Related: #1842

Signed-off-by: Bryn M. Reeves <bmr at redhat.com>

View the changeset: https://github.com/sosreport/sos/compare/9a0ab16793a8^...05f3d5bda8f5

View the full build log and details: https://travis-ci.org/sosreport/sos/builds/606088953?utm_medium=notification&utm_source=email

--

You can unsubscribe from build emails from the sosreport/sos repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=819743&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/sos-devel/attachments/20191101/98f99056/attachment.htm>


More information about the sos-devel mailing list