Saturday, 29 July 2023

Re: Duplicate Requests in autopkgtest-cloud

On Fri, Jul 28, 2023 at 10:01:50AM +0100, Tim Andersson wrote:
> Hi Steve,

> This is something I missed in the initial implementation, but there's now
> an MP for a fix ready to go into master. Right now, however, I've hotfixed
> prod so that if you pass `all-proposed`, the duplicate request check is
> disabled. I made this quick change to unblock ginggs

Excellent, thank you!

> On Fri, Jul 28, 2023 at 5:19 AM Steve Langasek <steve.langasek@ubuntu.com>
> wrote:
>
> > Hi Tim,
> >
> > On Thu, Jul 27, 2023 at 11:10:05AM +0100, Tim Andersson wrote:
> > > Hi all,
> >
> > > In the Ubuntu QA team we recently made and deployed a change which now
> > > makes it impossible to queue duplicate requests.
> >
> > > If a request is currently in the queue, or is currently running, and you
> > > request the same test, you will be taken to an error page which tells you
> > > the test details and whether it is currently queued or currently running.
> > > It looks like this:
> > > ```
> > >
> > > You submitted an invalid request:
> > >
> > > Test already queued:
> > >
> > > release: lunar
> > >
> > > pkg: gzip
> > >
> > > arch: arm64
> > >
> > > triggers: gzip/1.12-1ubuntu1
> > >
> > > ```
> > > This is to try and ease the load on autopkgtest-cloud.
> >
> > > If you experience any bugs or unexpected functionality, please file a bug
> > > against `autopkgtest-cloud` and let us know. We expect it to work
> > > seamlessly but always expect the unexpected right :)
> >
> > Does the code also properly distinguish between tests queued with
> > proposed=1
> > and those without, so that it's possible to queue both ways in parallel?
> >
> > Thanks,
> > --
> > Steve Langasek Give me a lever long enough and a Free OS
> > Debian Developer to set it on, and I can move the world.
> > Ubuntu Developer https://www.debian.org/
> > slangasek@ubuntu.com vorlon@debian.org
> > --
> > ubuntu-devel mailing list
> > ubuntu-devel@lists.ubuntu.com
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
> >

--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer https://www.debian.org/
slangasek@ubuntu.com vorlon@debian.org