I use CircleCI to test my Elixir/Phoenix app for several months.
For the past few days I have been plagued by strange phenomena.
While things go well on a topic branch, after merging it into another branch the tests on the CircleCI always fail.
Specifically, they fail on the mix do deps.get, compile
phase with these messages:
===> Compiling telemetry
===> Uncaught error in rebar_core. Run with DEBUG=1 to see stacktrace or consult rebar3.crashdump
===> When submitting a bug report, please include the output of `rebar3 report "your command"`
** (Mix) Could not compile dependency :telemetry, "/home/circleci/.mix/rebar3 bare compile --paths "/home/circleci/app/_build/test/lib/*/ebin"" command failed. You can recompile this dependency with "mix deps.compile telemetry", update it with "mix deps.update telemetry" or clean it with "mix deps.clean telemetry"
There is no essential difference between the topic branch and the other branch.
I just made minor fixes.
The local tests are green on both branches.
So I suppose this problem is not because of telemetry, but because of the environment of CircleCI or my configuration.