Hi Anshum,
I've faced several issues in the past in that same step, and have found a
workaround that works for me reliably. But, that's specific to Linux. In
case you are continuing to face difficulties, I can volunteer to sync up
with you and take it forward on my end.
Thanks and regards,
Ishan

On Mon, 19 Aug, 2024, 5:37 pm Jason Gerlowski, <gerlowsk...@gmail.com>
wrote:

> Not to say it's what you're running into here, but I've seen this in
> the past when the 'signJarsPublication' task is waiting for your gpg
> passphrase on stdin, and times out.  You can use gpg-agent or other
> setups to avoid entering your passphrase mid-Gradle execution, but
> I've found that to be a bit finicky in my personal experience at
> least, and the build sometimes waits for a passphrase that I would've
> expected it to get from gpg-agent.
>
> The prompt, when Gradle is waiting on the passphrase, can be hard to
> spot.  I guess a giveaway is if Gradle execution pauses and doesn't
> output anything for several minutes before 'signJarsPublication'
> fails?
>
> Best,
>
> Jason
>
> On Sat, Aug 17, 2024 at 2:37 PM Anshum Gupta <ans...@anshumgupta.net>
> wrote:
> >
> > The step completed fine, but seems like there's something else going on.
> > The RC build is consistently failing at the following step
> >
> > > Task :solr:api:signJarsPublication
> > > gpg: signing failed: Timeout
> > > gpg: signing failed: Timeout
> > > > Task :solr:api:signJarsPublication FAILED
> > > FAILURE: Build failed with an exception.
> > > * What went wrong:
> > > Execution failed for task ':solr:api:signJarsPublication'.
> > > > Process 'command 'gpg'' finished with non-zero exit value 2
> >
> >
> > Creating a test file and signing it works just fine on the terminal
> though.
> >
> > > > echo test > test-file
> > > > ls -ltr test-file
> > > -rw-r--r--  1 anshumg  staff  5 Aug 17 02:29 test-file
> > > > gpg --use-agent --sign test-file
> > > > ls -ltr test-file.gpg
> > > -rw-r--r--  1 anshumg  staff  610 Aug 17 02:29 test-file.gpg
> >
> >
> > I've tried a bunch of things including restarting the gpg client,
> > downgrading my gpg version, etc. but nothing seems to solve the issue.
> >
> > Has anyone seen this before?
> >
> >
> > On Fri, Aug 16, 2024 at 2:02 PM David Smiley <dsmi...@apache.org> wrote:
> >
> > > The key stuff is the biggest pain.  I'm glad you're through it.
> > >
> > > On Fri, Aug 16, 2024 at 12:30 PM Anshum Gupta <ans...@apache.org>
> wrote:
> > > >
> > > > Hi everyone,
> > > >
> > > > I started building the RC last night (Pacific Time) so please don't
> merge
> > > > anything into 9.7 at this point without checking with me.
> > > >
> > > > I've had a few issues with GPG but they are mostly fixed now.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscr...@solr.apache.org
> > > For additional commands, e-mail: dev-h...@solr.apache.org
> > >
> > >
> >
> > --
> > Anshum Gupta
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@solr.apache.org
> For additional commands, e-mail: dev-h...@solr.apache.org
>
>

Reply via email to