Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [kmajumde@fedora ocs-operator]$ make ocs-operator-ci
- Testing for shellcheck
- hack/shellcheck-test.sh
- ./extras/DEBUG_EXPORTS.sh: ok
- ./hack/build-functest.sh: ok
- ./hack/clean.sh: ok
- ./hack/cluster-clean.sh: ok
- ./hack/dump-debug-info.sh: ok
- ./hack/generate-appregistry.sh: ok
- ./hack/red-hat-storage-ocs-ci-tests.sh: ok
- ./hack/shellcheck-test.sh: ok
- ./hack/verify-generated.sh: ok
- ./hack/verify-latest-deploy-yaml.sh: ok
- ./hack/build-appregistry.sh: ok
- ./hack/build-container.sh: ok
- ./hack/build-master-appregistry.sh: ok
- ./hack/build-must-gather.sh: ok
- ./hack/build-operator-bundle.sh: ok
- ./hack/build-operator.sh: ok
- ./hack/cluster-deploy.sh: ok
- ./hack/docker-common.sh: ok
- ./hack/ensure-operator-sdk.sh: ok
- ./hack/ensure-opm.sh: ok
- ./hack/functest.sh: ok
- ./hack/gen-deployment-yaml.sh: ok
- ./hack/generate-master-appregistry.sh: ok
- ./hack/generate-master-bundle.sh: ok
- ./hack/generate-master-csv.sh: ok
- ./hack/source-manifests.sh: ok
- ./hack/verify-dependencies.sh: ok
- ./hack/verify-latest-csv.sh: ok
- ./hack/verify-operator-bundle.sh: ok
- ./hack/build-operator-index.sh: ok
- ./hack/gen-protobuf.sh: ok
- ./hack/build-metrics-exporter.sh: ok
- ./hack/generate-unified-csv.sh: ok
- ./hack/operator-sdk-common.sh: ok
- ./hack/ticketgen/ticketcheck.sh: ok
- ./hack/ticketgen/ticketgen.sh: ok
- ./hack/common.sh: ok
- ./hack/generate-latest-csv.sh: ok
- ./hack/golangci_lint.sh: ok
- ./hack/go-build.sh: ok
- ./must-gather/collection-scripts/gather_common_ceph_resources: ok
- ./must-gather/collection-scripts/gather_noobaa_resources: ok
- ./must-gather/collection-scripts/gather: ok
- ./must-gather/collection-scripts/post-uninstall.sh: ok
- ./must-gather/collection-scripts/pre-install.sh: ok
- ./must-gather/collection-scripts/gather_clusterscoped_resources: ok
- ./must-gather/collection-scripts/gather_namespaced_resources: ok
- ./must-gather/collection-scripts/gather_ceph_resources: ok
- ./openshift-ci/build-operator-index-ci.sh: ok
- 0 scripts with errors were found
- Running golangci-lint run
- hack/golangci_lint.sh
- Installing golangci-lint
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 100 10759 100 10759 0 0 46575 0 --:--:-- --:--:-- --:--:-- 46575
- golangci/golangci-lint info checking GitHub for tag 'v1.45.2'
- golangci/golangci-lint info found version: 1.45.2 for v1.45.2/linux/amd64
- golangci/golangci-lint info installed build/_output/tools/golangci-lint
- Running golangci-lint
- WARN [runner] The linter 'golint' is deprecated (since v1.41.0) due to: The repository of the linter has been archived by the owner. Replaced by revive.
- Executing unit tests
- go test -v -cover `go list ./... | grep -v "functest"`
- ? github.com/red-hat-storage/ocs-operator [no test files]
- ? github.com/red-hat-storage/ocs-operator/api/v1 [no test files]
- ? github.com/red-hat-storage/ocs-operator/api/v1alpha1 [no test files]
- ? github.com/red-hat-storage/ocs-operator/controllers/defaults [no test files]
- === RUN TestReconcilerImplementsInterface
- --- PASS: TestReconcilerImplementsInterface (0.00s)
- === RUN TestNonWatchedResourceNotFound
- --- PASS: TestNonWatchedResourceNotFound (0.00s)
- === RUN TestNonWatchedResourceFound
- --- PASS: TestNonWatchedResourceFound (0.00s)
- === RUN TestCreateWatchedResource
- --- PASS: TestCreateWatchedResource (0.00s)
- === RUN TestCreateSCCs
- --- PASS: TestCreateSCCs (0.00s)
- === RUN TestReconcileCompleteConditions
- --- PASS: TestReconcileCompleteConditions (0.00s)
- === RUN TestEnsureRookCephOperatorConfig
- === RUN TestEnsureRookCephOperatorConfig/RookCephOperatorConfigCreated_not_set
- === RUN TestEnsureRookCephOperatorConfig/RookCephOperatorConfigCreated_is_false
- === RUN TestEnsureRookCephOperatorConfig/RookCephOperatorConfigCreated_is_true
- --- PASS: TestEnsureRookCephOperatorConfig (0.00s)
- --- PASS: TestEnsureRookCephOperatorConfig/RookCephOperatorConfigCreated_not_set (0.00s)
- --- PASS: TestEnsureRookCephOperatorConfig/RookCephOperatorConfigCreated_is_false (0.00s)
- --- PASS: TestEnsureRookCephOperatorConfig/RookCephOperatorConfigCreated_is_true (0.00s)
- PASS
- coverage: 80.4% of statements
- ok github.com/red-hat-storage/ocs-operator/controllers/ocsinitialization (cached) coverage: 80.4% of statements
- === RUN TestReconcilePV
- persistentvolume_controller_test.go:74: Case 1: nil CSI
- persistentvolume_controller_test.go:74: Case 2: invalid driver
- persistentvolume_controller_test.go:74: Case 3: RBD driver, invalid StorageClass
- persistentvolume_controller_test.go:74: Case 4: RBD driver, valid StorageClass, invalid SecretRef
- persistentvolume_controller_test.go:74: Case 5: valid RBD driver, nil SecretRef
- persistentvolume_controller_test.go:74: Case 6: valid RBD driver, empty SecretRef
- persistentvolume_controller_test.go:74: Case 7: valid CephFS driver
- --- PASS: TestReconcilePV (0.00s)
- === RUN TestEnsureExpansionSecret
- reconcile_test.go:63: Case 1: no StorageClass
- reconcile_test.go:63: Case 2: valid StorageClass, no secret
- reconcile_test.go:63: Case 3: valid StorageClass, valid secret
- --- PASS: TestEnsureExpansionSecret (0.00s)
- PASS
- coverage: 71.4% of statements
- ok github.com/red-hat-storage/ocs-operator/controllers/persistentvolume (cached) coverage: 71.4% of statements
- ? github.com/red-hat-storage/ocs-operator/controllers/storageclassclaim [no test files]
- === RUN TestCephBlockPools
- --- PASS: TestCephBlockPools (0.02s)
- === RUN TestInjectingPeerTokenToCephBlockPool
- --- PASS: TestInjectingPeerTokenToCephBlockPool (0.04s)
- === RUN TestEnsureCephCluster
- cephcluster_test.go:70: Case 1: Create new CephCluster
- cephcluster_test.go:70: Case 2: Reconcile CephCluster not reporting state
- cephcluster_test.go:70: Case 3: Reconcile creating CephCluster
- cephcluster_test.go:70: Case 4: Reconcile updating CephCluster
- cephcluster_test.go:70: Case 5: Reconcile degraded CephCluster
- cephcluster_test.go:70: Case 6: CephCluster reconciled succesfully
- cephcluster_test.go:70: Case 7: Update expanding CephCluster
- cephcluster_test.go:137: Case 8: Unreachable KMS error handling
- --- PASS: TestEnsureCephCluster (0.07s)
- === RUN TestCephClusterMonTimeout
- cephcluster_test.go:180: Case: case 1
- cephcluster_test.go:180: Case: case 2
- --- PASS: TestCephClusterMonTimeout (0.00s)
- === RUN TestNewCephClusterMonData
- cephcluster_test.go:252: Case: case 1
- cephcluster_test.go:252: Case: case 2
- cephcluster_test.go:252: Case: case 3
- cephcluster_test.go:252: Case: case 4
- --- PASS: TestNewCephClusterMonData (0.00s)
- === RUN TestStorageClassDeviceSetCreation
- cephcluster_test.go:365: Case: case 1
- cephcluster_test.go:365: Case: case 2
- cephcluster_test.go:365: Case: case 3
- cephcluster_test.go:431: Case: case 1
- cephcluster_test.go:431: Case: case 2
- cephcluster_test.go:431: Case: case 3
- cephcluster_test.go:431: Case: case 4
- --- PASS: TestStorageClassDeviceSetCreation (0.00s)
- === RUN TestKMSConfigChanges
- === RUN TestKMSConfigChanges/case_1
- === RUN TestKMSConfigChanges/case_2
- === RUN TestKMSConfigChanges/case_3
- === RUN TestKMSConfigChanges/case_4
- storagecluster_controller_test.go:1189: Failed to start ListenServer: listen tcp4: lookup unearchable.url.location: no such host
- === RUN TestKMSConfigChanges/case_5
- === RUN TestKMSConfigChanges/case_6
- === RUN TestKMSConfigChanges/case_7
- --- PASS: TestKMSConfigChanges (0.01s)
- --- PASS: TestKMSConfigChanges/case_1 (0.00s)
- --- PASS: TestKMSConfigChanges/case_2 (0.00s)
- --- PASS: TestKMSConfigChanges/case_3 (0.00s)
- --- PASS: TestKMSConfigChanges/case_4 (0.00s)
- --- PASS: TestKMSConfigChanges/case_5 (0.00s)
- --- PASS: TestKMSConfigChanges/case_6 (0.00s)
- --- PASS: TestKMSConfigChanges/case_7 (0.00s)
- === RUN TestStorageClassDeviceSetCreationForArbiter
- cephcluster_test.go:659: Case: case 1
- cephcluster_test.go:659: Case: case 2
- --- PASS: TestStorageClassDeviceSetCreationForArbiter (0.00s)
- === RUN TestNewCephDaemonResources
- cephcluster_test.go:792: Case: When nothing is passed to StorageCluster.Spec.Resources (Defaults)
- cephcluster_test.go:792: Case: Overriding defaults
- cephcluster_test.go:792: Case: Passing a new key
- cephcluster_test.go:792: Case: When nothing is passed to StorageCluster.Spec.Resources (Defaults) and arbiter is enabled
- --- PASS: TestNewCephDaemonResources (0.00s)
- === RUN TestParsePrometheusRules
- --- PASS: TestParsePrometheusRules (0.00s)
- === RUN TestGetNetworkSpec
- cephcluster_test.go:896: Case: "hostNetwork specified as true, network unspecified"
- cephcluster_test.go:896: Case: "hostNetwork specified as false, network unspecified"
- cephcluster_test.go:896: Case: "hostNetwork specified as true, network specified without hostnetwork"
- cephcluster_test.go:896: Case: "hostNetwork specified as false, network specified with hostnetwork"
- cephcluster_test.go:896: Case: "hostNetwork specified as false, network specified without hostnetwork"
- cephcluster_test.go:896: Case: "hostNetwork unspecified, network unspecified"
- cephcluster_test.go:896: Case: "hostNetwork unspecified, network specified"
- --- PASS: TestGetNetworkSpec (0.00s)
- === RUN TestGetCephClusterMonitoringLabels
- === RUN TestGetCephClusterMonitoringLabels/Default_StorageCluster,_No_Labels
- === RUN TestGetCephClusterMonitoringLabels/StorageCluster_with_labels
- --- PASS: TestGetCephClusterMonitoringLabels (0.00s)
- --- PASS: TestGetCephClusterMonitoringLabels/Default_StorageCluster,_No_Labels (0.00s)
- --- PASS: TestGetCephClusterMonitoringLabels/StorageCluster_with_labels (0.00s)
- === RUN TestDualStack
- cephconfig_test.go:115: Case #1
- cephconfig_test.go:115: Case #2
- cephconfig_test.go:115: Case #3
- cephconfig_test.go:115: Case #4
- cephconfig_test.go:115: Case #5
- cephconfig_test.go:115: Case #6
- --- PASS: TestDualStack (0.01s)
- === RUN TestCephFileSystem
- --- PASS: TestCephFileSystem (0.01s)
- === RUN TestCephNFS
- --- PASS: TestCephNFS (0.01s)
- === RUN TestCephObjectStores
- --- PASS: TestCephObjectStores (0.01s)
- === RUN TestCephObjectStoreUsers
- --- PASS: TestCephObjectStoreUsers (0.01s)
- === RUN TestCephRbdMirror
- --- PASS: TestCephRbdMirror (0.02s)
- === RUN TestEnsureToolsDeployment
- --- PASS: TestEnsureToolsDeployment (0.00s)
- === RUN TestEnsureToolsDeploymentUpdate
- --- PASS: TestEnsureToolsDeploymentUpdate (0.00s)
- === RUN TestEnsureExternalStorageClusterResources
- --- PASS: TestEnsureExternalStorageClusterResources (0.00s)
- === RUN TestOptionalExternalStorageClusterResources
- === RUN TestOptionalExternalStorageClusterResources/RemoveRGW
- === RUN TestOptionalExternalStorageClusterResources/RemoveCephFS
- --- PASS: TestOptionalExternalStorageClusterResources (0.00s)
- --- PASS: TestOptionalExternalStorageClusterResources/RemoveRGW (0.00s)
- --- PASS: TestOptionalExternalStorageClusterResources/RemoveCephFS (0.00s)
- === RUN TestExternalResourceReconcile
- --- PASS: TestExternalResourceReconcile (0.00s)
- === RUN TestExternalMonitoringResources
- === RUN TestExternalMonitoringResources/ValidEndpointAndPort
- === RUN TestExternalMonitoringResources/ValidEndpointWithoutPort
- === RUN TestExternalMonitoringResources/InvalidPort
- storagecluster_controller_test.go:1189: Failed to start ListenServer: listen tcp4: lookup tcp4/abcde: Servname not supported for ai_socktype
- --- PASS: TestExternalMonitoringResources (0.03s)
- --- PASS: TestExternalMonitoringResources/ValidEndpointAndPort (0.00s)
- --- PASS: TestExternalMonitoringResources/ValidEndpointWithoutPort (0.00s)
- --- PASS: TestExternalMonitoringResources/InvalidPort (0.02s)
- === RUN TestErasureCodedExternalResources
- === RUN TestErasureCodedExternalResources/ceph-rbd
- === RUN TestErasureCodedExternalResources/ceph-rbd-ec
- --- PASS: TestErasureCodedExternalResources (0.00s)
- --- PASS: TestErasureCodedExternalResources/ceph-rbd (0.00s)
- --- PASS: TestErasureCodedExternalResources/ceph-rbd-ec (0.00s)
- === RUN TestJobTemplates
- --- PASS: TestJobTemplates (0.00s)
- === RUN TestEnsureNooBaaSystem
- --- PASS: TestEnsureNooBaaSystem (0.00s)
- === RUN TestNooBaaReconcileStrategy
- --- PASS: TestNooBaaReconcileStrategy (0.00s)
- === RUN TestSetNooBaaDesiredState
- --- PASS: TestSetNooBaaDesiredState (0.00s)
- === RUN TestNoobaaSystemInExternalClusterMode
- --- PASS: TestNoobaaSystemInExternalClusterMode (0.00s)
- === RUN TestNoobaaKMSConfiguration
- storagecluster_controller_test.go:1189: Failed to start ListenServer: listen tcp4: lookup unearchable.url.location: no such host
- --- PASS: TestNoobaaKMSConfiguration (0.01s)
- === RUN TestGetPlacement
- --- PASS: TestGetPlacement (0.00s)
- === RUN TestOcsProviderServerEnsureCreated
- === RUN TestOcsProviderServerEnsureCreated/Ensure_that_Deployment,Service,Secret_is_created_when_AllowRemoteStorageConsumers_is_enabled
- === RUN TestOcsProviderServerEnsureCreated/Ensure_that_Deployment,Service,Secret_is_not_created_when_AllowRemoteStorageConsumers_is_disabled
- --- PASS: TestOcsProviderServerEnsureCreated (0.00s)
- --- PASS: TestOcsProviderServerEnsureCreated/Ensure_that_Deployment,Service,Secret_is_created_when_AllowRemoteStorageConsumers_is_enabled (0.00s)
- --- PASS: TestOcsProviderServerEnsureCreated/Ensure_that_Deployment,Service,Secret_is_not_created_when_AllowRemoteStorageConsumers_is_disabled (0.00s)
- === RUN TestOcsProviderServerEnsureDeleted
- === RUN TestOcsProviderServerEnsureDeleted/Ensure_that_Deployment,Service,Secret_is_deleted_when_AllowRemoteStorageConsumers_is_disabled
- === RUN TestOcsProviderServerEnsureDeleted/Ensure_that_Deployment,Service,Secret_is_deleted_while_uninstalling
- --- PASS: TestOcsProviderServerEnsureDeleted (0.00s)
- --- PASS: TestOcsProviderServerEnsureDeleted/Ensure_that_Deployment,Service,Secret_is_deleted_when_AllowRemoteStorageConsumers_is_disabled (0.00s)
- --- PASS: TestOcsProviderServerEnsureDeleted/Ensure_that_Deployment,Service,Secret_is_deleted_while_uninstalling (0.00s)
- === RUN TestCephRGWRoutes
- --- PASS: TestCephRGWRoutes (0.01s)
- === RUN TestDefaultStorageClasses
- --- PASS: TestDefaultStorageClasses (0.01s)
- === RUN TestEncryptedStorageClass
- --- PASS: TestEncryptedStorageClass (0.01s)
- === RUN TestReconcilerImplInterface
- --- PASS: TestReconcilerImplInterface (0.00s)
- === RUN TestVersionCheck
- --- PASS: TestVersionCheck (0.00s)
- === RUN TestThrottleStorageDevices
- --- PASS: TestThrottleStorageDevices (0.00s)
- === RUN TestIsActiveStorageCluster
- --- PASS: TestIsActiveStorageCluster (0.00s)
- === RUN TestReconcileWithNonWatchedResource
- --- PASS: TestReconcileWithNonWatchedResource (0.00s)
- === RUN TestNonWatchedReconcileWithNoCephClusterType
- --- PASS: TestNonWatchedReconcileWithNoCephClusterType (0.00s)
- === RUN TestNonWatchedReconcileWithTheCephClusterType
- --- PASS: TestNonWatchedReconcileWithTheCephClusterType (0.00s)
- === RUN TestStorageDeviceSets
- --- PASS: TestStorageDeviceSets (0.00s)
- === RUN TestStorageClusterInitConditions
- --- PASS: TestStorageClusterInitConditions (0.00s)
- === RUN TestStorageClusterFinalizer
- --- PASS: TestStorageClusterFinalizer (0.00s)
- === RUN TestMonCountChange
- --- PASS: TestMonCountChange (0.00s)
- === RUN TestStorageClusterOnMultus
- --- PASS: TestStorageClusterOnMultus (0.01s)
- === RUN TestStorageQuotaEnsureCreatedDeleted
- --- PASS: TestStorageQuotaEnsureCreatedDeleted (0.00s)
- === RUN TestStorageQuotaWithFullStorageCluster
- --- PASS: TestStorageQuotaWithFullStorageCluster (0.00s)
- === RUN TestReconcileNodeTopologyMap
- --- PASS: TestReconcileNodeTopologyMap (0.01s)
- === RUN TestNodeTopologyMapOnDifferentAZ
- --- PASS: TestNodeTopologyMapOnDifferentAZ (0.00s)
- === RUN TestReconcileNodeTopologyMapFailure
- --- PASS: TestReconcileNodeTopologyMapFailure (0.00s)
- === RUN TestFailureDomain
- --- PASS: TestFailureDomain (0.00s)
- === RUN TestStorageClusterEligibleNodes
- --- PASS: TestStorageClusterEligibleNodes (0.00s)
- === RUN TestEnsureNodeRack
- --- PASS: TestEnsureNodeRack (0.00s)
- === RUN TestDeterminePlacementRack
- --- PASS: TestDeterminePlacementRack (0.00s)
- === RUN TestReconcileUninstallAnnotations
- --- PASS: TestReconcileUninstallAnnotations (0.01s)
- === RUN TestSetRookUninstallandCleanupPolicy
- --- PASS: TestSetRookUninstallandCleanupPolicy (0.02s)
- === RUN TestDeleteStorageClasses
- --- PASS: TestDeleteStorageClasses (0.03s)
- === RUN TestDeleteSnapshotClasses
- --- PASS: TestDeleteSnapshotClasses (0.02s)
- === RUN TestDeleteNodeAffinityKeyFromNodes
- --- PASS: TestDeleteNodeAffinityKeyFromNodes (0.03s)
- === RUN TestDeleteNodeTaint
- --- PASS: TestDeleteNodeTaint (0.03s)
- === RUN TestDeleteCephCluster
- --- PASS: TestDeleteCephCluster (0.03s)
- === RUN TestDeleteCephFilesystems
- --- PASS: TestDeleteCephFilesystems (0.03s)
- === RUN TestDeleteCephBlockPools
- --- PASS: TestDeleteCephBlockPools (0.02s)
- === RUN TestDeleteCephObjectStoreUsers
- --- PASS: TestDeleteCephObjectStoreUsers (0.02s)
- === RUN TestDeleteCephObjectStores
- --- PASS: TestDeleteCephObjectStores (0.03s)
- === RUN TestSetNoobaaUninstallMode
- --- PASS: TestSetNoobaaUninstallMode (0.02s)
- === RUN TestVerifyNoStorageConsumerExist
- === RUN TestVerifyNoStorageConsumerExist/Raise_error_when_storageConsumer_exist
- === RUN TestVerifyNoStorageConsumerExist/Do_not_Raise_error_when_storageConsumer_does_not_exist
- --- PASS: TestVerifyNoStorageConsumerExist (0.00s)
- --- PASS: TestVerifyNoStorageConsumerExist/Raise_error_when_storageConsumer_exist (0.00s)
- --- PASS: TestVerifyNoStorageConsumerExist/Do_not_Raise_error_when_storageConsumer_does_not_exist (0.00s)
- === RUN TestVolumeSnapshotterClasses
- --- PASS: TestVolumeSnapshotterClasses (0.01s)
- PASS
- coverage: 59.5% of statements
- ok github.com/red-hat-storage/ocs-operator/controllers/storagecluster (cached) coverage: 59.5% of statements
- ? github.com/red-hat-storage/ocs-operator/controllers/storageconsumer [no test files]
- === RUN TestGetPGBaseUnitSize
- --- PASS: TestGetPGBaseUnitSize (0.00s)
- === RUN TestComposePredicatesUpdate
- predicates_test.go:66: Case 1: no update
- predicates_test.go:66: Case 2: labels update
- predicates_test.go:66: Case 3: resourceversion update
- predicates_test.go:66: Case 4: any other field
- --- PASS: TestComposePredicatesUpdate (0.00s)
- === RUN TestMetadataChangedPredicateUpdate
- predicates_test.go:144: Case 1: no update
- predicates_test.go:144: Case 2: labels update
- predicates_test.go:144: Case 3: annotations update
- predicates_test.go:144: Case 4: finalizers update
- predicates_test.go:144: Case 5: any other field
- --- PASS: TestMetadataChangedPredicateUpdate (0.00s)
- PASS
- coverage: 15.1% of statements
- ok github.com/red-hat-storage/ocs-operator/controllers/util (cached) coverage: 15.1% of statements
- ? github.com/red-hat-storage/ocs-operator/hack/ticketgen [no test files]
- ? github.com/red-hat-storage/ocs-operator/metrics [no test files]
- ? github.com/red-hat-storage/ocs-operator/metrics/internal/cache [no test files]
- === RUN TestNewCephBlockPoolCollector
- --- PASS: TestNewCephBlockPoolCollector (0.00s)
- === RUN TestGetAllBlockPools
- --- PASS: TestGetAllBlockPools (0.00s)
- === RUN TestCollectPoolMirroringImageHealth
- --- PASS: TestCollectPoolMirroringImageHealth (0.00s)
- === RUN TestCollectPoolMirroringStatus
- --- PASS: TestCollectPoolMirroringStatus (0.00s)
- === RUN TestNewCephClusterCollector
- --- PASS: TestNewCephClusterCollector (0.00s)
- === RUN TestGetAllCephCluster
- --- PASS: TestGetAllCephCluster (0.00s)
- === RUN TestCollectMirrorinDaemonCount
- --- PASS: TestCollectMirrorinDaemonCount (0.00s)
- === RUN TestNewCephObjectStoreCollector
- --- PASS: TestNewCephObjectStoreCollector (0.00s)
- === RUN TestGetAllObjectStores
- --- PASS: TestGetAllObjectStores (0.00s)
- === RUN TestCollectObjectStoreHealth
- E0804 14:55:55.568658 202795 ceph-object-store.go:119] CephObjectStore in unexpected phase. Must be "Connected", "Progressing" or "Failure"
- --- PASS: TestCollectObjectStoreHealth (0.00s)
- === RUN TestNewObjectBucketCollector
- --- PASS: TestNewObjectBucketCollector (0.00s)
- === RUN TestGetAllObjectBuckets
- --- PASS: TestGetAllObjectBuckets (0.00s)
- === RUN TestCollectObjectBucketMetrics
- --- PASS: TestCollectObjectBucketMetrics (0.00s)
- PASS
- coverage: 40.3% of statements
- ok github.com/red-hat-storage/ocs-operator/metrics/internal/collectors (cached) coverage: 40.3% of statements
- ? github.com/red-hat-storage/ocs-operator/metrics/internal/exporter [no test files]
- ? github.com/red-hat-storage/ocs-operator/metrics/internal/handler [no test files]
- ? github.com/red-hat-storage/ocs-operator/metrics/internal/options [no test files]
- ? github.com/red-hat-storage/ocs-operator/metrics/internal/version [no test files]
- ? github.com/red-hat-storage/ocs-operator/pkg/deploy-manager [no test files]
- ? github.com/red-hat-storage/ocs-operator/services/consumer [no test files]
- ? github.com/red-hat-storage/ocs-operator/services/provider [no test files]
- ? github.com/red-hat-storage/ocs-operator/services/provider/client [no test files]
- ? github.com/red-hat-storage/ocs-operator/services/provider/common [no test files]
- ? github.com/red-hat-storage/ocs-operator/services/provider/pb [no test files]
- === RUN TestNewConsumerManager
- --- PASS: TestNewConsumerManager (0.00s)
- === RUN TestCreateStorageConsumer
- W0804 14:55:56.432975 203031 consumer.go:63] onboarding ticket already in use
- W0804 14:55:56.433009 203031 consumer.go:63] onboarding ticket already in use
- I0804 14:55:56.433019 203031 consumer.go:96] successfully created storageConsumer resource "consumer2"
- --- PASS: TestCreateStorageConsumer (0.00s)
- === RUN TestDeleteStorageConsumer
- W0804 14:55:56.433347 203031 consumer.go:107] no storageConsumer found with UID "invalid-uid"
- W0804 14:55:56.433370 203031 consumer.go:130] storageConsumer "stale-consumer" not found.
- I0804 14:55:56.433380 203031 consumer.go:140] successfully deleted storageConsumer resource "consumer1"
- --- PASS: TestDeleteStorageConsumer (0.00s)
- === RUN TestUpdateCapacity
- E0804 14:55:56.433692 203031 consumer.go:209] no storageConsumer found with the UID "invalid-uid"
- I0804 14:55:56.433765 203031 consumer.go:164] successfully updated requested capacity field in the StorageConsumer resource "consumer1"
- W0804 14:55:56.433823 203031 consumer.go:154] storageConsumer consumer1 is in disabled state
- --- PASS: TestUpdateCapacity (0.00s)
- === RUN TestGetStorageConsumer
- E0804 14:55:56.434143 203031 consumer.go:209] no storageConsumer found with the UID "invalid-uid"
- --- PASS: TestGetStorageConsumer (0.00s)
- === RUN TestGetExternalResources
- I0804 14:55:56.434608 203031 server.go:152] Found storageConsumer for GetStorageConfig
- I0804 14:55:56.436805 203031 server.go:170] successfully returned the config details to the consumer.
- I0804 14:55:56.436856 203031 server.go:152] Found storageConsumer for GetStorageConfig
- I0804 14:55:56.436974 203031 server.go:152] Found storageConsumer for GetStorageConfig
- I0804 14:55:56.436999 203031 server.go:152] Found storageConsumer for GetStorageConfig
- I0804 14:55:56.437226 203031 server.go:152] Found storageConsumer for GetStorageConfig
- I0804 14:55:56.437366 203031 server.go:152] Found storageConsumer for GetStorageConfig
- --- PASS: TestGetExternalResources (0.00s)
- === RUN TestOCSProviderServerFulfillStorageClassClaim
- E0804 14:55:56.438601 203031 consumer.go:209] no storageConsumer found with the UID "consumer-uuid"
- I0804 14:55:56.438636 203031 server.go:496] Found StorageConsumer "consumer" ("uid")
- I0804 14:55:56.438648 203031 storageclaim.go:116] successfully created a StorageClassClaim resource "storageclassclaim-569e27f09bac26fdd9688c36ecbb5f49" for consumer "uid" and claim "claim-name"
- I0804 14:55:56.438688 203031 server.go:496] Found StorageConsumer "consumer" ("uid")
- E0804 14:55:56.438808 203031 storageclaim.go:111] StorageClassClaim named "storageclassclaim-569e27f09bac26fdd9688c36ecbb5f49" for consumer "uid" and claim "claim-name" is already exists with different spec ({sharedfilesystem vault}) but requested spec ({blockpool vault})
- E0804 14:55:56.438820 203031 server.go:511] failed to fulfill storage class claim for "uid". storageclassclaims.ocs.openshift.io "storageclassclaim-569e27f09bac26fdd9688c36ecbb5f49" already exists
- I0804 14:55:56.438855 203031 server.go:496] Found StorageConsumer "consumer" ("uid")
- E0804 14:55:56.438891 203031 storageclaim.go:111] StorageClassClaim named "storageclassclaim-f1b826ccc1f2bd89637452298552e752" for consumer "uid" and claim "claim-under-deletion" is already exists with different spec ({sharedfilesystem vault}) but requested spec ({block vault})
- E0804 14:55:56.438899 203031 server.go:511] failed to fulfill storage class claim for "uid". storageclassclaims.ocs.openshift.io "storageclassclaim-f1b826ccc1f2bd89637452298552e752" already exists
- --- PASS: TestOCSProviderServerFulfillStorageClassClaim (0.00s)
- === RUN TestOCSProviderServerRevokeStorageClassClaim
- I0804 14:55:56.439273 203031 storageclaim.go:144] successfully deleted StorageClassClaim "storageclassclaim-569e27f09bac26fdd9688c36ecbb5f49" for consumer "uid" and claim "claim-name"
- W0804 14:55:56.439287 203031 storageclaim.go:138] StorageClassClaim "storageclassclaim-569e27f09bac26fdd9688c36ecbb5f49" not found for consumer "uid" and claim "claim-name"
- --- PASS: TestOCSProviderServerRevokeStorageClassClaim (0.00s)
- === RUN TestOCSProviderServerGetStorageClassClaimConfig
- I0804 14:55:56.439661 203031 server.go:547] storage class claim "block-pool-claim" for "uid" is in "Ready" phase
- I0804 14:55:56.439818 203031 server.go:673] successfully returned the storage class claim "block-pool-claim" for "uid"
- I0804 14:55:56.439873 203031 server.go:547] storage class claim "shared-filesystem-claim" for "uid" is in "Ready" phase
- I0804 14:55:56.440101 203031 server.go:673] successfully returned the storage class claim "shared-filesystem-claim" for "uid"
- I0804 14:55:56.440166 203031 server.go:547] storage class claim "shared-filesystem-claim" for "uid" is in "Ready" phase
- I0804 14:55:56.440287 203031 server.go:547] storage class claim "claim-initializing" for "uid" is in "Initializing" phase
- I0804 14:55:56.440311 203031 server.go:547] storage class claim "claim-creating" for "uid" is in "Creating" phase
- I0804 14:55:56.440335 203031 server.go:547] storage class claim "claim-failed" for "uid" is in "Failed" phase
- --- PASS: TestOCSProviderServerGetStorageClassClaimConfig (0.00s)
- === RUN Test_getStorageClassClaimName
- === RUN Test_getStorageClassClaimName/verify_get_storage_class_claim_name_returns_expected_output
- --- PASS: Test_getStorageClassClaimName (0.00s)
- --- PASS: Test_getStorageClassClaimName/verify_get_storage_class_claim_name_returns_expected_output (0.00s)
- PASS
- coverage: 50.5% of statements
- ok github.com/red-hat-storage/ocs-operator/services/provider/server (cached) coverage: 50.5% of statements
- === RUN TestSampleCustomResources
- crd_validation_test.go:37: Skipping CR Validation
- --- SKIP: TestSampleCustomResources (0.00s)
- === RUN TestCompleteCRD
- crd_validation_test.go:71: Skipping CRD Validation
- --- SKIP: TestCompleteCRD (0.00s)
- PASS
- coverage: [no statements]
- ok github.com/red-hat-storage/ocs-operator/test (cached) coverage: [no statements]
- ? github.com/red-hat-storage/ocs-operator/tools [no test files]
- ? github.com/red-hat-storage/ocs-operator/tools/cluster-deploy [no test files]
- ? github.com/red-hat-storage/ocs-operator/tools/csv-merger [no test files]
- ? github.com/red-hat-storage/ocs-operator/version [no test files]
- Running deps-update
- go mod tidy -compat=1.17 && go mod vendor
- Verifying dependency files
- hack/verify-dependencies.sh
- Success: no out of source tree changes found for dependency files
- Installing controller-gen@v0.8.0
- Installed controller-gen@v0.8.0
- Updating generated code
- /home/kmajumde/go/bin/controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./..."
- Updating generated manifests
- /home/kmajumde/go/bin/controller-gen rbac:roleName=manager-role crd paths=./api/... webhook paths="./..." output:crd:artifacts:config=config/crd/bases
- Verifying generated code and manifests
- hack/verify-generated.sh
- Success: no out of source tree changes found for generated files
- Generating latest deployment yaml file
- hack/gen-deployment-yaml.sh
- Verifying deployment yaml changes
- hack/verify-latest-deploy-yaml.sh
- Success: no out of source tree changes found for deploy/deploy-with-olm.yaml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement