Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
229 changes: 114 additions & 115 deletions go.mod

Large diffs are not rendered by default.

426 changes: 214 additions & 212 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion images/tests/Dockerfile.rhel
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ RUN PACKAGES="git gzip util-linux" && \
LABEL io.k8s.display-name="OpenShift End-to-End Tests" \
io.openshift.release.operator=true \
io.k8s.description="OpenShift is a platform for developing, building, and deploying containerized applications." \
io.openshift.build.versions="kubernetes-tests=1.33.4" \
io.openshift.build.versions="kubernetes-tests=1.34.1" \
io.openshift.tags="openshift,tests,e2e"
2 changes: 1 addition & 1 deletion pkg/monitor/monitor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func TestMonitor_Events(t *testing.T) {
},
}
if got := m.recorder.Intervals(tt.from, tt.to); !reflect.DeepEqual(got, tt.want) {
t.Errorf("%s", diff.ObjectReflectDiff(tt.want, got))
t.Errorf("%s", diff.Diff(tt.want, got))
}
})
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/resourcewatch/git/diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/util/managedfields"
"k8s.io/apimachinery/pkg/util/sets"
"sigs.k8s.io/structured-merge-diff/v4/typed"
"sigs.k8s.io/structured-merge-diff/v6/typed"
)

var typeConverter managedfields.TypeConverter = managedfields.NewDeducedTypeConverter()
Expand Down
4 changes: 2 additions & 2 deletions test/extended/cli/debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ spec:
}
o.Expect(readyWorkerNode).NotTo(o.BeEmpty(), "No ready worker node found")

err = oc.AsAdmin().Run("debug").Args("node/"+readyWorkerNode, "--image="+image.LocationFor("registry.k8s.io/e2e-test-images/agnhost:2.53"), "--keep-labels=true", "--preserve-pod=true", "--", "sleep", "1").Execute()
err = oc.AsAdmin().Run("debug").Args("node/"+readyWorkerNode, "--image="+image.LocationFor("registry.k8s.io/e2e-test-images/agnhost:2.56"), "--keep-labels=true", "--preserve-pod=true", "--", "sleep", "1").Execute()
pods, err := oc.AdminKubeClient().CoreV1().Pods(ns).List(context.TODO(), metav1.ListOptions{LabelSelector: "debug.openshift.io/managed-by=oc-debug"})
o.Expect(err).NotTo(o.HaveOccurred())
o.Expect(pods.Items).To(o.HaveLen(1))
Expand All @@ -329,7 +329,7 @@ spec:
})
o.Expect(err).NotTo(o.HaveOccurred(), "Expected debug pod to be deleted")

err = oc.AsAdmin().Run("debug").Args("node/"+readyWorkerNode, "--image="+image.LocationFor("registry.k8s.io/e2e-test-images/agnhost:2.53"), "--preserve-pod=true", "--", "sleep", "1").Execute()
err = oc.AsAdmin().Run("debug").Args("node/"+readyWorkerNode, "--image="+image.LocationFor("registry.k8s.io/e2e-test-images/agnhost:2.56"), "--preserve-pod=true", "--", "sleep", "1").Execute()

// Tests the code fix in https://github.com/openshift/oc/pull/2074
o.Expect(err).NotTo(o.HaveOccurred())
Expand Down
2 changes: 1 addition & 1 deletion test/extended/controller_manager/deploy_defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ var _ = g.Describe("[sig-apps][Feature:OpenShiftControllerManager]", func() {

clearTransient(appsDC)
if !reflect.DeepEqual(appsDC, tc.apps) {
t.Errorf("Apps DC differs from expected output: %s", diff.ObjectReflectDiff(appsDC, tc.apps))
t.Errorf("Apps DC differs from expected output: %s", diff.Diff(appsDC, tc.apps))
}
}
})
Expand Down
2 changes: 1 addition & 1 deletion test/extended/deployments/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ func (d *deployerPodInvariantChecker) UpdatePod(pod *corev1.Pod) {
spew.Sprintf("%v: detected deployer pod '%s/%s' transition from terminated phase: %q -> %q;\n"+
"old: %#+v\nnew: %#+v\ndiff: %s",
time.Now(), pod.Namespace, pod.Name, oldPhase, pod.Status.Phase,
oldPod, pod, diff.ObjectReflectDiff(oldPod, pod)))
oldPod, pod, diff.Diff(oldPod, pod)))

d.cache[key][index] = pod

Expand Down
217 changes: 6 additions & 211 deletions test/extended/etcd/etcd_storage_path.go

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions test/extended/imageapis/imagesigning.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ var _ = g.Describe("[sig-imageregistry][Feature:Image] signature", func() {
}

if len(image.Signatures) != 0 {
t.Fatalf("expected empty signatures, not: %s", diff.ObjectDiff(image.Signatures, []imagev1.ImageSignature{}))
t.Fatalf("expected empty signatures, not: %s", diff.Diff(image.Signatures, []imagev1.ImageSignature{}))
}

userClient := oc.ImageClient()

if len(image.Signatures) != 0 {
t.Fatalf("expected empty signatures, not: %s", diff.ObjectDiff(image.Signatures, []imagev1.ImageSignature{}))
t.Fatalf("expected empty signatures, not: %s", diff.Diff(image.Signatures, []imagev1.ImageSignature{}))
}

// add some dummy signature
Expand Down Expand Up @@ -139,7 +139,7 @@ var _ = g.Describe("[sig-imageregistry][Feature:Image] signature", func() {
}

if len(image.Signatures) != 0 {
t.Fatalf("expected empty signatures, not: %s", diff.ObjectDiff(image.Signatures, []imagev1.ImageSignature{}))
t.Fatalf("expected empty signatures, not: %s", diff.Diff(image.Signatures, []imagev1.ImageSignature{}))
}

userClient := oc.ImageClient()
Expand Down Expand Up @@ -289,7 +289,7 @@ func compareSignatures(t g.GinkgoTInterface, a, b imagev1.ImageSignature) {
a.ObjectMeta = b.ObjectMeta
a.Name = aName
if !reflect.DeepEqual(a, b) {
t.Errorf("created and contained signatures differ: %v", diff.ObjectDiff(a, b))
t.Errorf("created and contained signatures differ: %v", diff.Diff(a, b))
}
}

Expand Down
2 changes: 1 addition & 1 deletion test/extended/networking/egress_firewall.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const (
egressFWE2E = "egress-firewall-e2e"
wcEgressFWE2E = "wildcard-egress-firewall-e2e"
noEgressFWE2E = "no-egress-firewall-e2e"
egressFWTestImage = "registry.k8s.io/e2e-test-images/agnhost:2.53"
egressFWTestImage = "registry.k8s.io/e2e-test-images/agnhost:2.56"
oVNKManifest = "ovnk-egressfirewall-test.yaml"
oVNKWCManifest = "ovnk-egressfirewall-wildcard-test.yaml"
)
Expand Down
2 changes: 1 addition & 1 deletion test/extended/oauth/groupsync.go
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ func compareAndCleanup(oc *exutil.CLI, validationFileName string) {
append([]byte("apiVersion: user.openshift.io/v1\nkind: Group\n"), data...)...)
}

o.Expect(bytes.Compare(validationContent, actualBytes)).To(o.Equal(0), "diff: %s", kdiff.StringDiff(string(validationContent), string(actualBytes)))
o.Expect(bytes.Compare(validationContent, actualBytes)).To(o.Equal(0), "diff: %s", kdiff.Diff(string(validationContent), string(actualBytes)))
}

// normalizeGroupMetadata cleans the metadata of the group object so that it matches the meta expectations
Expand Down
2 changes: 1 addition & 1 deletion test/extended/operators/certs.go
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ func fetchOnDiskCertificates(ctx context.Context, kubeClient kubernetes.Interfac
}
defer kubeClient.RbacV1().ClusterRoleBindings().Delete(ctx, nodeReaderCRB, metav1.DeleteOptions{})

pauseImage := image.LocationFor("registry.k8s.io/e2e-test-images/agnhost:2.53")
pauseImage := image.LocationFor("registry.k8s.io/e2e-test-images/agnhost:2.56")
podNameOnNode, err := createPods(ctx, kubeClient, namespace, nodeList, testPullSpec, pauseImage)
if err != nil {
return nil, err
Expand Down
2 changes: 1 addition & 1 deletion test/extended/router/config_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ http {
Containers: []corev1.Container{
{
Name: "test",
Image: image.LocationFor("registry.k8s.io/e2e-test-images/agnhost:2.53"),
Image: image.LocationFor("registry.k8s.io/e2e-test-images/agnhost:2.56"),
Args: []string{"netexec"},
Ports: []corev1.ContainerPort{
{
Expand Down
6 changes: 3 additions & 3 deletions test/extended/router/weighted.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ var _ = g.Describe("[sig-network][Feature:Router][apigroup:image.openshift.io]",
Containers: []corev1.Container{
{
Name: "test",
Image: image.LocationFor("registry.k8s.io/e2e-test-images/agnhost:2.53"),
Image: image.LocationFor("registry.k8s.io/e2e-test-images/agnhost:2.56"),
Args: []string{
"netexec",
},
Expand Down Expand Up @@ -276,7 +276,7 @@ var _ = g.Describe("[sig-network][Feature:Router][apigroup:image.openshift.io]",
Containers: []corev1.Container{
{
Name: "test",
Image: image.LocationFor("registry.k8s.io/e2e-test-images/agnhost:2.53"),
Image: image.LocationFor("registry.k8s.io/e2e-test-images/agnhost:2.56"),
Args: []string{
"netexec",
},
Expand Down Expand Up @@ -307,7 +307,7 @@ var _ = g.Describe("[sig-network][Feature:Router][apigroup:image.openshift.io]",
Containers: []corev1.Container{
{
Name: "test",
Image: image.LocationFor("registry.k8s.io/e2e-test-images/agnhost:2.53"),
Image: image.LocationFor("registry.k8s.io/e2e-test-images/agnhost:2.56"),
Args: []string{
"netexec",
},
Expand Down
Loading