Exporting environment variables Exporting CI Exporting COVERALLS_BITLY_PHP_API_WRAPPER Exporting COVERALLS_CURRICULUM_VITAE Exporting COVERALLS_DOCKER_CLOUDFLARE_DDNS Exporting COVERALLS_JWT_DECODER Exporting COVERALLS_NPM_PKG_DATE_CONVERT Exporting COVERALLS_NPM_PKG_SHORTFIELD Exporting COVERALLS_NPM_PKG_YEAR_INTERVAL Exporting COVERALLS_ONLINE_BANKING_BACKEND Exporting COVERALLS_ONLINE_BANKING_FRONTEND Exporting DISPLAY Exporting DOCKER_TOKEN Exporting DOCKER_USERNAME Exporting GITLAB_TOKEN Exporting HEROKU_API_KEY Exporting NETLIFY_ACCESS_TOKEN Exporting NETLIFY_BITBANK_SITE_ID Exporting NETLIFY_CURRICULUM_VITAE_SITE_ID Exporting NODE_VERSION Exporting NPM_TOKEN Exporting PAGER Exporting SEMAPHORE Exporting SEMAPHORE_AGENT_MACHINE_ENVIRONMENT_TYPE Exporting SEMAPHORE_AGENT_MACHINE_OS_IMAGE Exporting SEMAPHORE_AGENT_MACHINE_TYPE Exporting SEMAPHORE_ARTIFACT_TOKEN Exporting SEMAPHORE_CACHE_ARCHIVE_METHOD Exporting SEMAPHORE_CACHE_BACKEND Exporting SEMAPHORE_CACHE_PRIVATE_KEY_PATH Exporting SEMAPHORE_CACHE_URL Exporting SEMAPHORE_CACHE_USERNAME Exporting SEMAPHORE_GIT_BRANCH Exporting SEMAPHORE_GIT_COMMIT_RANGE Exporting SEMAPHORE_GIT_DIR Exporting SEMAPHORE_GIT_PROVIDER Exporting SEMAPHORE_GIT_REF Exporting SEMAPHORE_GIT_REF_TYPE Exporting SEMAPHORE_GIT_REPO_NAME Exporting SEMAPHORE_GIT_REPO_SLUG Exporting SEMAPHORE_GIT_SHA Exporting SEMAPHORE_GIT_URL Exporting SEMAPHORE_GIT_WORKING_BRANCH Exporting SEMAPHORE_JOB_ID Exporting SEMAPHORE_JOB_NAME Exporting SEMAPHORE_ORGANIZATION_URL Exporting SEMAPHORE_PIPELINE_0_ARTEFACT_ID Exporting SEMAPHORE_PIPELINE_ARTEFACT_ID Exporting SEMAPHORE_PIPELINE_ID Exporting SEMAPHORE_PIPELINE_PROMOTED_BY Exporting SEMAPHORE_PIPELINE_PROMOTION Exporting SEMAPHORE_PIPELINE_RERUN Exporting SEMAPHORE_PROJECT_ID Exporting SEMAPHORE_PROJECT_NAME Exporting SEMAPHORE_TOOLBOX_METRICS_ENABLED Exporting SEMAPHORE_WORKFLOW_HOOK_SOURCE Exporting SEMAPHORE_WORKFLOW_ID Exporting SEMAPHORE_WORKFLOW_NUMBER Exporting SEMAPHORE_WORKFLOW_RERUN Exporting SEMAPHORE_WORKFLOW_TRIGGERED_BY_API Exporting SEMAPHORE_WORKFLOW_TRIGGERED_BY_HOOK Exporting SEMAPHORE_WORKFLOW_TRIGGERED_BY_SCHEDULE Exporting SONAR_TOKEN Exporting SSH_PRIVATE_KEY_PATH Exporting TERM Exporting VERCEL_BITBANK_PROJECT_ID Exporting VERCEL_ORG_ID Exporting VERCEL_TOKEN Injecting Files Injecting /home/semaphore/.ssh/semaphore_cache_key with file mode 0600 Injecting /home/semaphore/.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 http://packages.semaphoreci.com/toolbox/releases/download/v1.19.20/linux.tar toolbox/ toolbox/sem-dockerize toolbox/spc toolbox/retry toolbox/Dockerfile.dev toolbox/sem-service toolbox/when toolbox/libchecksum toolbox/README.md toolbox/sem-version toolbox/sem-semantic-release toolbox/sem-install toolbox/install-package toolbox/install-toolbox toolbox/cache toolbox/enetwork toolbox/libcheckout toolbox/toolbox toolbox/test-results toolbox/ssh-session-cli toolbox/sem-service-check-params toolbox/artifact toolbox/sem-context toolbox/system-metrics-collector retry installed ssh-session-cli installed cache installed sem-context installed sem-service installed sem-dockerize installed sem-service-check-params installed sem-semantic-release 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 Installing the enetwork 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 2162 Connecting to cache Running: (ssh-keyscan -p 29920 -H 94.130.123.200 >> /home/semaphore/.ssh/known_hosts || true) && ssh-add /home/semaphore/.ssh/semaphore_cache_key # 94.130.123.200:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3 # 94.130.123.200:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3 # 94.130.123.200:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3 # 94.130.123.200:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3 # 94.130.123.200:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3 Identity added: /home/semaphore/.ssh/semaphore_cache_key (/home/semaphore/.ssh/semaphore_cache_key) checkout Performing shallow clone with depth: 50 HEAD is now at 62b6047 Merge pull request #31 from sineverba/release-1.4.0 cache restore Detected .nvmrc. Fetching '/home/semaphore/.nvm' directory with cache keys 'nvm-master-73b460c15e66186fc1ec20b9c5619aba,nvm-master,nvm-main'... HIT: 'nvm-master-73b460c15e66186fc1ec20b9c5619aba', using key 'nvm-master-73b460c15e66186fc1ec20b9c5619aba'. Downloading key 'nvm-master-73b460c15e66186fc1ec20b9c5619aba'... Download complete. Duration: 679.719707ms. Size: 73.9M bytes. Unpacking '/tmp/nvm-master-73b460c15e66186fc1ec20b9c5619aba-2890995793'... Unpack complete. Duration: 1.985192876s. Restored: /home/semaphore/.nvm/. Detected package-lock.json. Fetching 'node_modules' directory with cache keys 'node-modules-master-edcc6190aa49d242cfde0e097a9da934,node-modules-master,node-modules-main'... HIT: 'node-modules-master-edcc6190aa49d242cfde0e097a9da934', using key 'node-modules-master-edcc6190aa49d242cfde0e097a9da934'. Downloading key 'node-modules-master-edcc6190aa49d242cfde0e097a9da934'... Download complete. Duration: 81.643888ms. Size: 8.6M bytes. Unpacking '/tmp/node-modules-master-edcc6190aa49d242cfde0e097a9da934-2602218309'... Unpack complete. Duration: 414.749554ms. Restored: node_modules/. sem-version node $NODE_VERSION [14:16 11/01/2023]: Changing 'node' to version 14 Downloading and installing node v14.21.2... Downloading https://nodejs.semaphoreci.com/dist/v14.21.2/node-v14.21.2-linux-x64.tar.xz... ######################## 34.3% ############################################################## 86.8% ######################################################################## 100.0% Computing checksum with sha256sum Checksums matched! Now using node v14.21.2 (npm v6.14.17) Now using node v14.21.2 (npm v6.14.17) /home/semaphore/.nvm/versions/node/v14.21.2/bin/grunt -> /home/semaphore/.nvm/versions/node/v14.21.2/lib/node_modules/grunt-cli/bin/grunt + grunt-cli@1.4.3 added 59 packages from 71 contributors in 2.962s [14:16 11/01/2023]: Switch successful. npm run test > @sineverba/years-interval@1.4.0 test /home/semaphore/npm-pkg-year-interval > npx nyc mocha #interval ✔ Should return only current year ✔ Should return two years ✔ Should throw error 3 passing (7ms) ----------|---------|----------|---------|---------|------------------- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s ----------|---------|----------|---------|---------|------------------- All files | 100 | 100 | 100 | 100 | index.js | 100 | 100 | 100 | 100 | ----------|---------|----------|---------|---------|------------------- Exporting environment variables Exporting SEMAPHORE_JOB_RESULT