[Bug 1971959] Re: [UBUNTU 22.04] dbginfo.sh: stabilization of data collection

Frank Heimes 1971959 at bugs.launchpad.net
Thu Jun 23 09:41:38 UTC 2022


Sorry, I totally missed to copy over the SRU Justification from my notes to the Bug description.
Did it now - test plan is included.

** Description changed:

+ 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/DBGINFO-*.tgz
+ 
+ [Where problems could occur]
+ 
+  * The script might no run on older releases anymore
+    (but that's very unlikely).
+ 
+  * Some of the things that are gathered might not be
+    properly picked (like z/VM data on LPAR). 
+ 
+ __________
+ 
  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
+                 - 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         
+ Solution:      rework code regarding
+                 - add timeout function
+                 - remove problematic commands
+                 - include handling improvements
  Component:     s390-tools

** Description changed:

  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.
+  * 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,
+  * Script hangups are possible on single commands,
  
-  * potentially missing data collection on error
+  * potentially missing data collection on error
  
-  * and overwrites of buffers by diag commands.
+  * 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.
+  * 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.
+  * 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).
+  * Execute dbginfo.sh (as root or with sudo).
  
-  * Monitor the output and verify if all 18 steps are completed,
-    without any crashes or hangs.
+  * 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/DBGINFO-*.tgz
+  * Inspect the size and content of the result file:
+    /tmp/DBGINFO-*.tgz
  
  [Where problems could occur]
  
-  * The script might no run on older releases anymore
-    (but that's very unlikely).
+  * The script might no run on older releases anymore.
  
-  * Some of the things that are gathered might not be
-    properly picked (like z/VM data on LPAR). 
+  * 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

** Description changed:

  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/DBGINFO-*.tgz
  
  [Where problems could occur]
  
-  * The script might no run on older releases anymore.
+  * 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.
+  * 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

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

Title:
  [UBUNTU 22.04] dbginfo.sh: stabilization of data collection

Status in Ubuntu on IBM z Systems:
  Fix Committed
Status in s390-tools package in Ubuntu:
  Fix Released
Status in s390-tools source package in Jammy:
  In Progress
Status in s390-tools source package in Kinetic:
  Fix Released

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/DBGINFO-*.tgz

  [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

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




More information about the foundations-bugs mailing list