Skip to content

Commit 0c8e935

Browse files
committed
Merge upstream/main to resolve conflicts
- Updated library-go to v0.0.0-20251104164011-e9c2485b059c - Resolved go.sum conflicts - Re-vendored dependencies
2 parents 4f0d3b3 + e1cdb25 commit 0c8e935

File tree

20 files changed

+391
-436
lines changed

20 files changed

+391
-436
lines changed

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ include $(addprefix ./vendor/github.com/openshift/build-machinery-go/make/, \
99
targets/openshift/operator/telepresence.mk \
1010
)
1111

12-
GO_BUILD_PACKAGES :=./cmd/cluster-kube-controller-manager-operator ./cmd/cluster-kube-controller-manager-operator-tests-ext
13-
1412
# Exclude e2e tests from unit testing
15-
GO_TEST_PACKAGES :=./pkg/... ./cmd/cluster-kube-controller-manager-operator
13+
GO_TEST_PACKAGES :=./pkg/... ./cmd/...
1614

1715
IMAGE_REGISTRY :=registry.svc.ci.openshift.org
1816

README.md

Lines changed: 19 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -167,39 +167,32 @@ $ OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE=docker.io/<user>/origin-release:lates
167167

168168
## Tests
169169

170-
This repository uses the [OpenShift Tests Extension (OTE)](https://github.com/openshift-eng/openshift-tests-extension) framework for extended tests.
170+
The repository is compatible with the "OpenShift Tests Extension (OTE)" framework.
171171

172-
### Building the Test Extension Binary
173-
174-
From the repository root:
172+
### Building the test binary
175173
```bash
176174
make build
177175
```
178176

179-
The test extension binary `cluster-kube-controller-manager-operator-tests-ext` will be built as part of the standard build process.
180-
181-
### Running Tests
182-
183-
The test extension binary provides several commands:
184-
185-
| Command | Description |
186-
|---------|-------------|
187-
| `./cluster-kube-controller-manager-operator-tests-ext list` | Lists all available test cases |
188-
| `./cluster-kube-controller-manager-operator-tests-ext run-suite <suite-name>` | Runs a test suite (e.g., `openshift/cluster-kube-controller-manager-operator/conformance/parallel`) |
189-
| `./cluster-kube-controller-manager-operator-tests-ext run-test <test-name>` | Runs a specific test |
190-
191-
### Available Test Suites
177+
### Running test suites and tests
178+
```bash
179+
# Run a specific test suite or test
180+
./cluster-kube-controller-manager-operator-tests-ext run-suite openshift/cluster-kube-controller-manager-operator/all
181+
./cluster-kube-controller-manager-operator-tests-ext run-test "test-name"
192182

193-
- `openshift/cluster-kube-controller-manager-operator/conformance/parallel` - Fast, parallel-safe tests
194-
- `openshift/cluster-kube-controller-manager-operator/conformance/serial` - Serial tests
195-
- `openshift/cluster-kube-controller-manager-operator/optional/slow` - Long-running tests
196-
- `openshift/cluster-kube-controller-manager-operator/all` - All tests
183+
# Run with JUnit output
184+
./cluster-kube-controller-manager-operator-tests-ext run-suite openshift/cluster-kube-controller-manager-operator/all --junit-path=/tmp/junit-results/junit.xml
185+
./cluster-kube-controller-manager-operator-tests-ext run-test "test-name" --junit-path=/tmp/junit-results/junit.xml
186+
```
197187

198-
### Running Tests Locally
188+
### Listing available tests and suites
189+
```bash
190+
# List all test suites
191+
./cluster-kube-controller-manager-operator-tests-ext list suites
199192

200-
To run tests against a local OpenShift cluster:
193+
# List tests in a suite
194+
./cluster-kube-controller-manager-operator-tests-ext list tests --suite=openshift/cluster-kube-controller-manager-operator/all
201195

202-
```bash
203-
export KUBECONFIG=path/to/kubeconfig
204-
./cluster-kube-controller-manager-operator-tests-ext run-suite openshift/cluster-kube-controller-manager-operator/all
196+
#for concurrency
197+
./cluster-kube-controller-manager-operator-tests-ext run-suite openshift/cluster-kube-controller-manager-operator/all -c 1
205198
```

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ require (
1010
github.com/openshift/api v0.0.0-20251015095338-264e80a2b6e7
1111
github.com/openshift/build-machinery-go v0.0.0-20250530140348-dc5b2804eeee
1212
github.com/openshift/client-go v0.0.0-20251015124057-db0dee36e235
13-
github.com/openshift/library-go v0.0.0-20251015151611-6fc7a74b67c5
13+
github.com/openshift/library-go v0.0.0-20251104164011-e9c2485b059c
1414
github.com/prometheus/client_golang v1.22.0
1515
github.com/prometheus/common v0.62.0
1616
github.com/spf13/cobra v1.9.1
@@ -70,8 +70,6 @@ require (
7070
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
7171
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect
7272
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
73-
github.com/onsi/ginkgo/v2 v2.23.4 // indirect
74-
github.com/onsi/gomega v1.38.0 // indirect
7573
github.com/pkg/errors v0.9.1 // indirect
7674
github.com/pkg/profile v1.7.0 // indirect
7775
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect

go.sum

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,10 @@ github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq
153153
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
154154
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f h1:KUppIJq7/+SVif2QVs3tOP0zanoHgBEVAwHxUSIzRqU=
155155
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
156-
github.com/onsi/ginkgo/v2 v2.23.4 h1:ktYTpKJAVZnDT4VjxSbiBenUjmlL/5QkBEocaWXiQus=
157-
github.com/onsi/ginkgo/v2 v2.23.4/go.mod h1:Bt66ApGPBFzHyR+JO10Zbt0Gsp4uWxu5mIOTusL46e8=
158-
github.com/onsi/gomega v1.38.0 h1:c/WX+w8SLAinvuKKQFh77WEucCnPk4j2OTUr7lt7BeY=
159-
github.com/onsi/gomega v1.38.0/go.mod h1:OcXcwId0b9QsE7Y49u+BTrL4IdKOBOKnD6VQNTJEB6o=
156+
github.com/onsi/ginkgo/v2 v2.21.0 h1:7rg/4f3rB88pb5obDgNZrNHrQ4e6WpjonchcpuBRnZM=
157+
github.com/onsi/ginkgo/v2 v2.21.0/go.mod h1:7Du3c42kxCUegi0IImZ1wUQzMBVecgIHjR1C+NkhLQo=
158+
github.com/onsi/gomega v1.35.1 h1:Cwbd75ZBPxFSuZ6T+rN/WCb/gOc6YgFBXLlZLhC7Ds4=
159+
github.com/onsi/gomega v1.35.1/go.mod h1:PvZbdDc8J6XJEpDK4HCuRBm8a6Fzp9/DmhC9C7yFlog=
160160
github.com/openshift-eng/openshift-tests-extension v0.0.0-20251113163031-356b66aa5c24 h1:bwmjtFaipakIwAyZxnDLgtkLY1Nf1nK9lRCmADvHirE=
161161
github.com/openshift-eng/openshift-tests-extension v0.0.0-20251113163031-356b66aa5c24/go.mod h1:6gkP5f2HL0meusT0Aim8icAspcD1cG055xxBZ9yC68M=
162162
github.com/openshift/api v0.0.0-20251015095338-264e80a2b6e7 h1:Ot2fbEEPmF3WlPQkyEW/bUCV38GMugH/UmZvxpWceNc=
@@ -165,8 +165,8 @@ github.com/openshift/build-machinery-go v0.0.0-20250530140348-dc5b2804eeee h1:+S
165165
github.com/openshift/build-machinery-go v0.0.0-20250530140348-dc5b2804eeee/go.mod h1:8jcm8UPtg2mCAsxfqKil1xrmRMI3a+XU2TZ9fF8A7TE=
166166
github.com/openshift/client-go v0.0.0-20251015124057-db0dee36e235 h1:9JBeIXmnHlpXTQPi7LPmu1jdxznBhAE7bb1K+3D8gxY=
167167
github.com/openshift/client-go v0.0.0-20251015124057-db0dee36e235/go.mod h1:L49W6pfrZkfOE5iC1PqEkuLkXG4W0BX4w8b+L2Bv7fM=
168-
github.com/openshift/library-go v0.0.0-20251015151611-6fc7a74b67c5 h1:bANtDc8SgetSK4nQehf59x3+H9FqVJCprgjs49/OTg0=
169-
github.com/openshift/library-go v0.0.0-20251015151611-6fc7a74b67c5/go.mod h1:OlFFws1AO51uzfc48MsStGE4SFMWlMZD0+f5a/zCtKI=
168+
github.com/openshift/library-go v0.0.0-20251104164011-e9c2485b059c h1:fCvbOJjMSbJaDK53vBo2nCL0xpvqO2zuvFyJxI0HTgM=
169+
github.com/openshift/library-go v0.0.0-20251104164011-e9c2485b059c/go.mod h1:OlFFws1AO51uzfc48MsStGE4SFMWlMZD0+f5a/zCtKI=
170170
github.com/orisano/pixelmatch v0.0.0-20220722002657-fb0b55479cde/go.mod h1:nZgzbfBr3hhjoZnS66nKrHmduYNpc34ny7RK4z5/HM0=
171171
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
172172
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
@@ -256,8 +256,6 @@ go.opentelemetry.io/otel/trace v1.35.0 h1:dPpEfJu1sDIqruz7BHFG3c7528f6ddfSWfFDVt
256256
go.opentelemetry.io/otel/trace v1.35.0/go.mod h1:WUk7DtFp1Aw2MkvqGdwiXYDZZNvA/1J8o6xRXLrIkyc=
257257
go.opentelemetry.io/proto/otlp v1.5.0 h1:xJvq7gMzB31/d406fB8U5CBdyQGw4P399D1aQWU/3i4=
258258
go.opentelemetry.io/proto/otlp v1.5.0/go.mod h1:keN8WnHxOy8PG0rQZjJJ5A2ebUoafqWp0eVQ4yIXvJ4=
259-
go.uber.org/automaxprocs v1.6.0 h1:O3y2/QNTOdbF+e/dpXNNW7Rx2hZ4sTIPyybbxyNqTUs=
260-
go.uber.org/automaxprocs v1.6.0/go.mod h1:ifeIMSnPZuznNm6jmdzmU3/bfk01Fe2fotchwEFJ8r8=
261259
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
262260
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
263261
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=

test/extended/tests-extension/Makefile

Lines changed: 0 additions & 83 deletions
This file was deleted.

test/extended/tests-extension/cmd/main.go

Lines changed: 0 additions & 105 deletions
This file was deleted.

test/extended/tests-extension/go.mod

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)