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 2328 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 ced2145 Upgrade dependencies cache restore Detected .nvmrc. Fetching '/home/semaphore/.nvm' directory with cache keys 'nvm-upgrade-dependencies-73b460c15e66186fc1ec20b9c5619aba,nvm-upgrade-dependencies,nvm-master,nvm-main'... HIT: 'nvm-upgrade-dependencies-73b460c15e66186fc1ec20b9c5619aba', using key 'nvm-upgrade-dependencies-73b460c15e66186fc1ec20b9c5619aba'. Downloading key 'nvm-upgrade-dependencies-73b460c15e66186fc1ec20b9c5619aba'... Download complete. Duration: 670.006771ms. Size: 73.9M bytes. Unpacking '/tmp/nvm-upgrade-dependencies-73b460c15e66186fc1ec20b9c5619aba-2906257898'... Unpack complete. Duration: 1.455340024s. Restored: /home/semaphore/.nvm/. Detected package-lock.json. Fetching 'node_modules' directory with cache keys 'node-modules-upgrade-dependencies-0c3d445dd7961862c4cc14a675b4ca38,node-modules-upgrade-dependencies,node-modules-master,node-modules-main'... HIT: 'node-modules-upgrade-dependencies-0c3d445dd7961862c4cc14a675b4ca38', using key 'node-modules-upgrade-dependencies-0c3d445dd7961862c4cc14a675b4ca38'. Downloading key 'node-modules-upgrade-dependencies-0c3d445dd7961862c4cc14a675b4ca38'... Download complete. Duration: 80.39539ms. Size: 8.6M bytes. Unpacking '/tmp/node-modules-upgrade-dependencies-0c3d445dd7961862c4cc14a675b4ca38-738936507'... Unpack complete. Duration: 286.203087ms. Restored: node_modules/. sem-version node $NODE_VERSION [13:58 11/01/2023]: Changing 'node' to version 10 Downloading and installing node v10.24.1... Downloading https://nodejs.semaphoreci.com/dist/v10.24.1/node-v10.24.1-linux-x64.tar.xz... ################################################## 70.4% ######################################################################## 100.0% Computing checksum with sha256sum Checksums matched! Now using node v10.24.1 (npm v6.14.12) Now using node v10.24.1 (npm v6.14.12) /home/semaphore/.nvm/versions/node/v10.24.1/bin/grunt -> /home/semaphore/.nvm/versions/node/v10.24.1/lib/node_modules/grunt-cli/bin/grunt + grunt-cli@1.4.3 added 59 packages from 71 contributors in 6.926s [13:58 11/01/2023]: Switch successful. npm run test > @sineverba/years-interval@1.3.0 test /home/semaphore/npm-pkg-year-interval > npx nyc mocha Error: Not supported at Object.exports.doImport (/home/semaphore/npm-pkg-year-interval/node_modules/mocha/lib/nodejs/esm-utils.js:35:41) at formattedImport (/home/semaphore/npm-pkg-year-interval/node_modules/mocha/lib/nodejs/esm-utils.js:9:28) at Object.exports.requireOrImport (/home/semaphore/npm-pkg-year-interval/node_modules/mocha/lib/nodejs/esm-utils.js:42:34) at Object.exports.loadFilesAsync (/home/semaphore/npm-pkg-year-interval/node_modules/mocha/lib/nodejs/esm-utils.js:100:34) at Mocha.loadFilesAsync (/home/semaphore/npm-pkg-year-interval/node_modules/mocha/lib/mocha.js:447:19) at singleRun (/home/semaphore/npm-pkg-year-interval/node_modules/mocha/lib/cli/run-helpers.js:125:15) at exports.runMocha (/home/semaphore/npm-pkg-year-interval/node_modules/mocha/lib/cli/run-helpers.js:190:10) at Object.exports.handler (/home/semaphore/npm-pkg-year-interval/node_modules/mocha/lib/cli/run.js:370:11) at innerArgv.then.argv (/home/semaphore/npm-pkg-year-interval/node_modules/yargs/build/index.cjs:443:71) at process._tickCallback (internal/process/next_tick.js:68:7) at Function.Module.runMain (internal/modules/cjs/loader.js:834:11) at startup (internal/bootstrap/node.js:283:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3) ----------|---------|----------|---------|---------|------------------- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s ----------|---------|----------|---------|---------|------------------- All files | 0 | 0 | 0 | 0 | ----------|---------|----------|---------|---------|------------------- npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @sineverba/years-interval@1.3.0 test: `npx nyc mocha` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @sineverba/years-interval@1.3.0 test script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/semaphore/.npm/_logs/2023-01-11T13_58_23_595Z-debug.log Exporting environment variables Exporting SEMAPHORE_JOB_RESULT