You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2018/02/20 08:04:23 UTC

[GitHub] sijie opened a new pull request #1183: Fix flaky travis build on checking license header

sijie opened a new pull request #1183: Fix flaky travis build on checking license header
URL: https://github.com/apache/bookkeeper/pull/1183
 
 
   Descriptions of the changes in this PR:
   
   *Problem*
   
   In some environments, `BK_VERSION` is computed as `Downloading`, which is not a valid bookkeeper version. It fails the `dev/check-binary-license` script.
   
   ```
   [0K$ if [ "$TRAVIS_OS_NAME" == "linux" ]; then dev/check-binary-license ./bookkeeper-dist/server/target/bookkeeper-server-${BK_VERSION}-bin.tar.gz; fi
   tar: ./bookkeeper-dist/server/target/bookkeeper-server-Downloading: Cannot open: No such file or directory
   tar: Error is not recoverable: exiting now
   tar: ./bookkeeper-dist/server/target/bookkeeper-server-Downloading: Cannot open: No such file or directory
   tar: Error is not recoverable: exiting now
   tar: ./bookkeeper-dist/server/target/bookkeeper-server-Downloading: Cannot open: No such file or directory
   tar: Error is not recoverable: exiting now
   ```
   
   *Solution*
   
   Remove this `BK_VERSION` setting and use "*" in the file path.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services