Skip to content

Fix unit tests

Fix unit tests #314

Triggered via push October 25, 2024 16:00
Status Failure
Total duration 3m 18s
Artifacts

unittests.yaml

on: push
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 3 warnings
Test (1.27.1)
testingutil.MakeTrainingRuntimeSpecWrapper(baseRuntime.Spec).Replicas undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".TrainingRuntimeSpecWrapper has no field or method Replicas)
Test (1.27.1)
testingutil.MakeTrainingRuntimeWrapper(ns.Name, trainingRuntimeName).Clone undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".TrainingRuntimeWrapper has no field or method Clone)
Test (1.27.1)
testingutil.MakeTrainingRuntimeSpecWrapper(baseRuntime.Spec).Replicas undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".TrainingRuntimeSpecWrapper has no field or method Replicas)
Test (1.27.1)
testingutil.MakeTrainJobTrainerWrapper().ContainerImage undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".TrainJobTrainerWrapper has no field or method ContainerImage)
Test (1.27.1)
baseRuntime.Clone undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".TrainingRuntimeWrapper has no field or method Clone)
Test (1.27.1)
baseRuntime.Clone undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".TrainingRuntimeWrapper has no field or method Clone)
Test (1.27.1)
testingutil.MakeTrainingRuntimeSpecWrapper(baseRuntime.Clone().Spec).ContainerImage undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".TrainingRuntimeSpecWrapper has no field or method ContainerImage)
Test (1.27.1)
testingutil.MakeJobSetWrapper(ns.Name, trainJobKey.Name).Suspend(true).Label("testingKey", "testingVal").Annotation("testingKey", "testingVal").PodLabel(schedulerpluginsv1alpha1.PodGroupLabel, trainJobKey.Name).ContainerImage undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".JobSetWrapper has no field or method ContainerImage)
Test (1.27.1)
testingutil.MakeJobSetWrapper(ns.Name, trainJobKey.Name).Suspend(true).Label("testingKey", "testingVal").Annotation("testingKey", "testingVal").PodLabel(schedulerpluginsv1alpha1.PodGroupLabel, trainJobKey.Name).ContainerImage undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".JobSetWrapper has no field or method ContainerImage)
Test (1.27.1)
Process completed with exit code 2.
Test (1.28.3)
testingutil.MakeTrainingRuntimeSpecWrapper(baseRuntime.Spec).Replicas undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".TrainingRuntimeSpecWrapper has no field or method Replicas)
Test (1.28.3)
testingutil.MakeTrainingRuntimeWrapper(ns.Name, trainingRuntimeName).Clone undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".TrainingRuntimeWrapper has no field or method Clone)
Test (1.28.3)
testingutil.MakeTrainingRuntimeSpecWrapper(baseRuntime.Spec).Replicas undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".TrainingRuntimeSpecWrapper has no field or method Replicas)
Test (1.28.3)
testingutil.MakeTrainJobTrainerWrapper().ContainerImage undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".TrainJobTrainerWrapper has no field or method ContainerImage)
Test (1.28.3)
baseRuntime.Clone undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".TrainingRuntimeWrapper has no field or method Clone)
Test (1.28.3)
baseRuntime.Clone undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".TrainingRuntimeWrapper has no field or method Clone)
Test (1.28.3)
testingutil.MakeTrainingRuntimeSpecWrapper(baseRuntime.Clone().Spec).ContainerImage undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".TrainingRuntimeSpecWrapper has no field or method ContainerImage)
Test (1.28.3)
testingutil.MakeJobSetWrapper(ns.Name, trainJobKey.Name).Suspend(true).Label("testingKey", "testingVal").Annotation("testingKey", "testingVal").PodLabel(schedulerpluginsv1alpha1.PodGroupLabel, trainJobKey.Name).ContainerImage undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".JobSetWrapper has no field or method ContainerImage)
Test (1.28.3)
testingutil.MakeJobSetWrapper(ns.Name, trainJobKey.Name).Suspend(true).Label("testingKey", "testingVal").Annotation("testingKey", "testingVal").PodLabel(schedulerpluginsv1alpha1.PodGroupLabel, trainJobKey.Name).ContainerImage undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".JobSetWrapper has no field or method ContainerImage)
Test (1.28.3)
Process completed with exit code 2.
Test (1.29.1)
testingutil.MakeTrainingRuntimeSpecWrapper(baseRuntime.Spec).Replicas undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".TrainingRuntimeSpecWrapper has no field or method Replicas)
Test (1.29.1)
testingutil.MakeTrainingRuntimeWrapper(ns.Name, trainingRuntimeName).Clone undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".TrainingRuntimeWrapper has no field or method Clone)
Test (1.29.1)
testingutil.MakeTrainingRuntimeSpecWrapper(baseRuntime.Spec).Replicas undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".TrainingRuntimeSpecWrapper has no field or method Replicas)
Test (1.29.1)
testingutil.MakeTrainJobTrainerWrapper().ContainerImage undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".TrainJobTrainerWrapper has no field or method ContainerImage)
Test (1.29.1)
baseRuntime.Clone undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".TrainingRuntimeWrapper has no field or method Clone)
Test (1.29.1)
baseRuntime.Clone undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".TrainingRuntimeWrapper has no field or method Clone)
Test (1.29.1)
testingutil.MakeTrainingRuntimeSpecWrapper(baseRuntime.Clone().Spec).ContainerImage undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".TrainingRuntimeSpecWrapper has no field or method ContainerImage)
Test (1.29.1)
testingutil.MakeJobSetWrapper(ns.Name, trainJobKey.Name).Suspend(true).Label("testingKey", "testingVal").Annotation("testingKey", "testingVal").PodLabel(schedulerpluginsv1alpha1.PodGroupLabel, trainJobKey.Name).ContainerImage undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".JobSetWrapper has no field or method ContainerImage)
Test (1.29.1)
testingutil.MakeJobSetWrapper(ns.Name, trainJobKey.Name).Suspend(true).Label("testingKey", "testingVal").Annotation("testingKey", "testingVal").PodLabel(schedulerpluginsv1alpha1.PodGroupLabel, trainJobKey.Name).ContainerImage undefined (type *"github.com/kubeflow/training-operator/pkg/util.v2/testing".JobSetWrapper has no field or method ContainerImage)
Test (1.29.1)
Process completed with exit code 2.
Test (1.27.1)
Restore cache failed: Dependencies file is not found in /home/runner/work/training-operator/training-operator. Supported file pattern: go.sum
Test (1.28.3)
Restore cache failed: Dependencies file is not found in /home/runner/work/training-operator/training-operator. Supported file pattern: go.sum
Test (1.29.1)
Restore cache failed: Dependencies file is not found in /home/runner/work/training-operator/training-operator. Supported file pattern: go.sum