openshift-online / maestro

Maestro Service Repo
Apache License 2.0
8 stars 15 forks source link

update sdk-go deps #61

Closed skeeey closed 3 months ago

skeeey commented 3 months ago

Update sdk-go deps

skeeey commented 3 months ago

make test CGO_ENABLED=1 GOEXPERIMENT=boringcrypto go install -ldflags="" ./cmd/maestro OCM_ENV=testing gotestsum --jsonfile-timing-events=/Users/liuwei/go/src/github.com/openshift-online/maestro/unit-test-results.json --format short-verbose -- -p 1 -v \ ./pkg/... \ ./cmd/... PASS pkg/api.TestJSONMapStausToResourceStatus/empty (0.00s) PASS pkg/api.TestJSONMapStausToResourceStatus/content_status (0.00s) PASS pkg/api.TestJSONMapStausToResourceStatus/reconcile_status (0.00s) PASS pkg/api.TestJSONMapStausToResourceStatus/reconcile_status_with_deleted_Condition (0.00s) PASS pkg/api.TestJSONMapStausToResourceStatus (0.00s) PASS pkg/api.TestResourceStatusToJSONMap/empty (0.00s) PASS pkg/api.TestResourceStatusToJSONMap/content_status (0.00s) PASS pkg/api.TestResourceStatusToJSONMap/reconcile_status (0.00s) PASS pkg/api.TestResourceStatusToJSONMap/reconcile_status_with_deleted_Condition (0.00s) PASS pkg/api.TestResourceStatusToJSONMap (0.00s) PASS pkg/api EMPTY pkg/api/openapi EMPTY pkg/api/presenters EMPTY pkg/auth EMPTY pkg/client/cloudevents EMPTY pkg/client/ocm PASS pkg/config.TestConfigReadStringFile (0.00s) PASS pkg/config.TestConfigReadIntFile (0.00s) PASS pkg/config.TestConfigReadBoolFile (0.00s) PASS pkg/config.TestConfigReadQuotedFile (0.00s) PASS pkg/config PASS pkg/controllers.TestControllerFramework (0.00s) PASS pkg/controllers EMPTY pkg/dao EMPTY pkg/dao/mocks EMPTY pkg/db EMPTY pkg/db/db_context EMPTY pkg/db/db_session EMPTY pkg/db/migrations EMPTY pkg/db/mocks EMPTY pkg/db/transaction EMPTY pkg/dispatcher PASS pkg/errors.TestErrorFormatting (0.00s) PASS pkg/errors.TestErrorFind (0.00s) PASS pkg/errors EMPTY pkg/event EMPTY pkg/handlers EMPTY pkg/logger PASS pkg/services.TestSQLTranslation (0.02s) PASS pkg/services.TestResourceFindByConsumerID (0.00s) PASS pkg/services.TestCreateInvalidResource (0.00s) PASS pkg/services.TestValidateNewManifest/validated (0.00s) PASS pkg/services.TestValidateNewManifest/no_apiVersion (0.00s) PASS pkg/services.TestValidateNewManifest/no_kind (0.00s) PASS pkg/services.TestValidateNewManifest/no_name (0.00s) PASS pkg/services.TestValidateNewManifest/has_generate_name (0.00s) PASS pkg/services.TestValidateNewManifest/has_resource_version (0.00s) PASS pkg/services.TestValidateNewManifest/has_deletion_grace_period_seconds (0.00s) PASS pkg/services.TestValidateNewManifest/wrong_namespace (0.00s) PASS pkg/services.TestValidateNewManifest/wrong_apiversion(no_version) (0.00s) PASS pkg/services.TestValidateNewManifest/wrong_apiversion(no_version)#01 (0.00s) PASS pkg/services.TestValidateNewManifest/wrong_api_version (0.00s) PASS pkg/services.TestValidateNewManifest (0.00s) PASS pkg/services.TestValidateUpdateManifest/validated (0.00s) PASS pkg/services.TestValidateUpdateManifest/apiVersion_mismatch (0.00s) PASS pkg/services.TestValidateUpdateManifest/kind_mismatch (0.00s) PASS pkg/services.TestValidateUpdateManifest/name_mismatch (0.00s) PASS pkg/services.TestValidateUpdateManifest/namespace_mismatch (0.00s) PASS pkg/services.TestValidateUpdateManifest (0.00s) PASS pkg/services EMPTY pkg/util EMPTY cmd/maestro EMPTY cmd/maestro/agent PASS cmd/maestro/environments.TestLoadServices (0.38s) PASS cmd/maestro/environments EMPTY cmd/maestro/migrate EMPTY cmd/maestro/servecmd EMPTY cmd/maestro/server EMPTY cmd/maestro/server/logging

DONE 39 tests in 74.167s

make test-integration CGO_ENABLED=1 GOEXPERIMENT=boringcrypto go install -ldflags="" ./cmd/maestro OCM_ENV=testing gotestsum --jsonfile-timing-events=/Users/liuwei/go/src/github.com/openshift-online/maestro/integration-test-results.json --format short-verbose -- -p 1 -ldflags -s -v -timeout 1h \ ./test/integration I0314 09:49:20.358855 74423 framework.go:76] Initializing testing environment I0314 09:49:20.539775 74423 framework.go:161] Using Mock OCM Authz Client I0314 09:49:20.542543 74423 framework.go:199] Disabling Sentry error reporting I0314 09:49:20.562723 74423 grpc_server.go:68] Serving gRPC service without TLS at 8090 I0314 09:49:20.562957 74423 healthcheck_server.go:56] Serving HealthCheck without TLS at 8083 PASS test/integration.TestConsumerGet (0.34s) PASS test/integration.TestConsumerPost (0.22s) PASS test/integration.TestConsumerPaging (0.37s) PASS test/integration.TestControllerRacing (1.92s) PASS test/integration.TestControllerReconcile (1.32s) PASS test/integration.TestControllerSync (1.21s) PASS test/integration.TestPulseServer (5.34s) PASS test/integration.TestResourceGet (0.24s) PASS test/integration.TestResourcePost (4.24s) PASS test/integration.TestResourcePatch (0.29s) PASS test/integration.TestResourcePaging (0.39s) PASS test/integration.TestResourceListSearch (0.34s) PASS test/integration.TestUpdateResourceWithRacingRequests (0.51s) PASS test/integration.TestResourceFromGRPC (7.36s) E0314 09:49:44.675466 74423 logger.go:129] Unable to get all maestro instances: pq: relation "server_instances" does not exist I0314 09:49:44.678351 74423 api_server.go:157] Web server terminated PASS test/integration

DONE 14 tests in 30.863s

make e2e-test ./test/e2e/setup/e2e_teardown.sh

...

Random Seed: 1710382033

Will run 5 of 5 specs •••••

Ran 5 of 5 Specs in 4.185 seconds SUCCESS! -- 5 Passed | 0 Failed | 0 Pending | 0 Skipped PASS

Ginkgo ran 1 suite in 17.684296113s Test Suite Passed