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
test_transformation.py and test_checksum.py fail on Debian on i386 (and others) #2171
Comments
Here is the log of
|
Here is the log of
|
Here is the log of
|
Regarding the last two (the |
@embray I am a bit concerned why the checksums are so similar: 6 resp. 7 characters out of 15 are equal in these cases -- far more than one would expect for different data. So are you sure that this is just due to different data and not some bug in the calculation? |
@olebole You might have a point there If there was a difference in the data the place to actually look would be the DATASUM keyword and not CHECKSUM. I'll try running these tests again and check whether the DATASUM is actually different too. I spent quite some time a while back checking the correctness of the checksum calculation, and I'm pretty confident that it is correct. What may have a bug is the checksum encoding algorithm which is a bit strange, and I haven't checked as carefully. In the meantime it might also be good to rewrite these tests so as to ensure that the data is always the same between platforms. Might be tricky but I think it should be doable. |
@olebole If you are seeing in Debian the problems in #2168 it is due to a bug in glibc |
I don't think the problems with checksums are related to #2168, as they seem to be more of an architecture-related issue. |
Yes, I was trying to say that if in Debian they are seeing #2168 in addition to the problems in this report, it is due to the glibc bug |
Thank you @sergiopasra. I am aware of that. Up to now, the problem didn't show up. |
Now I'm seeing this problem in Fedora also when compilling in i686. The following is the build log of an RPM in Fedora 21 i686 As you can see the checks fail on TestChecksumFunctions.test_image_create |
And the same errors with pyfits 3.2.2 http://koji.fedoraproject.org/koji/getfile?taskID=6678415&name=build.log |
These issues are still there in 0.3.2. The |
I'll try to look into this. |
I couldn't find the |
@eteq should be able to answer this. |
@olebole @astrofrog - That particular test is gone, but the functionality for the static matrix transform is now tested in the Note that the implementation has changed quite a bit, so it wouldn't be shocking if this is now gone just by chance. |
It actually seems to be gone, I don't get these problems anymore for 0.4rc1. Therefore, I am closing this. |
Sounds good--thanks @olebole. |
Hi,
when compiling for Debian, I have similar problems as the failures shown in #2168 for Fedora.
On x86_64, the tests run fine.
On other platforms, I get:
coordinates/tests/test_transformations.py
:test_composite_static_matrix_transform
(i386, powerpc, s390x, powerpc64)io/fits/tests/test_checksum.py
:TestChecksumFunctions.test_image_create
(i386,powerpc, sparc, mipsel, armel, hppa)TestChecksumFunctions.test_nonstandard_checksum
(i386, powerpc, sparc, mipsel, armel, hppa)Since these differ from the failures mentioned in #2168, I create a new issue.
The environment:
I used a slightly patched version of astropy-0.3.1. Patches are for python-3.4 and I also still made some failures silent.
The text was updated successfully, but these errors were encountered: