Error lines from build-log.txt
... skipping 900 lines ...
2024-11-21T03:41:54.075Z [34mINFO[0m app/gorm_logger.go:84 [31;1m/home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/auth_test.go:240
[35;1mrecord not found
[0m[33m[1.038ms] [34;1m[rows:0][0m SELECT * FROM "accounts" WHERE ("accounts"."name" = 'gitlabuser' AND "accounts"."provider" = 'gitlab') AND "accounts"."deleted_at" IS NULL ORDER BY "accounts"."id" LIMIT 1
2024-11-21T03:41:54.076Z [34mINFO[0m app/gorm_logger.go:84 [32m/home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/service.go:120
[0m[33m[0.963ms] [34;1m[rows:1][0m SELECT * FROM "users" WHERE email = 'foo@bar.com' AND "users"."deleted_at" IS NULL ORDER BY "users"."id" LIMIT 1
2024-11-21T03:41:54.077Z [34mINFO[0m app/gorm_logger.go:84 [31;1m/home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/service.go:156
[35;1mERROR: table name "users" specified more than once (SQLSTATE 42712)
[0m[33m[0.788ms] [34;1m[rows:1][0m UPDATE "users" SET "code"='code',"updated_at"='2024-11-21 03:41:54.076' FROM "users" WHERE email = 'foo@bar.com' AND "users"."deleted_at" IS NULL
2024-11-21T03:41:54.077Z [31mERROR[0m service/service.go:157 ERROR: table name "users" specified more than once (SQLSTATE 42712) {"service": "svc"}
github.com/tektoncd/hub/api/pkg/auth/service.(*request).insertData
/home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/service.go:157
github.com/tektoncd/hub/api/pkg/auth/service.TestInsertData_EmailExistsAddNewAccount
/home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/auth_test.go:244
testing.tRunner
/home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.5.linux-amd64/src/testing/testing.go:1689
auth_test.go:245:
Error Trace: /home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/auth_test.go:245
Error: Received unexpected error:
ERROR: table name "users" specified more than once (SQLSTATE 42712)
Test: TestInsertData_EmailExistsAddNewAccount
2024-11-21T03:41:54.078Z [34mINFO[0m app/gorm_logger.go:84 [32m/home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/auth_test.go:250
[0m[33m[0.489ms] [34;1m[rows:2][0m SELECT * FROM "accounts" WHERE user_id = 11 AND "accounts"."deleted_at" IS NULL
auth_test.go:252:
Error Trace: /home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/auth_test.go:252
Error: Not equal:
expected: 3
actual : 2
Test: TestInsertData_EmailExistsAddNewAccount
--- FAIL: TestInsertData_EmailExistsAddNewAccount (0.11s)
FAIL
FAIL github.com/tektoncd/hub/api/pkg/auth/service 1.015s
? github.com/tektoncd/hub/api/pkg/cli/app [no test files]
? github.com/tektoncd/hub/api/pkg/cli/cmd [no test files]
=== RUN TestUpdateAvailable
logger.go:146: 2024-11-21T03:44:35.890Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000494e40 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestUpdateAvailable (0.00s)
=== RUN TestV1UpdateAvailable
logger.go:146: 2024-11-21T03:44:35.891Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000495860 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:35.891Z ERROR TestV1UpdateAvailable cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1UpdateAvailable (0.00s)
=== RUN TestUpdateAvailable_WithSkippedTasks
logger.go:146: 2024-11-21T03:44:35.892Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0006d6260 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestUpdateAvailable_WithSkippedTasks (0.00s)
=== RUN TestV1UpdateAvailable_WithSkippedTasks
logger.go:146: 2024-11-21T03:44:35.893Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0006d6aa0 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:35.893Z ERROR TestV1UpdateAvailable_WithSkippedTasks cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1UpdateAvailable_WithSkippedTasks (0.00s)
=== RUN TestNoUpdateAvailable
logger.go:146: 2024-11-21T03:44:35.895Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0006d6580 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestNoUpdateAvailable (0.00s)
=== RUN TestV1NoUpdateAvailable
logger.go:146: 2024-11-21T03:44:35.896Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0006d70c0 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:35.896Z ERROR TestV1NoUpdateAvailable cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1NoUpdateAvailable (0.00s)
=== RUN TestNoUpdateAvailable_TaskNotInstalledViaHubCLI
logger.go:146: 2024-11-21T03:44:35.896Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0006d7a40 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestNoUpdateAvailable_TaskNotInstalledViaHubCLI (0.00s)
=== RUN TestV1NoUpdateAvailable_TaskNotInstalledViaHubCLI
logger.go:146: 2024-11-21T03:44:35.897Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000428240 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:35.897Z ERROR TestV1NoUpdateAvailable_TaskNotInstalledViaHubCLI cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1NoUpdateAvailable_TaskNotInstalledViaHubCLI (0.00s)
=== RUN TestUpdateAvailable_PipelinesUnknown
logger.go:146: 2024-11-21T03:44:35.897Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000428b80 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestUpdateAvailable_PipelinesUnknown (0.00s)
=== RUN TestV1UpdateAvailable_PipelinesUnknown
logger.go:146: 2024-11-21T03:44:35.898Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0004294c0 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:35.898Z ERROR TestV1UpdateAvailable_PipelinesUnknown cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1UpdateAvailable_PipelinesUnknown (0.00s)
=== RUN TestUpdateAvailable_WithSkippedTasks_PipelinesUnknown
logger.go:146: 2024-11-21T03:44:35.898Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000a0c080 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestUpdateAvailable_WithSkippedTasks_PipelinesUnknown (0.00s)
=== RUN TestV1UpdateAvailable_WithSkippedTasks_PipelinesUnknown
logger.go:146: 2024-11-21T03:44:35.899Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000a0ca40 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:35.899Z ERROR TestV1UpdateAvailable_WithSkippedTasks_PipelinesUnknown cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1UpdateAvailable_WithSkippedTasks_PipelinesUnknown (0.00s)
PASS
ok github.com/tektoncd/hub/api/pkg/cli/cmd/check_upgrade 0.043s
=== RUN TestDowngrade_ResourceNotExist
logger.go:146: 2024-11-21T03:44:38.563Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0004998c0 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestDowngrade_ResourceNotExist (0.00s)
=== RUN TestV1Downgrade_ResourceNotExist
logger.go:146: 2024-11-21T03:44:38.563Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000499d60 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:38.563Z ERROR TestV1Downgrade_ResourceNotExist cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Downgrade_ResourceNotExist (0.00s)
=== RUN TestDowngrade_VersionCatalogMissing
logger.go:146: 2024-11-21T03:44:38.564Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0000c3140 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestDowngrade_VersionCatalogMissing (0.00s)
=== RUN TestV1Downgrade_VersionCatalogMissing
logger.go:146: 2024-11-21T03:44:38.564Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0000c37c0 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:38.564Z ERROR TestV1Downgrade_VersionCatalogMissing cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Downgrade_VersionCatalogMissing (0.00s)
=== RUN TestDowngrade_VersionMissing
logger.go:146: 2024-11-21T03:44:38.565Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000446140 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestDowngrade_VersionMissing (0.00s)
=== RUN TestV1Downgrade_VersionMissing
logger.go:146: 2024-11-21T03:44:38.565Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000446860 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:38.565Z ERROR TestV1Downgrade_VersionMissing cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Downgrade_VersionMissing (0.00s)
=== RUN TestDowngrade
logger.go:146: 2024-11-21T03:44:38.565Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000447020 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestDowngrade (0.00s)
=== RUN TestV1Downgrade
logger.go:146: 2024-11-21T03:44:38.567Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000447e80 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:38.568Z ERROR TestV1Downgrade cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Downgrade (0.00s)
=== RUN TestDowngrade_ToSpecificVersion
logger.go:146: 2024-11-21T03:44:38.570Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000447100 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestDowngrade_ToSpecificVersion (0.00s)
=== RUN TestV1Downgrade_ToSpecificVersion
logger.go:146: 2024-11-21T03:44:38.570Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc00088a1e0 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:38.571Z ERROR TestV1Downgrade_ToSpecificVersion cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Downgrade_ToSpecificVersion (0.00s)
=== RUN TestDowngrade_SameVersionError
logger.go:146: 2024-11-21T03:44:38.571Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc00088afc0 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestDowngrade_SameVersionError (0.00s)
=== RUN TestV1Downgrade_SameVersionError
logger.go:146: 2024-11-21T03:44:38.572Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc00088bbc0 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:38.572Z ERROR TestV1Downgrade_SameVersionError cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Downgrade_SameVersionError (0.00s)
=== RUN TestDowngrade_HigherVersionError
logger.go:146: 2024-11-21T03:44:38.573Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0004eef80 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestDowngrade_HigherVersionError (0.00s)
=== RUN TestV1Downgrade_HigherVersionError
logger.go:146: 2024-11-21T03:44:38.574Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0004ef580 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:38.574Z ERROR TestV1Downgrade_HigherVersionError cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Downgrade_HigherVersionError (0.00s)
=== RUN TestDowngrade_ToSpecificVersionRespectingPipelinesVersionSuccess
logger.go:146: 2024-11-21T03:44:38.575Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0004efea0 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestDowngrade_ToSpecificVersionRespectingPipelinesVersionSuccess (0.00s)
=== RUN TestV1Downgrade_ToSpecificVersionRespectingPipelinesVersionSuccess
logger.go:146: 2024-11-21T03:44:38.576Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0006cea20 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:38.576Z ERROR TestV1Downgrade_ToSpecificVersionRespectingPipelinesVersionSuccess cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Downgrade_ToSpecificVersionRespectingPipelinesVersionSuccess (0.00s)
=== RUN TestDowngrade_ToSpecificVersionRespectingPipelinesVersionFailure
logger.go:146: 2024-11-21T03:44:38.577Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0006cf640 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestDowngrade_ToSpecificVersionRespectingPipelinesVersionFailure (0.00s)
=== RUN TestV1Downgrade_ToSpecificVersionRespectingPipelinesVersionFailure
logger.go:146: 2024-11-21T03:44:38.578Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc00010e1e0 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:38.578Z ERROR TestV1Downgrade_ToSpecificVersionRespectingPipelinesVersionFailure cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Downgrade_ToSpecificVersionRespectingPipelinesVersionFailure (0.00s)
PASS
ok github.com/tektoncd/hub/api/pkg/cli/cmd/downgrade 0.050s
=== RUN TestValidate
--- PASS: TestValidate (0.00s)
=== RUN TestValidate_ErrorCase
... skipping 28 lines ...
--- PASS: TestInstall_NewResource (0.00s)
--- PASS: TestInstall_NewResource/TestInstall_NewResource_TektonHub (0.00s)
--- PASS: TestInstall_NewResource/TestInstall_NewResource_ArtifactHub (0.00s)
=== RUN TestV1Install_NewResource
=== RUN TestV1Install_NewResource/TestInstall_NewResource_TektonHub
logger.go:146: 2024-11-21T03:44:46.017Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000495860 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:46.017Z ERROR TestV1Install_NewResource/TestInstall_NewResource_TektonHub cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
=== RUN TestV1Install_NewResource/TestInstall_NewResource_ArtifactHub
logger.go:146: 2024-11-21T03:44:46.018Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc00059c4c0 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:46.018Z ERROR TestV1Install_NewResource/TestInstall_NewResource_ArtifactHub cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Install_NewResource (0.00s)
--- PASS: TestV1Install_NewResource/TestInstall_NewResource_TektonHub (0.00s)
--- PASS: TestV1Install_NewResource/TestInstall_NewResource_ArtifactHub (0.00s)
=== RUN TestInstall_ResourceNotFound
=== RUN TestInstall_ResourceNotFound/TestInstall_ResourceNotFound_TektonHub
=== RUN TestInstall_ResourceNotFound/TestInstall_ResourceNotFound_ArtifactHub
... skipping 2 lines ...
--- PASS: TestInstall_ResourceNotFound/TestInstall_ResourceNotFound_ArtifactHub (0.00s)
=== RUN TestInstall_ResourceAlreadyExistError
logger.go:146: 2024-11-21T03:44:46.019Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc00059d740 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestInstall_ResourceAlreadyExistError (0.00s)
=== RUN TestV1Install_ResourceAlreadyExistError
logger.go:146: 2024-11-21T03:44:46.020Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc00071a3c0 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:46.020Z ERROR TestV1Install_ResourceAlreadyExistError cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Install_ResourceAlreadyExistError (0.00s)
=== RUN TestInstall_UpgradeError
logger.go:146: 2024-11-21T03:44:46.022Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000888020 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestInstall_UpgradeError (0.00s)
=== RUN TestV1Install_UpgradeError
logger.go:146: 2024-11-21T03:44:46.024Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000888ae0 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:46.024Z ERROR TestV1Install_UpgradeError cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Install_UpgradeError (0.00s)
=== RUN TestInstall_SameVersionError
logger.go:146: 2024-11-21T03:44:46.025Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000889760 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestInstall_SameVersionError (0.00s)
=== RUN TestV1Install_SameVersionError
logger.go:146: 2024-11-21T03:44:46.026Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc00071a280 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:46.026Z ERROR TestV1Install_SameVersionError cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Install_SameVersionError (0.00s)
=== RUN TestInstall_LowerVersionError
logger.go:146: 2024-11-21T03:44:46.026Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc00071b060 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestInstall_LowerVersionError (0.00s)
=== RUN TestV1Install_LowerVersionError
logger.go:146: 2024-11-21T03:44:46.027Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc00071bb00 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:46.027Z ERROR TestV1Install_LowerVersionError cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Install_LowerVersionError (0.00s)
=== RUN TestInstall_RespectingPipelinesVersion
logger.go:146: 2024-11-21T03:44:46.028Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0000c2e20 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestInstall_RespectingPipelinesVersion (0.00s)
=== RUN TestV1Install_RespectingPipelinesVersion
logger.go:146: 2024-11-21T03:44:46.028Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0000c38a0 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:46.029Z ERROR TestV1Install_RespectingPipelinesVersion cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Install_RespectingPipelinesVersion (0.00s)
=== RUN TestInstall_RespectingPipelinesVersionFailure
logger.go:146: 2024-11-21T03:44:46.029Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000446a20 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestInstall_RespectingPipelinesVersionFailure (0.00s)
=== RUN TestV1Install_RespectingPipelinesVersionFailure
logger.go:146: 2024-11-21T03:44:46.030Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000447300 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:46.030Z ERROR TestV1Install_RespectingPipelinesVersionFailure cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Install_RespectingPipelinesVersionFailure (0.00s)
=== RUN TestInstall_DeprecatedVersion
logger.go:146: 2024-11-21T03:44:46.030Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0004ee460 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestInstall_DeprecatedVersion (0.00s)
=== RUN TestV1Install_DeprecatedVersion
logger.go:146: 2024-11-21T03:44:46.031Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0004eeec0 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:46.031Z ERROR TestV1Install_DeprecatedVersion cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Install_DeprecatedVersion (0.00s)
PASS
ok github.com/tektoncd/hub/api/pkg/cli/cmd/install 0.050s
=== RUN TestReinstall_ResourceNotExist
logger.go:146: 2024-11-21T03:44:48.687Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000600660 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestReinstall_ResourceNotExist (0.00s)
=== RUN TestV1Reinstall_ResourceNotExist
logger.go:146: 2024-11-21T03:44:48.688Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000600b00 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:48.688Z ERROR TestV1Reinstall_ResourceNotExist cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Reinstall_ResourceNotExist (0.00s)
=== RUN TestReinstall_VersionCatalogMissing
logger.go:146: 2024-11-21T03:44:48.689Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000601540 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestReinstall_VersionCatalogMissing (0.00s)
=== RUN TestV1Reinstall_VersionCatalogMissing
logger.go:146: 2024-11-21T03:44:48.689Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000601b00 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:48.689Z ERROR TestV1Reinstall_VersionCatalogMissing cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Reinstall_VersionCatalogMissing (0.00s)
=== RUN TestReinstall_VersionMissing
logger.go:146: 2024-11-21T03:44:48.690Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc00074e180 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestReinstall_VersionMissing (0.00s)
=== RUN TestV1Reinstall_VersionMissing
logger.go:146: 2024-11-21T03:44:48.690Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc00074e5a0 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:48.690Z ERROR TestV1Reinstall_VersionMissing cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Reinstall_VersionMissing (0.00s)
=== RUN TestReinstall_DifferentVersionPassedByFlag
logger.go:146: 2024-11-21T03:44:48.690Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc00074ec80 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestReinstall_DifferentVersionPassedByFlag (0.00s)
=== RUN TestV1Reinstall_DifferentVersionPassedByFlag
logger.go:146: 2024-11-21T03:44:48.693Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0004ec760 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:48.693Z ERROR TestV1Reinstall_DifferentVersionPassedByFlag cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Reinstall_DifferentVersionPassedByFlag (0.00s)
=== RUN TestReinstall_DifferentCatalogPassedByFlag
logger.go:146: 2024-11-21T03:44:48.694Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0004ed3c0 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestReinstall_DifferentCatalogPassedByFlag (0.00s)
=== RUN TestV1Reinstall_DifferentCatalogPassedByFlag
logger.go:146: 2024-11-21T03:44:48.695Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0004ede20 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:48.695Z ERROR TestV1Reinstall_DifferentCatalogPassedByFlag cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Reinstall_DifferentCatalogPassedByFlag (0.00s)
=== RUN TestReinstall
logger.go:146: 2024-11-21T03:44:48.696Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0000c2ae0 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestReinstall (0.00s)
=== RUN TestV1Reinstall
logger.go:146: 2024-11-21T03:44:48.697Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0000c3500 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:48.697Z ERROR TestV1Reinstall cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Reinstall (0.00s)
=== RUN TestReinstall_RespectPipelinesVersionSuccess
logger.go:146: 2024-11-21T03:44:48.698Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc00014e820 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestReinstall_RespectPipelinesVersionSuccess (0.00s)
=== RUN TestV1Reinstall_RespectPipelinesVersionSuccess
logger.go:146: 2024-11-21T03:44:48.699Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc00014f220 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:48.699Z ERROR TestV1Reinstall_RespectPipelinesVersionSuccess cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Reinstall_RespectPipelinesVersionSuccess (0.00s)
=== RUN TestReinstall_RespectPipelinesVersionFailure
logger.go:146: 2024-11-21T03:44:48.700Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000480060 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestReinstall_RespectPipelinesVersionFailure (0.00s)
=== RUN TestV1Reinstall_RespectPipelinesVersionFailure
logger.go:146: 2024-11-21T03:44:48.700Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000481160 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:48.700Z ERROR TestV1Reinstall_RespectPipelinesVersionFailure cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Reinstall_RespectPipelinesVersionFailure (0.00s)
PASS
ok github.com/tektoncd/hub/api/pkg/cli/cmd/reinstall 0.048s
=== RUN TestValidate
--- PASS: TestValidate (0.00s)
=== RUN TestValidate_ErrorCases
... skipping 12 lines ...
ok github.com/tektoncd/hub/api/pkg/cli/cmd/search 0.035s
=== RUN TestUpgrade_ResourceNotExist
logger.go:146: 2024-11-21T03:44:53.704Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc00050e660 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestUpgrade_ResourceNotExist (0.00s)
=== RUN TestV1Upgrade_ResourceNotExist
logger.go:146: 2024-11-21T03:44:53.705Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc00050eb00 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:53.706Z ERROR TestV1Upgrade_ResourceNotExist cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Upgrade_ResourceNotExist (0.00s)
=== RUN TestUpgrade_VersionCatalogMissing
logger.go:146: 2024-11-21T03:44:53.706Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc00050f540 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestUpgrade_VersionCatalogMissing (0.00s)
=== RUN TestV1Upgrade_VersionCatalogMissing
logger.go:146: 2024-11-21T03:44:53.707Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc00050fb00 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:53.707Z ERROR TestV1Upgrade_VersionCatalogMissing cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Upgrade_VersionCatalogMissing (0.00s)
=== RUN TestUpgrade_VersionMissing
logger.go:146: 2024-11-21T03:44:53.708Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0006ce180 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestUpgrade_VersionMissing (0.00s)
=== RUN TestV1Upgrade_VersionMissing
logger.go:146: 2024-11-21T03:44:53.708Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0006ce5a0 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:53.709Z ERROR TestV1Upgrade_VersionMissing cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Upgrade_VersionMissing (0.00s)
=== RUN TestUpgrade_ToSpecificVersion
logger.go:146: 2024-11-21T03:44:53.709Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0006cec80 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestUpgrade_ToSpecificVersion (0.00s)
=== RUN TestV1Upgrade_ToSpecificVersion
logger.go:146: 2024-11-21T03:44:53.711Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0006cf6e0 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:53.711Z ERROR TestV1Upgrade_ToSpecificVersion cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Upgrade_ToSpecificVersion (0.00s)
=== RUN TestUpgrade_SameVersionError
logger.go:146: 2024-11-21T03:44:53.713Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc00077c3c0 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestUpgrade_SameVersionError (0.00s)
=== RUN TestV1Upgrade_SameVersionError
logger.go:146: 2024-11-21T03:44:53.714Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc00077ce60 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:53.714Z ERROR TestV1Upgrade_SameVersionError cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Upgrade_SameVersionError (0.00s)
=== RUN TestUpgrade_LowerVersionError
logger.go:146: 2024-11-21T03:44:53.715Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc00077daa0 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestUpgrade_LowerVersionError (0.00s)
=== RUN TestV1Upgrade_LowerVersionError
logger.go:146: 2024-11-21T03:44:53.716Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000446920 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:53.716Z ERROR TestV1Upgrade_LowerVersionError cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Upgrade_LowerVersionError (0.00s)
=== RUN TestUpgrade_ToSpecificVersion_RespectingPipelineSuccess
logger.go:146: 2024-11-21T03:44:53.716Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000447700 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestUpgrade_ToSpecificVersion_RespectingPipelineSuccess (0.00s)
=== RUN TestV1Upgrade_ToSpecificVersion_RespectingPipelineSuccess
logger.go:146: 2024-11-21T03:44:53.717Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0004ee780 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:53.717Z ERROR TestV1Upgrade_ToSpecificVersion_RespectingPipelineSuccess cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Upgrade_ToSpecificVersion_RespectingPipelineSuccess (0.00s)
=== RUN TestUpgrade_ToSpecificVersion_RespectingPipelineFailure
logger.go:146: 2024-11-21T03:44:53.718Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0004ef2a0 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestUpgrade_ToSpecificVersion_RespectingPipelineFailure (0.00s)
=== RUN TestV1Upgrade_ToSpecificVersion_RespectingPipelineFailure
logger.go:146: 2024-11-21T03:44:53.719Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0004efba0 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2024-11-21T03:44:53.719Z ERROR TestV1Upgrade_ToSpecificVersion_RespectingPipelineFailure cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestV1Upgrade_ToSpecificVersion_RespectingPipelineFailure (0.00s)
PASS
ok github.com/tektoncd/hub/api/pkg/cli/cmd/upgrade 0.051s
=== RUN TestInList
--- PASS: TestInList (0.00s)
=== RUN TestTrimArray
... skipping 126 lines ...
[0m[33m[0.202ms] [34;1m[rows:1][0m SELECT count(*) FROM "migrations" WHERE id = '202111091037_backup_users_add_account_table_and_update_data'
2024-11-21T03:45:02.295Z [34mINFO[0m app/gorm_logger.go:84 [32m/home/prow/go/src/github.com/tektoncd/hub/vendor/github.com/go-gormigrate/gormigrate/v2/gormigrate.go:409
[0m[33m[0.195ms] [34;1m[rows:1][0m SELECT count(*) FROM "migrations" WHERE id = '202202191725_add_ssh_url_column_in_catalogs_table'
2024-11-21T03:45:02.295Z [34mINFO[0m migration/migration.go:80 Migration ran successfully !! {"service": "migration"}
2024-11-21T03:45:02.295Z [34mINFO[0m testutils/db.go:48 DB initialisation successful !! {"service": "test"}
2024-11-21T03:45:02.300Z [34mINFO[0m app/gorm_logger.go:84 [31;1m/home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/validation/validation_test.go:33
[35;1mERROR: null value in column "type" of relation "catalogs" violates not-null constraint (SQLSTATE 23502)
[0m[33m[4.567ms] [34;1m[rows:0][0m INSERT INTO "catalogs" ("created_at","updated_at","deleted_at","name","org","provider","ssh_url","context_dir","sha","revision") VALUES ('2024-11-21 03:45:02.298','2024-11-21 03:45:02.298',NULL,'tekton','','github','','','','master') RETURNING "id","type","url","revision"
2024-11-21T03:45:02.301Z [34mINFO[0m app/gorm_logger.go:84 [31;1m/home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/validation/validation_test.go:37
[35;1mERROR: null value in column "kind" of relation "resources" violates not-null constraint (SQLSTATE 23502)
[0m[33m[0.921ms] [34;1m[rows:0][0m INSERT INTO "resources" ("created_at","updated_at","deleted_at","rating","catalog_id","name") VALUES ('2024-11-21 03:45:02.3','2024-11-21 03:45:02.3',NULL,4,0,'tekton') RETURNING "id","name","kind"
2024-11-21T03:45:02.302Z [34mINFO[0m app/gorm_logger.go:84 [31;1m/home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/validation/validation_test.go:41
[35;1mERROR: null value in column "version" of relation "resource_versions" violates not-null constraint (SQLSTATE 23502)
[0m[33m[0.927ms] [34;1m[rows:0][0m INSERT INTO "resource_versions" ("created_at","updated_at","deleted_at","description","display_name","deprecated","resource_id","modified_at") VALUES ('2024-11-21 03:45:02.301','2024-11-21 03:45:02.301',NULL,'task','Task',false,0,'0000-00-00 00:00:00') RETURNING "id","version","url","min_pipelines_version"
--- PASS: TestCheckNotNull (0.03s)
=== RUN TestCheckUnique
2024-11-21T03:45:02.406Z [34mINFO[0m app/gorm_logger.go:84 [31;1m/home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/validation/validation_test.go:53
[35;1mERROR: duplicate key value violates unique constraint "uix_name_org" (SQLSTATE 23505)
[0m[33m[1.032ms] [34;1m[rows:0][0m INSERT INTO "catalogs" ("created_at","updated_at","deleted_at","name","org","provider","ssh_url","context_dir","sha","type","url","revision") VALUES ('2024-11-21 03:45:02.405','2024-11-21 03:45:02.405',NULL,'catalog-official','tektoncd','github','','','','tektoncd','url','master') RETURNING "id","type","url","revision"
--- PASS: TestCheckUnique (0.10s)
PASS
ok github.com/tektoncd/hub/api/pkg/db/validation 0.155s
? github.com/tektoncd/hub/api/pkg/git [no test files]
=== RUN TestParse_NonExistentRepo
... skipping 2643 lines ...
[0m[33m[1.062ms] [34;1m[rows:0][0m SELECT * FROM "resources" WHERE ("resources"."name" = 'tkn' AND "resources"."kind" = 'Task' AND "resources"."catalog_id" = 1) AND "resources"."deleted_at" IS NULL {"service": "resource"}
2024-11-21T03:45:44.209Z [34mINFO[0m app/gorm_logger.go:84 [32m/home/prow/go/src/github.com/tektoncd/hub/api/pkg/shared/resource/resource.go:422
[0m[33m[1.111ms] [34;1m[rows:12][0m SELECT "version" FROM "resource_versions" WHERE "resource_versions"."deleted_at" IS NULL {"service": "resource"}
--- PASS: TestGetLatestRawYamlByCatalogKindName (0.11s)
PASS
ok github.com/tektoncd/hub/api/v1/service/resource 6.669s
FAIL
make: *** [Makefile:47: api-test] Error 1
ERROR: api unit test failed
+ EXIT_VALUE=1
+ set +o xtrace