Skip to content

Instantly share code, notes, and snippets.

@oesolutions
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oesolutions/11271974 to your computer and use it in GitHub Desktop.
Save oesolutions/11271974 to your computer and use it in GitHub Desktop.
Results from Gradle wrapper race condition
[cdore@cdore-vm6 sandbox]$ rm -rf ~/.gradle;cd gradle-wrapper-race;./gradlew tasks & cd ../gradle-wrapper-race2;./gradlew tasks & cd ..
[1] 10211
[2] 10212
[cdore@cdore-vm6 sandbox]$ Downloading http://artifactory.int.pason.com:8081/artifactory/tools-local/gradle-1.11-bin.zip
Downloading http://artifactory.int.pason.com:8081/artifactory/tools-local/gradle-1.11-bin.zip
..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
...............................................Unzipping /home/cdore/.gradle/wrapper/dists/gradle-1.11-bin/30o40snpv91hbadlph1q2r653s/gradle-1.11-bin.zip to /home/cdore/.gradle/wrapper/dists/gradle-1.11-bin/30o40snpv91hbadlph1q2r653s
.......Exception in thread "main" java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:114)
at java.util.zip.ZipFile.<init>(ZipFile.java:131)
at org.gradle.wrapper.Install.unzip(Install.java:148)
at org.gradle.wrapper.Install.createDist(Install.java:65)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:48)
................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Unzipping /home/cdore/.gradle/wrapper/dists/gradle-1.11-bin/30o40snpv91hbadlph1q2r653s/gradle-1.11-bin.zip to /home/cdore/.gradle/wrapper/dists/gradle-1.11-bin/30o40snpv91hbadlph1q2r653s
Set executable permissions for: /home/cdore/.gradle/wrapper/dists/gradle-1.11-bin/30o40snpv91hbadlph1q2r653s/gradle-1.11/bin/gradle
:tasks
------------------------------------------------------------
All tasks runnable from root project
------------------------------------------------------------
Build Setup tasks
-----------------
init - Initializes a new Gradle build. [incubating]
Help tasks
----------
dependencies - Displays all dependencies declared in root project 'gradle-wrapper-race2'.
dependencyInsight - Displays the insight into a specific dependency in root project 'gradle-wrapper-race2'.
help - Displays a help message
projects - Displays the sub-projects of root project 'gradle-wrapper-race2'.
properties - Displays the properties of root project 'gradle-wrapper-race2'.
tasks - Displays the tasks runnable from root project 'gradle-wrapper-race2'.
Other tasks
-----------
wrapper
To see all tasks and more detail, run with --all.
BUILD SUCCESSFUL
Total time: 4.523 secs
[1]- Exit 1 ./gradlew tasks (wd: ~/sandbox/gradle-wrapper-race)
(wd now: ~/sandbox)
[2]+ Done ./gradlew tasks (wd: ~/sandbox/gradle-wrapper-race2)
(wd now: ~/sandbox)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment