On Wed, Mar 16, 2022 at 2:40 PM Kevin Fenzi <kevin@scrye.com> wrote:
On Wed, Mar 16, 2022 at 01:55:03PM -0400, Neal Becker wrote:
> On Wed, Mar 16, 2022 at 1:45 PM Neal Becker <ndbecker2@gmail.com> wrote:
>
> >
> >
> > On Wed, Mar 16, 2022 at 1:38 PM Neal Becker <ndbecker2@gmail.com> wrote:
> >
> >> I believe it is failing on the line:
> >>   File "/usr/lib/python3.10/site-packages/pyrpkg/lookaside.py", line 298,
> >> in upload
> >>     if self.remote_file_exists(name, filename, hash):
> >>   File "/usr/lib/python3.10/site-packages/pyrpkg/lookaside.py", line 259,
> >> in remote_file_exists
> >>     self.raise_upload_error(status)
> >>
> >> So maybe the file already exists in the cache?  But then, sources has not
> >> been updated, and if I try
> >> fedpkg local it will attempt to build the old version 1.8.1, not the new
> >> 1.9.0.
> >>
> >>
> >>>>
> > OK, so unuran-1.9.0.tar.gz already exists in the cache.  So I had to
> > manually update sources by running
> > md5sum unuran-1.9.0.tar.gz, which luckily I just guessed.  Now everything
> > seems to be working fine.
> >
>
> Ooops, spoke too soon.
> fedpkg local
> Downloading unuran-1.9.0.tar.gz
> ########################################################################
> 100.0%
> Remove downloaded invalid file
> /home/nbecker/fedora.git/unuran/unuran-1.9.0.tar.gz
> Could not execute local: Server returned status code 404
>
> No idea what's going on here.

You seem to have gotten a kerberos ticket for:

NBECKER@FEDORAPROJECT.ORG

which I guess ipa is fine with giving you.
However, our upload script checking your username sees "NBECKER" and not
'nbecker' and denys you.

Can you do:

kdestroy -A

then

kinit nbecker@FEDORAPROJECT.ORG

and see if it works?

kevin

Yes, that was the problem and the solution.  The error messages I saw were not very helpful.  Thanks!