Hello,

  Thanks much Divij for the reports and for links

  This is issue is not related to a the current used version of Gradle,
it's occurs even on older versions, and every time it happens with zinc
incremental scala compiler, and this because a timeout
on a lock of zinc caches, possible reason can since there is no
configurable timeout on Gradle side,  for now there is a script retry_sinc
on the root of kafka project that avoid retrying to run a build manually
on jenkins

   Avoiding these errors  for now can cost much time by getting a seperate
workplace and cache for each build
 Stopping all running gradle instances and clearing cache before running a
new one by using ./gradlew --stop (I am not sure this will solve the issue)

  I am trying to understand more about this issue, I'll update you as soon
as I have news about it


~
Said BOUDJELDA


On Thu, Jul 20, 2023 at 11:34 AM Divij Vaidya <divijvaidy...@gmail.com>
wrote:

> I added a link to the PR above, should have added it to this email as well.
>
> See the following link fot the CI errors (it also lists the PRs on top
> right corner (top tags) which are impacted by the error):
>
> https://ge.apache.org/scans/failures?failures.failureMessage=Execution%20failed%20for%20task%20*%0A%3E%20Timeout%20waiting%20to%20lock%20*%20cache%20(/home/jenkins/.gradle/caches/*/*%20It%20is%20currently%20in%20use%20by%20another%20Gradle%20instance.%0A%20%20Owner%20PID:%20*%0A%20%20Our%20PID:%20*%0A%20%20Owner%20Operation:%20%0A%20%20Our%20operation:%20%0A%20%20Lock%20file:%20/home/jenkins/.gradle/caches/*/*/*&search.rootProjectNames=kafka&search.timeZoneId=Europe/Berlin
>
>
> It seems to be settling down on it's own so hopefully we may not have to do
> anything here. Let's observe for another 24 hours.
>
> --
> Divij Vaidya
>
>
>
> On Thu, Jul 20, 2023 at 4:56 AM Luke Chen <show...@gmail.com> wrote:
>
> > Hi Divij,
> >
> > Thanks for the info.
> >
> > I was trying to investigate it, but cannot find the failed CI build with
> > the zinc error.
> > The PR: https://github.com/apache/kafka/pull/14032 is merged in build
> > #2013
> > <https://ci-builds.apache.org/job/Kafka/job/kafka/job/trunk/2013/>.
> > From build #2013 to the latest one, I cannot find any build with the
> error.
> > If there's more info, please share with us.
> >
> > Thank you.
> > Luke
> >
> > On Thu, Jul 20, 2023 at 4:41 AM Divij Vaidya <divijvaidy...@gmail.com>
> > wrote:
> >
> > > If you see CI failures with the error above, it is possible caused by
> > > recent gradle upgrade we merged at
> > > https://github.com/apache/kafka/pull/14032
> > >
> > > I will take a look at it tomorrow and revert the commit if required.
> > > Meanwhile, if someone else gets a chance, please investigate this.
> > >
> > > --
> > > Divij Vaidya
> > >
> >
>

Reply via email to