Running with gitlab-runner 13.0.0 (c127439c)
  on docker-auto-scale fa6cab46
section_start:1592219348:prepare_executor
Preparing the "docker+machine" executor
Using Docker executor with image gliderlabs/herokuish:latest ...
Starting service postgres:9.6.16 ...
Pulling docker image postgres:9.6.16 ...
Using docker image sha256:cb2889ab0680ba518e0dc1bb5a09cbe23f1e5908d9e484daea3d34f5e092ec17 for postgres:9.6.16 ...
Waiting for services to be up and running...
Pulling docker image gliderlabs/herokuish:latest ...
Using docker image sha256:4abd27a82fd180fdf649ab8552ea6ae2d0441f1f57cd7d6de87eabc5f40675a4 for gliderlabs/herokuish:latest ...
section_end:1592219462:prepare_executor
section_start:1592219462:prepare_script
Preparing environment
Running on runner-fa6cab46-project-4422333-concurrent-0 via runner-fa6cab46-stg-srm-1592219348-96ae482f...
section_end:1592219467:prepare_script
section_start:1592219467: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://ci-api.gstg.gitlab.net/gitlab-org/monitor/monitor-sandbox
 * [new ref]         refs/pipelines/12784619 -> refs/pipelines/12784619
 * [new branch]      master                  -> origin/master
Checking out 8186baa9 as master...

Skipping Git submodules setup
section_end:1592219468:get_sources
section_start:1592219468:restore_cache
Restoring cache
section_end:1592219470:restore_cache
section_start:1592219470:download_artifacts
Downloading artifacts
section_end:1592219471:download_artifacts
section_start:1592219471: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.18.0...
       Using default npm version: 6.14.4
       
-----> Installing dependencies
       Installing node modules (package.json + package-lock)
       added 159 packages from 617 contributors and audited 160 packages in 5.451s
       found 9 vulnerabilities (2 low, 1 moderate, 6 high)
         run `npm audit fix` to fix them, or `npm audit` for details
       
-----> 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 270.359 ms - 170
    ✓ has the default page (313ms)


  1 passing (319ms)

section_end:1592219495:build_script
section_start:1592219495:after_script
Running after_script
section_end:1592219496:after_script
section_start:1592219496:archive_cache
Saving cache
section_end:1592219498:archive_cache
section_start:1592219498:upload_artifacts_on_success
Uploading artifacts for successful job
section_end:1592219499:upload_artifacts_on_success
Job succeeded