Skip to content
Success

Changes

Summary

  1. HACKING: update bringup notes to account for fedora-coreos-pipeline (details)
  2. test-override: Build qemu in separate invocation (details)
  3. jobs/test-override: disable buildah path for now (details)
  4. jobs/test-override: use newer API for coreos config git rev (details)
  5. Revert "jobs/test-override: disable buildah path for now" (details)
  6. test-override: always buildfetch (details)
  7. test-override: force cosa build (details)
  8. jobs/bodhi-trigger: update stream_to_releasever logic (details)
  9. seed-github-ci: replace configure block with DSL API (details)
Commit b1bcc560859124f241047d3d0cc428afac1390c3 by Dusty Mabe
HACKING: update bringup notes to account for fedora-coreos-pipeline changes

The pipeline was updated to change the structure of the jenkins images
dependency chain in [1] so we needed to update the notes here.

[1] https://github.com/coreos/fedora-coreos-pipeline/pull/1151
The file was modifiedHACKING.md (diff)
Commit 01fc8777a4c64e2b4be60abfb8d02f0012e55db8 by Dusty Mabe
test-override: Build qemu in separate invocation

Fallout from [1].

[1] https://github.com/coreos/coreos-assembler/commit/18b1ec454230a8a9e76a9ea33f6d137ececc5944
The file was modifiedjobs/test-override.Jenkinsfile (diff)
Commit 7579d142427776ba5a4f8e6313d8c5dc59b99ad1 by Dusty Mabe
jobs/test-override: disable buildah path for now

We're still ironing out issues, but we don't want to cause confusion
with Bodhi users. So for now just keep using the legacy path.
The file was modifiedjobs/test-override.Jenkinsfile (diff)
Commit 05601600a212758caf4c4ba17ea45e4631f2bf42 by Jonathan Lebon
jobs/test-override: use newer API for coreos config git rev

The .config-gitrev is legacy. Let's update to use the newer API.

xref: https://github.com/coreos/coreos-assembler/pull/4282
The file was modifiedjobs/test-override.Jenkinsfile (diff)
Commit 9cbf951e8ca83c2b83273484960160c885a70b59 by Jonathan Lebon
Revert "jobs/test-override: disable buildah path for now"

Tests are passing in the buildah path for now so let's re-activate
it for streams where it is configured.

This reverts commit 7579d142427776ba5a4f8e6313d8c5dc59b99ad1.
The file was modifiedjobs/test-override.Jenkinsfile (diff)
Commit 73431a218c32c83c8d5378c364ac11b2391f7be5 by Dusty Mabe
test-override: always buildfetch

Right now we only buildfetch if we are doing autolock (i.e. basing
on mechanical streams). Let's always buildfetch so we can see an
RPM diff when the commit/container is built.

Right now there is a bug where `cosa diff` when it's the first build
in the stream will fail (i.e. causing `cosa build` to fail), but should
be fixed soon. This works around that, but also shows the RPM diff,
which is nice too.
The file was modifiedjobs/test-override.Jenkinsfile (diff)
Commit 07d7c30fbd5d3c2ae40d77ba7c78767a2d085c27 by Dusty Mabe
test-override: force cosa build

We had a case where an RPM build we had fast-tracked finally got
submitted as a bodhi update and this test-override job failed
because "Input hash unchanged". i.e. it detected there was no
changes and didn't do the build, which meant the tests failed.

Let's just force the build here. We know it's not that useful
but reporting failure is worse.
The file was modifiedjobs/test-override.Jenkinsfile (diff)
Commit a0e72c7401b0e61ac5e0b952e93ffea20dfc43f3 by Dusty Mabe
jobs/bodhi-trigger: update stream_to_releasever logic

We moved the definition of the version/releasever in [1] to
build-args.conf so we need to update the logic here to source
in from that location instead of the manifest.

[1] https://github.com/coreos/fedora-coreos-config/commit/6fc060cd8a42e0e8369b9e84d67b6c400eeb863a
The file was modifiedjobs/bodhi-trigger.Jenkinsfile (diff)
Commit f25ee5219c2af2b34cc6287e785bfefaecb6f2ce by Adam Piasecki
seed-github-ci: replace configure block with DSL API

Use the dynamic DSL branchSource{} to configure strategy,traits and
build strategies instead of patching raw XML.
This also amends traits elements from the previous static github{}.

Based on documentation from:
https://jenkins-coreos-ci.apps.ocp.fedoraproject.org/plugin/job-dsl/api-viewer/index.html#path/multibranchPipelineJob-branchSources-branchSource-source-github-traits

resolves: COS-3116 | https://redhat.atlassian.net/browse/COS-3116
The file was modifiedjobs/seed-github-ci.Jenkinsfile (diff)

Summary

  1. cosaBuild: call `cosa osbuild` separately (details)
  2. kolaTestIso: check for testiso command before running tests (details)
  3. kola: add --inst-insecure flag to kola tests (details)
  4. cosaPod: add timeout to prevent pods from running indefinitely (details)
  5. kola: make testiso command detection more verbose (details)
Commit 6a64d66a9bc5979e0ef3bcdd7ad1a05813b7a671 by Dusty Mabe
cosaBuild: call `cosa osbuild` separately

In https://github.com/coreos/coreos-assembler/pull/4255 we are proposing
to remove followup target build support from `cosa build`; i.e. it won't
auto build the `qemu` target when doing a build.

Let's split this part out into a separate step here.
The file was modifiedvars/cosaBuild.groovy (diff)
Commit c3e3f05991913ed3df124fe5c030e23a0fac5724 by nikita
kolaTestIso: check for testiso command before running tests

Part of folding testiso into kola run.
The file was modifiedvars/kolaTestIso.groovy (diff)
Commit 9f6fee70a2dc23a6303d21fe25c576b4a50bb3ba by nikita
kola: add --inst-insecure flag to kola tests

Autodetection of dev builds fails on builds where 'dev' is not part of
the filename scheme, like 'rhcos-9.8.20260506-0-live-iso.x86_64.iso'.
This causes kola tests to fail when they should run in insecure mode.

The obsolete 'vars/kolaTestIso.groovy' used the insecure
flag by default, so this restores that behavior explicitly.
The file was modifiedvars/kola.groovy (diff)
Commit 1bec3c6fef3fd483a4bc743f70c783dc9040d414 by Aashish Radhakrishnan
cosaPod: add timeout to prevent pods from running indefinitely

Add a timeout parameter (default 24 hours) to cosaPod to prevent
hung or failed pods from blocking the pipeline. Callers can override
the default by passing timeout (in hours), or disable it with
timeout: 0 for jobs like debug pods that may need extended runtime.

Fixes: https://github.com/coreos/fedora-coreos-pipeline/issues/1296
The file was modifiedvars/cosaPod.groovy (diff)
Commit 5e96d552bbf2974342b049597b8c02004d72bee5 by nikita
kola: make testiso command detection more verbose

There is a strange issue where probably `shwrapRc("kola help | grep -q testiso")`
returns a non-zero exit code despite the `testiso` command being available.
As a result, we incorrectly fall back to the newer code path and hit
failures like:

  06:19:32  Error: unknown flag: --inst-insecure
The file was modifiedvars/kolaTestIso.groovy (diff)
The file was modifiedvars/kola.groovy (diff)
The file was modifiedvars/utils.groovy (diff)