Commit 40c3876
Add OpenShift Tests Extension (OTE) for baremetal E2E tests
Migrate baremetal E2E tests from openshift-tests-private to
cluster-baremetal-operator using the OpenShift Tests Extension (OTE)
framework. This enables the tests to run as part of the release payload.
Key changes:
1. Test Extension as Separate Go Module
- Created cmd/cluster-baremetal-tests-ext/ with dedicated go.mod/vendor
- Isolates OTE dependencies from main operator module
- Includes 6 baremetal deployment sanity tests migrated from
openshift-tests-private
2. OTE Framework Integration
- Registered suite: cluster-baremetal/all
- Parent suite: openshift/conformance/parallel
- Platform filter: baremetal
- Uses OpenShift Ginkgo fork with 31 Kubernetes replace directives
3. Build and Packaging
- Dockerfile: Added RUN make build-tests and COPY for test binary
- Makefile: Added build-tests target with GONOSUMDB and
GO_COMPLIANCE_POLICY settings
- Binary compressed with gzip for container image
4. Test Path Structure
- Moved tests to test/e2e/openshift/baremetal/ to avoid conflicts
with upstream BMO/IrSO tests
5. Security Fixes
- Fixed CVE-2026-29181: Upgraded OpenTelemetry from v1.37.0 to v1.41.0
in test extension module
- Fixed gosec G703 path traversal warnings in hack/readme_inputs/main.go
- Replaced shell command execution with native Go file reading in
clusterOperatorHealthcheck function
6. CI Compatibility Fixes
- Regenerated manifests to fix generate-check checksum mismatch
- Fixed vendor case-sensitivity: renamed Microsoft → microsoft
(224 files) for Linux CI compatibility
- Pinned kustomize to v4.5.4 to fix gnostic API incompatibility
- Cleaned up unused golangci-lint and kustomize dependencies (~200
transitive deps) from main go.mod
7. Dependency Management
- Main module go.mod reverted to pre-OTE state (OpenTelemetry v1.35.0)
- Test extension maintains separate dependencies with security fixes
- Vendor directories synchronized with go.mod/go.sum
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 6a7e66f commit 40c3876
35,584 files changed
Lines changed: 7924551 additions & 649240 deletions
File tree
- cmd/cluster-baremetal-tests-ext
- test/e2e/openshift/baremetal
- vendor
- cel.dev/expr
- cloud.google.com/go
- auth
- credentials
- internal
- externalaccountuser
- externalaccount
- gdch
- impersonate
- stsexchange
- grpctransport
- httptransport
- internal
- compute
- credsfile
- jwt
- transport
- cert
- oauth2adapt
- compute/metadata
- iam
- apiv1/iampb
- internal
- optional
- trace
- version
- monitoring
- apiv3/v2
- monitoringpb
- internal
- storage
- experimental
- internal
- apiv2
- storagepb
- cyphar.com/go-pathrs
- internal
- fdutils
- libpathrs
- procfs
- github.com
- AzureAD/microsoft-authentication-library-for-go
- apps
- cache
- confidential
- errors
- internal
- base
- storage
- exported
- json
- types/time
- local
- oauth
- ops
- accesstokens
- authority
- internal
- comm
- grant
- wstrust
- defs
- options
- version
- public
- Azure
- azure-pipeline-go
- pipeline
- azure-sdk-for-go
- profiles/latest/containerregistry/mgmt/containerregistry
- sdk
- azcore
- arm
- internal/resource
- policy
- runtime
- cloud
- internal
- exported
- log
- pollers
- async
- body
- fake
- loc
- op
- log
- policy
- runtime
- streaming
- to
- tracing
- azidentity
- internal
- internal
- diag
- errorinfo
- exported
- log
- poller
- temporal
- uuid
- resourcemanager
- compute/armcompute/v5
- keyvault/armkeyvault
- resources
- armfeatures
- armresources
- storage/armstorage
- services
- authorization/mgmt/2020-10-01/authorization
- compute/mgmt/2019-07-01/compute
- containerregistry/mgmt/2019-05-01/containerregistry
- msi/mgmt/2018-11-30/msi
- network/mgmt/2019-06-01/network
- storage/mgmt/2019-06-01/storage
- version
- azure-storage-blob-go
- azblob
- go-ansiterm
- winterm
- go-autorest
- autorest
- adal
- azure
- auth
- cli
- date
- to
- validation
- logger
- tracing
- GoogleCloudPlatform/opentelemetry-operations-go
- detectors/gcp
- exporter/metric
- internal/resourcemapping
- IBM-Cloud/power-go-client
- clients/instance
- errors
- helpers
- ibmpisession
- power
- client
- authentication
- bluemix_service_instances
- catalog
- datacenters
- hardware_platforms
- host_groups
- iaas_service_broker
- internal_operations_dedicated_hosts
- internal_operations_images
- internal_operations_network_address_groups
- internal_operations_network_interfaces
- internal_operations_network_security_groups
- internal_operations_networks
- internal_operations_pvm_instances
- internal_operations_snapshots
- internal_operations_volumes
- internal_power_v_s_instances
- internal_power_v_s_locations
- internal_storage_regions
- internal_transit_gateway
- network_address_groups
- network_peers
- network_security_groups
- networks
- open_stacks
- p_cloud_cloud_connections
- p_cloud_disaster_recovery
- p_cloud_events
- p_cloud_images
- p_cloud_instances
- p_cloud_jobs
- p_cloud_networks
- p_cloud_p_vm_instances
- p_cloud_placement_groups
- p_cloud_pod_capacity
- p_cloud_s_a_p
- p_cloud_s_p_p_placement_groups
- p_cloud_service_d_h_c_p
- p_cloud_snapshots
- p_cloud_storage_capacity
- p_cloud_storage_tiers
- p_cloud_system_pools
- p_cloud_tasks
- p_cloud_tenants_ssh_keys
- p_cloud_tenants
- p_cloud_v_p_n_connections
- p_cloud_v_p_n_policies
- p_cloud_virtual_serial_number
- p_cloud_volume_groups
- p_cloud_volume_onboarding
- p_cloud_volumes
- power_edge_router
- routes
- service_bindings
- service_instances
- snapshots
- ssh_keys
- storage_types
- swagger_spec
- workspaces
- models
- IBM
- go-sdk-core/v5
- core
- platform-services-go-sdk
- common
- resourcecontrollerv2
- vpc-go-sdk
- common
- vpcv1
- JeffAshton/win_pdh
- MakeNowJust/heredoc
- Masterminds/semver/v3
- NYTimes/gziphandler
- ProtonMail/go-crypto
- bitcurves
- brainpool
- eax
- internal/byteutil
- ocb
- openpgp
- aes/keywrap
- armor
- ecdh
- ecdsa
- ed25519
- ed448
- eddsa
- elgamal
- errors
- internal
- algorithm
- ecc
- encoding
- packet
- s2k
- x25519
- x448
- antlr4-go/antlr/v4
- apparentlymart/go-textseg/v15
- textseg
- armon/circbuf
- asaskevich/govalidator
- aws/aws-sdk-go
- aws
- arn
- auth/bearer
- awserr
- awsutil
- client
- metadata
- corehandlers
- credentials
- ec2rolecreds
- endpointcreds
- processcreds
- ssocreds
- stscreds
- csm
- defaults
- ec2metadata
- endpoints
- request
- session
- signer/v4
- internal
- context
- ini
- sdkio
- sdkmath
- sdkrand
- sdkuri
- strings
- sync/singleflight
- private
- checksum
- protocol
- ec2query
- eventstream
- eventstreamapi
- jsonrpc
- json/jsonutil
- query
- queryutil
- restjson
- restxml
- rest
- xml/xmlutil
- service
- ec2
- ecr
- elbv2
- elb
- iam
- kms
- route53
- s3
- s3iface
- s3manager
- ssooidc
- sso
- ssoiface
- sts
- stsiface
- beorn7/perks
- quantile
- blang/semver/v4
- cenkalti/backoff
- v4
- v5
- cespare/xxhash/v2
- chai2010/gettext-go
- mo
- plural
- po
- cloudflare/circl
- dh
- x25519
- x448
- ecc/goldilocks
- internal
- conv
- sha3
- math
- fp25519
- fp448
- mlsbset
- sign
- ed25519
- ed448
- cncf/xds/go
- udpa
- annotations
- type/v1
- xds
- annotations/v3
- core/v3
- data/orca/v3
- service/orca/v3
- type
- matcher/v3
- v3
- container-storage-interface/spec
- lib/go/csi
- containerd
- containerd/api
- services
- containers/v1
- tasks/v1
- version/v1
- types
- task
- errdefs
- pkg
- errgrpc
- internal
- cause
- types
- log
- ttrpc
- typeurl/v2
- coreos
- go-semver
- semver
- go-systemd/v22
- daemon
- dbus
- journal
- stream-metadata-go
- stream
- rhcos
- cyphar/filepath-securejoin
- internal/consts
- pathrs-lite
- internal
- assert
- fd
- gocompat
- gopathrs
- kernelversion
- linux
- procfs
- procfs
- davecgh/go-spew
- spew
- dimchansky/utfbom
- distribution/reference
- docker
- docker
- api/types
- blkiodev
- common
- container
- filters
- mount
- network
- registry
- storage
- strslice
- swarm
- runtime
- versions
- pkg
- archive
- homedir
- idtools
- jsonmessage
- stdcopy
- go-connections
- nat
- go-units
- emicklei/go-restful/v3
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | | - | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
38 | 54 | | |
39 | 55 | | |
40 | 56 | | |
| |||
100 | 116 | | |
101 | 117 | | |
102 | 118 | | |
| 119 | + | |
| 120 | + | |
103 | 121 | | |
104 | 122 | | |
105 | 123 | | |
| |||
109 | 127 | | |
110 | 128 | | |
111 | 129 | | |
| 130 | + | |
112 | 131 | | |
113 | 132 | | |
114 | | - | |
| 133 | + | |
115 | 134 | | |
116 | 135 | | |
117 | 136 | | |
| |||
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
Lines changed: 172 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
0 commit comments