Running with gitlab-runner 12.9.0 (4c96e5ad)
  on docker-auto-scale 72989761
section_start:1586197721:prepare_executor
Preparing the "docker+machine" executor
Using Docker executor with image gliderlabs/herokuish:latest ...
Starting service postgres:9.6.2 ...
Pulling docker image postgres:9.6.2 ...
Using docker image sha256:b3b8a22299537a43dc0eb06d8cd469fcdbbca5e8b221dd5f67653242c3951fa1 for postgres:9.6.2 ...
Waiting for services to be up and running...
Pulling docker image gliderlabs/herokuish:latest ...
Using docker image sha256:d7a61f6951a478b8f188bc88007ed01a7bdbd097c829d2cb7ccb04c7f375b344 for gliderlabs/herokuish:latest ...
section_end:1586197835:prepare_executor
section_start:1586197835:prepare_script
Preparing environment
Running on runner-72989761-project-4422333-concurrent-0 via runner-72989761-stg-srm-1586197721-4f49a40c...
section_end:1586197839:prepare_script
section_start:1586197839:get_sources
Getting source from Git repository
$ eval "$CI_PRE_CLONE_SCRIPT"
Fetching changes with git depth set to 50...
Initialized empty Git repository in /builds/gitlab-org/monitor/monitor-sandbox/.git/
Created fresh repository.
From https://staging.gitlab.com/gitlab-org/monitor/monitor-sandbox
 * [new ref]         refs/pipelines/12741993 -> refs/pipelines/12741993
 * [new branch]      master                  -> origin/master
Checking out b2ad8688 as master...

Skipping Git submodules setup
section_end:1586197840:get_sources
section_start:1586197840:restore_cache
Restoring cache
section_end:1586197842:restore_cache
section_start:1586197842:download_artifacts
Downloading artifacts
section_end:1586197843:download_artifacts
section_start:1586197843:build_script
Running before_script and script
$ if [ -z ${KUBERNETES_PORT+x} ]; then # collapsed multi-line command
$ export DATABASE_URL="postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DB_HOST}:5432/${POSTGRES_DB}"
$ cp -R . /tmp/app
$ /bin/herokuish buildpack test
-----> Node.js app detected
       
-----> Creating runtime environment
       
       NPM_CONFIG_LOGLEVEL=error
       NPM_CONFIG_PRODUCTION=false
       NODE_ENV=test
       NODE_MODULES_CACHE=true
       NODE_VERBOSE=false
       
-----> Installing binaries
       engines.node (package.json):  unspecified
       engines.npm (package.json):   unspecified (use default)
       
       Resolving node version 12.x...
       Downloading and installing node 12.16.1...
       Using default npm version: 6.13.4
       
-----> Installing dependencies
       Installing node modules
       added 159 packages in 4.639s
       
-----> Build
       
-----> Caching build
       - node_modules
       
-----> Pruning devDependencies
       Skipping because NODE_ENV is 'test'
       
-----> Build succeeded!

> demo@0.0.0 test /app
> mocha



  App
GET / 200 317.468 ms - 170
    ✓ has the default page (366ms)


  1 passing (372ms)

section_end:1586197870:build_script
section_start:1586197870:after_script
Running after_script
section_end:1586197871:after_script
section_start:1586197871:archive_cache
Saving cache
section_end:1586197873:archive_cache
section_start:1586197873:upload_artifacts_on_success
Uploading artifacts for successful job
section_end:1586197874:upload_artifacts_on_success
Job succeeded