Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.11.6: test suite is failing #196

Open
kloczek opened this issue Aug 20, 2022 · 5 comments
Open

2.11.6: test suite is failing #196

kloczek opened this issue Aug 20, 2022 · 5 comments

Comments

@kloczek
Copy link

kloczek commented Aug 20, 2022

Looks like something is wrong with test suite

Testing CoinModel
Coin0001I At line 29 NAME          EXAMPLE
Coin0001I At line 30 ROWS
Coin0001I At line 37 COLUMNS
Coin0001I At line 55 RHS
Coin0001I At line 61 RANGES
Coin0001I At line 64 BOUNDS
Coin0001I At line 70 ENDATA
Coin0002I Problem EXAMPLE has 5 rows, 8 columns and 14 elements
Coin0001I At line 1 NAME          ADLITTLE
Coin0001I At line 2 ROWS
Coin0001I At line 60 COLUMNS
Coin0001I At line 315 RHS
Coin0001I At line 335 ENDATA
Coin0002I Problem ADLITTLE has 56 rows, 97 columns and 383 elements
Time for readMps is 0.000412 seconds.
before pass 0 with seed of 542162
before pass 1 with seed of 129876
before pass 2 with seed of 991341
before pass 3 with seed of 420235
before pass 4 with seed of 720963
before pass 5 with seed of 112592
before pass 6 with seed of 305649
before pass 7 with seed of 876707
need to fill in columns
before pass 8 with seed of 629052
before pass 9 with seed of 680472
before pass 10 with seed of 189844
before pass 11 with seed of 121260
before pass 12 with seed of 227038
before pass 13 with seed of 891923
before pass 14 with seed of 212642
before pass 15 with seed of 451498
before pass 16 with seed of 205486
before pass 17 with seed of 249212
before pass 18 with seed of 93633
before pass 19 with seed of 835389
need to fill in rows
before pass 20 with seed of 589597
before pass 21 with seed of 889131
before pass 22 with seed of 388324
before pass 23 with seed of 596114
before pass 24 with seed of 625810
before pass 25 with seed of 211367
before pass 26 with seed of 713233
before pass 27 with seed of 779245
before pass 28 with seed of 947109
need to fill in rows
before pass 29 with seed of 970557
before pass 30 with seed of 145480
before pass 31 with seed of 363920
need to fill in rows
before pass 32 with seed of 640761
before pass 33 with seed of 254763
need to fill in rows
before pass 34 with seed of 518046
need to fill in rows
before pass 35 with seed of 596707
need to fill in rows
before pass 36 with seed of 347460
before pass 37 with seed of 343996
before pass 38 with seed of 195342
need to fill in columns
need to fill in rows
before pass 39 with seed of 707068
before pass 40 with seed of 584322
before pass 41 with seed of 157106
before pass 42 with seed of 56543
need to fill in columns
before pass 43 with seed of 296156
need to fill in columns
before pass 44 with seed of 834451
need to fill in rows
before pass 45 with seed of 464143
before pass 46 with seed of 858620
need to fill in rows
before pass 47 with seed of 938599
before pass 48 with seed of 643306
before pass 49 with seed of 596504
Time for 50 CoinModel passes is 0.005394 seconds

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 CoinMpsIO
Coin0001I At line 29 NAME          EXAMPLE
Coin0001I At line 30 ROWS
Coin0001I At line 37 COLUMNS
Coin0001I At line 55 RHS
Coin0001I At line 61 RANGES
Coin0001I At line 64 BOUNDS
Coin0001I At line 70 ENDATA
Coin0002I Problem EXAMPLE has 5 rows, 8 columns and 14 elements
EOF on file /usr/share/coin/Data/Sample/exmip1.mps
Coin0001I At line 1 NAME          EXAMPLE
Coin0001I At line 2 ROWS
Coin0001I At line 9 COLUMNS
Coin0001I At line 21 RHS
Coin0001I At line 25 RANGES
Coin0001I At line 27 BOUNDS
Coin0001I At line 35 ENDATA
Coin0002I Problem EXAMPLE has 5 rows, 8 columns and 14 elements
Coin0001I At line 8 NAME
Coin0001I At line 9 ROWS
Coin0001I At line 12 COLUMNS
Coin0001I At line 32 RHS
Coin0001I At line 34 RANGES
Coin0001I At line 36 BOUNDS
Coin0001I At line 39 SOS
Coin0001I At line 46 QUADOBJ
Coin0002I Problem no_name has 1 rows, 15 columns and 15 elements
Coin0001I At line 50 CSECTION      cone1       0.0          QUAD
Coin0001I At line 54 CSECTION      cone2       0.0          RQUAD
Coin0001I At line 62 ENDATA
Reading model section from plan.mod...
39 lines were read
Generating value...
Generating yield...
Generating fe...
Generating cu...
Generating mn...
Generating mg...
Generating al...
Generating si...
Model has been successfully generated
Coin0002I Problem plan has 8 rows, 7 columns and 48 elements
read plan.mod with return == 0
Testing CoinLpIO
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.6/CoinUtils/test'
make[1]: *** [Makefile:1008: test] Error 2
make: *** [Makefile:859: test] Error 2
@tkralphs
Copy link
Member

Sorry for the (very long) delay in looking at this. I'm getting ready to make a new release and I can't replicate this now on either the previous release 2.11.6 or the current stable branch. I can't really see exactly what's failing from eyeballing the output either. The output looks the same for me when the tests pass. It also look like all Github Actions were passing at the time teh release was made. If you can tell me more, I'll take a look at it.

@kloczek
Copy link
Author

kloczek commented Apr 12, 2024

Just retested 2.11.11. Here i test suite output:

+ /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

If you have any propositions of what I can try to do to diagnose this issue please let me know.

@tkralphs
Copy link
Member

All tests are still passing on all platforms on Github Actions. If you can isolate what is different, that would give us something to look at. It looks like you are adding a lot of extra flags. If you would like, you can post your exact recipe for building, what OS, what compiler version, etc. But since I still can't replicate, I guess there is not much I can do.

@kloczek
Copy link
Author

kloczek commented Apr 12, 2024

Any propositions of what I can try to do to diagnose this issue? 🤔

@tkralphs
Copy link
Member

I would start by tracking down the line the test is failing on and see why that is happening. Just grepping for No functional CoinIsnan, I found it here:

testingMessage( "ERROR: No functional CoinIsnan.\n" ) ;

That line is reached when COIN_C_ISNAN is not defined, which happens when the function isnan cannot be found during configuration. This won't happen on any platforms we regularly test on with default flags and I haven't gotten any other complaints about it, so it's probably something pretty specific to your setup.

The reason can probably be gleaned by looking at config.log to see why the test for the presence of isnan failed. If you want to post your config.log (the one from running configure in the CoinUtils subdirectory), I can take a look, but before that, I would follow the suggestion I already made and provide some more details, such as compiler and version, OS, your exact recipe for building. etc. I would also try building the default flags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants