~canonical-kernel/+git/kteam-tools:roxanan/adt-matrix-retry-dkms-build

Last commit made on 2024-01-02
Get this branch:
git clone -b roxanan/adt-matrix-retry-dkms-build https://git.launchpad.net/~canonical-kernel/+git/kteam-tools
Members of Canonical Kernel can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
roxanan/adt-matrix-retry-dkms-build
Repository:
lp:~canonical-kernel/+git/kteam-tools

Recent commits

1cb1b49... by Roxana Nicolescu

adt-matrix: Include main linux package version in triggers for retry

For dkms modules that do not have any specific tests, the matrix will run
`dkms-autopkgtest` (part of dkms source) which consists of building the
module only. The test will run only if the `trigger` parameter contains
the linux main package version because it expects the following version
format:
linux-<derivative>/<kernel_version>-<abi_version>.<upload_version>

For retry, the `trigger` param consists of only meta version which has the
following format:
linux-<derivative>/<kernel_version>.<abi_version>.<upload_version>
which contains a dot instead of a '-' and prevents the test from
running and it marks it as 'Passed'.

Fix this by including the main version for retries too.
Note: When the test is triggered for the first time, the main version is
included, that's why the first run is always correct. The problem appears
only for retries. This broken logic prevents dkms builds failures from
being properly detected if the test is rerun (which usually happens because
people try the test 1-2 times before confirming if there's an issue)

Signed-off-by: Roxana Nicolescu <email address hidden>

30f7122... by Andrea Righi

[KERNTT-688] annotations-tools: fix arch overrides

If a parent annotations sets a config rule for `arch-flavour` and a child annotations overrides the same config with an `arch` rule, the child rule should override the parent also for `arch-flavour`.

This fix allows to properly handle this particular case.

Moreover, add a proper unit test for this particular case, to make sure that we are not breaking this behavior in the future.
Acked-by: Andrei Gherzan <email address hidden>

Acked-by: Andrei Gherzan <email address hidden>
Signed-off-by: Andrea Righi <email address hidden>

edd9cef... by Andrea Righi

annotations-tools: tests: add a new unit test to verify the arch override

Signed-off-by: Andrea Righi <email address hidden>

754ac83... by Andrea Righi

annotations-tools: properly update arch overrides

New rules that are overriding a whole arch should also override all the
correspondent flavours for that particular arch.

Signed-off-by: Andrea Righi <email address hidden>

b823987... by Bethany Jamison

bjamison/update-new-starter-docs

Remove duplication and error between on-boarding documentations - reflects changes made to kteam-docs as well (Cranky Tutorial and New Starter Tasks).
Acked-by: Agathe Porte <email address hidden>

Acked-by: Agathe Porte <email address hidden>
Signed-off-by: bjamison <email address hidden>

6d8f9b4... by Bethany Jamison

cranky: docs: even out line length and added instruction under Env Setup in Crank Turning Setup

Signed-off-by: Bethany Jamison <email address hidden>
Acked-by: Agathe Porte <email address hidden>
Signed-off-by: bjamison <email address hidden>

22680a8... by Bethany Jamison

cranky: docs: remove duplication amongst new starter docs

I removed the 'Add builders' section from Crank Turning Setup because that was hosted in 3
locations with different info (Newstarter Tasks, Crank Turning Setup, Cranky Tutorial) - now
builder info is only in Newstarter Tasks

I moved descriptive paragraphs for each env setup file from Cranky Tutorial to Crank Turning
Setup because I also removed the env setup section from Cranky Tutorial (env setup only lives
in Crank Turning Setup now).

I moved some 'Get cranky tools' info from Cranky Tutorial to Crank Turning Setup because I
removed that section from Cranky Tutorial to consolidate it.

Signed-off-by: Bethany Jamison <email address hidden>
Acked-by: Agathe Porte <email address hidden>
Signed-off-by: bjamison <email address hidden>

e72fdf8... by Bethany Jamison

cranky: docs: update snip-dput.cf in kteam-tools/cranky/docs to be accurate

added ubuntu and ppa method/login

Signed-off-by: Bethany Jamison <email address hidden>
Acked-by: Agathe Porte <email address hidden>
Signed-off-by: bjamison <email address hidden>

92abc37... by Bethany Jamison

cranky: docs: linked env setup files from kteam-tools/cranky/docs to Crank Turning Setup

this make it easier to reference the files as a newstarter who isn't familiar with
how we organize things

Signed-off-by: Bethany Jamison <email address hidden>
Acked-by: Agathe Porte <email address hidden>
Signed-off-by: bjamison <email address hidden>

8f68d3a... by Dimitri John Ledkov

ktl/new_release/add-dependent-versions

Add support for bumping lrm, signed and meta package versions so that all the version mangling is in one place. Handling old meta versions is not yet fully complete, there's sure to be some backports and such that are not yet supported.

This patchset is a prereq for pulling the countless update-version scripts out of the various trees.
Acked-by: Thadeu Lima de Souza Cascardo <email address hidden>
Acked-by: Dimitri John Ledkov <email address hidden>

Acked-by: Thadeu Lima de Souza Cascardo <email address hidden>
Acked-by: Dimitri John Ledkov <email address hidden>
Signed-off-by: Dimitri John Ledkov <email address hidden>