question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Travis CI snapshots failing

See original GitHub issue

https://travis-ci.org/square/okhttp/builds

e.g. https://travis-ci.org/square/okhttp/builds/610830250

> Task :okhttp:compileKotlin

e: /home/travis/build/square/okhttp/okhttp/src/main/java/okhttp3/internal/platform/Jdk9Platform.kt: (33, 19): Unresolved reference: applicationProtocols

e: /home/travis/build/square/okhttp/okhttp/src/main/java/okhttp3/internal/platform/Jdk9Platform.kt: (41, 43): Unresolved reference: applicationProtocol

e: /home/travis/build/square/okhttp/okhttp/src/main/java/okhttp3/internal/platform/android/Android10SocketAdapter.kt: (44, 38): Unresolved reference: applicationProtocol

e: /home/travis/build/square/okhttp/okhttp/src/main/java/okhttp3/internal/platform/android/Android10SocketAdapter.kt: (58, 19): Unresolved reference: applicationProtocols

> Task :okhttp:compileKotlin FAILED

My bad, related to the build with JDK11 change.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
yschimkecommented, Dec 9, 2019

Bump to 11.0.5 or a newer image. We have generally moved builds from Travis to CircleCI for other reasons.

0reactions
SeniorZhaicommented, Dec 9, 2019

I have the same problem, is there any solution to solve

Read more comments on GitHub >

github_iconTop Results From Across the Web

Snapshot test passes on local but fails on Travis CI · Issue #134
I wrote an image snapshot test on my repo. It passes on local but fails on Travis CI due to snapshot mismatch. I...
Read more >
Jest snapshots work locally but consistently fail on Travis CI
I would make sure that I am using the exact same version on both locally and on CI. Try pinning jest and babel-jest...
Read more >
Jest snapshots work locally but consistently fail on Travis CI ...
[Solved]-Jest snapshots work locally but consistently fail on Travis CI-Reactjs. Search. score:7 ... run the tests (update snapshots if necessary) and push.
Read more >
Travis build is failing - Development - Image.sc Forum
Travis always complains that builds fail on the mdoube fork, for code that builds fine in PRs and after they are merged into ......
Read more >
Common Build Problems - Travis CI Docs
If your build is failing due to unexpected segmentation faults in the language interpreter, this may be caused by corrupt or invalid caches...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found