# SonarQube plug-in cannot unzip a file from the cache

**URL:** <https://travis-ci.community/t/sonarqube-plug-in-cannot-unzip-a-file-from-the-cache/2791>\
**Category:** Environments\
**Created:** [March 26, 2019, 6:12am UTC](https://travis-ci.community/t/sonarqube-plug-in-cannot-unzip-a-file-from-the-cache/2791 "2019-03-26T06:12:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rtobar](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/rtobar/32/1452_2.png) [@rtobar](https://travis-ci.community/u/rtobar)\
**Post date:** [March 26, 2019, 6:12am UTC](https://travis-ci.community/t/sonarqube-plug-in-cannot-unzip-a-file-from-the-cache/2791/1 "2019-03-26T06:12:32Z")

</div>

Hi,

Today I started seeing intermittent, but frequent, problem with the sonar qube plug-in in my builds, where one of the zipfiles seems to be missing or corrupted. Is there any chance to know what is going on? Thanks!

> <https://github.com/ICRAR/libprofit/blob/master/.travis.yml>

And this is a job example where it fails:

[https://travis-ci.org/ICRAR/libprofit/jobs/511329639](https://travis-ci.org/ICRAR/libprofit/jobs/511329639)

```
SonarCloud addon
addon hash: de356982c12b370c7bfe9c5317053863
Preparing SonarQube Scanner CLI
Archive: /home/travis/.sonarscanner/sonar-scanner.zip
  inflating: /home/travis/.sonarscanner/sonar-scanner-3.0.3.778/bin/sonar-scanner-debug.bat  
  inflating: /home/travis/.sonarscanner/sonar-scanner-3.0.3.778/bin/sonar-runner.bat  
  inflating: /home/travis/.sonarscanner/sonar-scanner-3.0.3.778/bin/sonar-scanner.bat  
  inflating: /home/travis/.sonarscanner/sonar-scanner-3.0.3.778/bin/sonar-runner  
  inflating: /home/travis/.sonarscanner/sonar-scanner-3.0.3.778/bin/sonar-scanner  
  inflating: /home/travis/.sonarscanner/sonar-scanner-3.0.3.778/bin/sonar-scanner-debug  
   creating: /home/travis/.sonarscanner/sonar-scanner-3.0.3.778/conf/
  inflating: /home/travis/.sonarscanner/sonar-scanner-3.0.3.778/conf/sonar-scanner.properties  
   creating: /home/travis/.sonarscanner/sonar-scanner-3.0.3.778/lib/
  inflating: /home/travis/.sonarscanner/sonar-scanner-3.0.3.778/lib/sonar-scanner-cli-3.0.3.778.jar  
$ export SONAR_SCANNER_HOME=${TRAVIS_HOME}/.sonarscanner/sonar-scanner-3.0.3.778
Preparing build wrapper for SonarSource C/C++ plugin
Archive: /home/travis/.sonar/cache//build-wrapper-linux-x86.zip
  End-of-central-directory signature not found. Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive. In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of /home/travis/.sonar/cache//build-wrapper-linux-x86.zip or
        /home/travis/.sonar/cache//build-wrapper-linux-x86.zip.zip, and cannot find /home/travis/.sonar/cache//build-wrapper-linux-x86.zip.ZIP, period.
```
