Exporting environment variables Exporting CI Exporting DISPLAY 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 SSH_PRIVATE_KEY_PATH Exporting TERM 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 7864 Connecting to cache Running: (ssh-keyscan -p 29920 -H 46.4.218.107 >> /home/semaphore/.ssh/known_hosts || true) && 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) checkout Performing shallow clone with depth: 50 HEAD is now at ef411d5 Bump minimatch from 3.0.4 to 3.0.8 sem-version node 14 [08:49 07/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... #################### 28.0% ######################################################### 80.4% ######################################################################## 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 4.993s [08:50 07/01/2023]: Switch successful. cache restore Detected package-lock.json. Fetching 'node_modules' directory with cache keys 'node-modules-dependabot/npm_and_yarn/minimatch-3.0.8-1f80b07d81e419b93e212e93b053a357,node-modules-dependabot/npm_and_yarn/minimatch-3.0.8,node-modules-master,node-modules-main'... Key 'node-modules-dependabot/npm_and_yarn/minimatch-3.0.8-1f80b07d81e419b93e212e93b053a357' is normalized to 'node-modules-dependabot-npm_and_yarn-minimatch-3.0.8-1f80b07d81e419b93e212e93b053a357'. MISS: 'node-modules-dependabot-npm_and_yarn-minimatch-3.0.8-1f80b07d81e419b93e212e93b053a357'. Key 'node-modules-dependabot/npm_and_yarn/minimatch-3.0.8' is normalized to 'node-modules-dependabot-npm_and_yarn-minimatch-3.0.8'. MISS: 'node-modules-dependabot-npm_and_yarn-minimatch-3.0.8'. HIT: 'node-modules-master', using key 'node-modules-master-5e17c52042bd70dd51019d2c8fef46a0'. Downloading key 'node-modules-master-5e17c52042bd70dd51019d2c8fef46a0'... Download complete. Duration: 77.05924ms. Size: 5.4M bytes. Unpacking '/tmp/node-modules-master-5e17c52042bd70dd51019d2c8fef46a0-3728817848'... Unpack complete. Duration: 196.765593ms. Restored: node_modules/. npm install npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) added 268 packages from 198 contributors, updated 1 package and audited 270 packages in 5.835s 37 packages are looking for funding run `npm fund` for details found 1 critical severity vulnerability run `npm audit fix` to fix them, or `npm audit` for details cache store Detected package-lock.json. Using default cache path 'node_modules'. Key 'node-modules-dependabot/npm_and_yarn/minimatch-3.0.8-fae5469cc1cc3ece779a97258ef0e148' is normalized to 'node-modules-dependabot-npm_and_yarn-minimatch-3.0.8-fae5469cc1cc3ece779a97258ef0e148'. Compressing node_modules... Compression complete. Duration: 666.945601ms. Size: 20.2M bytes. Uploading 'node_modules' with cache key 'node-modules-dependabot-npm_and_yarn-minimatch-3.0.8-fae5469cc1cc3ece779a97258ef0e148'... Upload complete. Duration: 872.952338ms. npm test > grunt-yaml-validator@2.0.0 test /home/semaphore/grunt-yaml-validator > grunt test Loading "Gruntfile.js" tasks...ERROR >> Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: /home/semaphore/grunt-yaml-validator/Gruntfile.js >> require() of ES modules is not supported. >> require() of /home/semaphore/grunt-yaml-validator/Gruntfile.js from /home/semaphore/grunt-yaml-validator/node_modules/grunt/lib/grunt/task.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules. >> Instead rename Gruntfile.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /home/semaphore/grunt-yaml-validator/package.json. Warning: Task "test" not found. Use --force to continue. Aborted due to warnings. npm ERR! Test failed. See above for more details. Exporting environment variables Exporting SEMAPHORE_JOB_RESULT