Public bug reported:

on resolute, autopkgtests for pristine-tar fail when running
test_recompress.sh

specifically, the test in question calls:

try_with_and_without_recompress() {
  tarball="$1"
  name="$(basename "$tarball")"
  cp $SAMPLES/$tarball .
  silent_run pristine-tar gendelta $name regular.delta
  silent_run pristine-tar --recompress gendelta $name compressed.delta
  regular_delta_size=$(get_size regular.delta)
  compressed_delta_size=$(get_size compressed.delta)
}

$tarball in this case is
test/samples/tarballs/plasmidomics_0.2.0.orig.tar.gz

On s390x the 'compressed.delta' often is _not_ smaller than the original
delta. A simple reproducer using `pristine-tar` 1.50+nmu2build2 compiled
with zlib1g-dev 1:1.3.dfsg+really1.3.1-1ubuntu1 (what is currently in
resolute as of 20260122) is attached. on an s390x system

./many_compressions.sh 1000 ./plasmidomics_0.2.0.orig.tar.gz | tee
many_compressions.log

checking the log for failures resulted in:

grep "FAIL" ./many_compressions.log | wc -l
534

This may be related to the following change or current s390x baseline
and hardware compression:

- Compile with DFLTCC enabled on s390x and
  hardware compression at level 6

relevant test failure
https://autopkgtest.ubuntu.com/results/autopkgtest-
resolute/resolute/s390x/p/pristine-tar/20260121_191155_d2c51@/log.gz

** Affects: pristine-tar (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: zlib (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: pristine-tar (Ubuntu Resolute)
     Importance: Undecided
         Status: New

** Affects: zlib (Ubuntu Resolute)
     Importance: Undecided
         Status: New


** Tags: update-excuse

** Attachment added: "many_compresses.sh"
   
https://bugs.launchpad.net/bugs/2138882/+attachment/5940368/+files/many_compresses.sh

** Also affects: pristine-tar (Ubuntu Resolute)
   Importance: Undecided
       Status: New

** Also affects: zlib (Ubuntu)
   Importance: Undecided
       Status: New

** Description changed:

  on resolute, autopkgtests for pristine-tar fail when running
  test_recompress.sh
  
  specifically, the test in question calls:
  
  try_with_and_without_recompress() {
-   tarball="$1"
-   name="$(basename "$tarball")"
-   cp $SAMPLES/$tarball .
-   silent_run pristine-tar gendelta $name regular.delta
-   silent_run pristine-tar --recompress gendelta $name compressed.delta
-   regular_delta_size=$(get_size regular.delta)
-   compressed_delta_size=$(get_size compressed.delta)
+   tarball="$1"
+   name="$(basename "$tarball")"
+   cp $SAMPLES/$tarball .
+   silent_run pristine-tar gendelta $name regular.delta
+   silent_run pristine-tar --recompress gendelta $name compressed.delta
+   regular_delta_size=$(get_size regular.delta)
+   compressed_delta_size=$(get_size compressed.delta)
  }
  
  $tarball in this case is
  test/samples/tarballs/plasmidomics_0.2.0.orig.tar.gz
  
  On s390x the 'compressed.delta' often is _not_ smaller than the original
- delta. See a simple reproduced using `pristine-tar` 1.50+nmu2build2
- compiled with zlib1g-dev 1:1.3.dfsg+really1.3.1-1ubuntu1 (what is
- currently in resolute as of 20260122).
+ delta. A simple reproducer using `pristine-tar` 1.50+nmu2build2 compiled
+ with zlib1g-dev 1:1.3.dfsg+really1.3.1-1ubuntu1 (what is currently in
+ resolute as of 20260122) is attached. on an s390x system
+ 
+ ./many_compressions.sh 1000 ./plasmidomics_0.2.0.orig.tar.gz | tee
+ many_compressions.log
+ 
+ checking the log for failures resulted in:
+ 
+ grep "FAIL" ./many_compressions.log | wc -l
+ 534
  
  This may be related to the following change or current s390x baseline
  and hardware compression:
  
  - Compile with DFLTCC enabled on s390x and
-   hardware compression at level 6
+   hardware compression at level 6
  
  relevant test failure
  https://autopkgtest.ubuntu.com/results/autopkgtest-
  resolute/resolute/s390x/p/pristine-tar/20260121_191155_d2c51@/log.gz

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

Title:
  [autopkgtest][resolute] s390x Test Failures on test_recompress.sh

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pristine-tar/+bug/2138882/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to