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 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 2145 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: 1.542919347s. Size: 73.9M bytes. Unpacking '/tmp/nvm-master-73b460c15e66186fc1ec20b9c5619aba-986163539'... Unpack complete. Duration: 1.686376663s. 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: 297.165191ms. Size: 8.6M bytes. Unpacking '/tmp/node-modules-master-edcc6190aa49d242cfde0e097a9da934-408746766'... Unpack complete. Duration: 358.938035ms. Restored: node_modules/. npm run cover > @sineverba/years-interval@1.4.0 cover > npx nyc --reporter=lcov mocha #interval ✔ Should return only current year ✔ Should return two years ✔ Should throw error 3 passing (8ms) docker run --rm -e SONAR_HOST_URL="https://sonarcloud.io" -e SONAR_LOGIN=$SONAR_TOKEN -v "/home/semaphore/npm-pkg-year-interval:/usr/src" sonarsource/sonar-scanner-cli:4.8.0 Unable to find image 'sonarsource/sonar-scanner-cli:4.8.0' locally 4.8.0: Pulling from sonarsource/sonar-scanner-cli  8921db27df28: Pulling fs layer   737f1d2623a0: Pulling fs layer   caecc50532df: Pulling fs layer  caecc50532df: Downloading 731B/731B  caecc50532df: Verifying Checksum  caecc50532df: Download complete  8921db27df28: Downloading 34.14kB/3.371MB  737f1d2623a0: Downloading 539kB/110.1MB  8921db27df28: Downloading 950.3kB/3.371MB  737f1d2623a0: Downloading 2.689MB/110.1MB  8921db27df28: Downloading 2.861MB/3.371MB  8921db27df28: Verifying Checksum  8921db27df28: Download complete  8921db27df28: Extracting 65.54kB/3.371MB  737f1d2623a0: Downloading 6.454MB/110.1MB  8921db27df28: Extracting 1.442MB/3.371MB  737f1d2623a0: Downloading 8.608MB/110.1MB  8921db27df28: Extracting 3.371MB/3.371MB  8921db27df28: Pull complete  737f1d2623a0: Downloading 10.75MB/110.1MB  737f1d2623a0: Downloading 12.89MB/110.1MB  737f1d2623a0: Downloading 15.04MB/110.1MB  737f1d2623a0: Downloading 17.2MB/110.1MB  737f1d2623a0: Downloading 19.34MB/110.1MB  737f1d2623a0: Downloading 21.48MB/110.1MB  737f1d2623a0: Downloading 24.15MB/110.1MB  737f1d2623a0: Downloading 26.83MB/110.1MB  737f1d2623a0: Downloading 28.97MB/110.1MB  737f1d2623a0: Downloading 31.11MB/110.1MB  737f1d2623a0: Downloading 33.26MB/110.1MB  737f1d2623a0: Downloading 35.4MB/110.1MB  737f1d2623a0: Downloading 37.55MB/110.1MB  737f1d2623a0: Downloading 39.71MB/110.1MB  737f1d2623a0: Downloading 41.88MB/110.1MB  737f1d2623a0: Downloading 44.55MB/110.1MB  737f1d2623a0: Downloading 46.68MB/110.1MB  737f1d2623a0: Downloading 48.82MB/110.1MB  737f1d2623a0: Downloading 50.95MB/110.1MB  737f1d2623a0: Downloading 53.1MB/110.1MB  737f1d2623a0: Downloading 55.24MB/110.1MB  737f1d2623a0: Downloading 57.39MB/110.1MB  737f1d2623a0: Downloading 59.54MB/110.1MB  737f1d2623a0: Downloading 61.68MB/110.1MB  737f1d2623a0: Downloading 63.83MB/110.1MB  737f1d2623a0: Downloading 65.99MB/110.1MB  737f1d2623a0: Downloading 68.11MB/110.1MB  737f1d2623a0: Downloading 71.33MB/110.1MB  737f1d2623a0: Downloading 78.25MB/110.1MB  737f1d2623a0: Downloading 85.71MB/110.1MB  737f1d2623a0: Downloading 99.1MB/110.1MB  737f1d2623a0: Verifying Checksum  737f1d2623a0: Download complete  737f1d2623a0: Extracting 557.1kB/110.1MB  737f1d2623a0: Extracting 5.571MB/110.1MB  737f1d2623a0: Extracting 12.26MB/110.1MB  737f1d2623a0: Extracting 17.27MB/110.1MB  737f1d2623a0: Extracting 21.17MB/110.1MB  737f1d2623a0: Extracting 28.41MB/110.1MB  737f1d2623a0: Extracting 30.64MB/110.1MB  737f1d2623a0: Extracting 32.87MB/110.1MB  737f1d2623a0: Extracting 35.09MB/110.1MB  737f1d2623a0: Extracting 41.22MB/110.1MB  737f1d2623a0: Extracting 47.91MB/110.1MB  737f1d2623a0: Extracting 53.48MB/110.1MB  737f1d2623a0: Extracting 57.38MB/110.1MB  737f1d2623a0: Extracting 59.05MB/110.1MB  737f1d2623a0: Extracting 62.39MB/110.1MB  737f1d2623a0: Extracting 67.4MB/110.1MB  737f1d2623a0: Extracting 72.42MB/110.1MB  737f1d2623a0: Extracting 78.54MB/110.1MB  737f1d2623a0: Extracting 84.12MB/110.1MB  737f1d2623a0: Extracting 88.01MB/110.1MB  737f1d2623a0: Extracting 90.24MB/110.1MB  737f1d2623a0: Extracting 91.36MB/110.1MB  737f1d2623a0: Extracting 96.93MB/110.1MB  737f1d2623a0: Extracting 99.16MB/110.1MB  737f1d2623a0: Extracting 100.8MB/110.1MB  737f1d2623a0: Extracting 103.1MB/110.1MB  737f1d2623a0: Extracting 104.7MB/110.1MB  737f1d2623a0: Extracting 107MB/110.1MB  737f1d2623a0: Extracting 109.2MB/110.1MB  737f1d2623a0: Extracting 110.1MB/110.1MB  737f1d2623a0: Pull complete  caecc50532df: Extracting 731B/731B  caecc50532df: Extracting 731B/731B  caecc50532df: Pull complete Digest: sha256:b6545a7210d5f56d411b829abe52c7e55a53dfd4f23b1355c24523e9ac987efe Status: Downloaded newer image for sonarsource/sonar-scanner-cli:4.8.0 INFO: Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.properties INFO: Project root configuration file: /usr/src/sonar-project.properties INFO: SonarScanner 4.8.0.2856 INFO: Java 11.0.17 Alpine (64-bit) INFO: Linux 5.15.0-56-generic amd64 INFO: User cache: /opt/sonar-scanner/.sonar/cache INFO: Analyzing on SonarQube server 8.0.0.36590 INFO: Default locale: "en_US", source code encoding: "UTF-8" (analysis is platform dependent) INFO: Load global settings INFO: Load global settings (done) | time=156ms INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu INFO: User cache: /opt/sonar-scanner/.sonar/cache INFO: Load/download plugins INFO: Load plugins index INFO: Load plugins index (done) | time=145ms INFO: Load/download plugins (done) | time=5053ms INFO: Loaded core extensions: developer-scanner INFO: Load project settings for component key: 'npm-pkg-years-interval' INFO: Load project settings for component key: 'npm-pkg-years-interval' (done) | time=98ms INFO: Process project properties INFO: Execute project builders INFO: Execute project builders (done) | time=2ms INFO: Project key: npm-pkg-years-interval INFO: Base dir: /usr/src INFO: Working dir: /usr/src/.scannerwork INFO: Load project branches INFO: Load project branches (done) | time=129ms INFO: Check ALM binding of project 'npm-pkg-years-interval' INFO: Detected project binding: NOT_BOUND INFO: Check ALM binding of project 'npm-pkg-years-interval' (done) | time=98ms INFO: Load project pull requests INFO: Load project pull requests (done) | time=99ms INFO: Load branch configuration INFO: Load branch configuration (done) | time=3ms INFO: Load quality profiles INFO: Load quality profiles (done) | time=162ms INFO: Load active rules INFO: Load active rules (done) | time=2917ms INFO: Organization key: sineverba INFO: Load project repositories INFO: Load project repositories (done) | time=117ms INFO: Indexing files... INFO: Project configuration: INFO: Excluded sources: **/build-wrapper-dump.json, test/** INFO: 2 files indexed INFO: 0 files ignored because of inclusion/exclusion patterns INFO: 0 files ignored because of scm ignore settings INFO: Quality profile for js: Sonar way INFO: ------------- Run sensors on module npm-pkg-years-interval INFO: Load metrics repository INFO: Load metrics repository (done) | time=126ms INFO: Sensor cache enabled INFO: Load sensor cache WARN: Failed to prepare download of the sensor cache INFO: Load sensor cache (404) | time=58ms INFO: Sensor C# Project Type Information [csharp] INFO: Sensor C# Project Type Information [csharp] (done) | time=1ms INFO: Sensor C# Analysis Log [csharp] INFO: Sensor C# Analysis Log [csharp] (done) | time=21ms INFO: Sensor C# Properties [csharp] INFO: Sensor C# Properties [csharp] (done) | time=0ms INFO: Sensor HTML [web] INFO: Sensor HTML [web] (done) | time=3ms INFO: Sensor Text Sensor [text] INFO: 2 source files to be analyzed INFO: 2/2 source files have been analyzed INFO: Sensor Text Sensor [text] (done) | time=8ms INFO: Sensor VB.NET Project Type Information [vbnet] INFO: Sensor VB.NET Project Type Information [vbnet] (done) | time=2ms INFO: Sensor VB.NET Analysis Log [vbnet] INFO: Sensor VB.NET Analysis Log [vbnet] (done) | time=13ms INFO: Sensor VB.NET Properties [vbnet] INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms INFO: Sensor JaCoCo XML Report Importer [jacoco] INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=4ms INFO: Sensor JavaScript analysis [javascript] INFO: 2 source files to be analyzed INFO: 2/2 source files have been analyzed INFO: Hit the cache for 0 out of 2 INFO: Miss the cache for 2 out of 2: ANALYSIS_MODE_INELIGIBLE [2/2] INFO: Sensor JavaScript analysis [javascript] (done) | time=5756ms INFO: Sensor TypeScript analysis [javascript] INFO: No input files found for analysis INFO: Hit the cache for 0 out of 0 INFO: Miss the cache for 0 out of 0 INFO: Sensor TypeScript analysis [javascript] (done) | time=1ms INFO: Sensor CSS Rules [javascript] INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. INFO: Sensor CSS Rules [javascript] (done) | time=0ms INFO: Sensor JavaScript/TypeScript Coverage [javascript] INFO: Analysing [/usr/src/coverage/lcov.info] INFO: Sensor JavaScript/TypeScript Coverage [javascript] (done) | time=9ms INFO: Sensor ThymeLeaf template sensor [securityjavafrontend] INFO: Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=1ms INFO: Sensor Serverless configuration file sensor [security] INFO: 0 Serverless function entries were found in the project INFO: 0 Serverless function handlers were kept as entrypoints INFO: Sensor Serverless configuration file sensor [security] (done) | time=2ms INFO: Sensor AWS SAM template file sensor [security] INFO: Sensor AWS SAM template file sensor [security] (done) | time=1ms INFO: Sensor AWS SAM Inline template file sensor [security] INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=1ms INFO: Sensor javabugs [dbd] INFO: Reading IR files from: /usr/src/.scannerwork/ir/java INFO: No IR files have been included for analysis. INFO: Sensor javabugs [dbd] (done) | time=2ms INFO: Sensor pythonbugs [dbd] INFO: Reading IR files from: /usr/src/.scannerwork/ir/python INFO: No IR files have been included for analysis. INFO: Sensor pythonbugs [dbd] (done) | time=2ms INFO: Sensor JavaSecuritySensor [security] INFO: Reading type hierarchy from: /usr/src/.scannerwork/ucfg2/java INFO: Read 0 type definitions INFO: No UCFGs have been included for analysis. INFO: Sensor JavaSecuritySensor [security] (done) | time=5ms INFO: Sensor CSharpSecuritySensor [security] INFO: Reading type hierarchy from: /usr/src/ucfg_cs2 INFO: Read 0 type definitions INFO: No UCFGs have been included for analysis. INFO: Sensor CSharpSecuritySensor [security] (done) | time=1ms INFO: Sensor PhpSecuritySensor [security] INFO: Reading type hierarchy from: /usr/src/.scannerwork/ucfg2/php INFO: Read 0 type definitions INFO: No UCFGs have been included for analysis. INFO: Sensor PhpSecuritySensor [security] (done) | time=1ms INFO: Sensor PythonSecuritySensor [security] INFO: Reading type hierarchy from: /usr/src/.scannerwork/ucfg2/python INFO: Read 0 type definitions INFO: No UCFGs have been included for analysis. INFO: Sensor PythonSecuritySensor [security] (done) | time=0ms INFO: Sensor JsSecuritySensor [security] INFO: Reading type hierarchy from: /usr/src/.scannerwork/ucfg2/js INFO: Read 0 type definitions INFO: Reading UCFGs from: /usr/src/.scannerwork/ucfg2/js INFO: 14:17:31.664751 Building Runtime Type propagation graph INFO: 14:17:31.668792 Running Tarjan on 14 nodes INFO: 14:17:31.67221 Tarjan found 14 components INFO: 14:17:31.6742 Variable type analysis: done INFO: 14:17:31.674955 Building Runtime Type propagation graph INFO: 14:17:31.675595 Running Tarjan on 14 nodes INFO: 14:17:31.675791 Tarjan found 14 components INFO: 14:17:31.675948 Variable type analysis: done INFO: Analyzing 2 ucfgs to detect vulnerabilities. INFO: Taint analysis starting. Entrypoints: 2 INFO: Running symbolic analysis for 'JS' INFO: Taint analysis: done. INFO: Sensor JsSecuritySensor [security] (done) | time=1638ms INFO: ------------- Run sensors on project INFO: Sensor Analysis Warnings import [csharp] INFO: Sensor Analysis Warnings import [csharp] (done) | time=1ms INFO: Sensor Zero Coverage Sensor INFO: Sensor Zero Coverage Sensor (done) | time=1ms INFO: CPD Executor Calculating CPD for 1 file INFO: CPD Executor CPD calculation finished (done) | time=15ms INFO: Analysis report generated in 174ms, dir size=208 KB INFO: Analysis report compressed in 18ms, zip size=43 KB INFO: Analysis report uploaded in 213ms INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=npm-pkg-years-interval INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report INFO: More about the report processing at https://sonarcloud.io/api/ce/task?id=AYWhMX7lND20E-Gb-Rcq WARN: Failed to prepare write of the sensor cache INFO: Time spent writing ucfgs 6ms INFO: Analysis total time: 21.469 s INFO: ------------------------------------------------------------------------ INFO: EXECUTION SUCCESS INFO: ------------------------------------------------------------------------ INFO: Total time: 29.446s INFO: Final Memory: 68M/226M INFO: ------------------------------------------------------------------------ Exporting environment variables Exporting SEMAPHORE_JOB_RESULT