You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cluster Controller when creating cluster with all workloadTypes (being Stateless|Stateful|Consensus|Replication) component [It] [comp: stateless] should create RBAC resources correctly if only supports backup
/Users/free6om/GolandProjects/kubeblocks/controllers/apps/cluster_controller_test.go:2477
[FAILED] Expected success, but got an error:
<*errors.StatusError | 0x14001fb8dc0>:
ClusterDefinition.apps.kubeblocks.io "test-clusterdef" is invalid: spec.componentDefs[2]: Invalid value: "object": internal error: runtime error: index out of range [4] with length 4 evaluating rule: componentDefs.consensusSpec is required when componentDefs.workloadType is Consensus, and forbidden otherwise
{
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {
SelfLink: "",
ResourceVersion: "",
Continue: "",
RemainingItemCount: nil,
},
Status: "Failure",
Message: "ClusterDefinition.apps.kubeblocks.io "test-clusterdef" is invalid: spec.componentDefs[2]: Invalid value: "object": internal error: runtime error: index out of range [4] with length 4 evaluating rule: componentDefs.consensusSpec is required when componentDefs.workloadType is Consensus, and forbidden otherwise",
Reason: "Invalid",
Details: {
Name: "test-clusterdef",
Group: "apps.kubeblocks.io",
Kind: "ClusterDefinition",
UID: "",
Causes: [
{
Type: "FieldValueInvalid",
Message: "Invalid value: "object": internal error: runtime error: index out of range [4] with length 4 evaluating rule: componentDefs.consensusSpec is required when componentDefs.workloadType is Consensus, and forbidden otherwise",
Field: "spec.componentDefs[2]",
},
],
RetryAfterSeconds: 0,
},
Code: 422,
},
}
In [It] at: /Users/free6om/GolandProjects/kubeblocks/controllers/apps/cluster_controller_test.go:1385 @ 09/13/23 17:54:18.913
The text was updated successfully, but these errors were encountered:
Cluster Controller when creating cluster with all workloadTypes (being Stateless|Stateful|Consensus|Replication) component [It] [comp: stateless] should create RBAC resources correctly if only supports backup
/Users/free6om/GolandProjects/kubeblocks/controllers/apps/cluster_controller_test.go:2477
Timeline >>
STEP: clean resources @ 09/13/23 17:54:18.873
STEP: clear resources Cluster @ 09/13/23 17:54:18.873
STEP: clear resources ClusterVersion @ 09/13/23 17:54:18.874
STEP: clear resources ClusterDefinition @ 09/13/23 17:54:18.874
STEP: clear resources PersistentVolumeClaim @ 09/13/23 17:54:18.875
STEP: clear resources Pod @ 09/13/23 17:54:18.876
STEP: clear resources Backup @ 09/13/23 17:54:18.877
STEP: clear resources BackupPolicy @ 09/13/23 17:54:18.878
STEP: clear resources VolumeSnapshot @ 09/13/23 17:54:18.892
STEP: clear resources BackupPolicyTemplate @ 09/13/23 17:54:18.893
STEP: clear resources BackupTool @ 09/13/23 17:54:18.894
STEP: clear resources StorageClass @ 09/13/23 17:54:18.895
STEP: Create a clusterDefinition obj @ 09/13/23 17:54:18.895
STEP: Create a clusterVersion obj @ 09/13/23 17:54:18.899
STEP: Creating a BackupPolicyTemplate @ 09/13/23 17:54:18.9
[FAILED] in [It] - /Users/free6om/GolandProjects/kubeblocks/controllers/apps/cluster_controller_test.go:1385 @ 09/13/23 17:54:18.913
STEP: clean resources @ 09/13/23 17:54:18.913
STEP: clear resources Cluster @ 09/13/23 17:54:18.913
STEP: clear resources ClusterVersion @ 09/13/23 17:54:18.914
STEP: clear resources ClusterDefinition @ 09/13/23 17:54:18.921
STEP: clear resources PersistentVolumeClaim @ 09/13/23 17:54:18.934
STEP: clear resources Pod @ 09/13/23 17:54:18.935
STEP: clear resources Backup @ 09/13/23 17:54:18.936
STEP: clear resources BackupPolicy @ 09/13/23 17:54:18.937
STEP: clear resources VolumeSnapshot @ 09/13/23 17:54:18.95
STEP: clear resources BackupPolicyTemplate @ 09/13/23 17:54:18.951
STEP: clear resources BackupTool @ 09/13/23 17:54:18.954
STEP: clear resources StorageClass @ 09/13/23 17:54:18.955
STEP: clean resources @ 09/13/23 17:54:18.956
STEP: clear resources Cluster @ 09/13/23 17:54:18.956
STEP: clear resources ClusterVersion @ 09/13/23 17:54:18.957
STEP: clear resources ClusterDefinition @ 09/13/23 17:54:18.958
STEP: clear resources PersistentVolumeClaim @ 09/13/23 17:54:18.959
STEP: clear resources Pod @ 09/13/23 17:54:18.96
STEP: clear resources Backup @ 09/13/23 17:54:18.961
STEP: clear resources BackupPolicy @ 09/13/23 17:54:18.962
STEP: clear resources VolumeSnapshot @ 09/13/23 17:54:18.975
STEP: clear resources BackupPolicyTemplate @ 09/13/23 17:54:18.976
STEP: clear resources BackupTool @ 09/13/23 17:54:18.977
STEP: clear resources StorageClass @ 09/13/23 17:54:18.978
<< Timeline
[FAILED] Expected success, but got an error:
<*errors.StatusError | 0x14001fb8dc0>:
ClusterDefinition.apps.kubeblocks.io "test-clusterdef" is invalid: spec.componentDefs[2]: Invalid value: "object": internal error: runtime error: index out of range [4] with length 4 evaluating rule: componentDefs.consensusSpec is required when componentDefs.workloadType is Consensus, and forbidden otherwise
{
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {
SelfLink: "",
ResourceVersion: "",
Continue: "",
RemainingItemCount: nil,
},
Status: "Failure",
Message: "ClusterDefinition.apps.kubeblocks.io "test-clusterdef" is invalid: spec.componentDefs[2]: Invalid value: "object": internal error: runtime error: index out of range [4] with length 4 evaluating rule: componentDefs.consensusSpec is required when componentDefs.workloadType is Consensus, and forbidden otherwise",
Reason: "Invalid",
Details: {
Name: "test-clusterdef",
Group: "apps.kubeblocks.io",
Kind: "ClusterDefinition",
UID: "",
Causes: [
{
Type: "FieldValueInvalid",
Message: "Invalid value: "object": internal error: runtime error: index out of range [4] with length 4 evaluating rule: componentDefs.consensusSpec is required when componentDefs.workloadType is Consensus, and forbidden otherwise",
Field: "spec.componentDefs[2]",
},
],
RetryAfterSeconds: 0,
},
Code: 422,
},
}
In [It] at: /Users/free6om/GolandProjects/kubeblocks/controllers/apps/cluster_controller_test.go:1385 @ 09/13/23 17:54:18.913
The text was updated successfully, but these errors were encountered: