-
Notifications
You must be signed in to change notification settings - Fork 76
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 150_tag_config_invalid_tags.txt
on s390x architecture
#130
Comments
Aww, that's another one of these isolated cases where all other test cases are miraculously fine. 🤔 The only thing I could guess is that because it's on s390x, which I really don't know, maybe it has to do with endianness or something? The code in question uses the to_utf32() function to convert an ASCII character to UTF-32 in a way that assumes some things about byte order. And it's obviously the finding of the comma ( On the other hand, all the other test cases are green ... |
I'd try to put it into |
@tsjensen sorry for following up without code contribution: Do you have a suggestion on what do do here best? Excluding the test seems wrong to me as we have a general(?) issue with the UTF-8 support for big-endian architectures, correct? One option for Debian trixie would be that I otherwise just declare Any opinions? |
🐌 I'm a little slow in responding due to the holiday period. Thanks for being patient with me! As far as I understand, the endianness thing is an as yet unverified hypothesis. Or do we already know the problem exists on all big-endian architectures? (I'm really just asking openly!) Assuming that it's really endianness: I have no access to a big-endian system and anyway wouldn't know what it takes to properly be "endian-agnostic". So I would need some help there. If you include the sunny-day tests and the unit tests, we have over 550 tests in total. One of them is failing. Since it's just one, I would say that excluding it is a tolerable risk, and certainly preferable to not having boxes at all on those architectures. |
Hi @tsjensen
No problem at all, sorry if that came the wrong way to you. If so I apologise. My aim was just to check if you know already something on the matter.
We have build failures in Debian on the big-endian architectures (only one is in official release, the others are in ports): https://buildd.debian.org/status/fetch.php?pkg=boxes&arch=s390x&ver=2.3.1-1%7Eexp2&stamp=1732398167&raw=0
Actually we do not run all tests. Only the normal testsuite. Maybe I should runn all, and include tests for sunny-day tests and unit tests? :) |
I see, so it appears to be endianness after all. Like I said, I have no access to a big-endian system and don't know what it takes to properly be "endian-agnostic". So I would need some help here. About the tests: Yes, it certainly makes sense to run them all. It adds only a few seconds to the job runtime (5 seconds in our GitHub Action on Linux). Then we'd also be better equipped to judge whether excluding a test is reasonable. |
I investigated this issue and reproduced it in the Debian source. |
@Gayathri-Berli That would be fantastic! 👍 |
used (ucs4_t)ascii; in the to ensure compatibility with both little and big-endian systems. Fixes:ascii-boxes#130
used (ucs4_t)ascii; in the to ensure compatibility with both little and big-endian systems. Fixes:#130
@carnil I've merged @Gayathri-Berli's fix. Can you retry? Keeping my fingers crossed! 🤞 |
@tsjensen Confirmed! Cf. https://buildd.debian.org/status/package.php?p=boxes&suite=experimental an in particular https://buildd.debian.org/status/fetch.php?pkg=boxes&arch=s390x&ver=2.3.1-1%7Eexp3&stamp=1737598174&raw=0 @Gayathri-Berli thanks! |
@carnil Can we close this issue, or is there anything else you need about this? |
@tsjensen not it's fixed, we can close the issue. Thanks a lot! (FYI, it's now in Debian testing, cf https://tracker.debian.org/pkg/boxes) |
Alright - let us know if we can help with anything. |
Hi
In Debian we see a test case failure, strangely only on s390x:
https://buildd.debian.org/status/fetch.php?pkg=boxes&arch=s390x&ver=2.3.1-1%7Eexp2&stamp=1732398167&raw=0
but not seen on other release architectures: https://buildd.debian.org/status/package.php?p=boxes&suite=experimental
Does this by chance ring a bell?
The text was updated successfully, but these errors were encountered: