+ umask 000 + GIT_LFS_SKIP_SMUDGE=1 retry 6 git clone --branch="staging" https://x-token-auth:$REPOSITORY_OAUTH_ACCESS_TOKEN@bitbucket.org/$BITBUCKET_REPO_FULL_NAME.git $BUILD_DIR Cloning into '/opt/atlassian/pipelines/agent/build'... + git reset --hard 4e63f19e4ea63c86cd651ae9242688073a99d05f HEAD is now at 4e63f19e Merged in pipeline (pull request #1108) + git config user.name bitbucket-pipelines + git config user.email commits-noreply@bitbucket.org + git config push.default current + git config http.${BITBUCKET_GIT_HTTP_ORIGIN}.proxy http://localhost:29418/ + git remote set-url origin http://bitbucket.org/$BITBUCKET_REPO_FULL_NAME + git reflog expire --expire=all --all + echo ".bitbucket/pipelines/generated" >> .git/info/exclude + chmod 777 $BUILD_DIR Cache "sonar": Downloading Cache "sonar": Not found Images used: build : docker.io/library/php@sha256:105841da898bae70e9bb3aea525c749f5524d3ba3b57156b025f66097cdd5e70 + docker container run \ --volume=/opt/atlassian/pipelines/agent/build:/opt/atlassian/pipelines/agent/build \ --volume=/opt/atlassian/pipelines/agent/ssh:/opt/atlassian/pipelines/agent/ssh:ro \ --volume=/usr/local/bin/docker:/usr/local/bin/docker:ro \ --volume=/opt/atlassian/pipelines/agent/build/.bitbucket/pipelines/generated/pipeline/pipes:/opt/atlassian/pipelines/agent/build/.bitbucket/pipelines/generated/pipeline/pipes \ --volume=/opt/atlassian/pipelines/agent/build/.bitbucket/pipelines/generated/pipeline/pipes/sonarsource/sonarcloud-scan:/opt/atlassian/pipelines/agent/build/.bitbucket/pipelines/generated/pipeline/pipes/sonarsource/sonarcloud-scan \ --workdir=$(pwd) \ --label=org.bitbucket.pipelines.system=true \ --env=BITBUCKET_STEP_TRIGGERER_UUID="$BITBUCKET_STEP_TRIGGERER_UUID" \ --env=BITBUCKET_REPO_FULL_NAME="$BITBUCKET_REPO_FULL_NAME" \ --env=BITBUCKET_GIT_HTTP_ORIGIN="$BITBUCKET_GIT_HTTP_ORIGIN" \ --env=BITBUCKET_PROJECT_UUID="$BITBUCKET_PROJECT_UUID" \ --env=BITBUCKET_REPO_IS_PRIVATE="$BITBUCKET_REPO_IS_PRIVATE" \ --env=BITBUCKET_WORKSPACE="$BITBUCKET_WORKSPACE" \ --env=BITBUCKET_REPO_OWNER_UUID="$BITBUCKET_REPO_OWNER_UUID" \ --env=BITBUCKET_BRANCH="$BITBUCKET_BRANCH" \ --env=BITBUCKET_REPO_UUID="$BITBUCKET_REPO_UUID" \ --env=BITBUCKET_PROJECT_KEY="$BITBUCKET_PROJECT_KEY" \ --env=BITBUCKET_REPO_SLUG="$BITBUCKET_REPO_SLUG" \ --env=CI="$CI" \ --env=BITBUCKET_REPO_OWNER="$BITBUCKET_REPO_OWNER" \ --env=BITBUCKET_STEP_RUN_NUMBER="$BITBUCKET_STEP_RUN_NUMBER" \ --env=BITBUCKET_BUILD_NUMBER="$BITBUCKET_BUILD_NUMBER" \ --env=BITBUCKET_GIT_SSH_ORIGIN="$BITBUCKET_GIT_SSH_ORIGIN" \ --env=BITBUCKET_PIPELINE_UUID="$BITBUCKET_PIPELINE_UUID" \ --env=BITBUCKET_COMMIT="$BITBUCKET_COMMIT" \ --env=BITBUCKET_CLONE_DIR="$BITBUCKET_CLONE_DIR" \ --env=PIPELINES_JWT_TOKEN="$PIPELINES_JWT_TOKEN" \ --env=BITBUCKET_STEP_UUID="$BITBUCKET_STEP_UUID" \ --env=BITBUCKET_DOCKER_HOST_INTERNAL="$BITBUCKET_DOCKER_HOST_INTERNAL" \ --env=DOCKER_HOST="tcp://host.docker.internal:2375" \ --env=BITBUCKET_PIPE_SHARED_STORAGE_DIR="/opt/atlassian/pipelines/agent/build/.bitbucket/pipelines/generated/pipeline/pipes" \ --env=BITBUCKET_PIPE_STORAGE_DIR="/opt/atlassian/pipelines/agent/build/.bitbucket/pipelines/generated/pipeline/pipes/sonarsource/sonarcloud-scan" \ --env=SONAR_TOKEN="${SONAR_TOKEN}" \ --add-host="host.docker.internal:$BITBUCKET_DOCKER_HOST_INTERNAL" \ sonarsource/sonarcloud-scan:1.2.1 Unable to find image 'sonarsource/sonarcloud-scan:1.2.1' locally 1.2.1: Pulling from sonarsource/sonarcloud-scan 27833a3ba0a5: Pulling fs layer 16d944e3d00d: Pulling fs layer 6aaf465b8930: Pulling fs layer 0684138f4cb6: Pulling fs layer 67c4e741e688: Pulling fs layer 783178df3a0c: Pulling fs layer 0b76c14080f1: Pulling fs layer bf36e4ed36b8: Pulling fs layer 471f55e1f2b3: Pulling fs layer 71259b000269: Pulling fs layer aa8c7fc6fdc0: Pulling fs layer 783178df3a0c: Waiting 67c4e741e688: Waiting 0b76c14080f1: Waiting 0684138f4cb6: Waiting 71259b000269: Waiting aa8c7fc6fdc0: Waiting bf36e4ed36b8: Waiting 471f55e1f2b3: Waiting 6aaf465b8930: Download complete 16d944e3d00d: Verifying Checksum 16d944e3d00d: Download complete 27833a3ba0a5: Download complete 0684138f4cb6: Download complete 67c4e741e688: Verifying Checksum 67c4e741e688: Download complete bf36e4ed36b8: Verifying Checksum bf36e4ed36b8: Download complete 0b76c14080f1: Verifying Checksum 0b76c14080f1: Download complete 71259b000269: Verifying Checksum 71259b000269: Download complete 783178df3a0c: Verifying Checksum 783178df3a0c: Download complete 27833a3ba0a5: Pull complete aa8c7fc6fdc0: Download complete 16d944e3d00d: Pull complete 6aaf465b8930: Pull complete 0684138f4cb6: Pull complete 471f55e1f2b3: Verifying Checksum 471f55e1f2b3: Download complete 67c4e741e688: Pull complete 783178df3a0c: Pull complete 0b76c14080f1: Pull complete bf36e4ed36b8: Pull complete 471f55e1f2b3: Pull complete 71259b000269: Pull complete aa8c7fc6fdc0: Pull complete Digest: sha256:214dffb67340385ff0d251868f71a72f18e2fb92822b7d770ed50068c2a641d2 Status: Downloaded newer image for sonarsource/sonarcloud-scan:1.2.1 INFO: Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.properties INFO: Project root configuration file: NONE INFO: SonarScanner 4.4.0.2170 INFO: Java 11.0.2 Oracle Corporation (64-bit) INFO: Linux 4.19.143-flatcar amd64 INFO: Bitbucket Cloud Pipelines detected INFO: User cache: /root/.sonar/cache INFO: Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.properties INFO: Project root configuration file: NONE INFO: Analyzing on SonarQube server 8.0.0 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) INFO: Load global settings INFO: Load global settings (done) | time=642ms INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu INFO: User cache: /root/.sonar/cache INFO: Load/download plugins INFO: Load plugins index INFO: Load plugins index (done) | time=135ms INFO: Load/download plugins (done) | time=27119ms INFO: Loaded core extensions: developer-scanner INFO: JavaScript/TypeScript frontend is enabled INFO: Process project properties INFO: Execute project builders INFO: Execute project builders (done) | time=1ms INFO: Base dir: /opt/atlassian/pipelines/agent/build INFO: Working dir: /opt/atlassian/pipelines/agent/build/.scannerwork INFO: Found an active CI vendor: 'Bitbucket Pipelines' INFO: Load project branches INFO: Load project branches (done) | time=109ms INFO: Check ALM binding of project 'try_rush_team_api' INFO: Detected project binding: BOUND INFO: Load project pull requests INFO: Load project pull requests (done) | time=111ms INFO: Load branch configuration INFO: Detected analysis for branch 'staging' INFO: Auto-configuring branch staging INFO: Load branch configuration (done) | time=3ms INFO: Load quality profiles INFO: Load quality profiles (done) | time=160ms INFO: Load active rules INFO: Load active rules (done) | time=3183ms INFO: Organization key: rush-team INFO: Branch name: staging, type: short living INFO: SCM collecting changed files in the branch INFO: SCM collecting changed files in the branch (done) | time=297ms INFO: Indexing files... INFO: Project configuration: INFO: 742 files indexed INFO: 0 files ignored because of scm ignore settings INFO: Quality profile for css: Sonar way INFO: Quality profile for js: Sonar way INFO: Quality profile for php: Sonar way INFO: Quality profile for xml: Sonar way INFO: ------------- Run sensors on module try_rush_team_api INFO: JavaScript/TypeScript frontend is enabled INFO: Load metrics repository INFO: Load metrics repository (done) | time=104ms WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by net.sf.cglib.core.ReflectUtils$1 (file:/root/.sonar/cache/a89f1943fc75b65becd9fb4ecab8d913/sonar-tsql-plugin.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) WARNING: Please consider reporting this to the maintainers of net.sf.cglib.core.ReflectUtils$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release INFO: Sensor CSS Metrics [cssfamily] INFO: Sensor CSS Metrics [cssfamily] (done) | time=22ms INFO: Sensor CSS Rules [cssfamily] INFO: 699 source files to be analyzed INFO: 699/699 source files have been analyzed INFO: Sensor CSS Rules [cssfamily] (done) | time=4076ms INFO: Sensor C# Properties [csharp] INFO: Sensor C# Properties [csharp] (done) | time=1ms INFO: Sensor JavaXmlSensor [java] INFO: 1 source files to be analyzed INFO: Sensor JavaXmlSensor [java] (done) | time=183ms INFO: 1/1 source files have been analyzed INFO: Sensor HTML [web] INFO: Sensor HTML [web] (done) | time=344ms INFO: Sensor XML Sensor [xml] INFO: 1 source files to be analyzed INFO: Sensor XML Sensor [xml] (done) | time=131ms INFO: 1/1 source files have been analyzed 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=5ms INFO: Sensor JavaScript analysis [javascript] INFO: Deploying custom rules bundle jar:file:/root/.sonar/cache/d84d9cfffa2bde14907abc49bf13cde5/sonar-securityjsfrontend-plugin.jar!/js-vulnerabilities-rules-1.0.0.tgz to /opt/atlassian/pipelines/agent/build/.scannerwork/.sonartmp/13291339921765183812 INFO: 3 source files to be analyzed INFO: 3/3 source files have been analyzed INFO: Java-based frontend sensor [javascript] INFO: 3 source files to be analyzed INFO: Java-based frontend sensor [javascript] (done) | time=410ms INFO: 3/3 source files have been analyzed INFO: Sensor JavaScript analysis [javascript] (done) | time=2939ms INFO: Sensor ThymeLeaf template sensor [securityjavafrontend] INFO: Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=2ms INFO: Sensor PHP sensor [php] INFO: Starting PHP symbol indexer INFO: 698 source files to be analyzed INFO: 698/698 source files have been analyzed INFO: Starting PHP rules INFO: 698 source files to be analyzed time="2020-10-08T20:32:58Z" level=error msg="error waiting for container: unexpected EOF" Skipping cache upload for failed step