Skip to content

Test firewatch jira cloud token#76368

Draft
tanfengshuang wants to merge 8 commits intoopenshift:mainfrom
tanfengshuang:test-firewatch-jira-cloud-token
Draft

Test firewatch jira cloud token#76368
tanfengshuang wants to merge 8 commits intoopenshift:mainfrom
tanfengshuang:test-firewatch-jira-cloud-token

Conversation

@tanfengshuang
Copy link
Contributor

No description provided.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 17, 2026

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci openshift-ci bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. do-not-merge/invalid-owners-file Indicates that a PR should not merge because it has an invalid OWNERS file in it. labels Mar 17, 2026
Changes:
1. Update firewatch JIRA_SERVER URL to Atlassian Cloud
   - Changed from issues.redhat.com to redhat.atlassian.net

2. Add new test step: firewatch-test-jira-token
   - Validates Jira Cloud token connectivity
   - Tests authentication and project access
   - Verifies issue creation permissions

3. Add test job configuration
   - Daily cron job to validate token remains valid
   - Uses firewatch container and credentials

This allows testing the Jira Cloud migration without affecting
production firewatch jobs.

Related: Red Hat Jira migration to Atlassian Cloud
@tanfengshuang tanfengshuang force-pushed the test-firewatch-jira-cloud-token branch from 0659353 to 9a11d95 Compare March 17, 2026 04:44
@tanfengshuang
Copy link
Contributor Author

/test all

@openshift-ci openshift-ci bot removed the do-not-merge/invalid-owners-file Indicates that a PR should not merge because it has an invalid OWNERS file in it. label Mar 17, 2026
@tanfengshuang
Copy link
Contributor Author

/pj-rehearse periodic-ci-openshift-release-master-firewatch-jira-token-test-firewatch-jira-cloud-token-validation

@openshift-ci-robot
Copy link
Contributor

@tanfengshuang: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci-robot
Copy link
Contributor

@tanfengshuang: job(s): periodic-ci-openshift-release-master-firewatch-jira-token-test-firewatch-jira-cloud-token-validation either don't exist or were not found to be affected, and cannot be rehearsed

@tanfengshuang
Copy link
Contributor Author

/pj-rehearse periodic-ci-openshift-release-master-firewatch-jira-token-test-firewatch-jira-cloud-token-validation

@openshift-ci-robot
Copy link
Contributor

@tanfengshuang: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

Changes:
- Remove cluster_profile (not needed for token validation)
- Use 'container' test type instead of 'steps'
- Inline the test script in the config
- Add base_images reference to firewatch:main

This fixes the missing dependency error:
  'step is missing dependencies: release:latest'

Token validation doesn't need a cluster, just the firewatch
container with Jira credentials mounted.
@tanfengshuang
Copy link
Contributor Author

/pj-rehearse periodic-ci-openshift-release-master-firewatch-jira-token-test-firewatch-jira-cloud-token-validation

@openshift-ci-robot
Copy link
Contributor

@tanfengshuang: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci-robot
Copy link
Contributor

@tanfengshuang, pj-rehearse: unable to determine affected jobs. This could be due to a branch that needs to be rebased. ERROR:

could not load configuration from candidate revision of release repo: failed to load ci-operator configuration from release repo: invalid ci-operator config: invalid configuration: tests[0]: either `commands`, `steps`, or `literal_steps` should be set
Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse list to get an up-to-date list of affected jobs
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

@openshift-ci-robot
Copy link
Contributor

@tanfengshuang, pj-rehearse: unable to determine affected jobs ERROR:

could not load configuration from candidate revision of release repo: failed to load ci-operator configuration from release repo: invalid ci-operator config: invalid configuration: tests[0]: either `commands`, `steps`, or `literal_steps` should be set

If the problem persists, please contact Test Platform.

The test configuration needs both 'commands' and 'container' fields.
The container field specifies:
- Which image to use (firewatch:main)
- Credentials to mount (firewatch-tool-jira-credentials)

Generated periodic job:
- periodic-ci-openshift-release-master-firewatch-jira-token-test-firewatch-jira-cloud-token-validation

Validated with: make update (exit code 0)
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 17, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: tanfengshuang
Once this PR has been reviewed and has the lgtm label, please assign calebevans, wking for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tanfengshuang
Copy link
Contributor Author

/pj-rehearse periodic-ci-openshift-release-master-firewatch-jira-token-test-firewatch-jira-cloud-token-validation

@openshift-ci-robot
Copy link
Contributor

@tanfengshuang: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@tanfengshuang
Copy link
Contributor Author

/pj-rehearse periodic-ci-openshift-release-master-firewatch-jira-token-test-firewatch-jira-cloud-token-validation

@openshift-ci-robot
Copy link
Contributor

@tanfengshuang: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci-robot
Copy link
Contributor

[REHEARSALNOTIFIER]
@tanfengshuang: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
pull-ci-CSPI-QE-MSI-rhods-rhoam-v4.14-stage-co-exist-rosa-rhoai-rhoam CSPI-QE/MSI presubmit Registry content changed
pull-ci-CSPI-QE-MSI-rhods-rhoam-v4.14-production-co-exist-rosa-rhoai-rhoam CSPI-QE/MSI presubmit Registry content changed
pull-ci-CSPI-QE-MSI-acm-observability-v4.14-stage-multi-cluster-observability-4-14-rosa-acm-gcp-mngd-rosa-mngd CSPI-QE/MSI presubmit Registry content changed
pull-ci-CSPI-QE-MSI-rhods-rhoam-v4.15-stage-co-exist-rosa-rhoai-rhoam CSPI-QE/MSI presubmit Registry content changed
pull-ci-CSPI-QE-MSI-rhoai-addon-interop-v4.15-GA-smoke-rosa-rhoai-addon-baseline-fips CSPI-QE/MSI presubmit Registry content changed
pull-ci-CSPI-QE-MSI-rhoai-operator-interop-v4.14-GA-stage-smoke-rosa-rhoai-baseline-fips CSPI-QE/MSI presubmit Registry content changed
pull-ci-CSPI-QE-MSI-rhoai-operator-interop-v4.14-GA-stage-smoke-osd-gcp-rhoai-baseline-fips CSPI-QE/MSI presubmit Registry content changed
pull-ci-CSPI-QE-MSI-rhoai-operator-interop-v4.14-GA-stage-smoke-osd-aws-rhoai-baseline-fips CSPI-QE/MSI presubmit Registry content changed
pull-ci-CSPI-QE-MSI-rhoai-operator-interop-v4.14-GA-stage-smoke-ipi-aws-rhoai-baseline-fips CSPI-QE/MSI presubmit Registry content changed
pull-ci-CSPI-QE-MSI-rhoai-operator-interop-v4.14-hypershift-IIB-smoke-rosa-rhoai-hypershift CSPI-QE/MSI presubmit Registry content changed
pull-ci-CSPI-QE-MSI-rhoai-operator-interop-v4.14-IIB-smoke-rosa-rhoai-baseline-fips CSPI-QE/MSI presubmit Registry content changed
pull-ci-CSPI-QE-MSI-rhoai-operator-interop-v4.14-IIB-smoke-osd-gcp-rhoai-baseline-fips CSPI-QE/MSI presubmit Registry content changed
pull-ci-CSPI-QE-MSI-rhoai-operator-interop-v4.14-IIB-smoke-osd-aws-rhoai-baseline-fips CSPI-QE/MSI presubmit Registry content changed
pull-ci-CSPI-QE-MSI-rhoai-operator-interop-v4.14-IIB-smoke-ipi-aws-addon-baseline-fips CSPI-QE/MSI presubmit Registry content changed
pull-ci-CSPI-QE-MSI-rhoai-operator-interop-v4.14-hypershift-GA-production-smoke-rosa-rhoai-hypershift CSPI-QE/MSI presubmit Registry content changed
pull-ci-CSPI-QE-MSI-rhoai-operator-interop-v4.14-GA-production-smoke-rosa-rhoai-baseline-fips CSPI-QE/MSI presubmit Registry content changed
pull-ci-CSPI-QE-MSI-rhoai-operator-interop-v4.14-GA-production-smoke-osd-gcp-rhoai-baseline-fips CSPI-QE/MSI presubmit Registry content changed
pull-ci-CSPI-QE-MSI-rhoai-operator-interop-v4.14-GA-production-smoke-osd-aws-rhoai-baseline-fips CSPI-QE/MSI presubmit Registry content changed
pull-ci-CSPI-QE-MSI-rhoai-operator-interop-v4.14-GA-production-smoke-ipi-aws-rhoai-baseline-fips CSPI-QE/MSI presubmit Registry content changed
pull-ci-CSPI-QE-MSI-rhoai-operator-interop-v4.14-hypershift-GA-stage-smoke-rosa-rhoai-hypershift CSPI-QE/MSI presubmit Registry content changed
pull-ci-red-hat-data-services-ods-ci-release-2.19-rhoai-ocp4.19-interop-rhoai-interop-aws red-hat-data-services/ods-ci presubmit Registry content changed
periodic-ci-sclorg-ansible-tests-master-dotnet-ocp4.14-lp-interop-dotnet-interop-aws N/A periodic Registry content changed
periodic-ci-redhat-developer-odo-main-odo-ocp4.14-lp-interop-odo-scenario-ibmcloud N/A periodic Registry content changed
periodic-ci-openshift-pipelines-release-tests-release-v1.19-openshift-pipelines-ocp4.19-lp-rosa-hypershift-openshift-pipelines-aws-rosa-hypershift N/A periodic Registry content changed
periodic-ci-rhpit-interop-tests-main-weekly_trigger-rosa-hypershift-layered-product-interop-419 N/A periodic Registry content changed

A total of 480 jobs have been affected by this change. The above listing is non-exhaustive and limited to 25 jobs.

A full list of affected jobs can be found here

Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse list to get an up-to-date list of affected jobs
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

@tanfengshuang
Copy link
Contributor Author

/pj-rehearse periodic-ci-openshift-release-master-firewatch-jira-token-test-firewatch-jira-cloud-token-validation

@openshift-ci-robot
Copy link
Contributor

@tanfengshuang: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@tanfengshuang
Copy link
Contributor Author

/test all

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 18, 2026

@tanfengshuang: The following tests 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/rehearse/periodic-ci-openshift-release-master-firewatch-jira-token-test-firewatch-jira-cloud-token-validation aced6d6 link unknown /pj-rehearse periodic-ci-openshift-release-master-firewatch-jira-token-test-firewatch-jira-cloud-token-validation
ci/prow/step-registry-metadata aced6d6 link true /test step-registry-metadata

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.

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

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants