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

Strange behavior of tests for different architectures #144

Open
txgk opened this issue Jun 1, 2022 · 6 comments
Open

Strange behavior of tests for different architectures #144

txgk opened this issue Jun 1, 2022 · 6 comments

Comments

@txgk
Copy link

txgk commented Jun 1, 2022

Hello, I was trying to package libcuckoo for Alpine Linux and encountered strange behavior of tests for different architectures.

On first GitLab pipeline all architectures passed the tests (except 32-bit ones of course). When the pipeline was run again with the exception of 32-bit architectures, ppc64le failed the tests which is weird, considering that everything went well for it in the first time. Later the same thing happened to aarch64 (this is not reflected in the GitLab pipelines page because it was stopped right after the error).

My question is it really necessary to remove package support for these architectures because of these unstable tests?

You can check which tests failed here:
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/34956/pipelines

@manugoyal
Copy link
Contributor

Hi @txgk, looking at the test failures, they seem to be over the version of libcuckoo that had issues with the test_resize function on 32-bit architectures. This was fixed in 2362469, so I'm wondering if the tests will pass more stably over a more recent version?

@txgk
Copy link
Author

txgk commented Jun 2, 2022

I changed build file to the version of the last commit and now results are
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/35004/pipelines
Build is now successful for 32-bit architectures, but x86 failed at insert_expansion test. ppc64le and aarch64 failed this test last time too. I think it randomly segfaults no matter what architecture is being tested.

@txgk
Copy link
Author

txgk commented Jun 20, 2022

I tried building libcuckoo again and builders of all architectures did it successfully, but since nothing has changed in terms of source code, it seems to me that the problem still remains, although it is difficult to catch. You can find logs and artifacts of failed builds here https://gitlab.alpinelinux.org/grikir02/aports/-/pipelines/124124/builds because on the previous link the build log was overwritten by today's successful build.

@reneengelhard
Copy link

reneengelhard commented Jul 28, 2022

I changed build file to the version of the last commit and now results are https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/35004/pipelines Build is now successful for 32-bit architectures, but x86 failed at insert_expansion test. ppc64le and aarch64 failed this test last time too. I think it randomly segfaults no matter what architecture is being tested.

yeah, that seems to be a regression, though, even without changing the code. https://buildd.debian.org/status/package.php?p=libcuckoo&suite=sid built back then and passed the tests (log: https://buildd.debian.org/status/fetch.php?pkg=libcuckoo&arch=all&ver=0~git20210805-3&stamp=1640642581&raw=1) but that unchanged (as in apt-get source, build it) now gets the segfault, too

@reneengelhard
Copy link

https://ci.debian.net/packages/libc/libcuckoo/ and especially https://ci.debian.net/packages/libc/libcuckoo/unstable/amd64/ is probably better to look at. It seems that it started to fail for me too, then went away, and now is maybe back or maybe not.
Looks like either something from the outside affecting it (compiler?) or just flakyness...

@reneengelhard
Copy link

ok, apparently it's flakiness. https://ci.debian.net/packages/libc/libcuckoo/unstable/amd64/ passed in an August 14 attempt (definitely with gcc 12); as does a manual build 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

3 participants