From bmr at redhat.com Tue Apr 1 14:33:28 2014 From: bmr at redhat.com (Bryn M. Reeves) Date: Tue, 01 Apr 2014 15:33:28 +0100 Subject: [sos-devel] GitHub repository: renamed Message-ID: <533ACE38.7000801@redhat.com> Hi Folks, Just a quick announcement to draw everyone's attention to the fact that the GitHub repository for sos development has now been renamed: https://github.com/sosreport/sos This corrects a mistake made when the project was first migrated to github and takes us a step nearer to having consistent release/tarball/directory naming that makes life easier for everyone trying to automate aspects of sos development and maintenance. If you're not packaging sos you do not need to do anything. Existing URLs should continue to work via GitHub's redirection. Please let me know if you encounter any issues and we'll try to get them worked out asap. Packagers may need to update build scripts or metadata to account for the changed tarball names and directory paths. Regards, Bryn. From bmr at redhat.com Thu Apr 3 20:44:33 2014 From: bmr at redhat.com (Bryn M. Reeves) Date: Thu, 03 Apr 2014 21:44:33 +0100 Subject: [sos-devel] [PATCH] ovirt-engine: new plugin for oVirt project In-Reply-To: <1392279071-15967-1-git-send-email-sbonazzo@redhat.com> References: <1392279071-15967-1-git-send-email-sbonazzo@redhat.com> Message-ID: <533DC831.3060902@redhat.com> On 02/13/2014 08:11 AM, Sandro Bonazzola wrote: > Change-Id: Ibaaba06e74def721946d9db76327280ef27f3678 > Signed-off-by: Sandro Bonazzola > --- > sos/plugins/ovirt-engine.py | 153 ++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 153 insertions(+) > create mode 100644 sos/plugins/ovirt-engine.py > > diff --git a/sos/plugins/ovirt-engine.py b/sos/plugins/ovirt-engine.py > new file mode 100644 > index 0000000..3ffe1f5 > --- /dev/null > +++ b/sos/plugins/ovirt-engine.py I've pushed a branch with a slightly modified version of the plugin here: https://github.com/sosreport/sos/tree/bmr-add-ovirt-plugin Changes from the previous version - Rename the plugin to 'ovirt' to comply with pep8 (no '-'s) - Make ovirt-engine process detection more robust The previous version was overcomplicated and could end up sending SIGQUIT to unrelated processes that include the strings 'jboss' and 'ovirt-engine' anywhere in their command line (e.g. 'vim jboss-ovirt-engine.txt') - Add a comment indicating backtrace destination - Replace add_copy_spec() with add_copy_specs() - Use do_path_regex_sub() to scrub DB files - Make sure DB scrubbing happens even if 'sensitive_keys' is not set on the command line Let me know how this looks - I've done some basic testing and backtrace collection and secret scrubbing seems to work. Once the basic plugin is in I'll get the remaining oVirt bits reviewed. Regards, Bryn. From notifications at travis-ci.org Thu Apr 3 20:55:15 2014 From: notifications at travis-ci.org (Travis CI) Date: Thu, 03 Apr 2014 20:55:15 +0000 Subject: [sos-devel] [Fixed] sosreport/sos#182 (master - f68a2b1) Message-ID: <533dcab223a50_28fb9dc254994@7e026fc2-2064-4d8c-963b-ff1ff64e214c.mail> Build Update for sosreport/sos ------------------------------------- Build: #182 Status: Fixed Duration: 31 seconds Commit: f68a2b1 (master) Author: Bryn M. Reeves Message: Fix whitespace in Plugin class Signed-off-by: Bryn M. Reeves View the changeset: https://github.com/sosreport/sos/compare/6e8c0429cf4c...f68a2b192b6b View the full build log and details: https://travis-ci.org/sosreport/sos/builds/22219051 -- 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: From notifications at travis-ci.org Thu Apr 3 20:27:00 2014 From: notifications at travis-ci.org (Travis CI) Date: Thu, 03 Apr 2014 20:27:00 +0000 Subject: [sos-devel] [Broken] sosreport/sos#179 (master - 6e8c042) Message-ID: <533dc412c8320_28c7eba26396e@c03d9365-d59b-4a2b-a887-573656b08442.mail> Build Update for sosreport/sos ------------------------------------- Build: #179 Status: Broken Duration: 36 seconds Commit: 6e8c042 (master) Author: Bryn M. Reeves Message: Add Plugin.do_path_regex_sub() Add a method to the Plugin class to apply a regex substitution to a set of paths maching a path regex. For e.g.: self.do_path_regex_sub(r'/etc/foo.*', 'pw=(.*)', 'pw=****') The oVirt plugin will use this. Signed-off-by: Bryn M. Reeves View the changeset: https://github.com/sosreport/sos/compare/51c429478b75...6e8c0429cf4c View the full build log and details: https://travis-ci.org/sosreport/sos/builds/22216934 -- 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: From notifications at travis-ci.org Thu Apr 3 20:40:38 2014 From: notifications at travis-ci.org (Travis CI) Date: Thu, 03 Apr 2014 20:40:38 +0000 Subject: [sos-devel] [Failed] sosreport/sos#180 (bmr-add-ovirt-plugin - 8c38b07) Message-ID: <533dc746b0068_28f85282711ee@c03d9365-d59b-4a2b-a887-573656b08442.mail> Build Update for sosreport/sos ------------------------------------- Build: #180 Status: Failed Duration: 2 minutes and 21 seconds Commit: 8c38b07 (bmr-add-ovirt-plugin) Author: Bryn M. Reeves Message: Add oVirt plugin Add a plugin for oVirt based on the RHEV log collector plugin with improvements and suggestions from Sandro Bonazzola. Signed-off-by: Bryn M. Reeves View the changeset: https://github.com/sosreport/sos/commit/8c38b07da282 View the full build log and details: https://travis-ci.org/sosreport/sos/builds/22217792 -- 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: From notifications at travis-ci.org Thu Apr 3 20:47:15 2014 From: notifications at travis-ci.org (Travis CI) Date: Thu, 03 Apr 2014 20:47:15 +0000 Subject: [sos-devel] [Still Failing] sosreport/sos#181 (bmr-add-ovirt-plugin - e8b1887) Message-ID: <533dc8d2c19a8_2919344283449@bc6c6425-9d9d-4fef-9e0f-e457531034a5.mail> Build Update for sosreport/sos ------------------------------------- Build: #181 Status: Still Failing Duration: 44 seconds Commit: e8b1887 (bmr-add-ovirt-plugin) Author: Bryn M. Reeves Message: Add comment to indicate backtrace destination in ovirt plugin Signed-off-by: Bryn M. Reeves View the changeset: https://github.com/sosreport/sos/compare/8c38b07da282...e8b1887d926a View the full build log and details: https://travis-ci.org/sosreport/sos/builds/22218285 -- 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: From notifications at travis-ci.org Thu Apr 3 21:03:48 2014 From: notifications at travis-ci.org (Travis CI) Date: Thu, 03 Apr 2014 21:03:48 +0000 Subject: [sos-devel] [Fixed] sosreport/sos#183 (bmr-add-ovirt-plugin - 52ca856) Message-ID: <533dccb4dac0_2953d262890ca@bc6c6425-9d9d-4fef-9e0f-e457531034a5.mail> Build Update for sosreport/sos ------------------------------------- Build: #183 Status: Fixed Duration: 42 seconds Commit: 52ca856 (bmr-add-ovirt-plugin) Author: Bryn M. Reeves Message: Merge branch 'master' of github.com:sosreport/sos into bmr-add-ovirt-plugin View the changeset: https://github.com/sosreport/sos/compare/e8b1887d926a...52ca856f57b9 View the full build log and details: https://travis-ci.org/sosreport/sos/builds/22219564 -- 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: From notifications at travis-ci.org Fri Apr 4 18:44:25 2014 From: notifications at travis-ci.org (Travis CI) Date: Fri, 04 Apr 2014 18:44:25 +0000 Subject: [sos-devel] [Broken] sosreport/sos#184 (master - 6fe4ba1) Message-ID: <533efd88e2900_269138e1925e0@3f47e12e-7f9c-46f9-a578-61dedd9207fb.mail> Build Update for sosreport/sos ------------------------------------- Build: #184 Status: Broken Duration: 59 seconds Commit: 6fe4ba1 (master) Author: Bryn M. Reeves Message: Fix tuna collection in kernelrt The path to the 'head' binary was mangled in the automated PATH conversion (commit e0d132e). It's not required anyway - we might as well grab the entire output. Also remove a useless package check before running the command. Fixes Issue #254. Signed-off-by: Bryn M. Reeves View the changeset: https://github.com/sosreport/sos/compare/f68a2b192b6b...6fe4ba194b6a View the full build log and details: https://travis-ci.org/sosreport/sos/builds/22292480 -- 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: From notifications at travis-ci.org Fri Apr 4 19:54:54 2014 From: notifications at travis-ci.org (Travis CI) Date: Fri, 04 Apr 2014 19:54:54 +0000 Subject: [sos-devel] [Still Failing] sosreport/sos#185 (master - 65d8fb5) Message-ID: <533f0e0e94ed0_26f0360215949@51de3777-fcbb-404d-ab5f-557628975099.mail> Build Update for sosreport/sos ------------------------------------- Build: #185 Status: Still Failing Duration: 51 seconds Commit: 65d8fb5 (master) Author: Adam Stokes Message: Use input method from python six Something our unittests didnt catch which is more functional than anything. Using raw_input fails on python3 because it was renamed to input. Six provides an alias that handles both cases. Signed-off-by: Adam Stokes View the changeset: https://github.com/sosreport/sos/compare/6fe4ba194b6a...65d8fb5d3068 View the full build log and details: https://travis-ci.org/sosreport/sos/builds/22297226 -- 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: From notifications at travis-ci.org Fri Apr 4 20:09:23 2014 From: notifications at travis-ci.org (Travis CI) Date: Fri, 04 Apr 2014 20:09:23 +0000 Subject: [sos-devel] [Errored] sosreport/sos#186 (bmr-fedora-py3 - 19b2f90) Message-ID: <533f1173a8750_279e6582207b2@3f47e12e-7f9c-46f9-a578-61dedd9207fb.mail> Build Update for sosreport/sos ------------------------------------- Build: #186 Status: Errored Duration: 28 seconds Commit: 19b2f90 (bmr-fedora-py3) Author: Bryn M. Reeves Message: Convert Makefile based builds to python3 by default Make builds using make use python3 by default and update the RPM spec file to use Red Hat / Fedora python3 package naming. Signed-off-by: Bryn M. Reeves View the changeset: https://github.com/sosreport/sos/commit/19b2f9025113 View the full build log and details: https://travis-ci.org/sosreport/sos/builds/22298260 -- 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: From notifications at travis-ci.org Fri Apr 4 21:17:32 2014 From: notifications at travis-ci.org (Travis CI) Date: Fri, 04 Apr 2014 21:17:32 +0000 Subject: [sos-devel] [Errored] sosreport/sos#188 (bmr-fedora-py3 - 8e54223) Message-ID: <533f216c9c40_28670f430712c@34622ae6-2fd7-4b64-8dec-d22d89e3034c.mail> Build Update for sosreport/sos ------------------------------------- Build: #188 Status: Errored Duration: 58 seconds Commit: 8e54223 (bmr-fedora-py3) Author: Bryn M. Reeves Message: Merge branch 'master' of github.com:sosreport/sos into bmr-fedora-py3 View the changeset: https://github.com/sosreport/sos/compare/19b2f9025113...8e5422385c67 View the full build log and details: https://travis-ci.org/sosreport/sos/builds/22303545 -- 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: From notifications at travis-ci.org Fri Apr 4 21:18:08 2014 From: notifications at travis-ci.org (Travis CI) Date: Fri, 04 Apr 2014 21:18:08 +0000 Subject: [sos-devel] [Still Failing] sosreport/sos#187 (master - c36e3c6) Message-ID: <533f2190182b8_2869c6630735f@34622ae6-2fd7-4b64-8dec-d22d89e3034c.mail> Build Update for sosreport/sos ------------------------------------- Build: #187 Status: Still Failing Duration: 1 minute and 30 seconds Commit: c36e3c6 (master) Author: Bryn M. Reeves Message: Use six.binary_type to produce a .decode()able string Python3 strings do not have a .decode() method. When clearing output for command-not-found case use binary_type("") instead of the empty string. This gives a bytestring on python3 which does support the decode() method. Signed-off-by: Bryn M. Reeves View the changeset: https://github.com/sosreport/sos/compare/65d8fb5d3068...c36e3c622656 View the full build log and details: https://travis-ci.org/sosreport/sos/builds/22303542 -- 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: From notifications at travis-ci.org Fri Apr 4 21:35:23 2014 From: notifications at travis-ci.org (Travis CI) Date: Fri, 04 Apr 2014 21:35:23 +0000 Subject: [sos-devel] [Still Failing] sosreport/sos#189 (master - 36c1d3f) Message-ID: <533f259a22e98_28c428c2565d3@3f47e12e-7f9c-46f9-a578-61dedd9207fb.mail> Build Update for sosreport/sos ------------------------------------- Build: #189 Status: Still Failing Duration: 1 minute and 9 seconds Commit: 36c1d3f (master) Author: Adam Stokes Message: add python 3.2 for Ubuntu Precise release Signed-off-by: Adam Stokes View the changeset: https://github.com/sosreport/sos/compare/c36e3c622656...36c1d3f4d3ff View the full build log and details: https://travis-ci.org/sosreport/sos/builds/22304714 -- 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: From notifications at travis-ci.org Fri Apr 4 21:44:31 2014 From: notifications at travis-ci.org (Travis CI) Date: Fri, 04 Apr 2014 21:44:31 +0000 Subject: [sos-devel] [Still Failing] sosreport/sos#190 (master - 5c04d10) Message-ID: <533f27bf3d478_28e23b82601a@3f47e12e-7f9c-46f9-a578-61dedd9207fb.mail> Build Update for sosreport/sos ------------------------------------- Build: #190 Status: Still Failing Duration: 1 minute and 42 seconds Commit: 5c04d10 (master) Author: Bryn M. Reeves Message: Pass byte strings to six.binary_type Python3 needs a byte string as argument to six.binary_types. Signed-off-by: Bryn M. Reeves View the changeset: https://github.com/sosreport/sos/compare/36c1d3f4d3ff...5c04d108823a View the full build log and details: https://travis-ci.org/sosreport/sos/builds/22305383 -- 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: From notifications at travis-ci.org Fri Apr 4 21:55:19 2014 From: notifications at travis-ci.org (Travis CI) Date: Fri, 04 Apr 2014 21:55:19 +0000 Subject: [sos-devel] [Still Failing] sosreport/sos#191 (master - 2a70f85) Message-ID: <533f2a4767458_28ddd9e3195be@34622ae6-2fd7-4b64-8dec-d22d89e3034c.mail> Build Update for sosreport/sos ------------------------------------- Build: #191 Status: Still Failing Duration: 57 seconds Commit: 2a70f85 (master) Author: Adam Stokes Message: Properly state unicode literal in Python 3.2 The 'u' prefix wasn't reintroduced back into Python 3 until version 3.3. Use six here to accomodate for that. Signed-off-by: Adam Stokes View the changeset: https://github.com/sosreport/sos/compare/5c04d108823a...2a70f85f14fc View the full build log and details: https://travis-ci.org/sosreport/sos/builds/22306166 -- 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: From notifications at travis-ci.org Fri Apr 4 21:58:22 2014 From: notifications at travis-ci.org (Travis CI) Date: Fri, 04 Apr 2014 21:58:22 +0000 Subject: [sos-devel] [Fixed] sosreport/sos#192 (master - eac1bf0) Message-ID: <533f2afeb8920_28822f425934e@51de3777-fcbb-404d-ab5f-557628975099.mail> Build Update for sosreport/sos ------------------------------------- Build: #192 Status: Fixed Duration: 38 seconds Commit: eac1bf0 (master) Author: Adam Stokes Message: Syntax error.. I blame emacs. Signed-off-by: Adam Stokes View the changeset: https://github.com/sosreport/sos/compare/2a70f85f14fc...eac1bf0fd4ca View the full build log and details: https://travis-ci.org/sosreport/sos/builds/22306346 -- 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: From notifications at travis-ci.org Sun Apr 6 17:09:11 2014 From: notifications at travis-ci.org (Travis CI) Date: Sun, 06 Apr 2014 17:09:11 +0000 Subject: [sos-devel] [Broken] sosreport/sos#205 (master - 46b6c3d) Message-ID: <53418a36f1748_235107411832d@e4151949-196f-4128-920c-d3bc9326a349.mail> Build Update for sosreport/sos ------------------------------------- Build: #205 Status: Broken Duration: 33 seconds Commit: 46b6c3d (master) Author: Bryn M. Reeves Message: Call Popen with shell=False Fixes Issue #253. Signed-off-by: Bryn M. Reeves View the changeset: https://github.com/sosreport/sos/compare/12989650c3bf...46b6c3d39f92 View the full build log and details: https://travis-ci.org/sosreport/sos/builds/22391220 -- 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: From notifications at travis-ci.org Sun Apr 6 17:19:30 2014 From: notifications at travis-ci.org (Travis CI) Date: Sun, 06 Apr 2014 17:19:30 +0000 Subject: [sos-devel] [Fixed] sosreport/sos#206 (master - 79140bc) Message-ID: <53418ca214050_23741dc87138@611d1a89-c13c-4320-8c36-5988175a203c.mail> Build Update for sosreport/sos ------------------------------------- Build: #206 Status: Fixed Duration: 58 seconds Commit: 79140bc (master) Author: Bryn M. Reeves Message: Handle ENOENT in sos_get_command_output() Signed-off-by: Bryn M. Reeves View the changeset: https://github.com/sosreport/sos/compare/46b6c3d39f92...79140bcd17ef View the full build log and details: https://travis-ci.org/sosreport/sos/builds/22391678 -- 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: From notifications at travis-ci.org Mon Apr 7 17:29:06 2014 From: notifications at travis-ci.org (Travis CI) Date: Mon, 07 Apr 2014 17:29:06 +0000 Subject: [sos-devel] [Errored] sosreport/sos#210 (master - e2aa46c) Message-ID: <5342e06274360_2530ab419033d@110c4bfc-be8b-4d6d-93c8-0250f2a42575.mail> Build Update for sosreport/sos ------------------------------------- Build: #210 Status: Errored Duration: 1 minute and 20 seconds Commit: e2aa46c (master) Author: Adam Stokes Message: Bring python 3.4 into the testing matrix Signed-off-by: Adam Stokes View the changeset: https://github.com/sosreport/sos/compare/cb7edbfcb0ad...e2aa46c1fcf6 View the full build log and details: https://travis-ci.org/sosreport/sos/builds/22462855 -- 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: From notifications at travis-ci.org Mon Apr 7 17:53:47 2014 From: notifications at travis-ci.org (Travis CI) Date: Mon, 07 Apr 2014 17:53:47 +0000 Subject: [sos-devel] [Passed] sosreport/sos#211 (master - fe44d56) Message-ID: <5342e62adfa20_257853c1562a8@bdcf3f89-9ee5-407e-99f6-3b3a2f1d7b52.mail> Build Update for sosreport/sos ------------------------------------- Build: #211 Status: Passed Duration: 1 minute and 3 seconds Commit: fe44d56 (master) Author: Adam Stokes Message: Allow failures for python 3.4 on travis-ci Looks like python 3.4 is not ready available on travis-ci.org. We'll make 3.4 unit testing a requirement once travis-ci makes python 3.4 an available environment. Signed-off-by: Adam Stokes View the changeset: https://github.com/sosreport/sos/compare/e2aa46c1fcf6...fe44d569b172 View the full build log and details: https://travis-ci.org/sosreport/sos/builds/22464700 -- 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: From samjc.mj at gmail.com Fri Apr 11 05:34:19 2014 From: samjc.mj at gmail.com (Samuel Mendoza-Jonas) Date: Fri, 11 Apr 2014 15:34:19 +1000 Subject: [sos-devel] [PATCH] sosreport: Add support for new ppc64-diag elog format Message-ID: <1397194459-19567-1-git-send-email-samjc.mj@gmail.com> Reviewed-by: Vasant Hegde Signed-off-by: Samuel Mendoza-Jonas --- sos/plugins/powerpc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sos/plugins/powerpc.py b/sos/plugins/powerpc.py index dfa1dec..799b699 100644 --- a/sos/plugins/powerpc.py +++ b/sos/plugins/powerpc.py @@ -46,7 +46,6 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin): "/proc/swaps", "/proc/version", "/dev/nvram", - "/var/log/platform", "/var/lib/lsvpd/" ]) self.add_cmd_outputs([ @@ -66,6 +65,7 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin): "/proc/ppc64/lparcfg", "/proc/ppc64/eeh", "/proc/ppc64/systemcfg" + "/var/log/platform", ]) self.add_cmd_outputs([ "lsvio -des", @@ -82,6 +82,7 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin): self.add_copy_specs([ "/proc/ppc64/", "/sys/kernel/debug/powerpc/" + "/var/log/opal-elog/", ]) if os.path.isdir("/var/log/dump"): self.add_cmd_output("ls -l /var/log/dump") -- 1.8.3.1 From notifications at travis-ci.org Mon Apr 14 17:29:04 2014 From: notifications at travis-ci.org (Travis CI) Date: Mon, 14 Apr 2014 17:29:04 +0000 Subject: [sos-devel] [Passed] sosreport/sos#216 (bmr-pull-228-openshift2.0 - 2175804) Message-ID: <534c1ae08cde8_2ab072c3679ef@3e334173-fbf0-4a7e-b67f-95fb18e05a68.mail> Build Update for sosreport/sos ------------------------------------- Build: #216 Status: Passed Duration: 52 seconds Commit: 2175804 (bmr-pull-228-openshift2.0) Author: Bryn M. Reeves Message: Merge branch '2.0' of https://github.com/sferich888/sosreport into sferich888-2.0 Conflicts: sos/plugins/openshift.py View the changeset: https://github.com/sosreport/sos/compare/b8dd5356905c^...2175804558f6 View the full build log and details: https://travis-ci.org/sosreport/sos/builds/22969911 -- 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: From notifications at travis-ci.org Mon Apr 14 19:10:46 2014 From: notifications at travis-ci.org (Travis CI) Date: Mon, 14 Apr 2014 19:10:46 +0000 Subject: [sos-devel] [Passed] sosreport/sos#217 (bmr-openshift-2.0 - 74b4431) Message-ID: <534c32b636ee8_2bdc054403317@3e334173-fbf0-4a7e-b67f-95fb18e05a68.mail> Build Update for sosreport/sos ------------------------------------- Build: #217 Status: Passed Duration: 1 minute and 8 seconds Commit: 74b4431 (bmr-openshift-2.0) Author: Bryn M. Reeves Message: Make OpenShift broker vs. node detection automatic Enable broker and node data collection by detecting the respective configuration files and automatically collect files and command output for the components present. Signed-off-by: Bryn M. Reeves View the changeset: https://github.com/sosreport/sos/compare/dc103644b535^...74b4431c466d View the full build log and details: https://travis-ci.org/sosreport/sos/builds/22977441 -- 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: From joel at jms.id.au Tue Apr 15 06:28:00 2014 From: joel at jms.id.au (Joel Stanley) Date: Tue, 15 Apr 2014 15:58:00 +0930 Subject: [sos-devel] [PATCH] plugins/powerpc: Add OPAL log to collected file list Message-ID: <1397543280-3420-1-git-send-email-joel@jms.id.au> The OPAL console log used to live under /sys/kernel/debug/powerpc so it was collected as part of that glob. This patch adds the new location at /sys/firmware/opal/msglog to the list of collected files. Signed-off-by: Joel Stanley Reviewed-by: Vasant Hegde --- sos/plugins/powerpc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sos/plugins/powerpc.py b/sos/plugins/powerpc.py index dfa1dec..3e78efb 100644 --- a/sos/plugins/powerpc.py +++ b/sos/plugins/powerpc.py @@ -81,7 +81,8 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin): if isPowerNV: self.add_copy_specs([ "/proc/ppc64/", - "/sys/kernel/debug/powerpc/" + "/sys/kernel/debug/powerpc/", + "/sys/firmware/opal/msglog" ]) if os.path.isdir("/var/log/dump"): self.add_cmd_output("ls -l /var/log/dump") -- 1.9.1 From bmr at redhat.com Tue Apr 15 14:45:33 2014 From: bmr at redhat.com (Bryn M. Reeves) Date: Tue, 15 Apr 2014 15:45:33 +0100 Subject: [sos-devel] [PATCH] plugins/powerpc: Add OPAL log to collected file list In-Reply-To: <1397543280-3420-1-git-send-email-joel@jms.id.au> References: <1397543280-3420-1-git-send-email-joel@jms.id.au> Message-ID: <20140415144533.GD25167@localhost.localdomain> On Tue, Apr 15, 2014 at 03:58:00PM +0930, Joel Stanley wrote: > The OPAL console log used to live under /sys/kernel/debug/powerpc so it > was collected as part of that glob. This patch adds the new location at > /sys/firmware/opal/msglog to the list of collected files. > > Signed-off-by: Joel Stanley > Reviewed-by: Vasant Hegde > --- Thanks - applied as commit 1bbf9e9. Regards, Bryn. From notifications at travis-ci.org Wed Apr 23 15:16:52 2014 From: notifications at travis-ci.org (Travis CI) Date: Wed, 23 Apr 2014 15:16:52 +0000 Subject: [sos-devel] [Errored] sosreport/sos#249 (upstart_logs - 8aed053) Message-ID: <5357d9640_225cf02827b@900142c8-38f3-4570-bf06-013bc45e6b1e.mail> Build Update for sosreport/sos ------------------------------------- Build: #249 Status: Errored Duration: 5 minutes and 22 seconds Commit: 8aed053 (upstart_logs) Author: Louis Bouchard Message: Add upstart log collection Signed-off-by: Louis Bouchard View the changeset: https://github.com/sosreport/sos/compare/c31d59fb1e64^...8aed05343ae6 View the full build log and details: https://travis-ci.org/sosreport/sos/builds/23599989 -- 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: From hegdevasant at linux.vnet.ibm.com Tue Apr 29 11:36:48 2014 From: hegdevasant at linux.vnet.ibm.com (Vasant Hegde) Date: Tue, 29 Apr 2014 17:06:48 +0530 Subject: [sos-devel] [PATCH] sosreport: Add support for new ppc64-diag elog format In-Reply-To: <1397194459-19567-1-git-send-email-samjc.mj@gmail.com> References: <1397194459-19567-1-git-send-email-samjc.mj@gmail.com> Message-ID: <535F8ED0.3070201@linux.vnet.ibm.com> On 04/11/2014 11:04 AM, Samuel Mendoza-Jonas wrote: > Reviewed-by: Vasant Hegde > Bryn, Did you get a chance to look into this one ? -Vasant > Signed-off-by: Samuel Mendoza-Jonas > --- > sos/plugins/powerpc.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/sos/plugins/powerpc.py b/sos/plugins/powerpc.py > index dfa1dec..799b699 100644 > --- a/sos/plugins/powerpc.py > +++ b/sos/plugins/powerpc.py > @@ -46,7 +46,6 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin): > "/proc/swaps", > "/proc/version", > "/dev/nvram", > - "/var/log/platform", > "/var/lib/lsvpd/" > ]) > self.add_cmd_outputs([ > @@ -66,6 +65,7 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin): > "/proc/ppc64/lparcfg", > "/proc/ppc64/eeh", > "/proc/ppc64/systemcfg" > + "/var/log/platform", > ]) > self.add_cmd_outputs([ > "lsvio -des", > @@ -82,6 +82,7 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin): > self.add_copy_specs([ > "/proc/ppc64/", > "/sys/kernel/debug/powerpc/" > + "/var/log/opal-elog/", > ]) > if os.path.isdir("/var/log/dump"): > self.add_cmd_output("ls -l /var/log/dump") > From notifications at travis-ci.org Tue Apr 29 18:07:49 2014 From: notifications at travis-ci.org (Travis CI) Date: Tue, 29 Apr 2014 18:07:49 +0000 Subject: [sos-devel] [Broken] sosreport/sos#259 (master - 8d25777) Message-ID: <535fea755cc60_2fb421643307e@9a14d896-e278-43fa-a126-4bff125ae500.mail> Build Update for sosreport/sos ------------------------------------- Build: #259 Status: Broken Duration: 1 minute and 28 seconds Commit: 8d25777 (master) Author: Bryn M. Reeves Message: Drop cwd/umask shenanigans from TarFileArchive::finalize() It was necessary to save and restore old_cwd and the umask around calls to an external archive program. This isn't needed when using native python implementations and causes problems in the case that the current working directory no longer exists: Creating compressed archive... going to finalize did finalize exception: [Errno 2] No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Traceback (most recent call last): File "/sbin/sosreport", line 23, in main(sys.argv[1:]) File "/usr/lib/python2.7/site-packages/sos/sosreport.py", line 1233, in main sos.execute() File "/usr/lib/python2.7/site-packages/sos/sosreport.py", line 1222, in execute return self.final_work() File "/usr/lib/python2.7/site-packages/sos/sosreport.py", line 1159, in final_work raise e OSError: [Errno 2] No such file or directory Signed-off-by: Bryn M. Reeves View the changeset: https://github.com/sosreport/sos/compare/d21e3a56803d...8d2577786cce View the full build log and details: https://travis-ci.org/sosreport/sos/builds/24038682 -- 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: From notifications at travis-ci.org Tue Apr 29 19:46:17 2014 From: notifications at travis-ci.org (Travis CI) Date: Tue, 29 Apr 2014 19:46:17 +0000 Subject: [sos-devel] [Fixed] sosreport/sos#260 (master - f3ec4ae) Message-ID: <5360018960ae0_28c9f3a24593b@f4fb2676-a9c4-4f51-9386-937db0660fae.mail> Build Update for sosreport/sos ------------------------------------- Build: #260 Status: Fixed Duration: 1 minute and 18 seconds Commit: f3ec4ae (master) Author: Bryn M. Reeves Message: Make calls to TarFile.add() use absolute path for 'name' Always use an absolute path when calling TarFile.add() in TarFileArchive._build_archive() and set arcname explicitly to the (relative) path name to use in the archive. Signed-off-by: Bryn M. Reeves View the changeset: https://github.com/sosreport/sos/compare/8d2577786cce...f3ec4ae4920a View the full build log and details: https://travis-ci.org/sosreport/sos/builds/24045842 -- 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: From bmr at redhat.com Tue Apr 29 20:25:34 2014 From: bmr at redhat.com (Bryn M. Reeves) Date: Tue, 29 Apr 2014 21:25:34 +0100 Subject: [sos-devel] [PATCH] sosreport: Add support for new ppc64-diag elog format In-Reply-To: <535F8ED0.3070201@linux.vnet.ibm.com> References: <1397194459-19567-1-git-send-email-samjc.mj@gmail.com> <535F8ED0.3070201@linux.vnet.ibm.com> Message-ID: <20140429202534.GA23094@localhost.localdomain> On Tue, Apr 29, 2014 at 05:06:48PM +0530, Vasant Hegde wrote: > Did you get a chance to look into this one ? Hi Vasant, I've applied this as commit 98231d1: sosreport: Add support for new ppc64-diag elog format Reviewed-by: Vasant Hegde Signed-off-by: Samuel Mendoza-Jonas Minor fixups for missing comas and to apply to the current tree. Signed-off-by: Bryn M. Reeves https://github.com/sosreport/sos/commit/98231d1 I'm curious about the expected files under /var/log/opal-elog though - I couldn't find much information on the directory structure (most hits seem to discuss the /sys interface). If these can get large it would be good to add the path using a reasonable default size limit to keep the report size sane. Regards, Bryn. > > "/sys/kernel/debug/powerpc/" > >+ "/var/log/opal-elog/", > > ]) > > if os.path.isdir("/var/log/dump"): From hegdevasant at linux.vnet.ibm.com Wed Apr 30 04:35:47 2014 From: hegdevasant at linux.vnet.ibm.com (Vasant Hegde) Date: Wed, 30 Apr 2014 10:05:47 +0530 Subject: [sos-devel] [PATCH] sosreport: Add support for new ppc64-diag elog format In-Reply-To: <20140429202534.GA23094@localhost.localdomain> References: <1397194459-19567-1-git-send-email-samjc.mj@gmail.com> <535F8ED0.3070201@linux.vnet.ibm.com> <20140429202534.GA23094@localhost.localdomain> Message-ID: <53607DA3.5040707@linux.vnet.ibm.com> On 04/30/2014 01:55 AM, Bryn M. Reeves wrote: > On Tue, Apr 29, 2014 at 05:06:48PM +0530, Vasant Hegde wrote: >> Did you get a chance to look into this one ? > > Hi Vasant, Bryn, > > I've applied this as commit 98231d1: > Thanks a lot.. > sosreport: Add support for new ppc64-diag elog format > > Reviewed-by: Vasant Hegde > Signed-off-by: Samuel Mendoza-Jonas > > Minor fixups for missing comas and to apply to the current tree. > Thanks for the fix. > Signed-off-by: Bryn M. Reeves > > https://github.com/sosreport/sos/commit/98231d1 > > I'm curious about the expected files under /var/log/opal-elog though - I > couldn't find much information on the directory structure (most hits > seem to discuss the /sys interface). If these can get large it would be > good to add the path using a reasonable default size limit to keep the > report size sane. Sorry.. We should have written better description.. Power System reports platform related logs in PEL format.. On pSeries system we have rtas_errd daemon (part of ppc64-diag package) which captures these information and stores in /var/log/platform.. On PowerNV system we have opal_errd (ppc64-diag package) which captures these information and creates individual files per log under /var/log/opal-elog directory.. Hence we want to capture entire directory.. These logs are pretty small (average 2K per log with max 16K).. Also we have log rotators inside opal_errd to remove old logs. So this directory won't grow more than few MBs. Also proper debugging we need all the logs...Hence we want to capture entire directory here. Let me know if you have any more questions. -Vasant