From hegdevasant at linux.vnet.ibm.com Mon Apr 3 11:06:26 2017 From: hegdevasant at linux.vnet.ibm.com (Vasant Hegde) Date: Mon, 3 Apr 2017 16:36:26 +0530 Subject: [sos-devel] [RFC PATCH] Enable sos to capture kernel crash report/summary In-Reply-To: <1490694621-6616-1-git-send-email-ankit@linux.vnet.ibm.com> References: <1490694621-6616-1-git-send-email-ankit@linux.vnet.ibm.com> Message-ID: On 03/28/2017 03:20 PM, Ankit Kumar wrote: > Service person need vmcore (kernel dump) to analyze kernel related issues. > Typically vmcore is large and takes time to transfer (vmcore size varies > based on system configuration. Ex: On 1TB machine usual vmcore size is ~1GB). > Also we have to request customer to transfer both vmcore and sosreport output. > Hello Bryn, Can you please take a look of this patch? If you are fine with adding this feature, we will rework this patch and send next iteration. -Vasant From builds at travis-ci.org Fri Apr 7 19:16:22 2017 From: builds at travis-ci.org (Travis CI) Date: Fri, 07 Apr 2017 19:16:22 +0000 Subject: [sos-devel] Errored: BryanQuigley/sos#18 (snaps - ce4cf24) In-Reply-To: Message-ID: <58e7e58689438_43fb39f2e92ac10684a1@8ec64c9b-fc37-4386-a690-1f581d16ea4d.mail> Build Update for BryanQuigley/sos ------------------------------------- Build: #18 Status: Errored Duration: 30 seconds Commit: ce4cf24 (snaps) Author: Harald Klein Message: [salt, saltmaster, storageconsole] add plugins for RH Storage Console and salt Signed-off-by: Harald Klein View the changeset: https://github.com/BryanQuigley/sos/compare/snaps View the full build log and details: https://travis-ci.org/BryanQuigley/sos/builds/219820190 -- 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: From builds at travis-ci.org Fri Apr 7 19:16:22 2017 From: builds at travis-ci.org (Travis CI) Date: Fri, 07 Apr 2017 19:16:22 +0000 Subject: [sos-devel] Errored: BryanQuigley/sos#18 (snaps - ce4cf24) In-Reply-To: Message-ID: <58e7e58c5b541_43fb39f2e9edc10686c3@8ec64c9b-fc37-4386-a690-1f581d16ea4d.mail> Build Update for BryanQuigley/sos ------------------------------------- Build: #18 Status: Errored Duration: 30 seconds Commit: ce4cf24 (snaps) Author: Harald Klein Message: [salt, saltmaster, storageconsole] add plugins for RH Storage Console and salt Signed-off-by: Harald Klein View the changeset: https://github.com/BryanQuigley/sos/compare/snaps View the full build log and details: https://travis-ci.org/BryanQuigley/sos/builds/219820190 -- 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: From builds at travis-ci.org Fri Apr 7 19:17:39 2017 From: builds at travis-ci.org (Travis CI) Date: Fri, 07 Apr 2017 19:17:39 +0000 Subject: [sos-devel] Passed: BryanQuigley/sos#19 (master - 7ba2fb4) In-Reply-To: Message-ID: <58e7e5d149ffb_43fb39f2e91bc10698c1@8ec64c9b-fc37-4386-a690-1f581d16ea4d.mail> Build Update for BryanQuigley/sos ------------------------------------- Build: #19 Status: Passed Duration: 1 minute and 29 seconds Commit: 7ba2fb4 (master) Author: Bryn M. Reeves Message: [jars] fix maven_id dictionary encoding The dictionary must contain string types, not byte arrays. Causes an exception when packing strings with Python3: [sos.sosreport:setup] executing 'sosreport -vvv --batch --debug -o jars' Setting up plugins ... Traceback (most recent call last): File "./sosreport", line 25, in main(sys.argv[1:]) File "/home/breeves/src/git/sos/sos/sosreport.py", line 1632, in main sos.execute() TypeError: key b'version' is not a string Resolves: #984. Signed-off-by: Bryn M. Reeves View the changeset: https://github.com/BryanQuigley/sos/compare/ce4cf2407bbc...7ba2fb47d05b View the full build log and details: https://travis-ci.org/BryanQuigley/sos/builds/219820259 -- 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: From builds at travis-ci.org Fri Apr 7 19:17:53 2017 From: builds at travis-ci.org (Travis CI) Date: Fri, 07 Apr 2017 19:17:53 +0000 Subject: [sos-devel] Passed: BryanQuigley/sos#20 (snaps - 78ac4c0) In-Reply-To: Message-ID: <58e7e5e181a87_43fa5605cf608208075e@54406ac8-d063-440e-88ea-c94db123a7ce.mail> Build Update for BryanQuigley/sos ------------------------------------- Build: #20 Status: Passed Duration: 1 minute and 31 seconds Commit: 78ac4c0 (snaps) Author: Bryan Quigley Message: [snappy] new plugin to show snappy info Adds a new plugin that lists information about snappy, including: * all installed snaps with version info (snap list --all) * Snappy's own version info (snap --version) * status info for the snapd daemon Signed-off-by: Bryan Quigley View the changeset: https://github.com/BryanQuigley/sos/compare/ce4cf2407bbc...78ac4c0bf369 View the full build log and details: https://travis-ci.org/BryanQuigley/sos/builds/219820286 -- 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: From louis.bouchard at canonical.com Thu Apr 13 11:57:04 2017 From: louis.bouchard at canonical.com (Louis Bouchard) Date: Thu, 13 Apr 2017 13:57:04 +0200 Subject: [sos-devel] Should _expand_copy_spec() return broken symlinks Message-ID: <3ef3d3dc-1f59-e9ae-01a9-3bfc00726d42@canonical.com> Hello, I just ran into this while testing 3.4. Ubuntu Trusty has a bug where /etc/blkid.tab turns out to be a broken symlink. But add_copy_spec() does this : > for _file in files: > current_size += os.stat(_file)[stat.ST_SIZE] > if sizelimit and current_size > sizelimit: > limit_reached = True > break > self._add_copy_paths([_file]) files comes from : > self._expand_copy_spec(copyspec) and _expand_copy_spec() will return /etc/blkid.tab, since the file exists, but os.stat() will fail since there is nobody at the other end of the symlink. Obviously, it is an O/S bug that needs to be fixed, but should _expand_copy_spec() return something when there is no _real_ file at the other end ? If so, I'm happy to fix this, as it breaks my packaging tests. Otherwise, I'll fix the packaging accordingly. Kind regards, ...Louis -- Louis Bouchard Software engineer, Cloud & Sustaining eng. Canonical Ltd Ubuntu developer Debian Maintainer GPG : 429D 7A3B DD05 B6F8 AF63 B9C4 8B3D 867C 823E 7A61 From bmr at redhat.com Thu Apr 13 12:27:32 2017 From: bmr at redhat.com (Bryn M. Reeves) Date: Thu, 13 Apr 2017 13:27:32 +0100 Subject: [sos-devel] Should _expand_copy_spec() return broken symlinks In-Reply-To: <3ef3d3dc-1f59-e9ae-01a9-3bfc00726d42@canonical.com> References: <3ef3d3dc-1f59-e9ae-01a9-3bfc00726d42@canonical.com> Message-ID: <20170413122731.GE21438@localhost.localdomain> On Thu, Apr 13, 2017 at 01:57:04PM +0200, Louis Bouchard wrote: > and _expand_copy_spec() will return /etc/blkid.tab, since the file exists, but > os.stat() will fail since there is nobody at the other end of the symlink. > > Obviously, it is an O/S bug that needs to be fixed, but should > _expand_copy_spec() return something when there is no _real_ file at the other end ? Yes: it's valuable information for the person trying to diagnose the bug in the operating system (if we can't see the symlink we can't see that it points to an invalid path). The stat handling code just needs to be fixed so that we assume a zero size for files that we fail to stat. Regards, Bryn. From ktraynor at redhat.com Thu Apr 13 14:48:28 2017 From: ktraynor at redhat.com (Kevin Traynor) Date: Thu, 13 Apr 2017 15:48:28 +0100 Subject: [sos-devel] [PATCH 1/2] [openvswitch] Add captures for DPDK datapath In-Reply-To: <20170222105405.GA9600@localhost.localdomain> References: <1487759203-32763-1-git-send-email-ktraynor@redhat.com> <20170222105405.GA9600@localhost.localdomain> Message-ID: On 02/22/2017 10:54 AM, Bryn M. Reeves wrote: > On Wed, Feb 22, 2017 at 10:26:42AM +0000, Kevin Traynor wrote: >> Add additional captures to help debug with DPDK datapath. >> >> "ovs-appctl dpctl/show -s" for DPDK datapath stats >> "ovs-appctl dpif-netdev/pmd-rxq-show" for port/queue to pmd core mapping >> "ovs-appctl dpif-netdev/pmd-stats-show" for pmd stats >> >> Signed-off-by: Kevin Traynor >> Acked-by: Flavio Leitner >> --- >> sos/plugins/openvswitch.py | 8 +++++++- >> 1 file changed, 7 insertions(+), 1 deletion(-) > > Ack to the series - I'll get these queued for the next round of merges. > Hi Bryn, Just wondering about the status of these patches as I'm not familiar with your process - are they still in the queue for merging? If you need me to do anything to help, let me know. thanks, Kevin. > Regards, > Bryn. > From bmr at redhat.com Thu Apr 13 15:12:23 2017 From: bmr at redhat.com (Bryn M. Reeves) Date: Thu, 13 Apr 2017 16:12:23 +0100 Subject: [sos-devel] [PATCH 1/2] [openvswitch] Add captures for DPDK datapath In-Reply-To: <1487759203-32763-1-git-send-email-ktraynor@redhat.com> References: <1487759203-32763-1-git-send-email-ktraynor@redhat.com> Message-ID: <20170413151222.GJ21438@localhost.localdomain> On Wed, Feb 22, 2017 at 10:26:42AM +0000, Kevin Traynor wrote: > Add additional captures to help debug with DPDK datapath. > > "ovs-appctl dpctl/show -s" for DPDK datapath stats > "ovs-appctl dpif-netdev/pmd-rxq-show" for port/queue to pmd core mapping > "ovs-appctl dpif-netdev/pmd-stats-show" for pmd stats > > Signed-off-by: Kevin Traynor > Acked-by: Flavio Leitner Series merged, thanks! commit 9593caedebefc2ef10704c8c486a5522e9c98ddb Author: Kevin Traynor Date: Thu Apr 13 16:11:08 2017 +0100 [openvswitch] Add logs for ovsdb-server and ovs-vswitchd. Signed-off-by: Kevin Traynor Acked-by: Flavio Leitner commit 767368187f410afc0752c895399ad30389fd0574 Author: Kevin Traynor Date: Thu Apr 13 16:10:27 2017 +0100 [openvswitch] Add additional captures to help debug with DPDK datapath. "ovs-appctl dpctl/show -s" for DPDK datapath stats "ovs-appctl dpif-netdev/pmd-rxq-show" for port/queue to pmd core mapping "ovs-appctl dpif-netdev/pmd-stats-show" for pmd stats Signed-off-by: Kevin Traynor Acked-by: Flavio Leitner Regards, Bryn. From builds at travis-ci.org Wed Apr 26 20:01:55 2017 From: builds at travis-ci.org (Travis CI) Date: Wed, 26 Apr 2017 20:01:55 +0000 Subject: [sos-devel] Broken: BryanQuigley/sos#26 (travis - 4b1dea0) In-Reply-To: Message-ID: <5900fcb390d7_43fcc3538bb981223564@0660b054-be05-46f5-b57d-7594111f33c9.mail> Build Update for BryanQuigley/sos ------------------------------------- Build: #26 Status: Broken Duration: 1 minute and 11 seconds Commit: 4b1dea0 (travis) Author: Bryan Quigley Message: [travis] Update travis with sudo and new python Bumps requirement for CI to work on Python 3.5 and 3.6. To enable sudo we bump the release to trusty. Dropped the depth to 20 as we aren't doing git commands. Only running --help and -l at the moment (but that should have found issue 938) We can build off these changes to add more in-depth CI functionality. Signed-off-by: Bryan Quigley View the changeset: https://github.com/BryanQuigley/sos/compare/78eb8fe1137e...4b1dea03fdad View the full build log and details: https://travis-ci.org/BryanQuigley/sos/builds/226151033 -- 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: