Thursday, 27 July 2023

Re: Duplicate Requests in autopkgtest-cloud

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