Bug #13869
openExecuting `./test.wt` results in the following error:79681 - [info] "Wt: session created (#sessions = 1)" /home/stage/root/spack-stage-wt-4.12.0-vvvczhvsfsrgj7ubzr5lnvrvoslpegut/spack-src/test/mail/MailMessageTest.C(41): fatal error: in "Message_header_RF
0%
Description
Environmental Information:
OS:
cat /etc/os-release
NAME="SLES"
VERSION="15-SP1"
VERSION_ID="15.1"
PRETTY_NAME="SUSE Linux Enterprise Server 15 SP1"
ID="sles"
ID_LIKE="suse"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles:15:sp1"
GCC:
/usr/bin/gcc --version
gcc (SUSE Linux) 7.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
VERSION:4.12.0
Operation Steps:
1、spack install --keep-stage --no-checksum -y wt@4.12.0
2、cmake.. -DBUILD_TESTS=ON -DENABLE_LIBWTTEST=ON -DBUILD_EXAMPLES=ON -DINSTALL_EXAMPLES=ON; make -j96
3、/test.wt Error message is as follows:
Content-Type: application/pdf; name="hello.pdf"
Content-Disposition: attachment; filename="hello.pdf"
Content-Transfer-Encoding: base64
----=_gzqUusvMHGVOBikVSu6ywSyXZ40COXaUyHQSZ)GITmzxu0dow9--
[2025-Jul-28 16:04:37.775] 79681 - [info] "Wt: session created (#sessions = 1)"
/home/stage/root/spack-stage-wt-4.12.0-vvvczhvsfsrgj7ubzr5lnvrvoslpegut/spack-src/test/mail/MailMessageTest.C(41): fatal error: in "Message_header_RFC5322_date": critical check Wt::FileUtils::exists(file + ".xml") has failed
[2025-Jul-28 16:04:37.777] 79681 - [info] "WebController: Removing session testwtd"
[2025-Jul-28 16:04:37.777] 79681 [/ testwtd] [info] "Wt: session destroyed (#sessions = 0)"
Identity: 4,4
Original: 4,4
Transposed: 4,4
Original: 4,4
Scalar: 4
Multiplied: 4,4
Original: 4,4
Scalar: 4
Multiplied: 4,4
M1: 4,4
M2: 4,4
M3 = M1 * M2: 4,4
M1: 4,4
M2: 4,4
M3 = M1 * M2: 4,4
Original: 4,4
Inverse: 4,4
Compare: 4,4
WebRequest: took 0.084 ms
[2025-Jul-28 16:04:37.783] 79681 - [info] "Wt: session created (#sessions = 1)"
[2025-Jul-28 16:04:37.784] 79681 [/ testwtd] [error] "WMessageResources: Could not load resource bundle: private/i18n/plain.xml"
/home/stage/root/spack-stage-wt-4.12.0-vvvczhvsfsrgj7ubzr5lnvrvoslpegut/spack-src/test/private/I18n.C(53): fatal error: in "I18n_messageResourceBundleTest": critical check welcome == "Welcome dear visitor, Joske of the WFooBar magic website !" has failed
[2025-Jul-28 16:04:37.784] 79681 - [info] "WebController: Removing session testwtd"
[2025-Jul-28 16:04:37.784] 79681 [/ testwtd] [info] "Wt: session destroyed (#sessions = 0)"
[2025-Jul-28 16:04:37.784] 79681 - [info] "Wt: session created (#sessions = 1)"
/home/stage/root/spack-stage-wt-4.12.0-vvvczhvsfsrgj7ubzr5lnvrvoslpegut/spack-src/test/private/I18n.C(26): fatal error: in "I18n_pluralResourceBundleException1": critical check Wt::FileUtils::exists(file + ".xml") has failed
Updated by Matthias Van Ceulebroeck 10 days ago
Hello,
the tests should be executed from the test
directory, not the build
directory. Some tests require message resource bundles to be present, which are locate under the test
directory.