[Bug 2091811] Re: SRU: backport timestamps in subsection messages

Matthias Klose 2091811 at bugs.launchpad.net
Tue Dec 17 11:20:56 UTC 2024


** Description changed:

  For upcoming test rebuilds, we would like to analyze build times, and
  measuring different phases of a build as well, like build-chroot's
  upgrade times, installation of build dependencies, and the build itself.
  Therefore we add timestamps to existing log messages already emitted by
  sbuild. These changes are in plucky (sbuild 0.87.1ubuntu2), and need to
  be backported up to jammy (the sbuild from the distro is used for the
  launchpad builders).
  
  [ Impact ]
  
   * Emit time stamps in the build log for subsection messages.
  
  [ Test Plan ]
  
   * sbuild has an autopkg test doing a test build of a package.
     Make sure that the subsection messages show the timestamp.
  
  [ Where problems could occur ]
  
   * This only has an (desired) impact for the build log.  There are
     currently no known tools using these messages for parsing.
  
     The messages are already in ascii formatted boxes, the timestamp
     just replaces some white space, so even the length of the build
     log stays the same.
  
  [ Other Info ]
  
   * We would like to start the test rebuilds on Dec 20, so it
     would be nice to have that change availabe in the updates
     pocket at that time.
  
   * This change is already accepted upstream and is part of
     the 0.88.0 release.
+ 
+ 
+ the upload for 24.04 LTS also includes all updates to the 0.85.x series, as found in 24.10, adding some bug fixes:
+ 
+ +sbuild (0.85.10ubuntu0.1) noble-proposed; urgency=medium
+ +
+ +  * SRU: LP: #2091811: Add timestamps to the subsection log messages.
+ +
+ + -- Matthias Klose <doko at ubuntu.com>  Sun, 15 Dec 2024 13:24:33 +0100
+ +
+ +sbuild (0.85.10) unstable; urgency=medium
+ +
+ +  * autopkgtest: skip test for unreleased architecture
+ +
+ + -- Jochen Sprickerhof <jspricke at debian.org>  Thu, 30 May 2024 10:41:26 +0200
+ +
+ +sbuild (0.85.9) unstable; urgency=medium
+ +
+ +  [ Aurelien Jarno ]
+ +  * Unshare: add IPv6 loopback address to /etc/hosts
+ +  * Unshare: preserve HOME environment variable
+ +  * Unshare: define the LOGNAME environment variable
+ +
+ +  [ Christian Kastner ]
+ +  * sbuild-qemu: Fix typo breaking one guess for image path
+ +  * sbuild-qemu: Don't add --dist (Closes: #1071000)
+ +
+ +  [ Helmut Grohne ]
+ +  * lib/Sbuild/ChrootUnshare.pm: Do not expose /sys/kernel in the unshare backend.
+ +    (Closes: #1071234)
+ +
+ +  [ Timo Röhling ]
+ +  * Relax permissions on pipes connected to STDOUT (Closes: #1070007)
+ +
+ +  [ Johannes Schauer Marin Rodrigues ]
+ +  * lib/Sbuild/Conf.pm: make the schroot binary configurable via ~/.sbuildrc
+ +  * bin/sbuild: only check group membership if 'schroot' is configured as the schroot binary
+ +
+ + -- Jochen Sprickerhof <jspricke at debian.org>  Wed, 29 May 2024 10:46:22 +0200
+ +
+ +sbuild (0.85.8) unstable; urgency=medium
+ +
+ +  [ Aurelien Jarno ]
+ +  * man/sbuild-createchroot.8.in: fix unshare mode example
+ +  * Unshare: use linux32 personality for 32-bit on 64-bit architectures
+ +
+ + -- Jochen Sprickerhof <jspricke at debian.org>  Thu, 25 Apr 2024 14:49:56 +0200
+ +
+ 
+ launchpad doesn't use sbuild from 24.04 LTS yet.

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

Title:
  SRU: backport timestamps in subsection messages

Status in sbuild package in Ubuntu:
  Fix Released
Status in sbuild source package in Jammy:
  Fix Committed
Status in sbuild source package in Noble:
  Fix Committed
Status in sbuild source package in Oracular:
  Fix Committed

Bug description:
  For upcoming test rebuilds, we would like to analyze build times, and
  measuring different phases of a build as well, like build-chroot's
  upgrade times, installation of build dependencies, and the build
  itself.  Therefore we add timestamps to existing log messages already
  emitted by sbuild. These changes are in plucky (sbuild 0.87.1ubuntu2),
  and need to be backported up to jammy (the sbuild from the distro is
  used for the launchpad builders).

  [ Impact ]

   * Emit time stamps in the build log for subsection messages.

  [ Test Plan ]

   * sbuild has an autopkg test doing a test build of a package.
     Make sure that the subsection messages show the timestamp.

  [ Where problems could occur ]

   * This only has an (desired) impact for the build log.  There are
     currently no known tools using these messages for parsing.

     The messages are already in ascii formatted boxes, the timestamp
     just replaces some white space, so even the length of the build
     log stays the same.

  [ Other Info ]

   * We would like to start the test rebuilds on Dec 20, so it
     would be nice to have that change availabe in the updates
     pocket at that time.

   * This change is already accepted upstream and is part of
     the 0.88.0 release.

  
  the upload for 24.04 LTS also includes all updates to the 0.85.x series, as found in 24.10, adding some bug fixes:

  +sbuild (0.85.10ubuntu0.1) noble-proposed; urgency=medium
  +
  +  * SRU: LP: #2091811: Add timestamps to the subsection log messages.
  +
  + -- Matthias Klose <doko at ubuntu.com>  Sun, 15 Dec 2024 13:24:33 +0100
  +
  +sbuild (0.85.10) unstable; urgency=medium
  +
  +  * autopkgtest: skip test for unreleased architecture
  +
  + -- Jochen Sprickerhof <jspricke at debian.org>  Thu, 30 May 2024 10:41:26 +0200
  +
  +sbuild (0.85.9) unstable; urgency=medium
  +
  +  [ Aurelien Jarno ]
  +  * Unshare: add IPv6 loopback address to /etc/hosts
  +  * Unshare: preserve HOME environment variable
  +  * Unshare: define the LOGNAME environment variable
  +
  +  [ Christian Kastner ]
  +  * sbuild-qemu: Fix typo breaking one guess for image path
  +  * sbuild-qemu: Don't add --dist (Closes: #1071000)
  +
  +  [ Helmut Grohne ]
  +  * lib/Sbuild/ChrootUnshare.pm: Do not expose /sys/kernel in the unshare backend.
  +    (Closes: #1071234)
  +
  +  [ Timo Röhling ]
  +  * Relax permissions on pipes connected to STDOUT (Closes: #1070007)
  +
  +  [ Johannes Schauer Marin Rodrigues ]
  +  * lib/Sbuild/Conf.pm: make the schroot binary configurable via ~/.sbuildrc
  +  * bin/sbuild: only check group membership if 'schroot' is configured as the schroot binary
  +
  + -- Jochen Sprickerhof <jspricke at debian.org>  Wed, 29 May 2024 10:46:22 +0200
  +
  +sbuild (0.85.8) unstable; urgency=medium
  +
  +  [ Aurelien Jarno ]
  +  * man/sbuild-createchroot.8.in: fix unshare mode example
  +  * Unshare: use linux32 personality for 32-bit on 64-bit architectures
  +
  + -- Jochen Sprickerhof <jspricke at debian.org>  Thu, 25 Apr 2024 14:49:56 +0200
  +

  launchpad doesn't use sbuild from 24.04 LTS yet.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sbuild/+bug/2091811/+subscriptions




More information about the foundations-bugs mailing list