[sos-devel] Passed: sosreport/sos#1405 (bmr-suse-sysroot-fix - 13a1b80)

Travis CI builds at travis-ci.org
Thu May 5 10:51:04 UTC 2016


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

Build: #1405
Status: Passed

Duration: 1 minute and 1 second
Commit: 13a1b80 (bmr-suse-sysroot-fix)
Author: Bryn M. Reeves
Message: [suse] fix constructor sysroot argument

The Policy class hierarchy requires a 'sysroot' kwarg for class
constructors. This is used to pass the location of the actual
host root file system for container configurations.

The SuSE policy is currently missing this argument, leading to an
exception during policy loading:

  Traceback (most recent call last):
  File "/usr/sbin/sosreport", line 25, in
  main(sys.argv[1:])
  File "/usr/lib/python2.7/site-packages/sos/sosreport.py", line 1592, in
  main
  sos = SoSReport(args)
  File "/usr/lib/python2.7/site-packages/sos/sosreport.py", line 676, in
  init
  self.policy = sos.policies.load(sysroot=self.opts.sysroot)
  File "/usr/lib/python2.7/site-packages/sos/policies/init.py", line 38,
  in load
  cache['policy'] = policy(sysroot=sysroot)
  TypeError: init() got an unexpected keyword argument 'sysroot'

Fixes #809.

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

View the changeset: https://github.com/sosreport/sos/commit/13a1b80ce970

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

--

You can configure 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/20160505/1d7df89e/attachment.htm>


More information about the sos-devel mailing list