[sos-devel] Broken: sosreport/sos#691 (bmr-tupperware - a668851)

Travis CI builds at travis-ci.org
Mon Jan 26 14:59:16 UTC 2015


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

Build: #691
Status: Broken

Duration: 32 seconds
Commit: a668851 (bmr-tupperware)
Author: Bryn M. Reeves
Message: [plugin] handle ELOOP in _copy_dir()

A problem with systemd's management of the binfmt_misc automount
point in Atomic environments causes attempts to access this path to
fail with ELOOP:

  >>> import os
  >>> os.listdir("/host/proc/sys/fs/binfmt_misc/")
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
  OSError: [Errno 2] No such file or directory: '/host/proc/sys/fs/binfmt_misc/'

For reasons that are not yet clear this causes the entire sos
process to immediately terminate.

For now avoid the problem by enclosing the problem os.listdir in
a try/except block that explicitly handles the one errno value
implicated here.

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

View the changeset: https://github.com/sosreport/sos/compare/7d0ad58c772c...a668851b6201

View the full build log and details: https://travis-ci.org/sosreport/sos/builds/48351086

--

You can configure recipients for build notifications in your .travis.yml file. See http://docs.travis-ci.com/user/notifications


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/sos-devel/attachments/20150126/7b8dd745/attachment.htm>


More information about the sos-devel mailing list