Bug 494571 - read-exr and write-exr autotests started to fail with openexr >= 3.3.0
Summary: read-exr and write-exr autotests started to fail with openexr >= 3.3.0
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kimageformats
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 6.7.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Alex Merry
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-11 22:06 UTC by Heiko Becker
Modified: 2024-10-12 05:28 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Becker 2024-10-11 22:06:02 UTC
SUMMARY
The kimageformas-read-exr and kimageformats-write-exr autotests started to fail with openexr >= 3.3.0

STEPS TO REPRODUCE
1.  cmake && ninja && ninja test

OBSERVED RESULT
23/27 Test #23: kimageformats-read-exr ...........***Failed    0.02 sec
********* Starting basic read tests for exr images *********
QImageReader::supportedImageFormats: 3fr, ani, arq, arw, avif, avifs, bay, bmp, bmq, bw, cap, cine, cr2, cr3, crw, cs1, cur, dc2, dcr, dcs, dng, drf, dxo, eip, eps, epsf, epsi, erf, exr, fff, gif, hdr, heic, heif, icns, ico, iiq, im1, im24, im32, im8, jfif, jpeg, jpg, jxl, k25, kc2, kdc, kra, mdc, mef, mfw, mng, mos, mrw, nef, nrw, obm, ora, orf, ori, pbm, pcx, pdd, pdf, pef, pfm, pgm, pic, png, ppm, psb, psd, psdt, ptx, pxn, pxr, qoi, qtk, r3d, raf, ras, raw, rdc, rgb, rgba, rw2, rwl, rwz, sgi, sr2, srf, srw, sti, sun, svg, svgz, tga, tif, tiff, wbmp, webp, x3f, xbm, xcf, xpm
* Run on RANDOM ACCESS device
FAIL : gray.exr: error while reading options
FAIL : rgb-gimp.exr: error while reading options
* Run on SEQUENTIAL ACCESS device
FAIL : gray.exr: failed to load: Unable to read image data
FAIL : rgb-gimp.exr: failed to load: Unable to read image data
Totals: 0 passed, 0 skipped, 4 failed
********* Finished basic read tests for exr images *********

      Start 24: kimageformats-write-exr
24/27 Test #24: kimageformats-write-exr ..........***Failed    0.03 sec
********* Starting basic write tests for exr images *********
FAIL : bw.png: could not read back the written data
FAIL : bwa.png: could not read back the written data
FAIL : rgb.png: could not read back the written data
FAIL : rgba.png: could not read back the written data
Totals: 0 passed, 4 failed
********* Finished basic write tests for exr images *********

EXPECTED RESULT
autotests pass

SOFTWARE/OS VERSIONS
Linux
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Comment 1 Bug Janitor Service 2024-10-11 23:48:11 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kimageformats/-/merge_requests/262
Comment 2 Albert Astals Cid 2024-10-12 05:28:38 UTC
Git commit 7d696a81d2bda42e118bdd464757541a4464bd47 by Albert Astals Cid.
Committed on 11/10/2024 at 23:47.
Pushed by mircomir into branch 'master'.

exr: Fix read/write with openexr 3.3

It really wants to have a filename

Also it uses seek and tell a lot so sequential devices are for now not
supported

M  +16   -9    src/imageformats/exr.cpp

https://invent.kde.org/frameworks/kimageformats/-/commit/7d696a81d2bda42e118bdd464757541a4464bd47