Skip to content

Skip Http2WithConscryptTest on ARM MacOS#10372

Merged
joschi merged 2 commits intorelease/3.0.xfrom
skip-conscrypt-tests-on-arm-3.0.x
Aug 19, 2025
Merged

Skip Http2WithConscryptTest on ARM MacOS#10372
joschi merged 2 commits intorelease/3.0.xfrom
skip-conscrypt-tests-on-arm-3.0.x

Conversation

@joschi
Copy link
Copy Markdown
Member

@joschi joschi commented Aug 19, 2025

Problem:

When run on an ARM MacOS machine, I'm always getting:

[ERROR]   Http2WithConscryptTest.testHttp1WithCustomCipher » UnsatisfiedLink no conscrypt_openjdk_jni-osx-aarch_64 in java.library.path: /Users/richardnorth/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
[ERROR]   Http2WithConscryptTest.testHttp2WithCustomCipher » NoClassDefFound Could not initialize class io.dropwizard.http2.Http2WithConscryptTest

I believe this is due to google/conscrypt#1034 - lack of an ARM native build for MacOS for the Conscrypt library.

Solution:

Skip the affected tests when running on ARM MacOS (aarch64), so that build does not fail.

It's never a particularly satisfying thing to have to skip tests, but I think it's probably the simplest/clearest way to unblock contributions from developers on ARM Macs. Please do say if there's a better approach that you'd prefer, though.

Refs #10284

@joschi joschi self-assigned this Aug 19, 2025
@joschi joschi requested a review from a team as a code owner August 19, 2025 21:35
@joschi joschi enabled auto-merge (squash) August 19, 2025 21:35
@github-actions github-actions bot added this to the 3.0.16 milestone Aug 19, 2025
@sonarqubecloud
Copy link
Copy Markdown

@joschi joschi merged commit e9016b4 into release/3.0.x Aug 19, 2025
19 of 20 checks passed
@joschi joschi deleted the skip-conscrypt-tests-on-arm-3.0.x branch August 19, 2025 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants