[Bug 1767943] Re: [Ubuntu 18.04][sosreport] caught exception in sosreport at plugin method "logs.collect()"

2019-03-01 Thread bugproxy
*** This bug is a duplicate of bug 1761442 ***
https://bugs.launchpad.net/bugs/1761442

** Tags removed: targetmilestone-inin---
** Tags added: targetmilestone-inin1804

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767943

Title:
  [Ubuntu 18.04][sosreport] caught exception in sosreport at plugin
  method "logs.collect()"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1767943/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1767943] Re: [Ubuntu 18.04][sosreport] caught exception in sosreport at plugin method "logs.collect()"

2018-05-18 Thread Eric Desrochers
*** This bug is a duplicate of bug 1761442 ***
https://bugs.launchpad.net/bugs/1761442

I found out that the bug already exist LP[1] and Upstream[2]


[1] - Launchpad:
---
https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1761442
---

[2] - Upstream:
---
https://github.com/sosreport/sos/pull/1267
https://github.com/sosreport/sos/pull/1267/commits/bf8433945aeced7c0d73686ec83d826cc33bbd28

Looks like a duplicate of #1267 - fix is in the review queue, should
land next week with any luck.

We're planning to make a 3.5.1 interim release shortly to help distro packagers 
who cannot wait until 3.6 final is out - this fix will be included in that tag.
---

** This bug has been marked a duplicate of bug 1761442
   sosreport: AttributeError: 'str' object has no attribute 'decode'

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767943

Title:
  [Ubuntu 18.04][sosreport] caught exception in sosreport at plugin
  method "logs.collect()"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1767943/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1767943] Re: [Ubuntu 18.04][sosreport] caught exception in sosreport at plugin method "logs.collect()"

2018-05-18 Thread Eric Desrochers
*** This bug is a duplicate of bug 1761442 ***
https://bugs.launchpad.net/bugs/1761442

A colleague of mine (the one who own the original LP and upstream bug)
and myself will upload the change in Ubuntu as soon as it got release
upstream.

- Eric

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767943

Title:
  [Ubuntu 18.04][sosreport] caught exception in sosreport at plugin
  method "logs.collect()"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1767943/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1767943] Re: [Ubuntu 18.04][sosreport] caught exception in sosreport at plugin method "logs.collect()"

2018-05-18 Thread Eric Desrochers
I will handle the upstream work on your behalf.

I have reported the situation upstream:
https://github.com/sosreport/sos/issues/1301

- Eric

** Bug watch added: github.com/sosreport/sos/issues #1301
   https://github.com/sosreport/sos/issues/1301

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767943

Title:
  [Ubuntu 18.04][sosreport] caught exception in sosreport at plugin
  method "logs.collect()"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1767943/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1767943] Re: [Ubuntu 18.04][sosreport] caught exception in sosreport at plugin method "logs.collect()"

2018-05-17 Thread Eric Desrochers
Can you also reproduce using the following argument :

--all-logs
  Tell plugins to collect all possible log data ignoring any size 
limits and including logs in non-default locations. This option may 
significantly increase the size of reports.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767943

Title:
  [Ubuntu 18.04][sosreport] caught exception in sosreport at plugin
  method "logs.collect()"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1767943/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1767943] Re: [Ubuntu 18.04][sosreport] caught exception in sosreport at plugin method "logs.collect()"

2018-05-17 Thread Eric Desrochers
It passes just fine for me if using "--all-logs" with the same
reproducer.

$ sosreport --all-logs
  Running 27/57: logs...
  Running 28/57: lsbrelease...
  Running 29/57: lvm2...
  Running 30/57: lxd...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767943

Title:
  [Ubuntu 18.04][sosreport] caught exception in sosreport at plugin
  method "logs.collect()"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1767943/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1767943] Re: [Ubuntu 18.04][sosreport] caught exception in sosreport at plugin method "logs.collect()"

2018-05-17 Thread Eric Desrochers
Reproducible (same behaviour) on amd64 ARCH as well ^

caught exception in plugin method "logs.collect()"
writing traceback to sos_logs/logs-plugin-errors.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767943

Title:
  [Ubuntu 18.04][sosreport] caught exception in sosreport at plugin
  method "logs.collect()"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1767943/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1767943] Re: [Ubuntu 18.04][sosreport] caught exception in sosreport at plugin method "logs.collect()"

2018-05-17 Thread Eric Desrochers
I was able to reproduce on powerpc ARCH by creating a fake "kern.log" of
1GB size.

Running 27/57: logs...
caught exception in plugin method "logs.collect()"
writing traceback to sos_logs/logs-plugin-errors.txt

#  sos_logs/logs-plugin-errors.txt
Traceback (most recent call last):
  File "/usr/share/sosreport/sos/sosreport.py", line 1300, in collect
plug.collect()
  File "/usr/share/sosreport/sos/plugins/__init__.py", line 877, in collect
self._collect_strings()
  File "/usr/share/sosreport/sos/plugins/__init__.py", line 860, in 
_collect_strings
(content.splitlines()[0]).decode('utf8', 'ignore'))
AttributeError: 'str' object has no attribute 'decode'

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767943

Title:
  [Ubuntu 18.04][sosreport] caught exception in sosreport at plugin
  method "logs.collect()"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1767943/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1767943] Re: [Ubuntu 18.04][sosreport] caught exception in sosreport at plugin method "logs.collect()"

2018-05-17 Thread Eric Desrochers
Did you consider submitting your proposal patch to sosreport upstream
[https://github.com/sosreport/sos] to get the credit for it ?

Once merged upstream, I can submit it to debian and then upload into
Ubuntu (cosmic and stable) in that same order.

Regards,
Eric

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767943

Title:
  [Ubuntu 18.04][sosreport] caught exception in sosreport at plugin
  method "logs.collect()"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1767943/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1767943] Re: [Ubuntu 18.04][sosreport] caught exception in sosreport at plugin method "logs.collect()"

2018-05-17 Thread Eric Desrochers
** Changed in: sosreport (Ubuntu)
   Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767943

Title:
  [Ubuntu 18.04][sosreport] caught exception in sosreport at plugin
  method "logs.collect()"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1767943/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1767943] Re: [Ubuntu 18.04][sosreport] caught exception in sosreport at plugin method "logs.collect()"

2018-05-17 Thread David Britton
** Changed in: sosreport (Ubuntu)
 Assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) => 
Eric Desrochers (slashd)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767943

Title:
  [Ubuntu 18.04][sosreport] caught exception in sosreport at plugin
  method "logs.collect()"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1767943/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1767943] Re: [Ubuntu 18.04][sosreport] caught exception in sosreport at plugin method "logs.collect()"

2018-05-14 Thread Frank Heimes
** Changed in: ubuntu-power-systems
   Status: New => Triaged

** Changed in: ubuntu-power-systems
 Assignee: Canonical Server Team (canonical-server) => David Britton 
(davidpbritton)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767943

Title:
  [Ubuntu 18.04][sosreport] caught exception in sosreport at plugin
  method "logs.collect()"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1767943/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1767943] Re: [Ubuntu 18.04][sosreport] caught exception in sosreport at plugin method "logs.collect()"

2018-04-30 Thread Frank Heimes
** Also affects: ubuntu-power-systems
   Importance: Undecided
   Status: New

** Changed in: ubuntu-power-systems
   Importance: Undecided => High

** Changed in: ubuntu-power-systems
 Assignee: (unassigned) => Canonical Server Team (canonical-server)

** Tags added: triage-g

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767943

Title:
  [Ubuntu 18.04][sosreport] caught exception in sosreport at plugin
  method "logs.collect()"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1767943/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs