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

Tests failing/hanging on 32-bit architectures #66

Open
d-torrance opened this issue Jul 13, 2023 · 6 comments
Open

Tests failing/hanging on 32-bit architectures #66

d-torrance opened this issue Jul 13, 2023 · 6 comments

Comments

@d-torrance
Copy link
Contributor

Some of the tests are are failing and hanging on 32-bit architectures, possibly due to using long (which is only 32 bits instead of 64 on these architectures).

For example (from https://buildd.debian.org/status/fetch.php?pkg=msolve&arch=i386&ver=0.5.0-1&stamp=1688586254&raw=0):

make  check-TESTS
make[3]: Entering directory '/<<PKGBUILDDIR>>'
make[4]: Entering directory '/<<PKGBUILDDIR>>'
PASS: fglm_build_matrixn_radical_shape-31
PASS: neogb_io
PASS: fglm_build_matrixn_nonradical_shape-31
PASS: fglm_build_matrixn_nonradical_radicalshape-31
FAIL: test/diff/diff_elim-qq.sh
PASS: test/diff/diff_elim-31.sh
PASS: test/diff/diff_F4SAT-31.sh
FAIL: test/diff/diff_kat6-31.sh
FAIL: test/diff/diff_eco11-31.sh
E: Build killed with signal TERM after 150 minutes of inactivity

See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1040774.

@ederc
Copy link
Contributor

ederc commented Jul 14, 2023

We will take a look into this.

@mohabsafey
Copy link
Contributor

We will work on this starting Aug. 20th

@mohabsafey
Copy link
Contributor

Isn´t this issue fixed by all recent changes?

@d-torrance
Copy link
Contributor Author

No, my recent pull requests were all related to compilation errors on 32-bit architectures, but there are still some runtime errors found during make check.

Maybe some of them are related to #71?

@d-torrance
Copy link
Contributor Author

Here's one way to reproduce this:

docker run -it i386/debian:sid bash
apt update
apt install git autoconf libtool libgmp-dev libmpfr-dev libflint-dev make
git clone https://github.com/algebraic-solving/msolve
cd msolve
./autogen.sh
./configure
make
make check

For me, it begins to hang after this point:

make  check-TESTS
make[2]: Entering directory '/msolve'
make[3]: Entering directory '/msolve'
PASS: neogb_io
PASS: fglm_build_matrixn_radical_shape-31
PASS: fglm_build_matrixn_nonradical_shape-31
PASS: fglm_build_matrixn_nonradical_radicalshape-31

@mohabsafey
Copy link
Contributor

Many thanks, this is very helpful.
My summer break starts tomorrow morning. I will have a look when I am back and will try to fix this quickly

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

3 participants