Repository navigation
[1.3] test_fortran_* failure #5693
Description
Activity
Yes, and at least the second fails on the automatic detection of accepted exponent styles. I'd bet that it's also failing on the auto-detection pass of
test_fortran_reader- could you check if the test passes when you remove the'fortran'key from theexpstylesdict?
I don't know exactly how the parallel reader works, but I could imagine how it interferes with the auto-detection if different threads find different input formats. Should probably mark the parallel test version asxfail, but perhaps beyond that the fast reader should in fact raise an exception when these two options are combined.Actually it's not that clear to me how the parallel read interferes with the
auto/Fortranstyles, since the exponent styles are detected on a per-item base (i.e. independently in each call ofxtrtod). It seems a bit as ifself.tokenizeris initialised differently in a parallel read.
I am wondering if some of the problems withguessing formats come into play here as well. @olebole, could you test if these errors still occur with PR #5578?I applied #5578 (putting to Debian experimental as 1.3-8~exp2) and it works. However, also in the unpatched variant (currently 1.3.7), the failure disappeared... So, the problem appears to be non-reproducible for the moment (and unfortunately, the build log referenced above disappeared as well), and I am unable to confirm that the changes fixes it.
@olebole - Is this still an issue?
This disappeared almost everywhere, except for GNU Hurd.
That is without #5578 then? I noticed four patches in the build, but none of them looked like they addressed the
fast_readerissues.That is 2.0rc1. Since #5578 is not merged, I would guess it is without it?
Yes, just wanted to check it was not patched in the way, I think, you did with Debian
1.3.8~exp2; but from the names of the patches I would also guess it's not.1.3-8~exp2 was a test build, I removed the patch afterwards.
I also rechecked the build 1.3-8~exp2 mentioned above on GNU Hurd. It seems that 1.3-8~exp2 did not have this Problem on Hurd; however there were a bunch of other problems with the fast reader, and I am unable to separate them now.
Those seem to be mostly (if not all) show up with
parallel=True, at least this looks multithreading-related:E CParserError: shared semaphore implementation required but not available: no errorYes, all
CParserErrors in parallel mode except for a singleInconsistentTableErrorwhere the reader seems to stumble overQ-style exponents.But in
2.0~rc1-1also only two of the Fortran-reader failures are left.@olebole - next time you run tests, could you please check whether you still see this on any of the platforms and close if it's gone?
This is probably fixed, at least for Linux. For GNU Hurd, we don't build it in the moment, since some of the dependencies are not there yet.
I would propose to close it, I will re-open when it seems to re-appear.Reacted by Brigitta SipőczThank you for the feedback @olebole!
We have a group that tests every package for bitwise reproducibility of the packaging, and they found a built time test failure in
test_fortran_readerand intest_fortran_invalid_exp(on x86_64):I am not sure whether this is a regression, and I also don't know what they do different from the normal setup. Full build log here. This is independent of whether external (3.0.5) or internal pytest ist used.