[Pkg-gmagick-im-team] Bug#981798: imagemagick breaks gscan2pdf autopkgtest: expected format changed

Paul Gevers elbrus at debian.org
Wed Feb 3 21:17:45 GMT 2021


Source: imagemagick, gscan2pdf
Control: found -1 imagemagick/8:6.9.11.60+dfsg-1
Control: found -1 gscan2pdf/2.10.2-1
Severity: serious
Tags: sid bullseye
X-Debbugs-CC: debian-ci at lists.debian.org
User: debian-ci at lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of imagemagick the autopkgtest of gscan2pdf fails
in testing when that autopkgtest is run with the binary packages of
imagemagick from unstable. It passes when run with only packages from
testing. In tabular form:

                       pass            fail
imagemagick            from testing    8:6.9.11.60+dfsg-1
gscan2pdf              from testing    2.10.2-1
all others             from testing    from testing

I copied some of the output at the bottom of this report. The error for
the first two sets of failures hit at a missing test dependency, but the
other...

Currently this regression is blocking the migration of imagemagick to
testing [1]. Due to the nature of this issue, I filed this bug report
against both packages. Can you please investigate the situation and
reassign the bug to the right package?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=imagemagick

https://ci.debian.net/data/autopkgtest/testing/amd64/g/gscan2pdf/10225709/log.gz

(1122_save_pdf_with_hocr.t:18459): dbind-WARNING **: 04:43:40.160:
AT-SPI: Error retrieving accessibility bus address:
org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not
provided by any .service files
Your system does not have Image::PNG::Libpng installed, so some
PNG functions may not run correctly.
Use of uninitialized value within @tags in concatenation (.) or string
at
/tmp/autopkgtest-lxc.fpzvb_nx/downtmp/build.uHw/src/blib/lib/Gscan2pdf/Bboxtree.pm
line 534.

#   Failed test 'import text layer'
#   at t/1122_save_pdf_with_hocr.t line 77.
#                   '<?xml version="1.0" encoding="UTF-8"?>
# <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
#  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
# <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
#  <head>
#   <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
#   <meta name='ocr-system' content='gscan2pdf 2.10.2' />
#   <meta name='ocr-capabilities' content='ocr_page ocr_carea ocr_par
ocr_line ocr_word'/>
#  </head>
#  <body>
# </>
#  </body>
# </html>
# '
#     doesn't match '(?^msx:bbox\s0\s0\s525\s21)'

#   Failed test 'PDF with expected text'
#   at t/1122_save_pdf_with_hocr.t line 89.
#                   ''
#     doesn't match '(?^:The\s*quick\s*brown\s*fox)'
# Looks like you failed 2 tests of 2.
t/1122_save_pdf_with_hocr.t ...................
1..2
not ok 1 - import text layer
not ok 2 - PDF with expected text
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests


[...]


(113_save_pdf_with_downsample.t:18616): dbind-WARNING **: 04:43:49.175:
AT-SPI: Error retrieving accessibility bus address:
org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not
provided by any .service files

(113_save_pdf_with_downsample.t:18616): GdkPixbuf-CRITICAL **:
04:43:50.307: gdk_pixbuf_new_from_file_at_scale: assertion 'height > 0
|| height == -1' failed
Your system does not have Image::PNG::Libpng installed, so some
PNG functions may not run correctly.

#   Failed test 'downsampled PDF smaller than original'
#   at t/113_save_pdf_with_downsample.t line 52.
#          got: ''
#     expected: '1'

#   Failed test 'downsampled'
#   at t/113_save_pdf_with_downsample.t line 55.
#                   'PBM 485x1 485x1+0+0 1-bit DirectClass Gray '
#     doesn't match '(?^:PBM 2\d\dx2\d 2\d\dx2\d[+]0[+]0 1-bit
DirectClass Gray)'
# Looks like you failed 2 tests of 2.
t/113_save_pdf_with_downsample.t ..............
1..2
not ok 1 - downsampled PDF smaller than original
not ok 2 - downsampled
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests


[...]


(134_save_tiff_alpha.t:19208): dbind-WARNING **: 04:44:21.007: AT-SPI:
Error retrieving accessibility bus address:
org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not
provided by any .service files

(134_save_tiff_alpha.t:19208): GdkPixbuf-CRITICAL **: 04:44:21.751:
gdk_pixbuf_new_from_file_at_scale: assertion 'height > 0 || height ==
-1' failed

#   Failed test 'valid TIFF created'
#   at t/134_save_tiff_alpha.t line 47.
#                   'test.tif TIFF 485x1 485x1+0+0 16-bit sRGB 690B
0.000u 0:00.000
# '
#     doesn't match '(?^:test.tif TIFF 4\d\dx\d\d 4\d\dx\d\d\+0\+0
16-bit sRGB)'
# Looks like you failed 1 test of 1.
t/134_save_tiff_alpha.t .......................
1..1
not ok 1 - valid TIFF created
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests


Test Summary Report
-------------------
t/1122_save_pdf_with_hocr.t                 (Wstat: 512 Tests: 2 Failed: 2)
  Failed tests:  1-2
  Non-zero exit status: 2
t/113_save_pdf_with_downsample.t            (Wstat: 512 Tests: 2 Failed: 2)
  Failed tests:  1-2
  Non-zero exit status: 2
t/134_save_tiff_alpha.t                     (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=242, Tests=1168, 374 wallclock secs ( 0.86 usr  0.32 sys + 201.15
cusr 29.89 csys = 232.22 CPU)
Result: FAIL

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-gmagick-im-team/attachments/20210203/cefe1128/attachment.sig>


More information about the Pkg-gmagick-im-team mailing list