Skip to content

Conversation

@wking
Copy link
Member

@wking wking commented Jul 27, 2020

And use them for master installer CI.

The implementation for the openshift-e2e-fips step is something of a union of the old-style ci-operator/templates/openshift/installer/cluster-launch-installer-e2e.yaml and the gather-aws-console step, which also iterates over nodes. I'm using read instead of the {1..5} to iterate, because there may not be exactly five nodes.

The openshift-e2e-aws-fips-default worklow demonstrates that the default install does not enable FIPS. I'm just using that for the installer as well; it seemed a bit heavy to add to openshift-e2e-aws.

WIP because we probably want to port more of the FIPS CI to steps. I wanted to float for early feedback before putting in that effort. CC @abhinavdahiya and @sallyom, who I've tapped as owners. Feel free to suggest alternatives and/or additional owners.

@openshift-ci-robot openshift-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 27, 2020
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: wking

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

The pull request process is described 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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 27, 2020
And use them for master installer CI.

The implementation for the openshift-e2e-fips step is something of a
union of the old-style
ci-operator/templates/openshift/installer/cluster-launch-installer-e2e.yaml
and the gather-aws-console step, which also iterates over nodes.  I'm
using 'read' instead of the {1..5} to iterate, because there may not
be exactly five nodes.

The openshift-e2e-aws-fips-default worklow demonstrates that the
default install does not enable FIPS.  I'm just using that for the
installer as well; it seemed a bit heavy to add to openshift-e2e-aws.

The ci-operator/jobs changes were generated with:

  $ make update
@wking wking force-pushed the multi-step-fips branch from cdb9e7c to 047aaf3 Compare July 27, 2020 20:26
@@ -0,0 +1,45 @@
#!/bin/bash
Copy link
Contributor

Choose a reason for hiding this comment

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

why this not a test in openshift-test binary?

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm fine with that too. There should be some way to figure out what the configured value should be for a node? But I guess that wouldn't cover "installer ignores fips setting in the install-config". Do we care about covering that portion? We could probably cover it in create manifests integration testing in the installer.

- name: TMPDIR
default: /tmp
documentation: A pathname of a directory made available for programs that need a place to create temporary files.
- name: FIPS_EXPECTED
Copy link
Contributor

Choose a reason for hiding this comment

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

hmm.. this env is not used ..

Copy link
Member Author

Choose a reason for hiding this comment

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

Oops, I need to set it in the workflow that enables FIPS...

@wking
Copy link
Member Author

wking commented Jul 28, 2020

/hold

#10488 is dropping fips_check entirely, and making the argument that an MCO test is sufficient coverage. If that holds up, we will only need the configuration step here.

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 28, 2020
@openshift-ci-robot
Copy link
Contributor

@wking: The following tests failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/pj-rehearse 047aaf3 link /test pj-rehearse
ci/prow/ci-operator-registry 047aaf3 link /test ci-operator-registry
ci/prow/step-registry-metadata 047aaf3 link /test step-registry-metadata
ci/prow/ci-testgrid-allow-list 047aaf3 link /test ci-testgrid-allow-list
ci/prow/yamllint 047aaf3 link /test yamllint
ci/prow/boskos-config 047aaf3 link /test boskos-config

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/test-infra repository. I understand the commands that are listed here.

@openshift-merge-robot
Copy link
Contributor

@wking: The following tests failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/release-config 047aaf3 link /test release-config
ci/prow/boskos-config-generation 047aaf3 link /test boskos-config-generation
ci/prow/secret-generator-config-valid 047aaf3 link /test secret-generator-config-valid
ci/prow/deprecate-templates 047aaf3 link /test deprecate-templates

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/test-infra repository. I understand the commands that are listed here.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 14, 2021

@wking: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/ci-secret-generator-config 047aaf3 link /test ci-secret-generator-config

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/test-infra repository. I understand the commands that are listed here.

@openshift-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci-robot openshift-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 14, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 14, 2021

@wking: PR needs rebase.

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/test-infra repository.

@openshift-ci openshift-ci bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 14, 2021
@openshift-bot
Copy link
Contributor

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale

@openshift-ci openshift-ci bot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels May 14, 2021
@openshift-bot
Copy link
Contributor

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

@openshift-ci openshift-ci bot closed this Jun 13, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 13, 2021

@openshift-bot: Closed this PR.

Details

In response to this:

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

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/test-infra repository.

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants