all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#65441: leptonica 1.83.1 ioformats_reg test failure
@ 2023-08-21 19:44 Maxim Cournoyer
  2024-02-15 12:59 ` Ahmad Draidi via Bug reports for GNU Guix
  0 siblings, 1 reply; 3+ messages in thread
From: Maxim Cournoyer @ 2023-08-21 19:44 UTC (permalink / raw)
  To: 65441

Hello,

This package's test suite sometimes fail; here's the test output for the
failed test:

--8<---------------cut here---------------start------------->8---
////////////////////////////////////////////////
////////////////   ioformats_reg   ///////////////
////////////////////////////////////////////////
leptonica-1.83.1 : libgif 5.2.1 : libjpeg 6b (libjpeg-turbo 2.1.4) : libpng 1.6.37 : libtiff 4.4.0 : zlib 1.2.13 : libwebp 1.2.4 : libopenjp2 2.5.0
Test bmp 1 bpp file:
Info in pixReadMemBmp: removing opaque cmap from 1 bpp
Info in ioFormatTest: write/read bmp
Info in pixReadMemBmp: removing opaque cmap from 1 bpp
Info in ioFormatTest: write/read png
Info in ioFormatTest: write/read uncompressed tiff
Info in ioFormatTest: write/read lzw compressed tiff
Info in ioFormatTest: write/read zip compressed tiff
Info in ioFormatTest: write/read g4 compressed tiff
Info in ioFormatTest: write/read g3 compressed tiff
Info in ioFormatTest: write/read rle compressed tiff
Info in ioFormatTest: write/read packbits compressed tiff
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in ioFormatTest: write/read jpeg
Info in ioFormatTest: write/read webp
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
diff =   1.789
Info in ioFormatTest: All formats read and written OK!

Test other 1 bpp file:
Info in ioFormatTest: write/read bmp
Info in pixReadMemBmp: removing opaque cmap from 1 bpp
Info in ioFormatTest: write/read png
Info in ioFormatTest: write/read uncompressed tiff
Info in ioFormatTest: write/read lzw compressed tiff
Info in ioFormatTest: write/read zip compressed tiff
Info in ioFormatTest: write/read g4 compressed tiff
Info in ioFormatTest: write/read g3 compressed tiff
Info in ioFormatTest: write/read rle compressed tiff
Info in ioFormatTest: write/read packbits compressed tiff
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in ioFormatTest: write/read jpeg
Info in ioFormatTest: write/read webp
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
diff =   1.632
Info in ioFormatTest: All formats read and written OK!

Test 2 bpp file:
Info in ioFormatTest: write/read bmp
Warning in pixWriteMemBmp: 2 bpp files can't be read; converting to 8 bpp
Error in findFileFormatStream: truncated file
Error in pixReadStream: Unknown format: no pix returned
Error in pixRead: pix not read
Error in pixEqualWithAlpha: pix1 and pix2 not both defined
Info in ioFormatTest:    **** bad bmp image: d = 2 ****
Info in ioFormatTest: write/read png
Info in ioFormatTest: write/read uncompressed tiff
Info in ioFormatTest: write/read lzw compressed tiff
Info in ioFormatTest: write/read zip compressed tiff
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in ioFormatTest: write/read jpeg
Info in ioFormatTest: write/read webp
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
diff =   1.608

Test 2 bpp file with cmap:
Info in ioFormatTest: write/read bmp
Warning in pixWriteMemBmp: 2 bpp files can't be read; converting to 8 bpp
Info in ioFormatTest: write/read png
Info in ioFormatTest: write/read uncompressed tiff
Info in ioFormatTest: write/read lzw compressed tiff
Info in ioFormatTest: write/read zip compressed tiff
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in ioFormatTest: write/read jpeg
Info in ioFormatTest: write/read webp
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
diff =   2.770
Info in ioFormatTest: All formats read and written OK!

Test 4 bpp file:
Info in ioFormatTest: write/read bmp
Info in ioFormatTest: write/read png
Info in ioFormatTest: write/read uncompressed tiff
Info in ioFormatTest: write/read lzw compressed tiff
Info in ioFormatTest: write/read zip compressed tiff
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in ioFormatTest: write/read jpeg
Info in ioFormatTest: write/read webp
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
diff =   1.841
Info in ioFormatTest: All formats read and written OK!

Test 4 bpp file with cmap:
Info in ioFormatTest: write/read bmp
Info in ioFormatTest: write/read png
Info in ioFormatTest: write/read uncompressed tiff
Info in ioFormatTest: write/read lzw compressed tiff
Info in ioFormatTest: write/read zip compressed tiff
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in ioFormatTest: write/read jpeg
Info in ioFormatTest: write/read webp
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
diff =   3.486
Info in ioFormatTest: All formats read and written OK!

Test 8 bpp grayscale file with cmap:
Info in ioFormatTest: write/read bmp
Info in ioFormatTest: write/read png
Info in ioFormatTest: write/read uncompressed tiff
Info in cmapEqual: colormap sizes are different
Info in ioFormatTest: write/read lzw compressed tiff
Info in cmapEqual: colormap sizes are different
Info in ioFormatTest: write/read zip compressed tiff
Info in cmapEqual: colormap sizes are different
Info in ioFormatTest: write/read jpeg compressed tiff
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in cmapEqual: colormap sizes are different
Info in ioFormatTest: write/read jpeg
Info in ioFormatTest: write/read webp
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
diff =   2.535
Info in ioFormatTest: All formats read and written OK!

Test 8 bpp color file with cmap:
Info in ioFormatTest: write/read bmp
Info in ioFormatTest: write/read png
Info in ioFormatTest: write/read uncompressed tiff
Info in cmapEqual: colormap sizes are different
Info in ioFormatTest: write/read lzw compressed tiff
Info in cmapEqual: colormap sizes are different
Info in ioFormatTest: write/read zip compressed tiff
Info in cmapEqual: colormap sizes are different
Info in ioFormatTest: write/read jpeg compressed tiff
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in cmapEqual: colormap sizes are different
Info in ioFormatTest: write/read jpeg
Info in ioFormatTest: write/read webp
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
Error in pixReadStreamJp2k: failed to read the header
Error in pixReadStream: jp2: no pix returned
Error in pixRead: pix not read
Error in pixCompareRGB: pix2 not defined or not ew bpp
diff =   0.000
Info in ioFormatTest: All formats read and written OK!

Test 8 bpp file without cmap:
Info in ioFormatTest: write/read bmp
Info in ioFormatTest: write/read png
Info in ioFormatTest: write/read uncompressed tiff
Info in ioFormatTest: write/read lzw compressed tiff
Info in ioFormatTest: write/read zip compressed tiff
Info in ioFormatTest: write/read jpeg compressed tiff
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in ioFormatTest: write/read jpeg
Info in ioFormatTest: write/read webp
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
diff =   3.395
Info in ioFormatTest: All formats read and written OK!

Test 16 bpp file:
Info in ioFormatTest: write/read uncompressed tiff
Info in ioFormatTest: write/read lzw compressed tiff
Info in ioFormatTest: write/read zip compressed tiff
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in ioFormatTest: write/read jpeg
Info in ioFormatTest: write/read webp
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
Error in pixReadStreamJp2k: failed to read the header
Error in pixReadStream: jp2: no pix returned
Error in pixRead: pix not read
Error in pixCompareRGB: pix2 not defined or not ew bpp
diff =   0.000
Info in ioFormatTest: All formats read and written OK!

Test 32 bpp files:
Info in ioFormatTest: write/read bmp
Info in ioFormatTest: write/read png
Info in pixEqualWithAlpha: no colormaps, pix depths unequal, and one of them is RGB
Info in ioFormatTest:    **** bad png image: d = 32 ****
Info in ioFormatTest: write/read uncompressed tiff
Info in ioFormatTest: write/read lzw compressed tiff
Info in ioFormatTest: write/read zip compressed tiff
Info in ioFormatTest: write/read jpeg compressed tiff
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in ioFormatTest: write/read jpeg
Info in ioFormatTest: write/read webp
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
diff =   3.773
Info in ioFormatTest: write/read bmp
Info in ioFormatTest: write/read png
Info in ioFormatTest: write/read uncompressed tiff
Info in ioFormatTest: write/read lzw compressed tiff
Info in ioFormatTest: write/read zip compressed tiff
Info in ioFormatTest: write/read jpeg compressed tiff
Info in pixCompareRGB: Images are pixel-wise identical
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in ioFormatTest: write/read jpeg
Info in pixCompareRGB: Images are pixel-wise identical
Info in ioFormatTest: write/read webp
Info in pixCompareRGB: Images are pixel-wise identical
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
Info in pixCompareRGB: Images are pixel-wise identical
diff =   0.000
Info in ioFormatTest: All formats read and written OK!

Test spp = 1, bpp = 1, cmap with alpha file:
Info in pixReadStreamPng: converting (cmap + alpha) ==> RGBA
Info in pixReadStreamPng: converting 1 bpp cmap with alpha ==> RGBA
Info in ioFormatTest: write/read bmp
Info in ioFormatTest: write/read png
Info in ioFormatTest: write/read uncompressed tiff
Info in ioFormatTest: write/read lzw compressed tiff
Info in ioFormatTest: write/read zip compressed tiff
Info in ioFormatTest: write/read jpeg compressed tiff
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in ioFormatTest: write/read jpeg
Info in ioFormatTest: write/read webp
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
Error in pixReadStreamJp2k: failed to read the header
Error in pixReadStream: jp2: no pix returned
Error in pixRead: pix not read
Error in pixCompareRGB: pix2 not defined or not ew bpp
diff =   0.000
Info in ioFormatTest: All formats read and written OK!

Test spp = 1, bpp = 8, cmap with alpha file:
Info in pixReadStreamPng: converting (cmap + alpha) ==> RGBA
Info in pixReadStreamPng: converting 8 bpp cmap with alpha ==> RGBA
Info in ioFormatTest: write/read bmp
Info in ioFormatTest: write/read png
Info in ioFormatTest: write/read uncompressed tiff
Info in ioFormatTest: write/read lzw compressed tiff
Info in ioFormatTest: write/read zip compressed tiff
Info in ioFormatTest: write/read jpeg compressed tiff
Info in pixCompareRGB: Images are pixel-wise identical
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in ioFormatTest: write/read jpeg
Info in pixCompareRGB: Images are pixel-wise identical
Info in ioFormatTest: write/read webp
Info in pixCompareRGB: Images are pixel-wise identical
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
Info in pixCompareRGB: Images are pixel-wise identical
diff =   0.000
Info in ioFormatTest: All formats read and written OK!

Test spp = 1, fully transparent with alpha file:
Info in pixReadStreamPng: transparency, 1 spp, no colormap, no transparency array: convention is fully transparent image
Info in pixReadStreamPng: converting (fully transparent 1 spp) ==> RGBA
Info in ioFormatTest: write/read bmp
Info in ioFormatTest: write/read png
Info in ioFormatTest: write/read uncompressed tiff
Info in ioFormatTest: write/read lzw compressed tiff
Info in ioFormatTest: write/read zip compressed tiff
Info in ioFormatTest: write/read jpeg compressed tiff
Info in pixCompareRGB: Images are pixel-wise identical
Info in ioFormatTest: write/read pnm
Error in pixReadStreamPnm: read error type 6
Error in pixReadStream: pnm: no pix returned
Error in pixRead: pix not read
Error in pixEqualWithAlpha: pix1 and pix2 not both defined
Info in ioFormatTest:    **** bad pnm image: d = 32 ****
Info in ioFormatTest: write/read gif
Info in ioFormatTest: write/read jpeg
Info in pixCompareRGB: Images are pixel-wise identical
Info in ioFormatTest: write/read webp
Info in pixCompareRGB: Images are pixel-wise identical
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
Info in pixCompareRGB: Images are pixel-wise identical
diff =   0.000

Test spp = 2, gray with alpha file:
Info in pixReadStreamPng: converting (gray + alpha) ==> RGBA
Info in ioFormatTest: write/read bmp
Info in ioFormatTest: write/read png
Info in ioFormatTest: write/read uncompressed tiff
Info in ioFormatTest: write/read lzw compressed tiff
Info in ioFormatTest: write/read zip compressed tiff
Info in ioFormatTest: write/read jpeg compressed tiff
Info in pixCompareRGB: Images are pixel-wise identical
Info in ioFormatTest: write/read pnm
Info in ioFormatTest: write/read gif
Info in ioFormatTest: write/read jpeg
Info in pixCompareRGB: Images are pixel-wise identical
Info in ioFormatTest: write/read webp
Info in pixCompareRGB: Images are pixel-wise identical
Info in ioFormatTest: write/read jp2k
Warning in fgetJp2kResolution: image resolution not found
Info in pixCompareRGB: Images are pixel-wise identical
diff =   0.000
Info in ioFormatTest: All formats read and written OK!

  ******* Failure on at least one i/o format test ******
--8<---------------cut here---------------end--------------->8---

I'm not sure from the above output what is wrong exactly.  To be investigated.

-- 
Thanks,
Maxim




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#65441: leptonica 1.83.1 ioformats_reg test failure
  2023-08-21 19:44 bug#65441: leptonica 1.83.1 ioformats_reg test failure Maxim Cournoyer
@ 2024-02-15 12:59 ` Ahmad Draidi via Bug reports for GNU Guix
  2024-02-24 10:26   ` Guillaume Le Vaillant
  0 siblings, 1 reply; 3+ messages in thread
From: Ahmad Draidi via Bug reports for GNU Guix @ 2024-02-15 12:59 UTC (permalink / raw)
  To: 65441

Greetings,

I looked into this and can see that running tests in parallel causes
random failures. I've seen the same thing on Debian also.

I've sent in a patch series[1] that includes a fix for this.

Thanks,
Ahmad

1: https://issues.guix.gnu.org/69166




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#65441: leptonica 1.83.1 ioformats_reg test failure
  2024-02-15 12:59 ` Ahmad Draidi via Bug reports for GNU Guix
@ 2024-02-24 10:26   ` Guillaume Le Vaillant
  0 siblings, 0 replies; 3+ messages in thread
From: Guillaume Le Vaillant @ 2024-02-24 10:26 UTC (permalink / raw)
  To: Ahmad Draidi; +Cc: 65441-done

[-- Attachment #1: Type: text/plain, Size: 60 bytes --]

Fixed in df5653adcbd1f9799f810f46d514b2ca4112af97.
Closing.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-02-24 10:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-21 19:44 bug#65441: leptonica 1.83.1 ioformats_reg test failure Maxim Cournoyer
2024-02-15 12:59 ` Ahmad Draidi via Bug reports for GNU Guix
2024-02-24 10:26   ` Guillaume Le Vaillant

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.