[UBUNTU 22.04] dbginfo.sh: stabilization of data collection
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
High
|
Skipper Bug Screeners | ||
s390-tools (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
Unassigned | ||
Kinetic |
Fix Released
|
High
|
Unassigned |
Bug Description
SRU Justification:
==================
[Impact]
* The s390x-specific dbginfo.sh script, used to collect runtime,
configuration and trace information for debugging Linux on IBM Z,
has stabilization issues while collecting data.
* Script hangups are possible on single commands,
* potentially missing data collection on error
* and overwrites of buffers by diag commands.
[Test Plan]
* Prepare an IBM zSystems or LinuxONE system
(ideally an LPAR as well as a z/VM guest)
with an Ubuntu 22.04 system.
* The s390-tools package is mandatory and always installed,
but needs to be replaced with an updated/fixed version -
pick the version from the PPA that is mentioned below.
* Execute dbginfo.sh (as root or with sudo).
* Monitor the output and verify if all 18 steps are completed,
without any crashes or hangs.
* Inspect the size and content of the result file:
/tmp/
[Where problems could occur]
* The script might no run on older generations anymore.
* Some of the things that are gathered might not be
properly picked (like z/VM data on LPAR).
* If a step fails (like in the past), no summarized
output might be generated.
__________
Description: dbginfo.sh: stabilization of data collection
Symptom: - script hangup possible on single commands
- missing data collection on error
- overwrite of buffers by diag commands
Problem: hangup and loss of data collection
Solution: rework code regarding
- add timeout function
- remove problematic commands
- include handling improvements
Component: s390-tools
tags: | added: architecture-s39064 bugnameltc-198039 severity-high targetmilestone-inin2204 |
Changed in ubuntu: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
affects: | ubuntu → linux (Ubuntu) |
affects: | linux (Ubuntu) → s390-tools (Ubuntu) |
Changed in ubuntu-z-systems: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
importance: | Undecided → High |
Changed in s390-tools (Ubuntu): | |
assignee: | Skipper Bug Screeners (skipper-screen-team) → Frank Heimes (fheimes) |
Changed in s390-tools (Ubuntu): | |
status: | New → In Progress |
Changed in ubuntu-z-systems: | |
status: | New → In Progress |
Changed in s390-tools (Ubuntu Kinetic): | |
assignee: | Frank Heimes (fheimes) → nobody |
Changed in s390-tools (Ubuntu Jammy): | |
status: | New → In Progress |
Changed in s390-tools (Ubuntu Kinetic): | |
status: | In Progress → Fix Committed |
Changed in ubuntu-z-systems: | |
status: | In Progress → Fix Committed |
Changed in s390-tools (Ubuntu Jammy): | |
importance: | Undecided → High |
Changed in s390-tools (Ubuntu Kinetic): | |
importance: | Undecided → High |
Changed in ubuntu-z-systems: | |
status: | Fix Committed → Fix Released |
------- Comment From <email address hidden> 2022-05-06 05:00 EDT-------
With Ubuntu 22.04 being based on s390-tools v2.20, the following patches need to be applied for jammy on top of s390-tools v2.20 for the stabilization of data collection with dbginfo.sh.
Commits based on s390-tools v2.20:
02a0d12988c4388 6943a26d3617b8f 9422e6171a 3ca0e92316ce6e1 492c046e73 ae6c90b727b09fa fb52f8a46d 002fb2cd6074086 6b2960c8c6 2f906c4eb98398e 8fcf03f0b8 133406848c5cee2 b1d40cf7c8 3d973dcd90ac739 21a8dc55ce 8ea54847d2dec36 0508c427f5 7df7c2b4e81ad2f 2db448d43f adaff2b268876bb f330a0f985 26ade6ffac88168 f90a686ba5 12726aaea9d46e9 8af86fc049 1755ca933d849c1 f4964f4827 7e3c5ea83cfc7ff 71b964dca8
be47b5189043369
2677a4182db0303
812df795c346c39
a0d6edf03c255ca
81920f7cfd964f8
a8579a072757ddd
2ab27bdaf2f0086
50a474044367373
164d4817ecca5de
abec41f514eea8b
fcb503ea3c9bd86
2eea614bbff9e4e
3a13cb43f211d99