-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Disable Oracle db tests on Mac M1 because of segfault (and updated readiness check) #25832
Conversation
Disable oracle db tests on Mac M1 because of segfault
aa824be
to
35b2240
Compare
That was a total cut and paste fail, thanks @gastaldi! I've fixed (including the comment) and squashed. What's interesting is that it didn't actually make a difference. I'd thought in the override of the docker-maven-plugin configuration I had to specify an image to skip, but I guess changes to the docker-maven-plugin |
@holly-cummins my guess is that if you set |
I think that must be right, @gastaldi. I'd assumed
The final configuration would be
I assumed the In which case, I could perhaps remove the |
<date>default</date> | ||
<color>red</color> | ||
</log> | ||
<wait> | ||
<!-- good docs found at: http://dmp.fabric8.io/#build-healthcheck --> | ||
<!-- Unfortunately booting this is slow, needs to set a generous timeout: --> | ||
<time>60000</time> | ||
<log>DATABASE IS READY TO USE!</log> | ||
<!-- leversge the healthcheck in the image we use --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<!-- leversge the healthcheck in the image we use --> | |
<!-- leverage the health check in the image we use --> |
Oh shoot, forgot to apply the typo fix, anyway, let's move on and fix that as part of another PR |
Partial resolution of #25428. See also discussion in #25648.
To test,
(this is now a no-op on M1 but it should be more interesting on other architectures, because I've swapped one of the log-search-based startup checks with a health check).
What's changed?
I hit fabric8io/docker-maven-plugin#1369 with the log readiness check. Based on the discussion, I wonder if it’s a timing issue which my machine exposes by being fast. (I saw similar issues with
<log>
experimenting with the mariadb readiness check.)The image we use has a healthcheck configured, so we can just use that with fabric8 docker-maven-plugin.
I also hit a more serious problem, which is that I could not get the database to start on M1. It seemed to be the same issue as https://stackoverflow.com/questions/68605011/oracle-12c-docker-setup-on-apple-m1. Others there reported success with qemu, which podman is using under the covers. I tried with podman 4.0.3 and podman 4.1, without success.
Reluctantly, I disabled the tests. We should re-evaluate with later versions of the Oracle database in the future.