-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
The test case is failing in some clusters. It looks like a problem with the naming of the machinesets
{ fail [github.com/openshift/openshift-tests-private/test/extended/mco/mco.go:5185]: Unexpected error:
<*fmt.wrapError | 0xc005e3cb00>:
Error running oc --kubeconfig=/tmp/kubeconfig-935709183 create -f /tmp/e2e-test-mco-g7lln-cloned-machineset.machine.openshift.io-ci-op-rir8fmcz-fe398-jl7k6-worker-ap-northeast-1a-worker-custom-disks-50eff26a-1b47-48e9-a2e3-9d2d781825d0-namespace.json:
StdOut>
Error from server (Forbidden): error when creating "/tmp/e2e-test-mco-g7lln-cloned-machineset.machine.openshift.io-ci-op-rir8fmcz-fe398-jl7k6-worker-ap-northeast-1a-worker-custom-disks-50eff26a-1b47-48e9-a2e3-9d2d781825d0-namespace.json": admission webhook "validation.machineset.machine.openshift.io" denied the request: spec.selector: Invalid value: {"matchLabels":{"machine.openshift.io/cluster-api-cluster":"ci-op-rir8fmcz-fe398-jl7k6","machine.openshift.io/cluster-api-machineset":"ci-op-rir8fmcz-fe398-jl7k6-worker-ap-northeast-1a-worker-custom-disks"}}: could not convert label selector to selector: values[0][machine.openshift.io/cluster-api-machineset]: Invalid value: "ci-op-rir8fmcz-fe398-jl7k6-worker-ap-northeast-1a-worker-custom-disks": must be no more than 63 characters
StdErr>
Error from server (Forbidden): error when creating "/tmp/e2e-test-mco-g7lln-cloned-machineset.machine.openshift.io-ci-op-rir8fmcz-fe398-jl7k6-worker-ap-northeast-1a-worker-custom-disks-50eff26a-1b47-48e9-a2e3-9d2d781825d0-namespace.json": admission webhook "validation.machineset.machine.openshift.io" denied the request: spec.selector: Invalid value: {"matchLabels":{"machine.openshift.io/cluster-api-cluster":"ci-op-rir8fmcz-fe398-jl7k6","machine.openshift.io/cluster-api-machineset":"ci-op-rir8fmcz-fe398-jl7k6-worker-ap-northeast-1a-worker-custom-disks"}}: could not convert label selector to selector: values[0][machine.openshift.io/cluster-api-machineset]: Invalid value: "ci-op-rir8fmcz-fe398-jl7k6-worker-ap-northeast-1a-worker-custom-disks": must be no more than 63 characters
exit status 1
{
msg: "Error running oc --kubeconfig=/tmp/kubeconfig-935709183 create -f /tmp/e2e-test-mco-g7lln-cloned-machineset.machine.openshift.io-ci-op-rir8fmcz-fe398-jl7k6-worker-ap-northeast-1a-worker-custom-disks-50eff26a-1b47-48e9-a2e3-9d2d781825d0-namespace.json:\nStdOut>\nError from server (Forbidden): error when creating \"/tmp/e2e-test-mco-g7lln-cloned-machineset.machine.openshift.io-ci-op-rir8fmcz-fe398-jl7k6-worker-ap-northeast-1a-worker-custom-disks-50eff26a-1b47-48e9-a2e3-9d2d781825d0-namespace.json\": admission webhook \"validation.machineset.machine.openshift.io\" denied the request: spec.selector: Invalid value: {\"matchLabels\":{\"machine.openshift.io/cluster-api-cluster\":\"ci-op-rir8fmcz-fe398-jl7k6\",\"machine.openshift.io/cluster-api-machineset\":\"ci-op-rir8fmcz-fe398-jl7k6-worker-ap-northeast-1a-worker-custom-disks\"}}: could not convert label selector to selector: values[0][machine.openshift.io/cluster-api-machineset]: Invalid value: \"ci-op-rir8fmcz-fe398-jl7k6-worker-ap-northeast-1a-worker-custom-disks\": must be no more than 63 characters\nStdErr>\nError from server (Forbidden): error when creating \"/tmp/e2e-test-mco-g7lln-cloned-machineset.machine.openshift.io-ci-op-rir8fmcz-fe398-jl7k6-worker-ap-northeast-1a-worker-custom-disks-50eff26a-1b47-48e9-a2e3-9d2d781825d0-namespace.json\": admission webhook \"validation.machineset.machine.openshift.io\" denied the request: spec.selector: Invalid value: {\"matchLabels\":{\"machine.openshift.io/cluster-api-cluster\":\"ci-op-rir8fmcz-fe398-jl7k6\",\"machine.openshift.io/cluster-api-machineset\":\"ci-op-rir8fmcz-fe398-jl7k6-worker-ap-northeast-1a-worker-custom-disks\"}}: could not convert label selector to selector: values[0][machine.openshift.io/cluster-api-machineset]: Invalid value: \"ci-op-rir8fmcz-fe398-jl7k6-worker-ap-northeast-1a-worker-custom-disks\": must be no more than 63 characters\nexit status 1\n",
err: <*exec.ExitError | 0xc005e3cae0>{
ProcessState: {
pid: 127238,
status: 256,
rusage: {
Utime: {Sec: 0, Usec: 114730},
Stime: {Sec: 0, Usec: 42534},
Maxrss: 322756,
Ixrss: 0,
Idrss: 0,
Isrss: 0,
Minflt: 3336,
Majflt: 0,
Nswap: 0,
Inblock: 0,
Oublock: 0,
Msgsnd: 0,
Msgrcv: 0,
Nsignals: 0,
Nvcsw: 729,
Nivcsw: 7,
},
},
Stderr: nil,
},
}
occurred}