coin-or / CoinUtils

COIN-OR Utilities
Other
46 stars 42 forks source link

2.11.11: test suite fails #226

Closed kloczek closed 7 months ago

kloczek commented 7 months ago

here i test suite output:

```console + /usr/bin/make -O -j48 V=1 VERBOSE=1 test cd CoinUtils; /usr/bin/make test Making all in src /usr/bin/make all-am make[2]: Nothing to be done for 'all-am'. cd test; /usr/bin/make test make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/CoinUtils-releases-2.11.11/CoinUtils/test' /usr/bin/g++ -DHAVE_CONFIG_H -I. -I`echo .` -I../src -I`echo ./../src` -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -mtls-dialect=gnu2 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -DCOINUTILS_BUILD -c -o CoinMessageHandlerTest.o CoinMessageHandlerTest.cpp make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/CoinUtils-releases-2.11.11/CoinUtils/test' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/CoinUtils-releases-2.11.11/CoinUtils/test' /usr/bin/g++ -DHAVE_CONFIG_H -I. -I`echo .` -I../src -I`echo ./../src` -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -mtls-dialect=gnu2 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -DCOINUTILS_BUILD -c -o CoinErrorTest.o CoinErrorTest.cpp make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/CoinUtils-releases-2.11.11/CoinUtils/test' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/CoinUtils-releases-2.11.11/CoinUtils/test' /usr/bin/g++ -DHAVE_CONFIG_H -I. -I`echo .` -I../src -I`echo ./../src` -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -mtls-dialect=gnu2 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -DCOINUTILS_BUILD -c -o CoinDenseVectorTest.o CoinDenseVectorTest.cpp make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/CoinUtils-releases-2.11.11/CoinUtils/test' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/CoinUtils-releases-2.11.11/CoinUtils/test' /usr/bin/g++ -DHAVE_CONFIG_H -I. -I`echo .` -I../src -I`echo ./../src` -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -mtls-dialect=gnu2 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -DCOINUTILS_BUILD -c -o CoinMpsIOTest.o CoinMpsIOTest.cpp CoinMpsIOTest.cpp: In function ‘void CoinMpsIOUnitTest(const std::string&)’: CoinMpsIOTest.cpp:381:25: warning: unused variable ‘numberEntries’ [-Wunused-variable] 381 | int numberEntries = SOS[0]->numberEntries(); | ^~~~~~~~~~~~~ CoinMpsIOTest.cpp:391:25: warning: unused variable ‘numberEntries’ [-Wunused-variable] 391 | int numberEntries = SOS[1]->numberEntries(); | ^~~~~~~~~~~~~ make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/CoinUtils-releases-2.11.11/CoinUtils/test' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/CoinUtils-releases-2.11.11/CoinUtils/test' /usr/bin/g++ -DHAVE_CONFIG_H -I. -I`echo .` -I../src -I`echo ./../src` -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -mtls-dialect=gnu2 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -DCOINUTILS_BUILD -c -o CoinLpIOTest.o CoinLpIOTest.cpp make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/CoinUtils-releases-2.11.11/CoinUtils/test' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/CoinUtils-releases-2.11.11/CoinUtils/test' /usr/bin/g++ -DHAVE_CONFIG_H -I. -I`echo .` -I../src -I`echo ./../src` -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -mtls-dialect=gnu2 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -DCOINUTILS_BUILD -c -o CoinIndexedVectorTest.o CoinIndexedVectorTest.cpp make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/CoinUtils-releases-2.11.11/CoinUtils/test' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/CoinUtils-releases-2.11.11/CoinUtils/test' /usr/bin/g++ -DHAVE_CONFIG_H -I. -I`echo .` -I../src -I`echo ./../src` -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -mtls-dialect=gnu2 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -DCOINUTILS_BUILD -c -o CoinModelTest.o CoinModelTest.cpp make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/CoinUtils-releases-2.11.11/CoinUtils/test' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/CoinUtils-releases-2.11.11/CoinUtils/test' /usr/bin/g++ -DHAVE_CONFIG_H -I. -I`echo .` -I../src -I`echo ./../src` -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -mtls-dialect=gnu2 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -DCOINUTILS_BUILD -c -o CoinPackedMatrixTest.o CoinPackedMatrixTest.cpp make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/CoinUtils-releases-2.11.11/CoinUtils/test' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/CoinUtils-releases-2.11.11/CoinUtils/test' /usr/bin/g++ -DHAVE_CONFIG_H -I. -I`echo .` -I../src -I`echo ./../src` -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -mtls-dialect=gnu2 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -DCOINUTILS_BUILD -c -o CoinShallowPackedVectorTest.o CoinShallowPackedVectorTest.cpp make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/CoinUtils-releases-2.11.11/CoinUtils/test' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/CoinUtils-releases-2.11.11/CoinUtils/test' /usr/bin/g++ -DHAVE_CONFIG_H -I. -I`echo .` -I../src -I`echo ./../src` -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -mtls-dialect=gnu2 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -DCOINUTILS_BUILD -c -o CoinPackedVectorTest.o CoinPackedVectorTest.cpp make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/CoinUtils-releases-2.11.11/CoinUtils/test' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/CoinUtils-releases-2.11.11/CoinUtils/test' /usr/bin/g++ -DHAVE_CONFIG_H -I. -I`echo .` -I../src -I`echo ./../src` -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -mtls-dialect=gnu2 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -DCOINUTILS_BUILD -c -o unitTest.o unitTest.cpp make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/CoinUtils-releases-2.11.11/CoinUtils/test' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/CoinUtils-releases-2.11.11/CoinUtils/test' /bin/sh ../../libtool --tag=CXX --mode=link /usr/bin/g++ -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -mtls-dialect=gnu2 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -DCOINUTILS_BUILD -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--gc-sections -Wl,--as-needed -Wl,--build-id=sha1 -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,pack-relative-relocs -flto=auto -fuse-linker-plugin -o unitTest CoinLpIOTest.o CoinDenseVectorTest.o CoinErrorTest.o CoinIndexedVectorTest.o CoinMessageHandlerTest.o CoinModelTest.o CoinMpsIOTest.o CoinPackedMatrixTest.o CoinPackedVectorTest.o CoinShallowPackedVectorTest.o unitTest.o ../src/libCoinUtils.la -lz -lglpk -lflexiblas -lflexiblas -lm libtool: link: /usr/bin/g++ -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -mtls-dialect=gnu2 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -DCOINUTILS_BUILD -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--gc-sections -Wl,--as-needed -Wl,--build-id=sha1 -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z -Wl,pack-relative-relocs -flto=auto -fuse-linker-plugin -o .libs/unitTest CoinLpIOTest.o CoinDenseVectorTest.o CoinErrorTest.o CoinIndexedVectorTest.o CoinMessageHandlerTest.o CoinModelTest.o CoinMpsIOTest.o CoinPackedMatrixTest.o CoinPackedVectorTest.o CoinShallowPackedVectorTest.o unitTest.o ../src/.libs/libCoinUtils.so -lz -lglpk -lflexiblas -lm make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/CoinUtils-releases-2.11.11/CoinUtils/test' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/CoinUtils-releases-2.11.11/CoinUtils/test' ./unitTest Testing CoinFinite ... finite value: ok; infinite value: ok. ERROR: No functional CoinIsnan. Testing CoinError Testing CoinShallowPackedVector Testing CoinPackedVector Testing CoinIndexedVector Testing CoinPackedMatrix Testing printMatrixElement: Expecting 1.1, 0.0, -1.2. a(1,2) = 1.1; a(3,5) = 0; a(3,6) = -1.2 Expecting bounds error messages. a(-1,-1) = Major index -1 not in range 0..4 a(0,-1) = Minor index -1 not in range 0..7 a(4,8) = Minor index 8 not in range 0..7 a(5,8) = Major index 5 not in range 0..4 Testing CoinDenseVector Testing CoinMessageHandler This should print if the constructor sets format_ to null. By default, the log level has no effect for on-the-fly messages. Log level is now 0 . But we can specify a log level and have it take effect. If you saw a message that said 'should not print', there's a problem. A core dump here indicates a cloning failure. This should print if cloning sets format_ to null. Test0001I This message has no parts and no fields. Test0003I This message has an integer field: (42) Test0004I This message has a double field: (42.562857) Changing to 10 significant digits. Test0004I This message has a double field: (42.56285714) And back to 8 significant digits. Test0004I This message has a double field: (42.562857) Test0004I This message has an explicit precision .3: (42.6) Test0005I This message has a char field: (w) Test0006I This message has a string field: (forty-two) Test0007I Prefix Part 1 Part 2 with integer in hex 0x002a Part 3 suffix. Test0007I Prefix suffix. Test0007I Prefix Part 1 suffix. Test0007I Prefix Part 2 with integer in hex 0x002a suffix. Test0007I Prefix Part 3 suffix. Test0008I Standardised prefix, free form remainder: An int 42 A double 4.2 a new line and done. No standardised prefix, free form reminder: integer ( 42 ). Tran0027I Transition message. Trying a clone in mid-message. Test0007I Prefix Part 1 Part 2 with integer in hex 0x002a Part 3 suffix. Test0007I Prefix Part 1 Part 2 with integer in hex 0x0042 The second copy should be missing Part 3 and suffix. CoinMessageHandlerTest completed without error. ERROR: Errors occurred during testing; please check the output. make[2]: *** [Makefile:776: test] Error 1 make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/CoinUtils-releases-2.11.11/CoinUtils/test' make[1]: *** [Makefile:1004: test] Error 2 make: *** [Makefile:855: test] Error 2 ```

Please let me know if you need more details or want me to perform some diagnostics.