Skip to content

ROX-33874: Increase Konflux task timeouts#3015

Open
BradLugo wants to merge 3 commits intomasterfrom
blugo/ROX-33874
Open

ROX-33874: Increase Konflux task timeouts#3015
BradLugo wants to merge 3 commits intomasterfrom
blugo/ROX-33874

Conversation

@BradLugo
Copy link
Copy Markdown
Contributor

@BradLugo BradLugo commented Mar 30, 2026

Description

The time the generate-db-dump job is taking has been increasing over time. These changes increase timeouts for Konflux tasks that pull blobs dependent on generate-db-dump.

Timeouts changed:

  • .tekton/scanner-build.yaml: From 3h0m to 3h30m. The necessary artifacts for this build ('nvd-definitions.zip', 'k8s-definitions.zip', 'repo2cpe.zip', 'genesis_manifests.json') are uploaded during the upload-dumps-for-downstream job, which is dependent on generate-db-dump.
  • .tekton/scanner-db-build.yaml: From 2h30m to 3h0m. pg-definitions.sql.gz is uploaded during the generate-db-dump job.
  • .tekton/scanner-slim-build.yaml: From 1h30m to 3h30m. Same deal as the scanner-build; the necessary artifacts for this build ('nvd-definitions.zip', 'k8s-definitions.zip', 'repo2cpe.zip', 'genesis_manifests.json') are uploaded during the upload-dumps-for-downstream job, which is dependent on generate-db-dump.

Related PR: stackrox/konflux-tasks#98

@BradLugo BradLugo requested review from a team and rhacs-bot as code owners March 30, 2026 19:13
@rhacs-bot rhacs-bot requested a review from a team March 30, 2026 19:13
@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Mar 31, 2026

@BradLugo: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-tests 9604af6 link false /test e2e-tests

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Copy link
Copy Markdown
Contributor

@dcaravel dcaravel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, one Q regarding the image change

value: fetch-scanner-v2-data
- name: bundle
value: quay.io/rhacs-eng/konflux-tasks:latest@sha256:4fa48956b283615f094d0186cb9b36bfa63ea4b798d8ce66d5f95102728150db
value: quay.io/rhacs-eng/konflux-tasks:pr-98@sha256:731e64f1054a03a8d79e9382397cd2a41b2f1d47451e395bd110d6e3709e3ba2
Copy link
Copy Markdown
Contributor

@dcaravel dcaravel Mar 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

assuming this is meant to be temporary until stackrox/konflux-tasks#98 merged?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After the merge, you need to get the newer digest from the merge commit build (you don't need to wait for MintMaker PR, as you are also touching the timeouts)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, this is temporary. My plan was to drop the commit that adds this to make the cherry-picks to the release branches a bit easier.

# Tagged builds wait for blobs to be published, which takes about 1h30m.
timeouts:
tasks: 1h30m
tasks: 3h30m
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this increasing by 2 hours? Do we see frequent failures for this pipeline too?
Your PR description only mentions generate-db-dump, which I assumed concerned scanner-db* images.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(not a blocker, please update the PR description before merging)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great question. I hadn't mapped out all these dependencies before submitting these changes. It looks like we still need this because we upload the necessary artifacts ('nvd-definitions.zip', 'k8s-definitions.zip', 'repo2cpe.zip', 'genesis_manifests.json') during the upload-dumps-for-downstream job, which is dependent on generate-db-dump. I'll update the PR description with each timeout change.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One interesting point: the current .tekton/scanner-slim-build.yaml downloads nvd-definitions.zip, k8s-definitions.zip, and repo2cpe.zip, but I don't think it needs nvd_definitions nor k8s_definitions (appears to still require repo2cpe).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants