Testcontainers-java: Weird error using jitpack master-SNAPSHOT:

Created on 13 Jul 2017  路  5Comments  路  Source: testcontainers/testcontainers-java

I still have annoyances for test cases that involve more than one container, I was thinking to give a try to the latest updates, and tried to depend on jitpack master snapshot

    compile 'com.github.testcontainers.testcontainers-java:testcontainers:master-SNAPSHOT'

But when I try to build it, I get this non-JVM error I cannot interpret:

:core:test
dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
  Referenced from: /private/var/folders/1k/45f3yx9n5ds8qv13sg_fxr8c0000gn/T/liborg-testcontainers-shaded-netty-transport-native-kqueue2484198301727123789.dylib (which was built for Mac OS X 10.12)
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _clock_gettime
  Referenced from: /private/var/folders/1k/45f3yx9n5ds8qv13sg_fxr8c0000gn/T/liborg-testcontainers-shaded-netty-transport-native-kqueue2484198301727123789.dylib (which was built for Mac OS X 10.12)
  Expected in: /usr/lib/libSystem.B.dylib

:core:test FAILED

I use MacOS el capitan.

cliendocker-for-mac typbug

Most helpful comment

Got it. I'm downloading Sierra right now. Never thought something like this would be the thing making me upgrade 馃槅

All 5 comments

@sscarduzio it's known issue in 1.4.0/1.4.1 with Mac OS X <= 10.11, we're working on a hotfix and will release it ASAP.
Thanks for reporting!

Got it. I'm downloading Sierra right now. Never thought something like this would be the thing making me upgrade 馃槅

BTW, just curious, would a simple downgrade in Netty dependencies fix the issue? Do you rely on something Netty introduced in this new version?

@sscarduzio yes, we updated docker-java to the new version with native support of unix socket in Netty and removed our own solution for that, but it works only on 10.12. We're going to fallback to our previous solution if <= 10.11 to provide the best experience for every user :)

Just for visibility, this is the underlying issue: netty/netty#6837

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rnorth picture rnorth  路  3Comments

oneiros-de picture oneiros-de  路  3Comments

denis-zhdanov picture denis-zhdanov  路  3Comments

naderghanbari picture naderghanbari  路  3Comments

chomhanks picture chomhanks  路  3Comments