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 DOCKER_USERNAME Exporting DOCKER_PASSWORD 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 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 --connect-timeout 3 $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.14.0/linux.tar toolbox/ toolbox/toolbox toolbox/when toolbox/test-results toolbox/ssh-session-cli toolbox/install-package toolbox/sem-service-check-params toolbox/README.md toolbox/libcheckout toolbox/sem-dockerize toolbox/sem-install toolbox/retry toolbox/sem-version toolbox/system-metrics-collector toolbox/libchecksum toolbox/install-toolbox toolbox/cache toolbox/sem-service toolbox/spc toolbox/artifact 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 Installing the test results CLI test-results installed Installing the SPC CLI spc installed Installing the when CLI when 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 2347 Connecting to cache Running: ssh-keyscan -p 29920 -H 46.4.218.107 >> /home/semaphore/.ssh/known_hosts && ssh-add /home/semaphore/.ssh/semaphore_cache_key # 46.4.218.107:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3 # 46.4.218.107:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3 # 46.4.218.107:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3 Identity added: /home/semaphore/.ssh/semaphore_cache_key (/home/semaphore/.ssh/semaphore_cache_key) sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/latest/download/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly && /usr/local/bin/earthly bootstrap --with-autocomplete' --2021-09-01 22:48:53-- https://github.com/earthly/earthly/releases/latest/download/earthly-linux-amd64 Resolving github.com (github.com)... 140.82.121.3 Connecting to github.com (github.com)|140.82.121.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://github.com/earthly/earthly/releases/download/v0.5.23/earthly-linux-amd64 [following] --2021-09-01 22:48:53-- https://github.com/earthly/earthly/releases/download/v0.5.23/earthly-linux-amd64 Reusing existing connection to github.com:443. HTTP request sent, awaiting response... 302 Found Location: https://github-releases.githubusercontent.com/246903803/5a205f7a-30ef-4948-908a-d3ab6fecd579?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210901%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210901T224810Z&X-Amz-Expires=300&X-Amz-Signature=7776d46db8ef38251e83652aab344d3337b6a7b48cb271c82366555a05392b3d&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=246903803&response-content-disposition=attachment%3B%20filename%3Dearthly-linux-amd64&response-content-type=application%2Foctet-stream [following] --2021-09-01 22:48:53-- https://github-releases.githubusercontent.com/246903803/5a205f7a-30ef-4948-908a-d3ab6fecd579?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210901%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210901T224810Z&X-Amz-Expires=300&X-Amz-Signature=7776d46db8ef38251e83652aab344d3337b6a7b48cb271c82366555a05392b3d&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=246903803&response-content-disposition=attachment%3B%20filename%3Dearthly-linux-amd64&response-content-type=application%2Foctet-stream Resolving github-releases.githubusercontent.com (github-releases.githubusercontent.com)... 185.199.108.154, 185.199.109.154, 185.199.110.154, ... Connecting to github-releases.githubusercontent.com (github-releases.githubusercontent.com)|185.199.108.154|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 32753112 (31M) [application/octet-stream] Saving to: ‘/usr/local/bin/earthly’ /usr/local/bin/eart 0%[ ] 0 --.-KB/s /usr/local/bin/eart 60%[===========> ] 19.03M 95.1MB/s /usr/local/bin/eart 100%[===================>] 31.24M 97.9MB/s in 0.3s 2021-09-01 22:48:53 (97.9 MB/s) - ‘/usr/local/bin/earthly’ saved [32753112/32753112] Warning: unable to enable zsh-completion: /usr/local/share/zsh/site-functions does not exist  bootstrap | You may have to restart your shell for autocomplete to get initialized (e.g. run "exec $SHELL")  buildkitd | Starting buildkit daemon as a docker container (earthly-buildkitd)...  buildkitd-pull | Pulling buildkitd image...  buildkitd-pull | ...Done  buildkitd | ...Done  bootstrap | Bootstrapping successful. echo "${DOCKER_PASSWORD}" | docker login -u "${DOCKER_USERNAME}" --password-stdin WARNING! Your password will be stored unencrypted in /home/semaphore/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded checkout Performing shallow clone with depth: 50 HEAD is now at 249b438 README.md cache restore ==> Detecting project structure and fetching cache. * Detected package-lock.json. * Fetching 'node_modules' directory with cache keys 'node-modules-final-7954c6f7faf34acf6bca936662f34ac0,node-modules-final-,node-modules-master-'. HIT: node-modules-final-7954c6f7faf34acf6bca936662f34ac0, using key node-modules-final-7954c6f7faf34acf6bca936662f34ac0 Cache download time: 1 seconds Restored: node_modules/ earthly --ci +lint  buildkitd | Found buildkit daemon as docker container (earthly-buildkitd) node:14.17-alpine3.12 | --> Load metadata linux/amd64  context | --> local context .  +base | --> FROM node:14.17-alpine3.12  +base | [ ] resolve docker.io/library/node:14.17-alpine3.12@sha256:d1ab2eebc4ecb5e6215388960606de9291735e2565e92b765bf600835e630fb6 ... 0%  +base | [██████████] resolve docker.io/library/node:14.17-alpine3.12@sha256:d1ab2eebc4ecb5e6215388960606de9291735e2565e92b765bf600835e630fb6 ... 100%  +base | [██████████] sha256:80709a46b3639eb5f94344bfb029b29785e4f9983d06f05364a1313dec29b084 ... 100%  +base | [ ] sha256:0ff5353a08aaf183c9b0d108191a581196aa677937426f60060d605d002109de ... 0%  +base | [ ] sha256:d78e04f399a8560ec1c452dc0057dd1a1fd7b24635591bd814fb5e916a1370a4 ... 0%  +base | [ ] sha256:e519532ddf75bafbbb0ad01d3fb678ef9395cd8554fa25bef4695bb6e11f39f1 ... 0%  +base | [██████████] sha256:d78e04f399a8560ec1c452dc0057dd1a1fd7b24635591bd814fb5e916a1370a4 ... 100%  +base | [██████████] sha256:e519532ddf75bafbbb0ad01d3fb678ef9395cd8554fa25bef4695bb6e11f39f1 ... 100%  +base | [ ] extracting sha256:e519532ddf75bafbbb0ad01d3fb678ef9395cd8554fa25bef4695bb6e11f39f1 ... 0%  +base | [████████▎ ] sha256:0ff5353a08aaf183c9b0d108191a581196aa677937426f60060d605d002109de ... 83%  +base | [██████████] sha256:0ff5353a08aaf183c9b0d108191a581196aa677937426f60060d605d002109de ... 100%  +base | [██████████] extracting sha256:e519532ddf75bafbbb0ad01d3fb678ef9395cd8554fa25bef4695bb6e11f39f1 ... 100%  +base | [ ] extracting sha256:0ff5353a08aaf183c9b0d108191a581196aa677937426f60060d605d002109de ... 0%  context | transferred 11424 file(s) for context . (62 MB, 13547 file/dir stats)  +base | [██████████] extracting sha256:0ff5353a08aaf183c9b0d108191a581196aa677937426f60060d605d002109de ... 100%  +base | [ ] extracting sha256:d78e04f399a8560ec1c452dc0057dd1a1fd7b24635591bd814fb5e916a1370a4 ... 0%  +base | [██████████] extracting sha256:d78e04f399a8560ec1c452dc0057dd1a1fd7b24635591bd814fb5e916a1370a4 ... 100%  +base | [ ] extracting sha256:80709a46b3639eb5f94344bfb029b29785e4f9983d06f05364a1313dec29b084 ... 0%  +base | [██████████] extracting sha256:80709a46b3639eb5f94344bfb029b29785e4f9983d06f05364a1313dec29b084 ... 100%  +base | --> WORKDIR /app  +build | --> COPY package.json package-lock.json ./  +build | --> COPY --dir --if-exists node_modules ./  +build | --> RUN npm install  ongoing | +build (5 seconds ago)  +build | npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):  +build | npm WARN  +build | npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})  +build | npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):  +build | npm  +build | npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})  +build | audited 984 packages in 5.895s  +build | 39 packages are looking for funding  +build | run `npm fund` for details  +build | found 1 moderate severity vulnerability  +build | run `npm audit fix` to fix them, or `npm audit` for details  +build | --> COPY --dir src ./  +lint | --> COPY .jshintrc ./  +lint | --> RUN npm run lint  +lint | > earthly-demo@1.0.0 lint /app  +lint | > jshint src/*.js  output | --> exporting outputs =================================== SUCCESS ==================================== export SEMAPHORE_JOB_RESULT=passed