Skip to content

I'm running a test with ctest, but I'm getting a lot of errors. #4979

@dabao1990

Description

@dabao1990

一、 installed both
1、spack install --overwrite --keep-stage --no-checksum -y [email protected] [email protected]
2、cd [email protected]
3、ctest

cat /etc/os-release
NAME="openEuler"
VERSION="24.03 (LTS-SP2)"
ID="openEuler"
VERSION_ID="24.03"
PRETTY_NAME="openEuler 24.03 (LTS-SP2)"
ANSI_COLOR="0;31"

gcc --version
gcc (GCC) 12.3.1 (openEuler 12.3.1-95.oe2403sp2)

=======
The following error message is displayed during the test:

84% tests passed, 21 tests failed out of 133
Total Test time (real) = 603.09 sec
The following tests FAILED:
5 - igrep (Failed)
17 - oiiotool-text (Failed)
37 - texture-crop (Failed)
42 - texture-interp-bilinear (Failed)
44 - texture-levels-stochaniso (Failed)
45 - texture-levels-stochmip (Failed)
56 - texture-uint8 (Failed)
60 - texture-skinny (Failed)
72 - texture-crop.batch (Failed)
77 - texture-interp-bilinear.batch (Failed)
79 - texture-levels-stochaniso.batch (Failed)
80 - texture-levels-stochmip.batch (Failed)
91 - texture-uint8.batch (Failed)
95 - texture-skinny.batch (Failed)
101 - openvdb-broken (Failed)
102 - texture-texture3d-broken (Failed)
103 - openvdb.batch-broken (Failed)
104 - texture-texture3d.batch-broken (Failed)
105 - ptex-broken (Failed)
Errors while running CTest

=======
I intercepted some of the error information.

37/133 Test: texture-crop
Command: "/home/stage/root/spack-stage-openimageio-3.0.13.0-7rf6ipitgh53pakpfzanqj4r634wfikt/spack-src/testsuite/runtest.py" "/home/stage/root/spack-stage-openimageio-3.0.13.0-7rf6ipitgh53pakpfzanqj4r634wfikt/spack-build-7rf6ipi/testsuite/texture-crop"
Directory: /home/stage/root/spack-stage-openimageio-3.0.13.0-7rf6ipitgh53pakpfzanqj4r634wfikt/spack-build-7rf6ipi
"texture-crop" start time: Dec 15 10:09 CST
Output:

Comparing "out.exr" and "ref/out.exr"
512 x 512, 4 channels
Mean error = 4.66268e-05
RMS error = 0.000265097
Peak SNR = 71.5319
Max error = 0.019043 @ (267, 140, B) values are 0.36010742, 0.36010742, 0.7080078, 1 vs 0.3696289, 0.3696289, 0.7270508, 1
1 pixels (0.000381%) over 0.008
1 pixels (0.000381%) over 0.004
FAILURE
newsymlink /home/stage/root/spack-stage-openimageio-3.0.13.0-7rf6ipitgh53pakpfzanqj4r634wfikt/spack-src/testsuite/texture-crop/ref ./ref
newsymlink /home/stage/root/spack-stage-openimageio-3.0.13.0-7rf6ipitgh53pakpfzanqj4r634wfikt/spack-src/testsuite/texture-crop ./data
command = ../../bin/oiiotool ../common/grid.tif --crop 512x512+200+100 -o grid-crop.tif >> out.txt ;
../../bin/maketx grid-crop.tif -o grid-crop.tx >> out.txt ;
../../bin/testtex grid-crop.tx --wrap black >> out.txt ;

101/133 Test: openvdb-broken
Command: "/home/stage/root/spack-stage-openimageio-3.0.13.0-7rf6ipitgh53pakpfzanqj4r634wfikt/spack-src/testsuite/runtest.py" "/home/stage/root/spack-stage-openimageio-3.0.13.0-7rf6ipitgh53pakpfzanqj4r634wfikt/spack-build-7rf6ipi/testsuite/openvdb"
Directory: /home/stage/root/spack-stage-openimageio-3.0.13.0-7rf6ipitgh53pakpfzanqj4r634wfikt/spack-build-7rf6ipi
"openvdb-broken" start time: Dec 15 10:12 CST
Output:

Created texture system
Result of get_texture_info resolution (as int[2]) = false 0x0
Result of get_texture_info resolution (as int[3]) = false 0x0x0
Result of get_texture_info channels = false 0
Result of get_texture_info channels = false 0
Result of get_texture_info data format = false unknown
Result of get_texture_info datawindow (as int[4]) = false [256 0 -215954016 65535]
Result of get_texture_info datawindow (as int[6]) = false [256 0 -215954016 65535 4301632 0]
Result of get_texture_info displaywindow (as int[4]) = false [256 0 -215954016 65535]
Result of get_texture_info displaywindow (as int[6]) = false [256 0 -215954016 65535 4301632 0]
Result of get_texture_info averagecolor = no
Result of get_texture_info averagealpha = no
Result of get_texture_info constantcolor = no
Result of get_texture_info constantalpha = no
Texture type is false

Invalid image file "src/sphereCd.vdb": OpenImageIO could not find a format reader for "src/sphereCd.vdb". Is it a file format that OpenImageIO doesn't know about?
Invalid image file "src/sphereCd.vdb": OpenImageIO could not find a format reader for "src/sphereCd.vdb". Is it a file format that OpenImageIO doesn't know about?
Invalid image file "src/sphereCd.vdb": OpenImageIO could not find a format reader for "src/sphereCd.vdb". Is it a file format that OpenImageIO doesn't know about?
Invalid image file "src/sphereCd.vdb": OpenImageIO could not find a format reader for "src/sphereCd.vdb". Is it a file format that OpenImageIO doesn't know about?
Invalid image file "src/sphereCd.vdb": OpenImageIO could not find a format reader for "src/sphereCd.vdb". Is it a file format that OpenImageIO doesn't know about?
Invalid image file "src/sphereCd.vdb": OpenImageIO could not find a format reader for "src/sphereCd.vdb". Is it a file format that OpenImageIO doesn't know about?
Invalid image file "src/sphereCd.vdb": OpenImageIO could not find a format reader for "src/sphereCd.vdb". Is it a file format that OpenImageIO doesn't know about?
Could not get spec for src/sphereCd.vdb
ERROR: Invalid image file "src/sphereCd.vdb": OpenImageIO could not find a format reader for "src/sphereCd.vdb". Is it a file format that OpenImageIO doesn't know about?
oiiotool ERROR: read : OpenImageIO could not find a format reader for "src/sphere.vdb". Is it a file format that OpenImageIO doesn't know about?
Full command line was:

oiiotool -echo "info openvdb" --info -v --dumpdata:empty=0 src/sphere.vdb
Comparing "sphere.exr" and "ref/sphere.exr"
512 x 512, 4 channels
Mean error = 0.858927
RMS error = 0.916921
Peak SNR = 0.753361
Max error = 1 @ (0, 0, R) values are 1, 1, 1, 1 vs 0, 0, 0, 0
262144 pixels (100%) over 0.008
262144 pixels (100%) over 0.004
FAILURE
Comparing "sphereCd.exr" and "ref/sphereCd.exr"
512 x 512, 4 channels
Mean error = 0.990626
RMS error = 1.07086
Peak SNR = -0.594649
Max error = 1.99805 @ (51, 0, G) values are 1, 1, 1, 1 vs -0.7988281, -0.9980469, -1.1920929e-07, 0
262144 pixels (100%) over 0.008
262144 pixels (100%) over 0.004

comparisons are ['ref/sphereCd.exr']
comparing sphereCd.exr to ref/sphereCd.exr
NO MATCH for sphereCd.exr
FAIL sphereCd.exr

Test time = 1.91 sec

Test Failed.
"openvdb-broken" end time: Dec 15 10:12 CST
"openvdb-broken" time elapsed: 00:00:01

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions