This page describes when the scheduled workflows run and the constraints that
led to those times. All times are UTC unless stated. The cron: lines in the
workflows deliberately carry no comments; update this page in the same commit
as any change to them.
| Time | Days | Workflow | File |
|---|---|---|---|
| 19:00 | Sunday | EFS Maintenance | efs-maintenance.yml |
| 21:00 | daily | Build (qcom-next QLI images) | build.yml |
| 23:00 | daily | qcom-7.3 linux build | linux-qcom-7.3.yml |
| 01:00 | daily | arduino linux build | linux-arduino.yml |
| 03:00 | daily | qcom-laptops linux build | linux-qcom-laptops.yml |
| 05:00 | daily | linux-next linux build | linux-next.yml |
| 07:00 | daily | Build Debian | build-debian.yml |
| 09:00 | daily | mainline linux build | linux-mainline.yml |
| 11:00 | Monday | Build U-Boot for RB1 | u-boot.yml |
stale-issues.yaml also runs daily at 01:30, but only on a GitHub-hosted
runner and without LAVA jobs, so it is not part of the sequence above.
linux-qcom-next.yml is deprecated and is only manually triggered.
- The QLI images are preferred. The
qcom-nextandqcom-7.3images and their test results are shared with the test teams, who expect them around 8:00am IST (2:30am UTC). The LAVA tests in this repository run fully-featured test cases and can take a long time, so these builds start the evening before. - Builds start two hours apart, on the hour. They share the self-hosted runners and the LAVA queue; spacing them out stops each workflow's LAVA jobs from queuing behind the previous workflows.
- The rest follow in no particular order. The project-specific kernels (arduino, qcom-laptops) come next, then linux-next and Vanilla Debian, which tracks upstream Debian rather than what QLI ships. Mainline is the last daily build.
- The weekly U-Boot build runs on Monday after the daily ones. It only starts once the daily builds are done with the runners and LAVA, so it doesn't add its jobs on top.
- EFS maintenance runs before the first build, to prune old artifacts, which is best avoided while a build is publishing to EFS.
- Keep the
qcom-nextandqcom-7.3results landing before the 2:30am UTC deadline. - Keep the two hour gap between builds and don't overlap EFS maintenance.
- Update the table above.
debos.yml generates the SBOMs of each image it builds and packs them, with
the license summary and the APT archive of each package, which the SBOMs don't
record, into a <prefix>-sbom.tar.gz archive, which is published
next to the images and uploaded as an artifact of the same name.
sbom-compliance-scan.yml then checks the VEX coverage of all the SBOMs of a
workflow run and scans them for vulnerabilities with Grype, in a single job,
including the QLI advisories, see below.
It packs the reports and the VEX coverage warnings of each image into a
<prefix>-vulns.tar.gz archive, which is published next to the images too and
uploaded in a vulns artifact. It installs the Grype vulnerability database
through a cache on EFS, see scripts/compliance/grype-db-cache.sh.
Every workflow building images runs it after its build jobs, even when some
builds failed. The test jobs don't wait for it, and its failures don't fail the
build jobs; they do fail the workflow run though, so test-pr.yml, which only
tests the images of successful "Build on PR" runs, skips them.
It can also be run manually with the ID of an earlier workflow run, to rescan the SBOMs of that run, e.g. after updating the VEX data; the reports are then published under the manual run.
Grype only knows the vulnerabilities of the data sources of its database, which
for Debian packages is the Debian security-tracker, so it can't report those
of packages the tracker doesn't cover, e.g. from the QLI overlay. These are
recorded as OSV advisories in advisories/ on the QLI security-tracker instead,
see its advisories/README.md.
Grype can't load extra vulnerability data, so before scanning,
sbom-compliance-scan.yml adds the advisories to the database installed for the
job (not to the cache on EFS), as another Debian data source, provider qli,
with scripts/compliance/grype-db-add-advisories.py. Grype then matches them
like the Debian security-tracker's data and reports their findings in its
regular reports, under the qli:distro:debian:<release> namespace, with the
advisory, at the commit of the QLI security-tracker used, as their data source;
the VEX statements apply to them too. Warnings, e.g. about advisories the Debian
security-tracker covers by now, are listed once at the end of the job summary.
The Debian security-tracker only covers Debian's own kernel, so Grype reports no
CVE at all for the QLI kernels, e.g. linux-qcom-next. Their CVEs come from the
Linux kernel CNA instead, whose records in
vulns.git give the
mainline and stable versions each is fixed in, and the files its fix changes.
sbom-compliance-scan.yml clones it, and scripts/compliance/kernel-cves.py
assesses the kernel of each image: the package installing its /boot/vmlinuz-*
or /usr/lib/modules/*/vmlinuz, unless it comes from a Debian archive, per
rootfs-sbom.syft-apt-origins.json. An image without kernel is an error.
- the CVEs affecting the upstream version of the kernel package, e.g. 7.3.0
for
7.3.0+git20261030~gae2606baf50f-0qli1~bpo13+1, become OSV records for exactly that package version, which go into the Grype database along with the QLI advisories. Grype reports them for every binary package of the kernel, under theqli:distro:debian:<release>namespace, with the CVE record as their data source, as not fixed: no version of the kernel's package is known to fix them. Its default rule for kernel headers hides the duplicates on thelinux-headers-*packages - those whose fix changes no file compiled into the kernel get a
not_affected(vulnerable_code_not_present) statement in a VEX document of the image,rootfs-kernel.openvex.json, which the scan takes along with the security-tracker's.scripts/compliance/kernel-compiled-sources.pylists the files compiled into the kernel from the debug info of itslinux-image-*-dbgpackage, which it downloads with apt from the APT archive the image installed the kernel from, perrootfs-sbom.syft-apt-origins.json, e.g. a snapshot of the QLI repository, with the key of the image's source of it. Kconfig files and Makefiles only count when a fix changes nothing else, and only those of directories with compiled sources. Without that package, e.g. for kernels built withbindeb-pkg, from no known archive, or ones removed from the archive by now, the kernel is assessed by version alone, with a warning - those left open which an upstream release fixes, the stable release of the
kernel's branch or the mainline one, get an
affectedstatement in that document naming the releases, which the job summary shows as 🟠 triaged rather than not fixed. The releases are also added to the end of each CVE's description, so Grype's reports show them too
The counts are in rootfs-kernel-cves.txt and in the job summary. The
version check is conservative: release candidates and git snapshots count as
before their release, and fixes backported outside of stable releases aren't
known.
The SBOMs and vulnerability reports of the most recent build of each image are
also published at a static location of the S3 bucket, for tooling to fetch them
regularly: qualcomm-linux/qcom-deb-images/latest/<channel>/<prefix>/.
<prefix> is the prefix of the image's artifacts, <suite>[-<variant>][-<profile>]
(e.g. trixie, trixie-xfce-debug), and <channel> is passed to
sbom-compliance-scan.yml by the workflow building the image:
debian-qli: the QLI images, frombuild.ymldebian-baseline: the vanilla Debian images, frombuild-debian.yml
The other workflows don't publish their data there.
Each image directory holds the files of its <prefix>-sbom.tar.gz and
<prefix>-vulns.tar.gz archives, each compressed on its own with gzip:
rootfs-sbom.cyclonedx.json.gz,rootfs-sbom.spdx.json.gz,rootfs-sbom.syft.json.gz,rootfs-sbom.syft.txt.gz: the SBOMs, from Syftrootfs-sbom.syft-license-summary.csv.txt.gz: the license summaryrootfs-sbom.syft-apt-origins.json.gz: the APT archives (vendor, URI, suite and component) providing each package, from the APT lists of the image, and the image's APT sources, with the keyring files they namerootfs-vulns.grype.json.gz,rootfs-vulns.grype.cyclonedx.json.gz,rootfs-vulns.grype.txt.gz: the Grype vulnerability reports, including the findings from the QLI advisoriesrootfs-vex-warnings.txt.gz: the VEX coverage warningsrootfs-kernel-cves.txt.gz,rootfs-kernel.openvex.json.gz: the kernel CVE assessment and its VEX statements, for images with a QLI kernel; see Kernel CVEs
along with an uncompressed manifest.json giving the build the data describes
(build.id, build.run_url, build.artifacts_url where its images are), the
scan that produced the reports (scan.run_url, scan.date, the Grype version
and database build date) and the SHA-256 of every file. S3 has no symlinks, so
the archives aren't copied there: archives.sbom.url and archives.vulns.url
point at them in the directories of the build and scan runs, with their
SHA-256 too. The files are overwritten in place, and the manifest last, so
tooling should check the files against the manifest and retry on a mismatch.
See scripts/compliance/compliance-manifest.py.
This data is only published for the main repository, by runs of its main
branch or manual runs, like the Grype database cache. Images whose build failed
keep the data of their last successful build. Nothing is deleted, but the
objects are tagged with retention=30d for the retention policy of the S3
bucket: the data of an image which is no longer built expires 30 days after it
was last published, while the data of the others is refreshed by every build.
The archives the manifests point at are published under the directories of the
runs, which may expire sooner. A manual rescan only publishes when given a
channel; mind that rescanning an older run replaces the data of newer builds.