Skip to content

feat(gateway): onboard new resource/data-source #763

feat(gateway): onboard new resource/data-source

feat(gateway): onboard new resource/data-source #763

Triggered via pull request February 23, 2025 15:52
Status Failure
Total duration 25m 35s
Artifacts 8

test.yml

on: pull_request
πŸ”‚ Check Changes
3s
πŸ”‚ Check Changes
πŸ“ƒ Check Docs
35s
πŸ“ƒ Check Docs
Matrix: test
πŸ—οΈ Check Build
1m 32s
πŸ—οΈ Check Build
Matrix: test-auth-spn
πŸ“” Coverage Summary
2s
πŸ“” Coverage Summary
πŸ§ͺ Check Tests
1s
πŸ§ͺ Check Tests
Fit to window
Zoom out
Zoom in

Annotations

25 errors and 4 warnings
πŸ“ƒ Check Docs
Process completed with exit code 1.
πŸ—οΈ Check Build: internal/services/gateway/base.go#L25
PossibleInactivityMinutesBeforeSleepValues is a global variable (gochecknoglobals)
πŸ—οΈ Check Build: internal/services/gateway/base.go#L27
MinNumberOfMemberGatewaysValues is a global variable (gochecknoglobals)
πŸ—οΈ Check Build: internal/services/gateway/base.go#L29
MaxNumberOfMemberGatewaysValues is a global variable (gochecknoglobals)
πŸ—οΈ Check Build: internal/testhelp/utils.go#L55
G404: Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand) (gosec)
πŸ—οΈ Check Build: internal/testhelp/utils.go#L59
G404: Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand) (gosec)
πŸ—οΈ Check Build: internal/testhelp/utils.go#L63
G404: Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand) (gosec)
πŸ—οΈ Check Build: internal/testhelp/fakes/fabric_gateway.go#L87
named return "statusCode" with type "int" found (nonamedreturns)
πŸ—οΈ Check Build: internal/services/gateway/data_on_premises_gateway.go#L194
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
πŸ—οΈ Check Build: internal/services/gateway/data_on_premises_gateway_personal.go#L70
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
πŸ—οΈ Check Build: internal/services/gateway/models_base_data_gateway.go#L41
var-naming: struct field CapacityId should be CapacityID (revive)
πŸ§ͺ Run Tests (tofu 1.9)
Process completed with exit code 201.
πŸ§ͺ Run Tests (tofu 1.9)
Processing test results from testresults.xml failed
πŸ§ͺ Run Tests (tofu 1.9)
TypeError: stackTrace.split is not a function
πŸ§ͺ Run Tests (tofu 1.7)
Processing test results from testresults.xml failed
πŸ§ͺ Run Tests (tofu 1.7)
TypeError: stackTrace.split is not a function
πŸ§ͺ Run Tests (tofu 1.7)
Process completed with exit code 201.
πŸ§ͺ Run Tests (terraform 1.10)
Processing test results from testresults.xml failed
πŸ§ͺ Run Tests (terraform 1.10)
TypeError: stackTrace.split is not a function
πŸ§ͺ Run Tests (terraform 1.10)
Process completed with exit code 201.
πŸ§ͺ Run Tests (terraform 1.8)
Processing test results from testresults.xml failed
πŸ§ͺ Run Tests (terraform 1.8)
TypeError: stackTrace.split is not a function
πŸ§ͺ Run Tests (terraform 1.8)
Process completed with exit code 201.
πŸ§ͺ Check Tests
Process completed with exit code 1.
πŸ“” Coverage Summary
Process completed with exit code 1.
πŸ§ͺ Run Tests (tofu 1.9)
No files were found with the provided path: code-coverage-results.md. No artifacts will be uploaded.
πŸ§ͺ Run Tests (tofu 1.7)
No files were found with the provided path: code-coverage-results.md. No artifacts will be uploaded.
πŸ§ͺ Run Tests (terraform 1.10)
No files were found with the provided path: code-coverage-results.md. No artifacts will be uploaded.
πŸ§ͺ Run Tests (terraform 1.8)
No files were found with the provided path: code-coverage-results.md. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size
terraform-1_10-test-coverage-results
959 KB
terraform-1_10-test-results
6.65 KB
terraform-1_8-test-coverage-results
959 KB
terraform-1_8-test-results
6.63 KB
tofu-1_7-test-coverage-results
959 KB
tofu-1_7-test-results
6.36 KB
tofu-1_9-test-coverage-results
959 KB
tofu-1_9-test-results
6.01 KB