Commit 551cb4a
Add OpenShift Tests Extension (OTE) for baremetal E2E tests
Implements OTE framework to migrate baremetal E2E tests from
openshift-tests-private to cluster-baremetal-operator repository.
Changes:
- Add cmd/cluster-baremetal-tests-ext/main.go: OTE binary entry point
that registers as openshift:payload:cluster-baremetal extension
- Add test/e2e/baremetal/deployment_sanity.go: 6 migrated baremetal tests
* Cluster operators running check (OCP-29146)
* Nodes running check (OCP-29147)
* Deployment availability check (OCP-29148)
* Worker node validation (OCP-29149)
* CPU usage check (OCP-29150)
* Memory check (OCP-29151)
- Add test/e2e/baremetal/utils.go: Helper functions using compat_otp
- Update go.mod: Add OTE dependencies and OpenShift kubernetes replaces
- Update Makefile: Add build-tests target with -mod=mod approach
- Remove vendor/: Use Go module cache instead of vendoring (10k+ files)
Tests use platform=="baremetal" selector and run under origin CI.
Binary: cluster-baremetal-tests-ext (payload test extension)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 6a7e66f commit 551cb4a
10,089 files changed
Lines changed: 1816 additions & 2506126 deletions
File tree
- cmd/cluster-baremetal-tests-ext
- test/e2e/baremetal
- vendor
- 4d63.com
- gocheckcompilerdirectives
- checkcompilerdirectives
- gochecknoglobals
- checknoglobals
- github.com
- 4meepo/tagalign
- Abirdcfly/dupword
- Antonboom
- errname
- pkg/analyzer
- nilnil
- pkg/analyzer
- testifylint
- analyzer
- internal
- analysisutil
- checkers
- printf
- config
- testify
- BurntSushi/toml
- internal
- Djarvur/go-err113
- GaijinEntertainment/go-exhaustruct/v3
- analyzer
- internal
- comment
- pattern
- structure
- Masterminds/semver/v3
- OpenPeeDeeP/depguard/v2
- internal/utils
- alecthomas
- chroma/v2
- formatters
- html
- svg
- lexers
- embedded
- quick
- styles
- go-check-sumtype
- alexkohler
- nakedret/v2
- prealloc
- pkg
- alingse
- asasalint
- nilnesserr
- internal/typeparams
- ashanbrown
- forbidigo
- forbidigo
- makezero
- makezero
- aymanbagabas/go-osc52/v2
- beorn7/perks
- quantile
- bkielbasa/cyclop
- pkg/analyzer
- blang/semver/v4
- blizzy78/varnamelen
- bombsimon/wsl/v4
- breml
- bidichk
- pkg/bidichk
- errchkjson
- butuzov
- ireturn
- analyzer
- internal
- config
- types
- mirror
- internal/checker
- catenacyber/perfsprint
- analyzer
- ccojocar/zxcvbn-go
- adjacency
- data
- entropy
- frequency
- matching
- match
- scoring
- utils/math
- cespare/xxhash/v2
- charithe/durationcheck
- charmbracelet
- colorprofile
- lipgloss
- x
- ansi
- kitty
- parser
- cellbuf
- term
- chavacava/garif
- ckaznocha/intrange
- curioswitch/go-reassign
- internal/analyzer
- daixiang0/gci
- pkg
- config
- format
- gci
- io
- log
- parse
- section
- specificity
- utils
- davecgh/go-spew
- spew
- dave/dst
- decorator
- resolver
- gopackages
- gotypes
- dstutil
- denis-tingaikin/go-header
- dlclark/regexp2
- syntax
- emicklei/go-restful/v3
- log
- ettle/strcase
- evanphx/json-patch
- v5
- internal/json
- fatih
- color
- structtag
- firefart/nonamedreturns
- analyzer
- fsnotify/fsnotify
- internal
- fxamacker/cbor/v2
- fzipp/gocyclo
- ghodss/yaml
- ghostiam/protogetter
- go-bindata/go-bindata
- go-bindata
- go-critic/go-critic
- checkers
- internal
- astwalk
- lintutil
- rulesdata
- linter
- go-errors/errors
- go-logr
- logr
- slogr
- zapr
- go-openapi
- jsonpointer
- jsonreference
- internal
- swag
- go-toolsmith
- astcast
- astcopy
- astequal
- astfmt
- astp
- strparse
- typep
- go-viper/mapstructure/v2
- internal/errors
- go-xmlfmt/xmlfmt
- gobuffalo/flect
- gobwas/glob
- compiler
- match
- syntax
- ast
- lexer
- util
- runes
- strings
- gofrs/flock
- gogo/protobuf
- proto
- sortkeys
- golangci
- dupl
- job
- lib
- printer
- suffixtree
- syntax
- golang
- go-printf-func-name
- pkg/analyzer
- gofmt/gofmt
- golangci-lint/v2
- cmd/golangci-lint
- internal
- cache
- errorutil
- go
- base
- cacheprog
- cache
- mmap
- quoted
- x
- tools
- analysisflags
- analysisinternal
- diff
- lcs
- pkg
- commands
- internal
- migrate
- fakeloader
- parser
- ptr
- versionone
- versiontwo
- config
- exitcodes
- fsutils
- goanalysis
- load
- pkgerrors
- goformatters
- gci
- internal
- config
- section
- gofmt
- gofumpt
- goimports
- golines
- internal
- goformat
- golinters
- asasalint
- asciicheck
- bidichk
- bodyclose
- canonicalheader
- containedctx
- contextcheck
- copyloopvar
- cyclop
- decorder
- depguard
- dogsled
- dupl
- dupword
- durationcheck
- err113
- errcheck
- errchkjson
- errname
- errorlint
- exhaustive
- exhaustruct
- exptostd
- fatcontext
- forbidigo
- forcetypeassert
- funcorder
- funlen
- gci
- ginkgolinter
- gocheckcompilerdirectives
- gochecknoglobals
- gochecknoinits
- gochecksumtype
- gocognit
- goconst
- gocritic
- gocyclo
- godot
- godox
- gofmt
- gofumpt
- goheader
- goimports
- golines
- gomoddirectives
- gomodguard
- goprintffuncname
- gosec
- gosmopolitan
- govet
- grouper
- iface
- importas
- inamedparam
- ineffassign
- interfacebloat
- internal
- intrange
- ireturn
- lll
- loggercheck
- maintidx
- makezero
- mirror
- misspell
- mnd
- musttag
- nakedret
- nestif
- nilerr
- nilnesserr
- nilnil
- nlreturn
- noctx
- nolintlint
- internal
- nonamedreturns
- nosprintfhostport
- paralleltest
- perfsprint
- prealloc
- predeclared
- promlinter
- protogetter
- reassign
- recvcheck
- revive
- rowserrcheck
- sloglint
- spancheck
- sqlclosecheck
- staticcheck
- tagalign
- tagliatelle
- testableexamples
- testifylint
- testpackage
- thelper
- tparallel
- unconvert
- unparam
- unused
- usestdlibvars
- usetesting
- varnamelen
- wastedassign
- whitespace
- wrapcheck
- wsl
- zerologlint
- goutil
- lint
- lintersdb
- linter
- logutils
- printers
- report
- result
- processors
- timeutils
- golines
- misspell
- plugin-module-register
- register
- revgrep
- unconvert
- google
- btree
- gnostic-models
- compiler
- extensions
- jsonschema
- openapiv2
- openapiv3
- go-cmp
- cmp
- internal
- diff
- flags
- function
- value
- shlex
- uuid
- gordonklaus/ineffassign
- pkg/ineffassign
- gostaticanalysis
- analysisutil
- comment
- passes/commentmap
- forcetypeassert
- nilerr
- hashicorp
- go-immutable-radix/v2
- go-version
- golang-lru/v2
- internal
- simplelru
- hcl
- hcl
- ast
- parser
- printer
- scanner
- strconv
- token
- json
- parser
- scanner
- token
- hexops/gotextdiff
- myers
- span
- imdario/mergo
- inconshreveable/mousetrap
- jgautheron/goconst
- jingyugao/rowserrcheck
- passes/rowserr
- jjti/go-spancheck
- josharian/intern
- json-iterator/go
- julz/importas
- karamaru-alpha/copyloopvar
- kisielk/errcheck
- errcheck
- kkHAIKE/contextcheck
- kulti/thelper
- pkg/analyzer
- kunwardeep/paralleltest
- pkg/paralleltest
- lasiar/canonicalheader
- ldez
- exptostd
- gomoddirectives
- grignotin
- goenv
- gomod
- tagliatelle
- usetesting
- leonklingele/grouper
- pkg/analyzer
- consts
- globals
- imports
- types
- vars
- lucasb-eyer/go-colorful
- macabu/inamedparam
- magiconair/properties
- mailru/easyjson
- buffer
- jlexer
- jwriter
- manuelarte/funcorder
- analyzer
- internal
- astutils
- diag
- features
- fileprocessor
- models
- maratori
- testableexamples
- pkg/testableexamples
- testpackage
- pkg/testpackage
- matoous/godox
- mattn
- go-colorable
- go-isatty
- go-runewidth
- metal3-io/baremetal-operator
- apis
- metal3.io/v1alpha1
- pkg/hardwareutils
- bmc
- mgechev/revive
- config
- formatter
- internal
- astutils
- ifelse
- typeparams
- lint
- rule
- mitchellh
- go-homedir
- mapstructure
- modern-go
- concurrent
- reflect2
- monochromegane/go-gitignore
- moricho/tparallel
- pkg
- ssafunc
- ssainstr
- muesli/termenv
- munnerz/goautoneg
- nakabonne/nestif
- nishanths
- exhaustive
- predeclared
- passes/predeclared
- nunnatsa/ginkgolinter
- internal
- expression
- actual
- matcher
- value
- formatter
- ginkgohandler
- ginkgoinfo
- gomegahandler
- gomegainfo
- interfaces
- intervals
- reports
- reverseassertion
- rules
- linter
- types
- version
- olekukonko/tablewriter
- openshift/api
- annotations
- apiextensions
- v1alpha1
- apiserver
- v1
- apps
- v1
- authorization
- v1
- build
- v1
- cloudnetwork
- v1
- config
- v1alpha1
- v1alpha2
- v1
- console
- v1
- etcd
- v1alpha1
- helm
- v1beta1
- imageregistry
- v1
- image
- docker10
- dockerpre012
- v1
- kubecontrolplane
- v1
- legacyconfig/v1
- machine
- v1alpha1
- v1beta1
- v1
- monitoring
- v1
- networkoperator
- v1
- network
- v1alpha1
- v1
- oauth
- v1
- openshiftcontrolplane
- v1
- operatorcontrolplane
- v1alpha1
- operator
- v1alpha1
- v1
- osin
- v1
- pkg/serialization
- project
- v1
- quota
- v1
- route
- v1
- samples
- v1
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 | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
38 | 44 | | |
39 | 45 | | |
40 | 46 | | |
| |||
| 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 | + | |
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 | + | |
| 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 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
0 commit comments