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

big-endian s390x: polygonToCells_reported.fuzzer_crash: t_assert failed at ./src/apps/testapps/testPolygonToCellsReportedExperimental.c:54, sz == 1, Expected output count #964

Open
df7cb opened this issue Feb 4, 2025 · 2 comments

Comments

@df7cb
Copy link

df7cb commented Feb 4, 2025

The Debian package build for 4.2.0 fails on the big-endian s390x architecture:

12:28:01 test 101
12:28:01         Start 101: testPolygonToCellsReportedExperimental_test101
12:28:01 
12:28:01 101: Test command: /<<PKGBUILDDIR>>/obj-s390x-linux-gnu/bin/testPolygonToCellsReportedExperimental
12:28:01 101: Working Directory: /<<PKGBUILDDIR>>/obj-s390x-linux-gnu
12:28:01 101: Test timeout computed to be: 1500
12:28:01 101: polygonToCells_reported.fuzzer_crash: t_assert failed at ./src/apps/testapps/testPolygonToCellsReportedExperimental.c:54, sz == 1, Expected output count
12:28:01 101: TEST polygonToCells_reported
12:28:01 101/280 Test #101: testPolygonToCellsReportedExperimental_test101 ...***Failed    0.12 sec
12:28:01 polygonToCells_reported.fuzzer_crash: t_assert failed at ./src/apps/testapps/testPolygonToCellsReportedExperimental.c:54, sz == 1, Expected output count
12:28:01 TEST polygonToCells_reported

Full build log: https://jengus.postgresql.org/job/libh3-binaries/10/architecture=s390x,distribution=sid/console

This is the only test that is failing in this version. On 4.1.0, the tests were succeeding.

@isaacbrodsky
Copy link
Collaborator

isaacbrodsky commented Feb 7, 2025

Is this running on a real s390x machine or virtualized? Do you have instructions for running the tests on this architecture for debugging?

This test case came directly from a fuzzer, which is probably why it is not reproducing cleanly on other architectures. We can loosen the test assertions, remove the test, or try to rewrite the test.

@df7cb
Copy link
Author

df7cb commented Feb 7, 2025

It's an actual s390x machine, hosted at https://linuxone.cloud.marist.edu/. I guess you could get an account there to spin up a test machine.

Good point about the fuzzer, I'll see if I can disable the test here.

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