Advertisement
kmajumder

Untitled

Aug 4th, 2022
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.19 KB | None | 0 0
  1. [kmajumde@fedora ocs-operator]$ make ocs-operator-ci
  2. Testing for shellcheck
  3. hack/shellcheck-test.sh
  4. ./extras/DEBUG_EXPORTS.sh: ok
  5. ./hack/build-functest.sh: ok
  6. ./hack/clean.sh: ok
  7. ./hack/cluster-clean.sh: ok
  8. ./hack/dump-debug-info.sh: ok
  9. ./hack/generate-appregistry.sh: ok
  10. ./hack/red-hat-storage-ocs-ci-tests.sh: ok
  11. ./hack/shellcheck-test.sh: ok
  12. ./hack/verify-generated.sh: ok
  13. ./hack/verify-latest-deploy-yaml.sh: ok
  14. ./hack/build-appregistry.sh: ok
  15. ./hack/build-container.sh: ok
  16. ./hack/build-master-appregistry.sh: ok
  17. ./hack/build-must-gather.sh: ok
  18. ./hack/build-operator-bundle.sh: ok
  19. ./hack/build-operator.sh: ok
  20. ./hack/cluster-deploy.sh: ok
  21. ./hack/docker-common.sh: ok
  22. ./hack/ensure-operator-sdk.sh: ok
  23. ./hack/ensure-opm.sh: ok
  24. ./hack/functest.sh: ok
  25. ./hack/gen-deployment-yaml.sh: ok
  26. ./hack/generate-master-appregistry.sh: ok
  27. ./hack/generate-master-bundle.sh: ok
  28. ./hack/generate-master-csv.sh: ok
  29. ./hack/source-manifests.sh: ok
  30. ./hack/verify-dependencies.sh: ok
  31. ./hack/verify-latest-csv.sh: ok
  32. ./hack/verify-operator-bundle.sh: ok
  33. ./hack/build-operator-index.sh: ok
  34. ./hack/gen-protobuf.sh: ok
  35. ./hack/build-metrics-exporter.sh: ok
  36. ./hack/generate-unified-csv.sh: ok
  37. ./hack/operator-sdk-common.sh: ok
  38. ./hack/ticketgen/ticketcheck.sh: ok
  39. ./hack/ticketgen/ticketgen.sh: ok
  40. ./hack/common.sh: ok
  41. ./hack/generate-latest-csv.sh: ok
  42. ./hack/golangci_lint.sh: ok
  43. ./hack/go-build.sh: ok
  44. ./must-gather/collection-scripts/gather_common_ceph_resources: ok
  45. ./must-gather/collection-scripts/gather_noobaa_resources: ok
  46. ./must-gather/collection-scripts/gather: ok
  47. ./must-gather/collection-scripts/post-uninstall.sh: ok
  48. ./must-gather/collection-scripts/pre-install.sh: ok
  49. ./must-gather/collection-scripts/gather_clusterscoped_resources: ok
  50. ./must-gather/collection-scripts/gather_namespaced_resources: ok
  51. ./must-gather/collection-scripts/gather_ceph_resources: ok
  52. ./openshift-ci/build-operator-index-ci.sh: ok
  53. 0 scripts with errors were found
  54. Running golangci-lint run
  55. hack/golangci_lint.sh
  56. Installing golangci-lint
  57. % Total % Received % Xferd Average Speed Time Time Time Current
  58. Dload Upload Total Spent Left Speed
  59. 100 10759 100 10759 0 0 46575 0 --:--:-- --:--:-- --:--:-- 46575
  60. golangci/golangci-lint info checking GitHub for tag 'v1.45.2'
  61. golangci/golangci-lint info found version: 1.45.2 for v1.45.2/linux/amd64
  62. golangci/golangci-lint info installed build/_output/tools/golangci-lint
  63. Running golangci-lint
  64. 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.
  65. Executing unit tests
  66. go test -v -cover `go list ./... | grep -v "functest"`
  67. ? github.com/red-hat-storage/ocs-operator [no test files]
  68. ? github.com/red-hat-storage/ocs-operator/api/v1 [no test files]
  69. ? github.com/red-hat-storage/ocs-operator/api/v1alpha1 [no test files]
  70. ? github.com/red-hat-storage/ocs-operator/controllers/defaults [no test files]
  71. === RUN TestReconcilerImplementsInterface
  72. --- PASS: TestReconcilerImplementsInterface (0.00s)
  73. === RUN TestNonWatchedResourceNotFound
  74. --- PASS: TestNonWatchedResourceNotFound (0.00s)
  75. === RUN TestNonWatchedResourceFound
  76. --- PASS: TestNonWatchedResourceFound (0.00s)
  77. === RUN TestCreateWatchedResource
  78. --- PASS: TestCreateWatchedResource (0.00s)
  79. === RUN TestCreateSCCs
  80. --- PASS: TestCreateSCCs (0.00s)
  81. === RUN TestReconcileCompleteConditions
  82. --- PASS: TestReconcileCompleteConditions (0.00s)
  83. === RUN TestEnsureRookCephOperatorConfig
  84. === RUN TestEnsureRookCephOperatorConfig/RookCephOperatorConfigCreated_not_set
  85. === RUN TestEnsureRookCephOperatorConfig/RookCephOperatorConfigCreated_is_false
  86. === RUN TestEnsureRookCephOperatorConfig/RookCephOperatorConfigCreated_is_true
  87. --- PASS: TestEnsureRookCephOperatorConfig (0.00s)
  88. --- PASS: TestEnsureRookCephOperatorConfig/RookCephOperatorConfigCreated_not_set (0.00s)
  89. --- PASS: TestEnsureRookCephOperatorConfig/RookCephOperatorConfigCreated_is_false (0.00s)
  90. --- PASS: TestEnsureRookCephOperatorConfig/RookCephOperatorConfigCreated_is_true (0.00s)
  91. PASS
  92. coverage: 80.4% of statements
  93. ok github.com/red-hat-storage/ocs-operator/controllers/ocsinitialization (cached) coverage: 80.4% of statements
  94. === RUN TestReconcilePV
  95. persistentvolume_controller_test.go:74: Case 1: nil CSI
  96. persistentvolume_controller_test.go:74: Case 2: invalid driver
  97. persistentvolume_controller_test.go:74: Case 3: RBD driver, invalid StorageClass
  98. persistentvolume_controller_test.go:74: Case 4: RBD driver, valid StorageClass, invalid SecretRef
  99. persistentvolume_controller_test.go:74: Case 5: valid RBD driver, nil SecretRef
  100. persistentvolume_controller_test.go:74: Case 6: valid RBD driver, empty SecretRef
  101. persistentvolume_controller_test.go:74: Case 7: valid CephFS driver
  102. --- PASS: TestReconcilePV (0.00s)
  103. === RUN TestEnsureExpansionSecret
  104. reconcile_test.go:63: Case 1: no StorageClass
  105. reconcile_test.go:63: Case 2: valid StorageClass, no secret
  106. reconcile_test.go:63: Case 3: valid StorageClass, valid secret
  107. --- PASS: TestEnsureExpansionSecret (0.00s)
  108. PASS
  109. coverage: 71.4% of statements
  110. ok github.com/red-hat-storage/ocs-operator/controllers/persistentvolume (cached) coverage: 71.4% of statements
  111. ? github.com/red-hat-storage/ocs-operator/controllers/storageclassclaim [no test files]
  112. === RUN TestCephBlockPools
  113. --- PASS: TestCephBlockPools (0.02s)
  114. === RUN TestInjectingPeerTokenToCephBlockPool
  115. --- PASS: TestInjectingPeerTokenToCephBlockPool (0.04s)
  116. === RUN TestEnsureCephCluster
  117. cephcluster_test.go:70: Case 1: Create new CephCluster
  118. cephcluster_test.go:70: Case 2: Reconcile CephCluster not reporting state
  119. cephcluster_test.go:70: Case 3: Reconcile creating CephCluster
  120. cephcluster_test.go:70: Case 4: Reconcile updating CephCluster
  121. cephcluster_test.go:70: Case 5: Reconcile degraded CephCluster
  122. cephcluster_test.go:70: Case 6: CephCluster reconciled succesfully
  123. cephcluster_test.go:70: Case 7: Update expanding CephCluster
  124. cephcluster_test.go:137: Case 8: Unreachable KMS error handling
  125. --- PASS: TestEnsureCephCluster (0.07s)
  126. === RUN TestCephClusterMonTimeout
  127. cephcluster_test.go:180: Case: case 1
  128. cephcluster_test.go:180: Case: case 2
  129. --- PASS: TestCephClusterMonTimeout (0.00s)
  130. === RUN TestNewCephClusterMonData
  131. cephcluster_test.go:252: Case: case 1
  132. cephcluster_test.go:252: Case: case 2
  133. cephcluster_test.go:252: Case: case 3
  134. cephcluster_test.go:252: Case: case 4
  135. --- PASS: TestNewCephClusterMonData (0.00s)
  136. === RUN TestStorageClassDeviceSetCreation
  137. cephcluster_test.go:365: Case: case 1
  138. cephcluster_test.go:365: Case: case 2
  139. cephcluster_test.go:365: Case: case 3
  140. cephcluster_test.go:431: Case: case 1
  141. cephcluster_test.go:431: Case: case 2
  142. cephcluster_test.go:431: Case: case 3
  143. cephcluster_test.go:431: Case: case 4
  144. --- PASS: TestStorageClassDeviceSetCreation (0.00s)
  145. === RUN TestKMSConfigChanges
  146. === RUN TestKMSConfigChanges/case_1
  147. === RUN TestKMSConfigChanges/case_2
  148. === RUN TestKMSConfigChanges/case_3
  149. === RUN TestKMSConfigChanges/case_4
  150. storagecluster_controller_test.go:1189: Failed to start ListenServer: listen tcp4: lookup unearchable.url.location: no such host
  151. === RUN TestKMSConfigChanges/case_5
  152. === RUN TestKMSConfigChanges/case_6
  153. === RUN TestKMSConfigChanges/case_7
  154. --- PASS: TestKMSConfigChanges (0.01s)
  155. --- PASS: TestKMSConfigChanges/case_1 (0.00s)
  156. --- PASS: TestKMSConfigChanges/case_2 (0.00s)
  157. --- PASS: TestKMSConfigChanges/case_3 (0.00s)
  158. --- PASS: TestKMSConfigChanges/case_4 (0.00s)
  159. --- PASS: TestKMSConfigChanges/case_5 (0.00s)
  160. --- PASS: TestKMSConfigChanges/case_6 (0.00s)
  161. --- PASS: TestKMSConfigChanges/case_7 (0.00s)
  162. === RUN TestStorageClassDeviceSetCreationForArbiter
  163. cephcluster_test.go:659: Case: case 1
  164. cephcluster_test.go:659: Case: case 2
  165. --- PASS: TestStorageClassDeviceSetCreationForArbiter (0.00s)
  166. === RUN TestNewCephDaemonResources
  167. cephcluster_test.go:792: Case: When nothing is passed to StorageCluster.Spec.Resources (Defaults)
  168. cephcluster_test.go:792: Case: Overriding defaults
  169. cephcluster_test.go:792: Case: Passing a new key
  170. cephcluster_test.go:792: Case: When nothing is passed to StorageCluster.Spec.Resources (Defaults) and arbiter is enabled
  171. --- PASS: TestNewCephDaemonResources (0.00s)
  172. === RUN TestParsePrometheusRules
  173. --- PASS: TestParsePrometheusRules (0.00s)
  174. === RUN TestGetNetworkSpec
  175. cephcluster_test.go:896: Case: "hostNetwork specified as true, network unspecified"
  176. cephcluster_test.go:896: Case: "hostNetwork specified as false, network unspecified"
  177. cephcluster_test.go:896: Case: "hostNetwork specified as true, network specified without hostnetwork"
  178. cephcluster_test.go:896: Case: "hostNetwork specified as false, network specified with hostnetwork"
  179. cephcluster_test.go:896: Case: "hostNetwork specified as false, network specified without hostnetwork"
  180. cephcluster_test.go:896: Case: "hostNetwork unspecified, network unspecified"
  181. cephcluster_test.go:896: Case: "hostNetwork unspecified, network specified"
  182. --- PASS: TestGetNetworkSpec (0.00s)
  183. === RUN TestGetCephClusterMonitoringLabels
  184. === RUN TestGetCephClusterMonitoringLabels/Default_StorageCluster,_No_Labels
  185. === RUN TestGetCephClusterMonitoringLabels/StorageCluster_with_labels
  186. --- PASS: TestGetCephClusterMonitoringLabels (0.00s)
  187. --- PASS: TestGetCephClusterMonitoringLabels/Default_StorageCluster,_No_Labels (0.00s)
  188. --- PASS: TestGetCephClusterMonitoringLabels/StorageCluster_with_labels (0.00s)
  189. === RUN TestDualStack
  190. cephconfig_test.go:115: Case #1
  191. cephconfig_test.go:115: Case #2
  192. cephconfig_test.go:115: Case #3
  193. cephconfig_test.go:115: Case #4
  194. cephconfig_test.go:115: Case #5
  195. cephconfig_test.go:115: Case #6
  196. --- PASS: TestDualStack (0.01s)
  197. === RUN TestCephFileSystem
  198. --- PASS: TestCephFileSystem (0.01s)
  199. === RUN TestCephNFS
  200. --- PASS: TestCephNFS (0.01s)
  201. === RUN TestCephObjectStores
  202. --- PASS: TestCephObjectStores (0.01s)
  203. === RUN TestCephObjectStoreUsers
  204. --- PASS: TestCephObjectStoreUsers (0.01s)
  205. === RUN TestCephRbdMirror
  206. --- PASS: TestCephRbdMirror (0.02s)
  207. === RUN TestEnsureToolsDeployment
  208. --- PASS: TestEnsureToolsDeployment (0.00s)
  209. === RUN TestEnsureToolsDeploymentUpdate
  210. --- PASS: TestEnsureToolsDeploymentUpdate (0.00s)
  211. === RUN TestEnsureExternalStorageClusterResources
  212. --- PASS: TestEnsureExternalStorageClusterResources (0.00s)
  213. === RUN TestOptionalExternalStorageClusterResources
  214. === RUN TestOptionalExternalStorageClusterResources/RemoveRGW
  215. === RUN TestOptionalExternalStorageClusterResources/RemoveCephFS
  216. --- PASS: TestOptionalExternalStorageClusterResources (0.00s)
  217. --- PASS: TestOptionalExternalStorageClusterResources/RemoveRGW (0.00s)
  218. --- PASS: TestOptionalExternalStorageClusterResources/RemoveCephFS (0.00s)
  219. === RUN TestExternalResourceReconcile
  220. --- PASS: TestExternalResourceReconcile (0.00s)
  221. === RUN TestExternalMonitoringResources
  222. === RUN TestExternalMonitoringResources/ValidEndpointAndPort
  223. === RUN TestExternalMonitoringResources/ValidEndpointWithoutPort
  224. === RUN TestExternalMonitoringResources/InvalidPort
  225. storagecluster_controller_test.go:1189: Failed to start ListenServer: listen tcp4: lookup tcp4/abcde: Servname not supported for ai_socktype
  226. --- PASS: TestExternalMonitoringResources (0.03s)
  227. --- PASS: TestExternalMonitoringResources/ValidEndpointAndPort (0.00s)
  228. --- PASS: TestExternalMonitoringResources/ValidEndpointWithoutPort (0.00s)
  229. --- PASS: TestExternalMonitoringResources/InvalidPort (0.02s)
  230. === RUN TestErasureCodedExternalResources
  231. === RUN TestErasureCodedExternalResources/ceph-rbd
  232. === RUN TestErasureCodedExternalResources/ceph-rbd-ec
  233. --- PASS: TestErasureCodedExternalResources (0.00s)
  234. --- PASS: TestErasureCodedExternalResources/ceph-rbd (0.00s)
  235. --- PASS: TestErasureCodedExternalResources/ceph-rbd-ec (0.00s)
  236. === RUN TestJobTemplates
  237. --- PASS: TestJobTemplates (0.00s)
  238. === RUN TestEnsureNooBaaSystem
  239. --- PASS: TestEnsureNooBaaSystem (0.00s)
  240. === RUN TestNooBaaReconcileStrategy
  241. --- PASS: TestNooBaaReconcileStrategy (0.00s)
  242. === RUN TestSetNooBaaDesiredState
  243. --- PASS: TestSetNooBaaDesiredState (0.00s)
  244. === RUN TestNoobaaSystemInExternalClusterMode
  245. --- PASS: TestNoobaaSystemInExternalClusterMode (0.00s)
  246. === RUN TestNoobaaKMSConfiguration
  247. storagecluster_controller_test.go:1189: Failed to start ListenServer: listen tcp4: lookup unearchable.url.location: no such host
  248. --- PASS: TestNoobaaKMSConfiguration (0.01s)
  249. === RUN TestGetPlacement
  250. --- PASS: TestGetPlacement (0.00s)
  251. === RUN TestOcsProviderServerEnsureCreated
  252. === RUN TestOcsProviderServerEnsureCreated/Ensure_that_Deployment,Service,Secret_is_created_when_AllowRemoteStorageConsumers_is_enabled
  253. === RUN TestOcsProviderServerEnsureCreated/Ensure_that_Deployment,Service,Secret_is_not_created_when_AllowRemoteStorageConsumers_is_disabled
  254. --- PASS: TestOcsProviderServerEnsureCreated (0.00s)
  255. --- PASS: TestOcsProviderServerEnsureCreated/Ensure_that_Deployment,Service,Secret_is_created_when_AllowRemoteStorageConsumers_is_enabled (0.00s)
  256. --- PASS: TestOcsProviderServerEnsureCreated/Ensure_that_Deployment,Service,Secret_is_not_created_when_AllowRemoteStorageConsumers_is_disabled (0.00s)
  257. === RUN TestOcsProviderServerEnsureDeleted
  258. === RUN TestOcsProviderServerEnsureDeleted/Ensure_that_Deployment,Service,Secret_is_deleted_when_AllowRemoteStorageConsumers_is_disabled
  259. === RUN TestOcsProviderServerEnsureDeleted/Ensure_that_Deployment,Service,Secret_is_deleted_while_uninstalling
  260. --- PASS: TestOcsProviderServerEnsureDeleted (0.00s)
  261. --- PASS: TestOcsProviderServerEnsureDeleted/Ensure_that_Deployment,Service,Secret_is_deleted_when_AllowRemoteStorageConsumers_is_disabled (0.00s)
  262. --- PASS: TestOcsProviderServerEnsureDeleted/Ensure_that_Deployment,Service,Secret_is_deleted_while_uninstalling (0.00s)
  263. === RUN TestCephRGWRoutes
  264. --- PASS: TestCephRGWRoutes (0.01s)
  265. === RUN TestDefaultStorageClasses
  266. --- PASS: TestDefaultStorageClasses (0.01s)
  267. === RUN TestEncryptedStorageClass
  268. --- PASS: TestEncryptedStorageClass (0.01s)
  269. === RUN TestReconcilerImplInterface
  270. --- PASS: TestReconcilerImplInterface (0.00s)
  271. === RUN TestVersionCheck
  272. --- PASS: TestVersionCheck (0.00s)
  273. === RUN TestThrottleStorageDevices
  274. --- PASS: TestThrottleStorageDevices (0.00s)
  275. === RUN TestIsActiveStorageCluster
  276. --- PASS: TestIsActiveStorageCluster (0.00s)
  277. === RUN TestReconcileWithNonWatchedResource
  278. --- PASS: TestReconcileWithNonWatchedResource (0.00s)
  279. === RUN TestNonWatchedReconcileWithNoCephClusterType
  280. --- PASS: TestNonWatchedReconcileWithNoCephClusterType (0.00s)
  281. === RUN TestNonWatchedReconcileWithTheCephClusterType
  282. --- PASS: TestNonWatchedReconcileWithTheCephClusterType (0.00s)
  283. === RUN TestStorageDeviceSets
  284. --- PASS: TestStorageDeviceSets (0.00s)
  285. === RUN TestStorageClusterInitConditions
  286. --- PASS: TestStorageClusterInitConditions (0.00s)
  287. === RUN TestStorageClusterFinalizer
  288. --- PASS: TestStorageClusterFinalizer (0.00s)
  289. === RUN TestMonCountChange
  290. --- PASS: TestMonCountChange (0.00s)
  291. === RUN TestStorageClusterOnMultus
  292. --- PASS: TestStorageClusterOnMultus (0.01s)
  293. === RUN TestStorageQuotaEnsureCreatedDeleted
  294. --- PASS: TestStorageQuotaEnsureCreatedDeleted (0.00s)
  295. === RUN TestStorageQuotaWithFullStorageCluster
  296. --- PASS: TestStorageQuotaWithFullStorageCluster (0.00s)
  297. === RUN TestReconcileNodeTopologyMap
  298. --- PASS: TestReconcileNodeTopologyMap (0.01s)
  299. === RUN TestNodeTopologyMapOnDifferentAZ
  300. --- PASS: TestNodeTopologyMapOnDifferentAZ (0.00s)
  301. === RUN TestReconcileNodeTopologyMapFailure
  302. --- PASS: TestReconcileNodeTopologyMapFailure (0.00s)
  303. === RUN TestFailureDomain
  304. --- PASS: TestFailureDomain (0.00s)
  305. === RUN TestStorageClusterEligibleNodes
  306. --- PASS: TestStorageClusterEligibleNodes (0.00s)
  307. === RUN TestEnsureNodeRack
  308. --- PASS: TestEnsureNodeRack (0.00s)
  309. === RUN TestDeterminePlacementRack
  310. --- PASS: TestDeterminePlacementRack (0.00s)
  311. === RUN TestReconcileUninstallAnnotations
  312. --- PASS: TestReconcileUninstallAnnotations (0.01s)
  313. === RUN TestSetRookUninstallandCleanupPolicy
  314. --- PASS: TestSetRookUninstallandCleanupPolicy (0.02s)
  315. === RUN TestDeleteStorageClasses
  316. --- PASS: TestDeleteStorageClasses (0.03s)
  317. === RUN TestDeleteSnapshotClasses
  318. --- PASS: TestDeleteSnapshotClasses (0.02s)
  319. === RUN TestDeleteNodeAffinityKeyFromNodes
  320. --- PASS: TestDeleteNodeAffinityKeyFromNodes (0.03s)
  321. === RUN TestDeleteNodeTaint
  322. --- PASS: TestDeleteNodeTaint (0.03s)
  323. === RUN TestDeleteCephCluster
  324. --- PASS: TestDeleteCephCluster (0.03s)
  325. === RUN TestDeleteCephFilesystems
  326. --- PASS: TestDeleteCephFilesystems (0.03s)
  327. === RUN TestDeleteCephBlockPools
  328. --- PASS: TestDeleteCephBlockPools (0.02s)
  329. === RUN TestDeleteCephObjectStoreUsers
  330. --- PASS: TestDeleteCephObjectStoreUsers (0.02s)
  331. === RUN TestDeleteCephObjectStores
  332. --- PASS: TestDeleteCephObjectStores (0.03s)
  333. === RUN TestSetNoobaaUninstallMode
  334. --- PASS: TestSetNoobaaUninstallMode (0.02s)
  335. === RUN TestVerifyNoStorageConsumerExist
  336. === RUN TestVerifyNoStorageConsumerExist/Raise_error_when_storageConsumer_exist
  337. === RUN TestVerifyNoStorageConsumerExist/Do_not_Raise_error_when_storageConsumer_does_not_exist
  338. --- PASS: TestVerifyNoStorageConsumerExist (0.00s)
  339. --- PASS: TestVerifyNoStorageConsumerExist/Raise_error_when_storageConsumer_exist (0.00s)
  340. --- PASS: TestVerifyNoStorageConsumerExist/Do_not_Raise_error_when_storageConsumer_does_not_exist (0.00s)
  341. === RUN TestVolumeSnapshotterClasses
  342. --- PASS: TestVolumeSnapshotterClasses (0.01s)
  343. PASS
  344. coverage: 59.5% of statements
  345. ok github.com/red-hat-storage/ocs-operator/controllers/storagecluster (cached) coverage: 59.5% of statements
  346. ? github.com/red-hat-storage/ocs-operator/controllers/storageconsumer [no test files]
  347. === RUN TestGetPGBaseUnitSize
  348. --- PASS: TestGetPGBaseUnitSize (0.00s)
  349. === RUN TestComposePredicatesUpdate
  350. predicates_test.go:66: Case 1: no update
  351. predicates_test.go:66: Case 2: labels update
  352. predicates_test.go:66: Case 3: resourceversion update
  353. predicates_test.go:66: Case 4: any other field
  354. --- PASS: TestComposePredicatesUpdate (0.00s)
  355. === RUN TestMetadataChangedPredicateUpdate
  356. predicates_test.go:144: Case 1: no update
  357. predicates_test.go:144: Case 2: labels update
  358. predicates_test.go:144: Case 3: annotations update
  359. predicates_test.go:144: Case 4: finalizers update
  360. predicates_test.go:144: Case 5: any other field
  361. --- PASS: TestMetadataChangedPredicateUpdate (0.00s)
  362. PASS
  363. coverage: 15.1% of statements
  364. ok github.com/red-hat-storage/ocs-operator/controllers/util (cached) coverage: 15.1% of statements
  365. ? github.com/red-hat-storage/ocs-operator/hack/ticketgen [no test files]
  366. ? github.com/red-hat-storage/ocs-operator/metrics [no test files]
  367. ? github.com/red-hat-storage/ocs-operator/metrics/internal/cache [no test files]
  368. === RUN TestNewCephBlockPoolCollector
  369. --- PASS: TestNewCephBlockPoolCollector (0.00s)
  370. === RUN TestGetAllBlockPools
  371. --- PASS: TestGetAllBlockPools (0.00s)
  372. === RUN TestCollectPoolMirroringImageHealth
  373. --- PASS: TestCollectPoolMirroringImageHealth (0.00s)
  374. === RUN TestCollectPoolMirroringStatus
  375. --- PASS: TestCollectPoolMirroringStatus (0.00s)
  376. === RUN TestNewCephClusterCollector
  377. --- PASS: TestNewCephClusterCollector (0.00s)
  378. === RUN TestGetAllCephCluster
  379. --- PASS: TestGetAllCephCluster (0.00s)
  380. === RUN TestCollectMirrorinDaemonCount
  381. --- PASS: TestCollectMirrorinDaemonCount (0.00s)
  382. === RUN TestNewCephObjectStoreCollector
  383. --- PASS: TestNewCephObjectStoreCollector (0.00s)
  384. === RUN TestGetAllObjectStores
  385. --- PASS: TestGetAllObjectStores (0.00s)
  386. === RUN TestCollectObjectStoreHealth
  387. E0804 14:55:55.568658 202795 ceph-object-store.go:119] CephObjectStore in unexpected phase. Must be "Connected", "Progressing" or "Failure"
  388. --- PASS: TestCollectObjectStoreHealth (0.00s)
  389. === RUN TestNewObjectBucketCollector
  390. --- PASS: TestNewObjectBucketCollector (0.00s)
  391. === RUN TestGetAllObjectBuckets
  392. --- PASS: TestGetAllObjectBuckets (0.00s)
  393. === RUN TestCollectObjectBucketMetrics
  394. --- PASS: TestCollectObjectBucketMetrics (0.00s)
  395. PASS
  396. coverage: 40.3% of statements
  397. ok github.com/red-hat-storage/ocs-operator/metrics/internal/collectors (cached) coverage: 40.3% of statements
  398. ? github.com/red-hat-storage/ocs-operator/metrics/internal/exporter [no test files]
  399. ? github.com/red-hat-storage/ocs-operator/metrics/internal/handler [no test files]
  400. ? github.com/red-hat-storage/ocs-operator/metrics/internal/options [no test files]
  401. ? github.com/red-hat-storage/ocs-operator/metrics/internal/version [no test files]
  402. ? github.com/red-hat-storage/ocs-operator/pkg/deploy-manager [no test files]
  403. ? github.com/red-hat-storage/ocs-operator/services/consumer [no test files]
  404. ? github.com/red-hat-storage/ocs-operator/services/provider [no test files]
  405. ? github.com/red-hat-storage/ocs-operator/services/provider/client [no test files]
  406. ? github.com/red-hat-storage/ocs-operator/services/provider/common [no test files]
  407. ? github.com/red-hat-storage/ocs-operator/services/provider/pb [no test files]
  408. === RUN TestNewConsumerManager
  409. --- PASS: TestNewConsumerManager (0.00s)
  410. === RUN TestCreateStorageConsumer
  411. W0804 14:55:56.432975 203031 consumer.go:63] onboarding ticket already in use
  412. W0804 14:55:56.433009 203031 consumer.go:63] onboarding ticket already in use
  413. I0804 14:55:56.433019 203031 consumer.go:96] successfully created storageConsumer resource "consumer2"
  414. --- PASS: TestCreateStorageConsumer (0.00s)
  415. === RUN TestDeleteStorageConsumer
  416. W0804 14:55:56.433347 203031 consumer.go:107] no storageConsumer found with UID "invalid-uid"
  417. W0804 14:55:56.433370 203031 consumer.go:130] storageConsumer "stale-consumer" not found.
  418. I0804 14:55:56.433380 203031 consumer.go:140] successfully deleted storageConsumer resource "consumer1"
  419. --- PASS: TestDeleteStorageConsumer (0.00s)
  420. === RUN TestUpdateCapacity
  421. E0804 14:55:56.433692 203031 consumer.go:209] no storageConsumer found with the UID "invalid-uid"
  422. I0804 14:55:56.433765 203031 consumer.go:164] successfully updated requested capacity field in the StorageConsumer resource "consumer1"
  423. W0804 14:55:56.433823 203031 consumer.go:154] storageConsumer consumer1 is in disabled state
  424. --- PASS: TestUpdateCapacity (0.00s)
  425. === RUN TestGetStorageConsumer
  426. E0804 14:55:56.434143 203031 consumer.go:209] no storageConsumer found with the UID "invalid-uid"
  427. --- PASS: TestGetStorageConsumer (0.00s)
  428. === RUN TestGetExternalResources
  429. I0804 14:55:56.434608 203031 server.go:152] Found storageConsumer for GetStorageConfig
  430. I0804 14:55:56.436805 203031 server.go:170] successfully returned the config details to the consumer.
  431. I0804 14:55:56.436856 203031 server.go:152] Found storageConsumer for GetStorageConfig
  432. I0804 14:55:56.436974 203031 server.go:152] Found storageConsumer for GetStorageConfig
  433. I0804 14:55:56.436999 203031 server.go:152] Found storageConsumer for GetStorageConfig
  434. I0804 14:55:56.437226 203031 server.go:152] Found storageConsumer for GetStorageConfig
  435. I0804 14:55:56.437366 203031 server.go:152] Found storageConsumer for GetStorageConfig
  436. --- PASS: TestGetExternalResources (0.00s)
  437. === RUN TestOCSProviderServerFulfillStorageClassClaim
  438. E0804 14:55:56.438601 203031 consumer.go:209] no storageConsumer found with the UID "consumer-uuid"
  439. I0804 14:55:56.438636 203031 server.go:496] Found StorageConsumer "consumer" ("uid")
  440. I0804 14:55:56.438648 203031 storageclaim.go:116] successfully created a StorageClassClaim resource "storageclassclaim-569e27f09bac26fdd9688c36ecbb5f49" for consumer "uid" and claim "claim-name"
  441. I0804 14:55:56.438688 203031 server.go:496] Found StorageConsumer "consumer" ("uid")
  442. 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})
  443. 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
  444. I0804 14:55:56.438855 203031 server.go:496] Found StorageConsumer "consumer" ("uid")
  445. 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})
  446. 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
  447. --- PASS: TestOCSProviderServerFulfillStorageClassClaim (0.00s)
  448. === RUN TestOCSProviderServerRevokeStorageClassClaim
  449. I0804 14:55:56.439273 203031 storageclaim.go:144] successfully deleted StorageClassClaim "storageclassclaim-569e27f09bac26fdd9688c36ecbb5f49" for consumer "uid" and claim "claim-name"
  450. W0804 14:55:56.439287 203031 storageclaim.go:138] StorageClassClaim "storageclassclaim-569e27f09bac26fdd9688c36ecbb5f49" not found for consumer "uid" and claim "claim-name"
  451. --- PASS: TestOCSProviderServerRevokeStorageClassClaim (0.00s)
  452. === RUN TestOCSProviderServerGetStorageClassClaimConfig
  453. I0804 14:55:56.439661 203031 server.go:547] storage class claim "block-pool-claim" for "uid" is in "Ready" phase
  454. I0804 14:55:56.439818 203031 server.go:673] successfully returned the storage class claim "block-pool-claim" for "uid"
  455. I0804 14:55:56.439873 203031 server.go:547] storage class claim "shared-filesystem-claim" for "uid" is in "Ready" phase
  456. I0804 14:55:56.440101 203031 server.go:673] successfully returned the storage class claim "shared-filesystem-claim" for "uid"
  457. I0804 14:55:56.440166 203031 server.go:547] storage class claim "shared-filesystem-claim" for "uid" is in "Ready" phase
  458. I0804 14:55:56.440287 203031 server.go:547] storage class claim "claim-initializing" for "uid" is in "Initializing" phase
  459. I0804 14:55:56.440311 203031 server.go:547] storage class claim "claim-creating" for "uid" is in "Creating" phase
  460. I0804 14:55:56.440335 203031 server.go:547] storage class claim "claim-failed" for "uid" is in "Failed" phase
  461. --- PASS: TestOCSProviderServerGetStorageClassClaimConfig (0.00s)
  462. === RUN Test_getStorageClassClaimName
  463. === RUN Test_getStorageClassClaimName/verify_get_storage_class_claim_name_returns_expected_output
  464. --- PASS: Test_getStorageClassClaimName (0.00s)
  465. --- PASS: Test_getStorageClassClaimName/verify_get_storage_class_claim_name_returns_expected_output (0.00s)
  466. PASS
  467. coverage: 50.5% of statements
  468. ok github.com/red-hat-storage/ocs-operator/services/provider/server (cached) coverage: 50.5% of statements
  469. === RUN TestSampleCustomResources
  470. crd_validation_test.go:37: Skipping CR Validation
  471. --- SKIP: TestSampleCustomResources (0.00s)
  472. === RUN TestCompleteCRD
  473. crd_validation_test.go:71: Skipping CRD Validation
  474. --- SKIP: TestCompleteCRD (0.00s)
  475. PASS
  476. coverage: [no statements]
  477. ok github.com/red-hat-storage/ocs-operator/test (cached) coverage: [no statements]
  478. ? github.com/red-hat-storage/ocs-operator/tools [no test files]
  479. ? github.com/red-hat-storage/ocs-operator/tools/cluster-deploy [no test files]
  480. ? github.com/red-hat-storage/ocs-operator/tools/csv-merger [no test files]
  481. ? github.com/red-hat-storage/ocs-operator/version [no test files]
  482. Running deps-update
  483. go mod tidy -compat=1.17 && go mod vendor
  484. Verifying dependency files
  485. hack/verify-dependencies.sh
  486. Success: no out of source tree changes found for dependency files
  487. Installing controller-gen@v0.8.0
  488. Installed controller-gen@v0.8.0
  489. Updating generated code
  490. /home/kmajumde/go/bin/controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./..."
  491. Updating generated manifests
  492. /home/kmajumde/go/bin/controller-gen rbac:roleName=manager-role crd paths=./api/... webhook paths="./..." output:crd:artifacts:config=config/crd/bases
  493. Verifying generated code and manifests
  494. hack/verify-generated.sh
  495. Success: no out of source tree changes found for generated files
  496. Generating latest deployment yaml file
  497. hack/gen-deployment-yaml.sh
  498. Verifying deployment yaml changes
  499. hack/verify-latest-deploy-yaml.sh
  500. Success: no out of source tree changes found for deploy/deploy-with-olm.yaml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement