It is likely that we make two commits at roughly the same time that
triggers two builds, how could this issue be resolve under this case?
On Wed, Jul 29, 2015 at 2:23 AM, Ismael Juma <ism...@juma.me.uk> wrote:

> It looks like two builds are running in the same workspace at the same time
> somehow.
>
> Ismael
>
> On Wed, Jul 29, 2015 at 1:44 AM, Guozhang Wang <wangg...@gmail.com> wrote:
>
> > Anyone knows how this "Could not open buildscript class" issue could
> happen
> > and can we fix it on our side or it is a general jenkins issue?
> >
> > Guozhang
> >
> > On Tue, Jul 28, 2015 at 5:39 PM, Apache Jenkins Server <
> > jenk...@builds.apache.org> wrote:
> >
> > > See <https://builds.apache.org/job/KafkaPreCommit/167/changes>
> > >
> > > Changes:
> > >
> > > [wangguoz] KAFKA-2276; KIP-25 initial patch
> > >
> > > ------------------------------------------
> > > Started by an SCM change
> > > Building remotely on ubuntu3 (Ubuntu ubuntu legacy-ubuntu) in
> workspace <
> > > https://builds.apache.org/job/KafkaPreCommit/ws/>
> > >  > git rev-parse --is-inside-work-tree # timeout=10
> > > Fetching changes from the remote Git repository
> > >  > git config remote.origin.url
> > > https://git-wip-us.apache.org/repos/asf/kafka.git # timeout=10
> > > Fetching upstream changes from
> > > https://git-wip-us.apache.org/repos/asf/kafka.git
> > >  > git --version # timeout=10
> > >  > git fetch --tags --progress
> > > https://git-wip-us.apache.org/repos/asf/kafka.git
> > > +refs/heads/*:refs/remotes/origin/*
> > >  > git rev-parse refs/remotes/origin/trunk^{commit} # timeout=10
> > >  > git rev-parse refs/remotes/origin/origin/trunk^{commit} # timeout=10
> > > Checking out Revision e43c9aff92c57da6abb0c1d0af3431a550110a89
> > > (refs/remotes/origin/trunk)
> > >  > git config core.sparsecheckout # timeout=10
> > >  > git checkout -f e43c9aff92c57da6abb0c1d0af3431a550110a89
> > >  > git rev-list f4101ab3fcf7ec65f6541b157f1894ffdc8d861d # timeout=10
> > > Setting
> > >
> >
> GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
> > > [KafkaPreCommit] $ /bin/bash -xe /tmp/hudson7546159244531236383.sh
> > > +
> > >
> >
> /home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1/bin/gradle
> > > To honour the JVM settings for this build a new JVM will be forked.
> > Please
> > > consider using the daemon:
> > > http://gradle.org/docs/2.1/userguide/gradle_daemon.html.
> > > Building project 'core' with Scala version 2.10.5
> > > :downloadWrapper UP-TO-DATE
> > >
> > > BUILD SUCCESSFUL
> > >
> > > Total time: 16.059 secs
> > > Setting
> > >
> >
> GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
> > > [KafkaPreCommit] $ /bin/bash -xe /tmp/hudson4914211160587558932.sh
> > > + ./gradlew -PscalaVersion=2.10.1 test
> > > To honour the JVM settings for this build a new JVM will be forked.
> > Please
> > > consider using the daemon:
> > > http://gradle.org/docs/2.4/userguide/gradle_daemon.html.
> > >
> > > FAILURE: Build failed with an exception.
> > >
> > > * What went wrong:
> > > Could not open buildscript class cache for settings file
> > > '/x1/jenkins/jenkins-slave/workspace/KafkaPreCommit/settings.gradle'
> > >
> >
> (/home/jenkins/.gradle/caches/2.4/scripts/settings_azpqlzkn71yz2ostwvxkk46wf/SettingsScript/buildscript).
> > > > Timeout waiting to lock buildscript class cache for settings file
> > > '/x1/jenkins/jenkins-slave/workspace/KafkaPreCommit/settings.gradle'
> > >
> >
> (/home/jenkins/.gradle/caches/2.4/scripts/settings_azpqlzkn71yz2ostwvxkk46wf/SettingsScript/buildscript).
> > > It is currently in use by another Gradle instance.
> > >   Owner PID: unknown
> > >   Our PID: 23737
> > >   Owner Operation: unknown
> > >   Our operation: Initialize cache
> > >   Lock file:
> > >
> >
> /home/jenkins/.gradle/caches/2.4/scripts/settings_azpqlzkn71yz2ostwvxkk46wf/SettingsScript/buildscript/cache.properties.lock
> > >
> > > * Try:
> > > Run with --stacktrace option to get the stack trace. Run with --info or
> > > --debug option to get more log output.
> > >
> > > BUILD FAILED
> > >
> > > Total time: 1 mins 3.207 secs
> > > Build step 'Execute shell' marked build as failure
> > > Setting
> > >
> >
> GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
> > >
> >
> >
> >
> > --
> > -- Guozhang
> >
>



-- 
-- Guozhang

Reply via email to