Exporting environment variables Exporting TERM Exporting PAGER Exporting DISPLAY Exporting CI Exporting SEMAPHORE Exporting SEMAPHORE_PROJECT_NAME Exporting SEMAPHORE_PROJECT_ID Exporting SEMAPHORE_JOB_NAME Exporting SEMAPHORE_JOB_ID Exporting SEMAPHORE_AGENT_MACHINE_TYPE Exporting SEMAPHORE_AGENT_MACHINE_OS_IMAGE Exporting SEMAPHORE_AGENT_MACHINE_ENVIRONMENT_TYPE Exporting SEMAPHORE_ORGANIZATION_URL Exporting SEMAPHORE_ARTIFACT_TOKEN Exporting SSH_PRIVATE_KEY_PATH Exporting SEMAPHORE_CACHE_PRIVATE_KEY_PATH Exporting SEMAPHORE_CACHE_USERNAME Exporting SEMAPHORE_CACHE_URL Exporting SEMAPHORE_GIT_URL Exporting SEMAPHORE_GIT_DIR Exporting SEMAPHORE_GIT_SHA Exporting SEMAPHORE_GIT_REPO_SLUG Exporting SEMAPHORE_GIT_REF Exporting SEMAPHORE_GIT_COMMIT_RANGE Exporting SEMAPHORE_GIT_REF_TYPE Exporting SEMAPHORE_GIT_BRANCH Exporting COVERALLS_REPO_TOKEN Exporting SEMAPHORE_WORKFLOW_ID Exporting SEMAPHORE_WORKFLOW_NUMBER Exporting SEMAPHORE_WORKFLOW_RERUN Exporting SEMAPHORE_WORKFLOW_TRIGGERED_BY_HOOK Exporting SEMAPHORE_WORKFLOW_HOOK_SOURCE Exporting SEMAPHORE_WORKFLOW_TRIGGERED_BY_SCHEDULE Exporting SEMAPHORE_WORKFLOW_TRIGGERED_BY_API Exporting SEMAPHORE_PIPELINE_ARTEFACT_ID Exporting SEMAPHORE_PIPELINE_ID Exporting SEMAPHORE_PIPELINE_RERUN Exporting SEMAPHORE_PIPELINE_PROMOTION Exporting SEMAPHORE_PIPELINE_PROMOTED_BY Exporting SEMAPHORE_PIPELINE_0_ARTEFACT_ID Exporting MIX_ENV Exporting DATABASE_URL Exporting ELIXIR_VERSION Exporting ELASTICSEARCH_VERSION Injecting Files Injecting /home/semaphore/.ssh/semaphore_cache_key with file mode 0600 Injecting .ssh/id_rsa with file mode 0600 Setting up the Semaphore toolbox Running: dowloadPath=$(curl -s -L --retry 5 http://packages.semaphoreci.com/toolbox/linux) && echo $dowloadPath && curl -s -L --retry 5 $dowloadPath -o /tmp/toolbox.tar && tar -xvf /tmp/toolbox.tar && mv toolbox ~/.toolbox && bash ~/.toolbox/install-toolbox && source ~/.toolbox/toolbox && echo 'source ~/.toolbox/toolbox' >> ~/.bash_profile && if [ -f /etc/init.d/xvfb ]; then /etc/init.d/xvfb start; fi https://github.com/semaphoreci/toolbox/releases/download/v1.0.5/linux.tar toolbox/ toolbox/README.md toolbox/retry toolbox/sem-dockerize toolbox/sem-version toolbox/install-package toolbox/install-toolbox toolbox/sem-service toolbox/sem-service-check-params toolbox/system-metrics-collector toolbox/cache toolbox/sem-install toolbox/toolbox toolbox/libchecksum toolbox/artifact toolbox/libcheckout toolbox/ssh-session-cli retry installed ssh-session-cli installed cache installed sem-service installed sem-dockerize installed sem-service-check-params installed install-package installed Installing the artifacts CLI artifacts installed Starting to collect System Metrics in /tmp/system-metrics Starting virtual X frame buffer: Xvfb. Starting an ssh-agent Running: eval `ssh-agent` && echo 'eval $(ssh-agent) >/dev/null' >> ~/.bash_profile && echo 'yes' > /tmp/sempahore-user-commands-have-started Agent pid 2511 Connecting to cache Running: ssh-keyscan -p 29920 -H 94.130.123.200 >> /home/semaphore/.ssh/known_hosts && ssh-add /home/semaphore/.ssh/semaphore_cache_key # 94.130.123.200:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.2 # 94.130.123.200:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.2 # 94.130.123.200:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.2 Identity added: /home/semaphore/.ssh/semaphore_cache_key (/home/semaphore/.ssh/semaphore_cache_key) sem-version elixir $ELIXIR_VERSION [01:48 24/01/2021]: Changing 'elixir' to version 1.11.3 Using 1.11.3 [01:48 24/01/2021]: Switch successful. sem-service start postgres Starting postgres...done. PostgreSQL 9.6 is running at 0.0.0.0:5432 To access it use username 'postgres' and blank password. sem-service start elasticsearch $ELASTICSEARCH_VERSION Starting elasticsearch...done. elasticsearch 6.8.13 is accessible at 0.0.0.0:9200 and 0.0.0.0:9300 checkout Performing shallow clone with depth: 50 HEAD is now at 9e1cfd2 :wrench: Add missing typespecs cache restore ==> Detecting project structure and fetching cache. * Detected mix.lock. * Fetching 'deps' directory with cache keys mix-deps-master-039f196fe8759a85ec01d83a134dcf09,mix-deps-master,mix-deps-master HIT: mix-deps-master-039f196fe8759a85ec01d83a134dcf09, using key mix-deps-master-039f196fe8759a85ec01d83a134dcf09 Cache download time: 1 seconds Restored: deps/ * Fetching '_build' directory with cache keys mix-build-master-039f196fe8759a85ec01d83a134dcf09,mix-build-master,mix-build-master HIT: mix-build-master-039f196fe8759a85ec01d83a134dcf09, using key mix-build-master-039f196fe8759a85ec01d83a134dcf09 Cache download time: 1 seconds Restored: _build/ mix local.hex --force * creating /home/semaphore/.kiex/mix/archives/elixir-1.11.3/hex-0.21.1 mix local.rebar --force * creating /home/semaphore/.mix/rebar * creating /home/semaphore/.mix/rebar3 mix deps.get Resolving Hex dependencies... Dependency resolution completed: Unchanged: certifi 2.5.3 connection 1.1.0 db_connection 2.3.1 decimal 2.0.0 earmark_parser 1.4.12 ecto 3.5.5 ecto_sql 3.5.3 ex_doc 0.23.0 excoveralls 0.13.4 hackney 1.17.0 httpoison 1.8.0 idna 6.1.1 jason 1.2.2 makeup 1.0.5 makeup_elixir 0.15.0 metrics 1.0.1 mimerl 1.2.0 nimble_parsec 1.1.0 parse_trans 3.3.1 poison 4.0.1 postgrex 0.15.7 sigaws 0.7.2 ssl_verify_fun 1.1.6 telemetry 0.4.2 unicode_util_compat 0.7.0 vex 0.8.0 All dependencies are up to date bin/test ==> earmark_parser Compiling 3 files (.erl) Compiling 32 files (.ex) Generated earmark_parser app ==> vex Compiling 25 files (.ex) warning: do not use "length(errors) > 0" to check if a list is not empty since length always traverses the whole list. Prefer to pattern match on a non-empty list, such as [_ | _], or use "errors != []" as a guard lib/vex.ex:15 warning: module attribute @only was set but never used lib/vex/blank.ex:2 Generated vex app ==> connection Compiling 1 file (.ex) Generated connection app ==> nimble_parsec Compiling 4 files (.ex) Generated nimble_parsec app ==> makeup Compiling 44 files (.ex) Generated makeup app ==> decimal Compiling 4 files (.ex) Generated decimal app ==> poison Compiling 4 files (.ex) Generated poison app ==> jason Compiling 8 files (.ex) Generated jason app ==> sigaws Compiling 8 files (.ex) Generated sigaws app ==> excoveralls Compiling 27 files (.ex) Generated excoveralls app ==> db_connection Compiling 14 files (.ex) Generated db_connection app ==> httpoison Compiling 3 files (.ex) Generated httpoison app ==> ecto Compiling 56 files (.ex) warning: Decimal.cmp/2 is deprecated. Use compare/2 instead lib/ecto/changeset.ex:2155: Ecto.Changeset.validate_number/6 Generated ecto app ==> makeup_elixir Compiling 6 files (.ex) Generated makeup_elixir app ==> ex_doc Compiling 22 files (.ex) Generated ex_doc app ==> postgrex Compiling 61 files (.ex) Generated postgrex app ==> ecto_sql Compiling 26 files (.ex) Generated ecto_sql app ==> elasticsearch Compiling 21 files (.ex) Generated elasticsearch app Generating docs... warning: documentation references "Elasticsearch.Index.hot_swap/4" but it is undefined or private lib/mix/elasticsearch.build.ex:2: Mix.Tasks.Elasticsearch.Build warning: documentation references "( Elasticsearch.Cluster.t(), index_name :: String.t(), Elasticsearch.Store.t(), list() ) :: :ok | {:error, [map()]}" but it is undefined or private lib/elasticsearch/indexing/bulk.ex:82: Elasticsearch.Index.Bulk.upload/4 warning: documentation references "()) :: Stream.t()" but it is undefined or private lib/elasticsearch/storage/store.ex:6: c:Elasticsearch.Store.stream/1 warning: documentation references "Elasticsearch.Index.hot_swap/5" but it is undefined or private guides/upgrading/0.3.x_to_0.4.x.md warning: documentation references "Elasticsearch.Index.hot_swap/3" but it is undefined or private guides/upgrading/0.3.x_to_0.4.x.md warning: documentation references "Elasticsearch.Index.hot_swap/5" but it is undefined or private guides/upgrading/0.3.x_to_0.4.x.md warning: documentation references "Elasticsearch.Index.hot_swap/3" but it is undefined or private guides/upgrading/0.3.x_to_0.4.x.md View "html" docs at "doc/index.html" warning: documentation references "Elasticsearch.Index.hot_swap/4" but it is undefined or private lib/mix/elasticsearch.build.ex:2: Mix.Tasks.Elasticsearch.Build warning: documentation references "( Elasticsearch.Cluster.t(), index_name :: String.t(), Elasticsearch.Store.t(), list() ) :: :ok | {:error, [map()]}" but it is undefined or private lib/elasticsearch/indexing/bulk.ex:82: Elasticsearch.Index.Bulk.upload/4 warning: documentation references "()) :: Stream.t()" but it is undefined or private lib/elasticsearch/storage/store.ex:6: c:Elasticsearch.Store.stream/1 warning: documentation references "Elasticsearch.Index.hot_swap/5" but it is undefined or private guides/upgrading/0.3.x_to_0.4.x.md warning: documentation references "Elasticsearch.Index.hot_swap/3" but it is undefined or private guides/upgrading/0.3.x_to_0.4.x.md warning: documentation references "Elasticsearch.Index.hot_swap/5" but it is undefined or private guides/upgrading/0.3.x_to_0.4.x.md warning: documentation references "Elasticsearch.Index.hot_swap/3" but it is undefined or private guides/upgrading/0.3.x_to_0.4.x.md View "epub" docs at "doc/elasticsearch.epub" .......................................................................... 1) test .request/5 handles timeouts (Elasticsearch.API.HTTPTest) test/elasticsearch/api/http_test.exs:33 match (=) failed code: assert {:error, %HTTPoison.Error{reason: :timeout}} = HTTP.request(%{}, :get, "http://#{System.get_env("ELASTICSEARCH_HOST", "localhost")}:9200/_cat/health", "", recv_timeout: 0) left: {:error, %HTTPoison.Error{reason: :timeout}} right: { :ok, %HTTPoison.Response{ body: "1611452981 01:49:41 docker-cluster yellow 1 1 5 5 0 0 5 0 - 50.0%\n", headers: [{"content-type", "text/plain; charset=UTF-8"}, {"content-length", "66"}], request: %HTTPoison.Request{body: "", headers: [{"Content-Type", "application/json"}], method: :get, options: [recv_timeout: 0], params: %{}, url: "http://localhost:9200/_cat/health"}, request_url: "http://localhost:9200/_cat/health", status_code: 200 } } stacktrace: test/elasticsearch/api/http_test.exs:34: (test) . Finished in 8.9 seconds 36 doctests, 40 tests, 1 failure Randomized with seed 726958 Successfully uploaded the report to 'https://coveralls.io'. Elixir tests failed! export SEMAPHORE_JOB_RESULT=failed