ResultFAILURE
Tests 0 failed / 0 succeeded
Started2024-11-21 05:35
Elapsed13m50s
Revisionbdfc39119eb3d071e2b7c99695b14f61a0958ffd
Refs 2168

No Test Failures!


Error lines from build-log.txt

... skipping 907 lines ...
2024-11-21T05:43:37.873Z	INFO	app/gorm_logger.go:84	/home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/auth_test.go:240
record not found
[0.825ms] [rows:0] 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-21T05:43:37.874Z	INFO	app/gorm_logger.go:84	/home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/service.go:120
[0.464ms] [rows:1] SELECT * FROM "users" WHERE email = 'foo@bar.com' AND "users"."deleted_at" IS NULL ORDER BY "users"."id" LIMIT 1
2024-11-21T05:43:37.875Z	INFO	app/gorm_logger.go:84	/home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/service.go:156
ERROR: table name "users" specified more than once (SQLSTATE 42712)
[0.843ms] [rows:1] UPDATE "users" SET "code"='code',"updated_at"='2024-11-21 05:43:37.874' FROM "users" WHERE email = 'foo@bar.com' AND "users"."deleted_at" IS NULL
2024-11-21T05:43:37.875Z	ERROR	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-21T05:43:37.876Z	INFO	app/gorm_logger.go:84	/home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/auth_test.go:250
[0.620ms] [rows:2] 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.32s)
FAIL
FAIL	github.com/tektoncd/hub/api/pkg/auth/service	4.485s
?   	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-21T05:47:26.609Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc00061c5e0 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-21T05:47:26.610Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc00061d000 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-21T05:47:26.611Z	ERROR	TestV1UpdateAvailable	cloudevent/cloudeventclient.go:102	Unable to fetch client from context.
--- PASS: TestV1UpdateAvailable (0.00s)
=== RUN   TestUpdateAvailable_WithSkippedTasks
    logger.go:146: 2024-11-21T05:47:26.611Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc00061d980 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-21T05:47:26.614Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc00061c380 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-21T05:47:26.614Z	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-21T05:47:26.615Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc00061ce20 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-21T05:47:26.616Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc00061d600 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-21T05:47:26.616Z	ERROR	TestV1NoUpdateAvailable	cloudevent/cloudeventclient.go:102	Unable to fetch client from context.
--- PASS: TestV1NoUpdateAvailable (0.00s)
=== RUN   TestNoUpdateAvailable_TaskNotInstalledViaHubCLI
    logger.go:146: 2024-11-21T05:47:26.617Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc0004925e0 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-21T05:47:26.617Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000492e60 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-21T05:47:26.617Z	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-21T05:47:26.618Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000493980 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-21T05:47:26.619Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000560760 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-21T05:47:26.619Z	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-21T05:47:26.619Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000561280 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-21T05:47:26.620Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000561c40 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-21T05:47:26.620Z	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.046s
=== RUN   TestDowngrade_ResourceNotExist
    logger.go:146: 2024-11-21T05:47:29.668Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000584180 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
--- PASS: TestDowngrade_ResourceNotExist (0.37s)
=== RUN   TestV1Downgrade_ResourceNotExist
    logger.go:146: 2024-11-21T05:47:30.034Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000584620 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-21T05:47:30.034Z	ERROR	TestV1Downgrade_ResourceNotExist	cloudevent/cloudeventclient.go:102	Unable to fetch client from context.
--- PASS: TestV1Downgrade_ResourceNotExist (0.07s)
=== RUN   TestDowngrade_VersionCatalogMissing
    logger.go:146: 2024-11-21T05:47:30.104Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc0008122e0 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-21T05:47:30.105Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc0008128a0 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-21T05:47:30.105Z	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-21T05:47:30.105Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000812ea0 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-21T05:47:30.105Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc0008132c0 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-21T05:47:30.106Z	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-21T05:47:30.107Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000813a80 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-21T05:47:30.108Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000584720 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-21T05:47:30.108Z	ERROR	TestV1Downgrade	cloudevent/cloudeventclient.go:102	Unable to fetch client from context.
--- PASS: TestV1Downgrade (0.00s)
=== RUN   TestDowngrade_ToSpecificVersion
    logger.go:146: 2024-11-21T05:47:30.109Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000585560 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-21T05:47:30.111Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000500300 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-21T05:47:30.111Z	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-21T05:47:30.112Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc0005011a0 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-21T05:47:30.113Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000501da0 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-21T05:47:30.114Z	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-21T05:47:30.114Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000128da0 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-21T05:47:30.115Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc0001293a0 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-21T05:47:30.115Z	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-21T05:47:30.116Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000129c40 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-21T05:47:30.117Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000446aa0 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-21T05:47:30.117Z	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-21T05:47:30.118Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000447880 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-21T05:47:30.118Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc0004ee9a0 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-21T05:47:30.118Z	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.554s
=== 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-21T05:47:39.763Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000527c20 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-21T05:47:39.763Z	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-21T05:47:39.765Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000734880 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-21T05:47:39.766Z	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-21T05:47:39.768Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000734f00 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-21T05:47:39.769Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000735b40 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-21T05:47:39.769Z	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-21T05:47:39.770Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000386820 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-21T05:47:39.771Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000387300 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-21T05:47:39.771Z	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-21T05:47:39.772Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000796420 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-21T05:47:39.772Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000796ec0 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-21T05:47:39.772Z	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-21T05:47:39.773Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000797b40 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-21T05:47:39.774Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc00010e760 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-21T05:47:39.774Z	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-21T05:47:39.774Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc00010f3e0 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-21T05:47:39.775Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc00010fc60 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-21T05:47:39.775Z	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-21T05:47:39.776Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000714aa0 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-21T05:47:39.776Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000715380 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-21T05:47:39.777Z	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-21T05:47:39.777Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000715e60 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-21T05:47:39.778Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc0000c30a0 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-21T05:47:39.778Z	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.052s
=== RUN   TestReinstall_ResourceNotExist
    logger.go:146: 2024-11-21T05:47:43.656Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000586660 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-21T05:47:43.656Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000586b00 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-21T05:47:43.657Z	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-21T05:47:43.657Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000587540 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-21T05:47:43.658Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000587b00 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-21T05:47:43.658Z	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-21T05:47:43.659Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc0006ea180 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-21T05:47:43.659Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc0006ea5a0 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-21T05:47:43.659Z	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-21T05:47:43.662Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc0006ea260 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-21T05:47:43.664Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc0006eae20 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-21T05:47:43.664Z	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-21T05:47:43.665Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc0006eba60 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-21T05:47:43.665Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000540560 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-21T05:47:43.665Z	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-21T05:47:43.666Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc0005411e0 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-21T05:47:43.666Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000541c20 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-21T05:47:43.667Z	ERROR	TestV1Reinstall	cloudevent/cloudeventclient.go:102	Unable to fetch client from context.
--- PASS: TestV1Reinstall (0.00s)
=== RUN   TestReinstall_RespectPipelinesVersionSuccess
    logger.go:146: 2024-11-21T05:47:43.667Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc0005248a0 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-21T05:47:43.668Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc0005250e0 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-21T05:47:43.668Z	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-21T05:47:43.668Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000525b80 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-21T05:47:43.669Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc0004da980 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-21T05:47:43.669Z	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.055s
=== RUN   TestValidate
--- PASS: TestValidate (0.00s)
=== RUN   TestValidate_ErrorCases
... skipping 12 lines ...
ok  	github.com/tektoncd/hub/api/pkg/cli/cmd/search	0.032s
=== RUN   TestUpgrade_ResourceNotExist
    logger.go:146: 2024-11-21T05:47:49.729Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000590660 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-21T05:47:49.729Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000590b00 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-21T05:47:49.730Z	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-21T05:47:49.730Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000591540 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-21T05:47:49.731Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000591b00 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-21T05:47:49.731Z	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-21T05:47:49.731Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000738180 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-21T05:47:49.732Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc0007385a0 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-21T05:47:49.733Z	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-21T05:47:49.735Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc00080e640 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-21T05:47:49.736Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc00080f0e0 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-21T05:47:49.736Z	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-21T05:47:49.737Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc00080fd20 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-21T05:47:49.738Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc0007388c0 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-21T05:47:49.738Z	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-21T05:47:49.739Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000739500 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-21T05:47:49.740Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000739f60 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-21T05:47:49.740Z	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-21T05:47:49.741Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc00045ec40 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-21T05:47:49.741Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc00045f520 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-21T05:47:49.741Z	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-21T05:47:49.742Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc000914020 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-21T05:47:49.743Z	INFO	cache/cacheclient.go:42	CACHE CLIENT &{lru:0xc0009148a0 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-21T05:47:49.743Z	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.050s
=== RUN   TestInList
--- PASS: TestInList (0.00s)
=== RUN   TestTrimArray
... skipping 126 lines ...
[0.186ms] [rows:1] SELECT count(*) FROM "migrations" WHERE id = '202111091037_backup_users_add_account_table_and_update_data'
2024-11-21T05:47:58.623Z	INFO	app/gorm_logger.go:84	/home/prow/go/src/github.com/tektoncd/hub/vendor/github.com/go-gormigrate/gormigrate/v2/gormigrate.go:409
[0.161ms] [rows:1] SELECT count(*) FROM "migrations" WHERE id = '202202191725_add_ssh_url_column_in_catalogs_table'
2024-11-21T05:47:58.623Z	INFO	migration/migration.go:80	Migration ran successfully !!	{"service": "migration"}
2024-11-21T05:47:58.623Z	INFO	testutils/db.go:48	DB initialisation successful !!	{"service": "test"}
2024-11-21T05:47:58.629Z	INFO	app/gorm_logger.go:84	/home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/validation/validation_test.go:33
ERROR: null value in column "type" of relation "catalogs" violates not-null constraint (SQLSTATE 23502)
[6.332ms] [rows:0] INSERT INTO "catalogs" ("created_at","updated_at","deleted_at","name","org","provider","ssh_url","context_dir","sha","revision") VALUES ('2024-11-21 05:47:58.628','2024-11-21 05:47:58.628',NULL,'tekton','','github','','','','master') RETURNING "id","type","url","revision"
2024-11-21T05:47:58.631Z	INFO	app/gorm_logger.go:84	/home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/validation/validation_test.go:37
ERROR: null value in column "kind" of relation "resources" violates not-null constraint (SQLSTATE 23502)
[1.680ms] [rows:0] INSERT INTO "resources" ("created_at","updated_at","deleted_at","rating","catalog_id","name") VALUES ('2024-11-21 05:47:58.63','2024-11-21 05:47:58.63',NULL,4,0,'tekton') RETURNING "id","name","kind"
2024-11-21T05:47:58.633Z	INFO	app/gorm_logger.go:84	/home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/validation/validation_test.go:41
ERROR: null value in column "version" of relation "resource_versions" violates not-null constraint (SQLSTATE 23502)
[1.365ms] [rows:0] INSERT INTO "resource_versions" ("created_at","updated_at","deleted_at","description","display_name","deprecated","resource_id","modified_at") VALUES ('2024-11-21 05:47:58.632','2024-11-21 05:47:58.632',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-21T05:47:58.759Z	INFO	app/gorm_logger.go:84	/home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/validation/validation_test.go:53
ERROR: duplicate key value violates unique constraint "uix_name_org" (SQLSTATE 23505)
[0.949ms] [rows:0] INSERT INTO "catalogs" ("created_at","updated_at","deleted_at","name","org","provider","ssh_url","context_dir","sha","type","url","revision") VALUES ('2024-11-21 05:47:58.758','2024-11-21 05:47:58.758',NULL,'catalog-official','tektoncd','github','','','','tektoncd','url','master') RETURNING "id","type","url","revision"
--- PASS: TestCheckUnique (0.13s)
PASS
ok  	github.com/tektoncd/hub/api/pkg/db/validation	0.178s
?   	github.com/tektoncd/hub/api/pkg/git	[no test files]
=== RUN   TestParse_NonExistentRepo
... skipping 2643 lines ...
[1.127ms] [rows:0] 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-21T05:48:50.508Z	INFO	app/gorm_logger.go:84	/home/prow/go/src/github.com/tektoncd/hub/api/pkg/shared/resource/resource.go:422
[0.611ms] [rows:12] SELECT "version" FROM "resource_versions" WHERE "resource_versions"."deleted_at" IS NULL	{"service": "resource"}
--- PASS: TestGetLatestRawYamlByCatalogKindName (0.14s)
PASS
ok  	github.com/tektoncd/hub/api/v1/service/resource	9.747s
FAIL
make: *** [Makefile:47: api-test] Error 1
ERROR: api unit test failed
+ EXIT_VALUE=1
+ set +o xtrace