Cloning into '/home/prow/go/src/github.com/google/licenseclassifier'... Activated service account credentials for: [prow-account@tekton-releases.iam.gserviceaccount.com] == Running ./runner.sh backward compatibility test runner === + [[ 11 -ne 0 ]] + case $1 in + shift + [[ 10 -ne 0 ]] + case $1 in + shift + [[ 9 -ne 0 ]] + case $1 in + shift + [[ 8 -ne 0 ]] + case $1 in + shift + [[ 7 -ne 0 ]] + case $1 in + shift + [[ 6 -ne 0 ]] + case $1 in ++ cut -d = -f2 + gcloud auth activate-service-account --key-file=/etc/test-account/service-account.json Activated service account credentials for: [prow-account@tekton-releases.iam.gserviceaccount.com] + shift + [[ 5 -ne 0 ]] + case $1 in + shift + [[ 4 -ne 0 ]] + case $1 in + shift + [[ -- == \-\- ]] + shift + break + ./test/presubmit-tests.sh --unit-tests Changed files in commit 99305883a88f862c95cd13208d4d14638ed01421: go.mod go.sum swagger/package-lock.json swagger/package.json vendor/github.com/go-chi/chi/v5/README.md vendor/github.com/go-chi/chi/v5/chi.go vendor/github.com/go-chi/chi/v5/mux.go vendor/github.com/go-chi/chi/v5/path_value.go vendor/github.com/go-chi/chi/v5/path_value_fallback.go vendor/github.com/go-chi/chi/v5/tree.go vendor/modules.txt Updated property [component_manager/disable_update_check]. ============================ ==== CURRENT TEST SETUP ==== ============================ >> gcloud SDK version Google Cloud SDK 504.0.0 alpha 2024.12.13 beta 2024.12.13 bq 2.1.11 bundled-python3-unix 3.11.9 core 2024.12.13 docker-credential-gcr 1.5.0 gcloud-crc32c 1.0.0 gke-gcloud-auth-plugin 0.5.9 gsutil 5.33 kubectl 1.30.5 >> kubectl version Client Version: v1.32.0-alpha.0 Kustomize Version: v5.4.2 >> go version go: downloading go1.23.8 (linux/amd64) go version go1.23.8 linux/amd64 >> git version git version 2.43.0 ============================ ==== RUNNING UNIT TESTS ==== ============================ go version go1.23.8 linux/amd64 go: downloading goa.design/goa/v3 v3.20.0 go: goa.design/goa/v3@v3.20.0 requires go >= 1.23.0; switching to go1.23.10 go: downloading go1.23.10 (linux/amd64) go: downloading golang.org/x/tools v0.30.0 go: downloading github.com/google/uuid v1.6.0 go: downloading github.com/stretchr/testify v1.10.0 go: downloading github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 go: downloading github.com/manveru/faker v0.0.0-20171103152722-9fbc68a78c4d go: downloading golang.org/x/text v0.22.0 go: downloading github.com/davecgh/go-spew v1.1.1 go: downloading github.com/pmezard/go-difflib v1.0.0 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading golang.org/x/sync v0.11.0 go: downloading golang.org/x/mod v0.23.0 Goa version v3.20.0 ---------------------------- -- Generating API Design... ---------------------------- cd api && go mod vendor && goa gen github.com/tektoncd/hub/api/design go: downloading goa.design/goa/v3 v3.21.1 go: downloading goa.design/plugins/v3 v3.20.0 go: downloading github.com/tektoncd/plumbing v0.0.0-20220817140952-3da8ce01aeeb go: downloading github.com/markbates/goth v1.81.0 go: downloading github.com/gorilla/mux v1.8.1 go: downloading github.com/gorilla/sessions v1.3.0 go: downloading github.com/gorilla/handlers v1.5.2 go: downloading go.uber.org/automaxprocs v1.6.0 go: downloading github.com/hako/durafmt v0.0.0-20210608085754-5c1018a4e16b go: downloading github.com/joho/godotenv v1.5.1 go: downloading github.com/spf13/viper v1.20.1 go: downloading go.uber.org/zap v1.27.0 go: downloading gorm.io/driver/postgres v1.5.2 go: downloading gorm.io/gorm v1.30.0 go: downloading github.com/spf13/cobra v1.9.1 go: downloading golang.org/x/text v0.26.0 go: downloading k8s.io/apimachinery v0.32.4 go: downloading github.com/tektoncd/pipeline v1.0.0 go: downloading gopkg.in/h2non/gock.v1 v1.1.2 go: downloading k8s.io/client-go v0.32.2 go: downloading github.com/fatih/color v1.18.0 go: downloading golang.org/x/term v0.32.0 go: downloading github.com/AlecAivazis/survey/v2 v2.3.7 go: downloading github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2 go: downloading gotest.tools/v3 v3.5.2 go: downloading github.com/ikawaha/goahttpcheck v1.15.11 go: downloading github.com/golang-jwt/jwt/v4 v4.5.2 go: downloading github.com/go-testfixtures/testfixtures/v3 v3.16.0 go: downloading github.com/ActiveState/vt10x v1.3.1 go: downloading knative.dev/pkg v0.0.0-20250415155312-ed3e2158b883 go: downloading sigs.k8s.io/yaml v1.4.0 go: downloading github.com/mitchellh/go-homedir v1.1.0 go: downloading github.com/go-co-op/gocron v1.37.0 go: downloading github.com/go-gormigrate/gormigrate/v2 v2.1.4 go: downloading github.com/gorilla/securecookie v1.1.2 go: downloading github.com/felixge/httpsnoop v1.0.4 go: downloading github.com/fsnotify/fsnotify v1.8.0 go: downloading github.com/go-viper/mapstructure/v2 v2.2.1 go: downloading github.com/sagikazarmark/locafero v0.7.0 go: downloading github.com/spf13/afero v1.12.0 go: downloading github.com/spf13/cast v1.7.1 go: downloading github.com/spf13/pflag v1.0.6 go: downloading go.uber.org/multierr v1.11.0 go: downloading github.com/jackc/pgx/v5 v5.5.4 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 go: downloading golang.org/x/oauth2 v0.29.0 go: downloading github.com/go-chi/chi/v5 v5.2.2 go: downloading github.com/jinzhu/now v1.1.5 go: downloading github.com/h2non/parth v0.0.0-20190131123155-b4df798d6542 go: downloading github.com/inconshreveable/mousetrap v1.1.0 go: downloading github.com/gorilla/websocket v1.5.3 go: downloading github.com/gohugoio/hashstructure v0.5.0 go: downloading golang.org/x/tools v0.33.0 go: downloading github.com/mattn/go-colorable v0.1.13 go: downloading github.com/mattn/go-isatty v0.0.20 go: downloading golang.org/x/sys v0.33.0 go: downloading github.com/gogo/protobuf v1.3.2 go: downloading k8s.io/klog/v2 v2.130.1 go: downloading github.com/google/gofuzz v1.2.0 go: downloading k8s.io/utils v0.0.0-20241210054802-24370beab758 go: downloading github.com/ikawaha/httpcheck v1.12.4 go: downloading github.com/creack/pty v1.1.17 go: downloading github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 go: downloading github.com/google/go-cmp v0.7.0 go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.5.0 go: downloading github.com/kr/pty v1.1.8 go: downloading github.com/goccy/go-yaml v1.17.1 go: downloading golang.org/x/sync v0.15.0 go: downloading github.com/google/cel-go v0.24.1 go: downloading k8s.io/api v0.32.2 go: downloading k8s.io/kube-openapi v0.0.0-20241212222426-2c72e554b1e7 go: downloading github.com/google/go-containerregistry v0.20.3 go: downloading github.com/sigstore/sigstore v1.9.4 go: downloading go.opencensus.io v0.24.0 go: downloading k8s.io/apiextensions-apiserver v0.32.1 go: downloading github.com/robfig/cron/v3 v3.0.1 go: downloading go.uber.org/atomic v1.11.0 go: downloading github.com/sourcegraph/conc v0.3.0 go: downloading github.com/subosito/gotenv v1.6.0 go: downloading github.com/pelletier/go-toml/v2 v2.2.3 go: downloading github.com/jinzhu/inflection v1.0.0 go: downloading github.com/jackc/pgpassfile v1.0.0 go: downloading github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 go: downloading golang.org/x/crypto v0.38.0 go: downloading github.com/golang/protobuf v1.5.4 go: downloading github.com/google/gnostic-models v0.6.9 go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 go: downloading golang.org/x/net v0.40.0 go: downloading sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 go: downloading gopkg.in/inf.v0 v0.9.1 go: downloading github.com/itchyny/gojq v0.12.16 go: downloading github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b go: downloading github.com/go-logr/logr v1.4.2 go: downloading github.com/json-iterator/go v1.1.12 go: downloading cel.dev/expr v0.23.1 go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20250414145226-207652e42e2e go: downloading google.golang.org/protobuf v1.36.6 go: downloading github.com/cloudevents/sdk-go/v2 v2.15.2 go: downloading github.com/hashicorp/golang-lru v1.0.2 go: downloading github.com/blendle/zapdriver v1.3.1 go: downloading github.com/hashicorp/go-multierror v1.1.1 go: downloading golang.org/x/time v0.11.0 go: downloading gopkg.in/evanphx/json-patch.v4 v4.12.0 go: downloading github.com/letsencrypt/boulder v0.0.0-20240620165639-de9c06129bec go: downloading github.com/secure-systems-lab/go-securesystemslib v0.9.0 go: downloading github.com/sigstore/protobuf-specs v0.4.1 go: downloading github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 go: downloading github.com/go-openapi/jsonreference v0.21.0 go: downloading github.com/go-openapi/swag v0.23.0 go: downloading github.com/emicklei/go-restful/v3 v3.12.1 go: downloading github.com/jackc/puddle/v2 v2.2.1 go: downloading github.com/opencontainers/go-digest v1.0.0 go: downloading github.com/containerd/stargz-snapshotter/estargz v0.16.3 go: downloading github.com/fxamacker/cbor/v2 v2.7.0 go: downloading github.com/stoewer/go-strcase v1.3.0 go: downloading github.com/antlr4-go/antlr/v4 v4.13.0 go: downloading contrib.go.opencensus.io/exporter/ocagent v0.7.1-0.20200907061046-05415f1de66d go: downloading contrib.go.opencensus.io/exporter/prometheus v0.4.2 go: downloading google.golang.org/grpc v1.72.1 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd go: downloading github.com/modern-go/reflect2 v1.0.2 go: downloading github.com/itchyny/timefmt-go v0.1.6 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20250428153025-10db94c68c34 go: downloading github.com/evanphx/json-patch/v5 v5.9.11 go: downloading gomodules.xyz/jsonpatch/v2 v2.5.0 go: downloading github.com/hashicorp/errwrap v1.1.0 go: downloading github.com/docker/cli v27.5.0+incompatible go: downloading github.com/kelseyhightower/envconfig v1.4.0 go: downloading github.com/pkg/errors v0.9.1 go: downloading github.com/go-openapi/jsonpointer v0.21.0 go: downloading github.com/opencontainers/image-spec v1.1.0 go: downloading github.com/docker/distribution v2.8.3+incompatible go: downloading github.com/klauspost/compress v1.18.0 go: downloading github.com/mailru/easyjson v0.9.0 go: downloading github.com/vbatts/tar-split v0.11.6 go: downloading golang.org/x/mod v0.25.0 go: downloading github.com/x448/float16 v0.8.4 go: downloading github.com/titanous/rocacheck v0.0.0-20171023193734-afe73141d399 go: downloading github.com/census-instrumentation/opencensus-proto v0.4.1 go: downloading google.golang.org/api v0.229.0 go: downloading github.com/openzipkin/zipkin-go v0.4.3 go: downloading github.com/prometheus/client_golang v1.20.5 go: downloading github.com/prometheus/statsd_exporter v0.22.7 go: downloading golang.org/x/exp v0.0.0-20250210185358-939b2ce775ac go: downloading github.com/go-jose/go-jose/v4 v4.0.5 go: downloading github.com/josharian/intern v1.0.0 go: downloading github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.1 go: downloading github.com/go-kit/log v0.2.1 go: downloading gopkg.in/yaml.v2 v2.4.0 go: downloading github.com/beorn7/perks v1.0.1 go: downloading github.com/cespare/xxhash/v2 v2.3.0 go: downloading github.com/prometheus/client_model v0.6.1 go: downloading github.com/prometheus/common v0.62.0 go: downloading github.com/prometheus/procfs v0.15.1 go: downloading github.com/go-logfmt/logfmt v0.6.0 go: downloading github.com/docker/docker-credential-helpers v0.8.2 go: downloading github.com/sirupsen/logrus v1.9.3 gen/admin/client.go gen/admin/endpoints.go gen/admin/service.go gen/catalog/client.go gen/catalog/endpoints.go gen/catalog/service.go gen/catalog/views/view.go gen/category/client.go gen/category/endpoints.go gen/category/service.go gen/http/admin/client/cli.go gen/http/admin/client/client.go gen/http/admin/client/encode_decode.go gen/http/admin/client/paths.go gen/http/admin/client/types.go gen/http/admin/server/encode_decode.go gen/http/admin/server/paths.go gen/http/admin/server/server.go gen/http/admin/server/types.go gen/http/catalog/client/cli.go gen/http/catalog/client/client.go gen/http/catalog/client/encode_decode.go gen/http/catalog/client/paths.go gen/http/catalog/client/types.go gen/http/catalog/server/encode_decode.go gen/http/catalog/server/paths.go gen/http/catalog/server/server.go gen/http/catalog/server/types.go gen/http/category/client/cli.go gen/http/category/client/client.go gen/http/category/client/encode_decode.go gen/http/category/client/paths.go gen/http/category/client/types.go gen/http/category/server/encode_decode.go gen/http/category/server/paths.go gen/http/category/server/server.go gen/http/category/server/types.go gen/http/cli/hub/cli.go gen/http/openapi.json gen/http/openapi.yaml gen/http/openapi3.json gen/http/openapi3.yaml gen/http/rating/client/cli.go gen/http/rating/client/client.go gen/http/rating/client/encode_decode.go gen/http/rating/client/paths.go gen/http/rating/client/types.go gen/http/rating/server/encode_decode.go gen/http/rating/server/paths.go gen/http/rating/server/server.go gen/http/rating/server/types.go gen/http/resource/client/cli.go gen/http/resource/client/client.go gen/http/resource/client/encode_decode.go gen/http/resource/client/paths.go gen/http/resource/client/types.go gen/http/resource/server/encode_decode.go gen/http/resource/server/paths.go gen/http/resource/server/server.go gen/http/resource/server/types.go gen/http/status/client/cli.go gen/http/status/client/client.go gen/http/status/client/encode_decode.go gen/http/status/client/paths.go gen/http/status/client/types.go gen/http/status/server/encode_decode.go gen/http/status/server/paths.go gen/http/status/server/server.go gen/http/status/server/types.go gen/http/swagger/client/client.go gen/http/swagger/client/encode_decode.go gen/http/swagger/client/paths.go gen/http/swagger/client/types.go gen/http/swagger/server/paths.go gen/http/swagger/server/server.go gen/http/swagger/server/types.go gen/rating/client.go gen/rating/endpoints.go gen/rating/service.go gen/resource/client.go gen/resource/endpoints.go gen/resource/service.go gen/resource/views/view.go gen/status/client.go gen/status/endpoints.go gen/status/service.go gen/swagger/client.go gen/swagger/endpoints.go gen/swagger/service.go ---------------------------- - Generating v1 API Design... ---------------------------- cd api/v1 && go mod vendor && goa gen github.com/tektoncd/hub/api/v1/design gen/catalog/client.go gen/catalog/endpoints.go gen/catalog/service.go gen/catalog/views/view.go gen/http/catalog/client/cli.go gen/http/catalog/client/client.go gen/http/catalog/client/encode_decode.go gen/http/catalog/client/paths.go gen/http/catalog/client/types.go gen/http/catalog/server/encode_decode.go gen/http/catalog/server/paths.go gen/http/catalog/server/server.go gen/http/catalog/server/types.go gen/http/cli/hub/cli.go gen/http/openapi.json gen/http/openapi.yaml gen/http/openapi3.json gen/http/openapi3.yaml gen/http/resource/client/cli.go gen/http/resource/client/client.go gen/http/resource/client/encode_decode.go gen/http/resource/client/paths.go gen/http/resource/client/types.go gen/http/resource/server/encode_decode.go gen/http/resource/server/paths.go gen/http/resource/server/server.go gen/http/resource/server/types.go gen/http/swagger/client/client.go gen/http/swagger/client/encode_decode.go gen/http/swagger/client/paths.go gen/http/swagger/client/types.go gen/http/swagger/server/paths.go gen/http/swagger/server/server.go gen/http/swagger/server/types.go gen/resource/client.go gen/resource/endpoints.go gen/resource/service.go gen/resource/views/view.go gen/swagger/client.go gen/swagger/endpoints.go gen/swagger/service.go Git repo is clean. INFO: Installing postgres 🛢🛢🛢 Reading package lists... Building dependency tree... Reading state information... wget is already the newest version (1.21.4-1ubuntu4.1). ca-certificates is already the newest version (20240203). 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). OK Get:1 http://apt.postgresql.org/pub/repos/apt noble-pgdg InRelease [129 kB] Get:2 https://download.docker.com/linux/ubuntu noble InRelease [48.8 kB] Get:3 http://apt.postgresql.org/pub/repos/apt noble-pgdg/main amd64 Packages [536 kB] Get:4 https://download.docker.com/linux/ubuntu noble/stable amd64 Packages [31.8 kB] Hit:5 http://archive.ubuntu.com/ubuntu noble InRelease Get:6 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB] Get:7 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB] Get:8 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1469 kB] Get:9 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [1594 kB] Get:10 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1417 kB] Get:11 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [27.2 kB] Get:12 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Packages [48.0 kB] Get:13 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [31.8 kB] Get:14 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB] Get:15 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [22.1 kB] Get:16 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1110 kB] Get:17 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1146 kB] Get:18 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [1536 kB] Fetched 9526 kB in 4s (2245 kB/s) Reading package lists... W: http://apt.postgresql.org/pub/repos/apt/dists/noble-pgdg/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: libc-bin libc-dev-bin libc6 libc6-dev libcommon-sense-perl libio-pty-perl libipc-run-perl libjson-perl libjson-xs-perl libllvm19 libpq5 libsensors-config libsensors5 libtypes-serialiser-perl libxslt1.1 locales logrotate postgresql-client-15 postgresql-client-common postgresql-common postgresql-common-dev ssl-cert sysstat Suggested packages: manpages glibc-doc libnss-nis libnss-nisplus manpages-dev lm-sensors bsd-mailx | mailx postgresql-doc-15 isag Recommended packages: manpages manpages-dev libc-devtools The following NEW packages will be installed: libcommon-sense-perl libio-pty-perl libipc-run-perl libjson-perl libjson-xs-perl libllvm19 libpq5 libsensors-config libsensors5 libtypes-serialiser-perl libxslt1.1 locales logrotate postgresql-15 postgresql-client-15 postgresql-client-common postgresql-common postgresql-common-dev ssl-cert sysstat The following packages will be upgraded: libc-bin libc-dev-bin libc6 libc6-dev 4 upgraded, 20 newly installed, 0 to remove and 123 not upgraded. Need to get 57.5 MB of archives. After this operation, 212 MB of additional disk space will be used. Get:1 http://apt.postgresql.org/pub/repos/apt noble-pgdg/main amd64 postgresql-client-common all 278.pgdg24.04+1 [47.1 kB] Get:2 http://apt.postgresql.org/pub/repos/apt noble-pgdg/main amd64 postgresql-common-dev all 278.pgdg24.04+1 [72.4 kB] Get:3 http://apt.postgresql.org/pub/repos/apt noble-pgdg/main amd64 postgresql-common all 278.pgdg24.04+1 [112 kB] Get:4 http://apt.postgresql.org/pub/repos/apt noble-pgdg/main amd64 libpq5 amd64 17.5-1.pgdg24.04+1 [226 kB] Get:5 http://apt.postgresql.org/pub/repos/apt noble-pgdg/main amd64 postgresql-client-15 amd64 15.13-1.pgdg24.04+1 [1714 kB] Get:6 http://apt.postgresql.org/pub/repos/apt noble-pgdg/main amd64 postgresql-15 amd64 15.13-1.pgdg24.04+1 [15.2 MB] Get:7 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libc6-dev amd64 2.39-0ubuntu8.4 [2124 kB] Get:8 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libc-dev-bin amd64 2.39-0ubuntu8.4 [20.4 kB] Get:9 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libc6 amd64 2.39-0ubuntu8.4 [3264 kB] Get:10 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libc-bin amd64 2.39-0ubuntu8.4 [682 kB] Get:11 http://archive.ubuntu.com/ubuntu noble/main amd64 libjson-perl all 4.10000-1 [81.9 kB] Get:12 http://archive.ubuntu.com/ubuntu noble/main amd64 libio-pty-perl amd64 1:1.20-1build2 [31.2 kB] Get:13 http://archive.ubuntu.com/ubuntu noble/main amd64 libipc-run-perl all 20231003.0-1 [92.1 kB] Get:14 http://archive.ubuntu.com/ubuntu noble/main amd64 ssl-cert all 1.1.2ubuntu1 [17.8 kB] Get:15 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 locales all 2.39-0ubuntu8.4 [4229 kB] Get:16 http://archive.ubuntu.com/ubuntu noble/main amd64 logrotate amd64 3.21.0-2build1 [52.2 kB] Get:17 http://archive.ubuntu.com/ubuntu noble/main amd64 libsensors-config all 1:3.6.0-9build1 [5546 B] Get:18 http://archive.ubuntu.com/ubuntu noble/main amd64 libsensors5 amd64 1:3.6.0-9build1 [26.6 kB] Get:19 http://archive.ubuntu.com/ubuntu noble/main amd64 sysstat amd64 12.6.1-2 [489 kB] Get:20 http://archive.ubuntu.com/ubuntu noble/main amd64 libcommon-sense-perl amd64 3.75-3build3 [20.4 kB] Get:21 http://archive.ubuntu.com/ubuntu noble/main amd64 libtypes-serialiser-perl all 1.01-1 [11.6 kB] Get:22 http://archive.ubuntu.com/ubuntu noble/main amd64 libjson-xs-perl amd64 4.030-2build3 [83.6 kB] Get:23 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libllvm19 amd64 1:19.1.1-1ubuntu1~24.04.2 [28.7 MB] Get:24 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libxslt1.1 amd64 1.1.39-0exp1ubuntu0.24.04.2 [167 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 57.5 MB in 2s (24.2 MB/s) (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 23213 files and directories currently installed.) Preparing to unpack .../libc6-dev_2.39-0ubuntu8.4_amd64.deb ... Unpacking libc6-dev:amd64 (2.39-0ubuntu8.4) over (2.39-0ubuntu8.3) ... Preparing to unpack .../libc-dev-bin_2.39-0ubuntu8.4_amd64.deb ... Unpacking libc-dev-bin (2.39-0ubuntu8.4) over (2.39-0ubuntu8.3) ... Preparing to unpack .../libc6_2.39-0ubuntu8.4_amd64.deb ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 79.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype Unpacking libc6:amd64 (2.39-0ubuntu8.4) over (2.39-0ubuntu8.3) ... Setting up libc6:amd64 (2.39-0ubuntu8.4) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 79.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 23210 files and directories currently installed.) Preparing to unpack .../libc-bin_2.39-0ubuntu8.4_amd64.deb ... Unpacking libc-bin (2.39-0ubuntu8.4) over (2.39-0ubuntu8.3) ... Setting up libc-bin (2.39-0ubuntu8.4) ... Selecting previously unselected package libjson-perl. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 23209 files and directories currently installed.) Preparing to unpack .../00-libjson-perl_4.10000-1_all.deb ... Unpacking libjson-perl (4.10000-1) ... Selecting previously unselected package postgresql-client-common. Preparing to unpack .../01-postgresql-client-common_278.pgdg24.04+1_all.deb ... Unpacking postgresql-client-common (278.pgdg24.04+1) ... Selecting previously unselected package libio-pty-perl. Preparing to unpack .../02-libio-pty-perl_1%3a1.20-1build2_amd64.deb ... Unpacking libio-pty-perl (1:1.20-1build2) ... Selecting previously unselected package libipc-run-perl. Preparing to unpack .../03-libipc-run-perl_20231003.0-1_all.deb ... Unpacking libipc-run-perl (20231003.0-1) ... Selecting previously unselected package postgresql-common-dev. Preparing to unpack .../04-postgresql-common-dev_278.pgdg24.04+1_all.deb ... Unpacking postgresql-common-dev (278.pgdg24.04+1) ... Selecting previously unselected package ssl-cert. Preparing to unpack .../05-ssl-cert_1.1.2ubuntu1_all.deb ... Unpacking ssl-cert (1.1.2ubuntu1) ... Selecting previously unselected package postgresql-common. Preparing to unpack .../06-postgresql-common_278.pgdg24.04+1_all.deb ... Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common' Unpacking postgresql-common (278.pgdg24.04+1) ... Selecting previously unselected package locales. Preparing to unpack .../07-locales_2.39-0ubuntu8.4_all.deb ... Unpacking locales (2.39-0ubuntu8.4) ... Selecting previously unselected package logrotate. Preparing to unpack .../08-logrotate_3.21.0-2build1_amd64.deb ... Unpacking logrotate (3.21.0-2build1) ... Selecting previously unselected package libsensors-config. Preparing to unpack .../09-libsensors-config_1%3a3.6.0-9build1_all.deb ... Unpacking libsensors-config (1:3.6.0-9build1) ... Selecting previously unselected package libsensors5:amd64. Preparing to unpack .../10-libsensors5_1%3a3.6.0-9build1_amd64.deb ... Unpacking libsensors5:amd64 (1:3.6.0-9build1) ... Selecting previously unselected package sysstat. Preparing to unpack .../11-sysstat_12.6.1-2_amd64.deb ... Unpacking sysstat (12.6.1-2) ... Selecting previously unselected package libcommon-sense-perl:amd64. Preparing to unpack .../12-libcommon-sense-perl_3.75-3build3_amd64.deb ... Unpacking libcommon-sense-perl:amd64 (3.75-3build3) ... Selecting previously unselected package libtypes-serialiser-perl. Preparing to unpack .../13-libtypes-serialiser-perl_1.01-1_all.deb ... Unpacking libtypes-serialiser-perl (1.01-1) ... Selecting previously unselected package libjson-xs-perl. Preparing to unpack .../14-libjson-xs-perl_4.030-2build3_amd64.deb ... Unpacking libjson-xs-perl (4.030-2build3) ... Selecting previously unselected package libllvm19:amd64. Preparing to unpack .../15-libllvm19_1%3a19.1.1-1ubuntu1~24.04.2_amd64.deb ... Unpacking libllvm19:amd64 (1:19.1.1-1ubuntu1~24.04.2) ... Selecting previously unselected package libpq5:amd64. Preparing to unpack .../16-libpq5_17.5-1.pgdg24.04+1_amd64.deb ... Unpacking libpq5:amd64 (17.5-1.pgdg24.04+1) ... Selecting previously unselected package libxslt1.1:amd64. Preparing to unpack .../17-libxslt1.1_1.1.39-0exp1ubuntu0.24.04.2_amd64.deb ... Unpacking libxslt1.1:amd64 (1.1.39-0exp1ubuntu0.24.04.2) ... Selecting previously unselected package postgresql-client-15. Preparing to unpack .../18-postgresql-client-15_15.13-1.pgdg24.04+1_amd64.deb ... Unpacking postgresql-client-15 (15.13-1.pgdg24.04+1) ... Selecting previously unselected package postgresql-15. Preparing to unpack .../19-postgresql-15_15.13-1.pgdg24.04+1_amd64.deb ... Unpacking postgresql-15 (15.13-1.pgdg24.04+1) ... Setting up logrotate (3.21.0-2build1) ... Created symlink /etc/systemd/system/timers.target.wants/logrotate.timer → /usr/lib/systemd/system/logrotate.timer. Setting up postgresql-client-common (278.pgdg24.04+1) ... Setting up libllvm19:amd64 (1:19.1.1-1ubuntu1~24.04.2) ... Setting up libio-pty-perl (1:1.20-1build2) ... Setting up libsensors-config (1:3.6.0-9build1) ... Setting up libpq5:amd64 (17.5-1.pgdg24.04+1) ... Setting up libcommon-sense-perl:amd64 (3.75-3build3) ... Setting up postgresql-client-15 (15.13-1.pgdg24.04+1) ... update-alternatives: using /usr/share/postgresql/15/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode Setting up locales (2.39-0ubuntu8.4) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 79.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype Generating locales (this might take a while)... Generation complete. Setting up ssl-cert (1.1.2ubuntu1) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 79.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype Created symlink /etc/systemd/system/multi-user.target.wants/ssl-cert.service → /usr/lib/systemd/system/ssl-cert.service. Setting up libipc-run-perl (20231003.0-1) ... Setting up libsensors5:amd64 (1:3.6.0-9build1) ... Setting up libtypes-serialiser-perl (1.01-1) ... Setting up libjson-perl (4.10000-1) ... Setting up libxslt1.1:amd64 (1.1.39-0exp1ubuntu0.24.04.2) ... Setting up libc-dev-bin (2.39-0ubuntu8.4) ... Setting up sysstat (12.6.1-2) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 79.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype Creating config file /etc/default/sysstat with new version update-alternatives: using /usr/bin/sar.sysstat to provide /usr/bin/sar (sar) in auto mode update-alternatives: warning: skip creation of /usr/share/man/man1/sar.1.gz because associated file /usr/share/man/man1/sar.sysstat.1.gz (of link group sar) doesn't exist Created symlink /etc/systemd/system/sysstat.service.wants/sysstat-collect.timer → /usr/lib/systemd/system/sysstat-collect.timer. Created symlink /etc/systemd/system/sysstat.service.wants/sysstat-summary.timer → /usr/lib/systemd/system/sysstat-summary.timer. Created symlink /etc/systemd/system/multi-user.target.wants/sysstat.service → /usr/lib/systemd/system/sysstat.service. Setting up postgresql-common-dev (278.pgdg24.04+1) ... Setting up libjson-xs-perl (4.030-2build3) ... Setting up postgresql-common (278.pgdg24.04+1) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 79.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype Creating config file /etc/postgresql-common/createcluster.conf with new version Building PostgreSQL dictionaries from installed myspell/hunspell packages... Removing obsolete dictionary files: invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Created symlink /etc/systemd/system/multi-user.target.wants/postgresql.service → /usr/lib/systemd/system/postgresql.service. Setting up libc6-dev:amd64 (2.39-0ubuntu8.4) ... Setting up postgresql-15 (15.13-1.pgdg24.04+1) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 79.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype Creating new PostgreSQL cluster 15/main ... /usr/lib/postgresql/15/bin/initdb -D /var/lib/postgresql/15/main --auth-local peer --auth-host scram-sha-256 --no-instructions The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with locale "C.UTF-8". The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english". Data page checksums are disabled. fixing permissions on existing directory /var/lib/postgresql/15/main ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... UTC creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok syncing data to disk ... ok invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Processing triggers for libc-bin (2.39-0ubuntu8.4) ... * Starting PostgreSQL 15 database server ...done. Cluster is already running. ALTER ROLE /home/prow/go/src/github.com/tektoncd/hub INFO: Create test db - hub_test CREATE DATABASE ---------------------------- -- Running API Unit Tests -- ---------------------------- 🛢 🛢 🛢 Make sure you have your Database Up and Running 🛢 🛢 🛢 ---------------------------- cd api && go mod vendor && go test -p 1 -v ./pkg/... ./v1/service/... === RUN TestComputeDuration --- PASS: TestComputeDuration (0.00s) === RUN TestComputeDurationError --- PASS: TestComputeDurationError (0.00s) PASS ok github.com/tektoncd/hub/api/pkg/app 0.008s ? github.com/tektoncd/hub/api/pkg/auth [no test files] ? github.com/tektoncd/hub/api/pkg/auth/app [no test files] ? github.com/tektoncd/hub/api/pkg/auth/provider [no test files] === RUN TestLogin 2025-06-25T06:01:40.554Z INFO app/app.go:314 in "test" mode {"app": "hub"} 2025-06-25T06:01:40.567Z INFO app/app.go:328 Successfully connected to [database=hub_test user=postgres host=localhost:5432] {"app": "hub"} 2025-06-25T06:01:40.572Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/vendor/github.com/go-gormigrate/gormigrate/v2/gormigrate.go:401 [4.716ms] [rows:1] SELECT count(*) FROM information_schema.tables WHERE table_schema = CURRENT_SCHEMA() AND table_name = 'migrations' AND table_type = 'BASE TABLE' 2025-06-25T06:01:40.573Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/vendor/github.com/go-gormigrate/gormigrate/v2/gormigrate.go:404 [0.760ms] [rows:1] SELECT count(*) FROM information_schema.tables WHERE table_schema = CURRENT_SCHEMA() AND table_name = 'migrations' AND table_type = 'BASE TABLE' 2025-06-25T06:01:40.601Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/vendor/github.com/go-gormigrate/gormigrate/v2/gormigrate.go:404 [28.176ms] [rows:0] CREATE TABLE "migrations" ("id" varchar(255),PRIMARY KEY ("id")) 2025-06-25T06:01:40.603Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/vendor/github.com/go-gormigrate/gormigrate/v2/gormigrate.go:412 [1.127ms] [rows:1] SELECT count(*) FROM "migrations" WHERE id = 'SCHEMA_INIT' 2025-06-25T06:01:40.603Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/vendor/github.com/go-gormigrate/gormigrate/v2/gormigrate.go:432 [0.521ms] [rows:1] SELECT count(*) FROM "migrations" 2025-06-25T06:01:40.609Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [0.889ms] [rows:1] SELECT count(*) FROM information_schema.tables WHERE table_schema = CURRENT_SCHEMA() AND table_name = 'categories' AND table_type = 'BASE TABLE' 2025-06-25T06:01:40.620Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [10.527ms] [rows:0] CREATE TABLE "categories" ("id" bigserial,"created_at" timestamptz,"updated_at" timestamptz,"deleted_at" timestamptz,"name" text NOT NULL,PRIMARY KEY ("id"),CONSTRAINT "uni_categories_name" UNIQUE ("name")) 2025-06-25T06:01:40.623Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [3.336ms] [rows:0] CREATE INDEX IF NOT EXISTS "idx_categories_deleted_at" ON "categories" ("deleted_at") 2025-06-25T06:01:40.624Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [0.977ms] [rows:1] SELECT count(*) FROM information_schema.tables WHERE table_schema = CURRENT_SCHEMA() AND table_name = 'catalogs' AND table_type = 'BASE TABLE' 2025-06-25T06:01:40.634Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [7.413ms] [rows:0] CREATE TABLE "catalogs" ("id" bigserial,"created_at" timestamptz,"updated_at" timestamptz,"deleted_at" timestamptz,"name" text,"org" text,"provider" text NOT NULL DEFAULT 'github',"type" text NOT NULL DEFAULT null,"url" text NOT NULL DEFAULT null,"ssh_url" text,"revision" text NOT NULL DEFAULT null,"context_dir" text,"sha" text,PRIMARY KEY ("id")) 2025-06-25T06:01:40.637Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [3.450ms] [rows:0] CREATE UNIQUE INDEX IF NOT EXISTS "uix_name_org" ON "catalogs" ("name","org") 2025-06-25T06:01:40.641Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [3.530ms] [rows:0] CREATE INDEX IF NOT EXISTS "idx_catalogs_deleted_at" ON "catalogs" ("deleted_at") 2025-06-25T06:01:40.642Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [0.981ms] [rows:1] SELECT count(*) FROM information_schema.tables WHERE table_schema = CURRENT_SCHEMA() AND table_name = 'resources' AND table_type = 'BASE TABLE' 2025-06-25T06:01:40.649Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [6.859ms] [rows:0] CREATE TABLE "resources" ("id" bigserial,"created_at" timestamptz,"updated_at" timestamptz,"deleted_at" timestamptz,"name" text NOT NULL DEFAULT null,"kind" text NOT NULL DEFAULT null,"rating" decimal,"catalog_id" bigint,PRIMARY KEY ("id"),CONSTRAINT "fk_catalogs_resources" FOREIGN KEY ("catalog_id") REFERENCES "catalogs"("id")) 2025-06-25T06:01:40.653Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [3.184ms] [rows:0] CREATE INDEX IF NOT EXISTS "idx_resources_deleted_at" ON "resources" ("deleted_at") 2025-06-25T06:01:40.654Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [0.922ms] [rows:1] SELECT count(*) FROM information_schema.tables WHERE table_schema = CURRENT_SCHEMA() AND table_name = 'resource_categories' AND table_type = 'BASE TABLE' 2025-06-25T06:01:40.659Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [4.829ms] [rows:0] CREATE TABLE "resource_categories" ("resource_id" bigint,"category_id" bigint,PRIMARY KEY ("resource_id","category_id"),CONSTRAINT "fk_resource_categories_category" FOREIGN KEY ("category_id") REFERENCES "categories"("id") ON DELETE CASCADE,CONSTRAINT "fk_resource_categories_resource" FOREIGN KEY ("resource_id") REFERENCES "resources"("id") ON DELETE CASCADE) 2025-06-25T06:01:40.659Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [0.375ms] [rows:1] SELECT count(*) FROM information_schema.tables WHERE table_schema = CURRENT_SCHEMA() AND table_name = 'tags' AND table_type = 'BASE TABLE' 2025-06-25T06:01:40.670Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [10.294ms] [rows:0] CREATE TABLE "tags" ("id" bigserial,"created_at" timestamptz,"updated_at" timestamptz,"deleted_at" timestamptz,"name" text NOT NULL,PRIMARY KEY ("id"),CONSTRAINT "uni_tags_name" UNIQUE ("name")) 2025-06-25T06:01:40.673Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [3.142ms] [rows:0] CREATE INDEX IF NOT EXISTS "idx_tags_deleted_at" ON "tags" ("deleted_at") 2025-06-25T06:01:40.674Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [0.446ms] [rows:1] SELECT count(*) FROM information_schema.tables WHERE table_schema = CURRENT_SCHEMA() AND table_name = 'resource_tags' AND table_type = 'BASE TABLE' 2025-06-25T06:01:40.679Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [4.897ms] [rows:0] CREATE TABLE "resource_tags" ("resource_id" bigint,"tag_id" bigint,PRIMARY KEY ("resource_id","tag_id"),CONSTRAINT "fk_resource_tags_resource" FOREIGN KEY ("resource_id") REFERENCES "resources"("id") ON DELETE CASCADE,CONSTRAINT "fk_resource_tags_tag" FOREIGN KEY ("tag_id") REFERENCES "tags"("id") ON DELETE CASCADE) 2025-06-25T06:01:40.679Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [0.334ms] [rows:1] SELECT count(*) FROM information_schema.tables WHERE table_schema = CURRENT_SCHEMA() AND table_name = 'catalog_errors' AND table_type = 'BASE TABLE' 2025-06-25T06:01:40.688Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [8.435ms] [rows:0] CREATE TABLE "catalog_errors" ("id" bigserial,"created_at" timestamptz,"updated_at" timestamptz,"deleted_at" timestamptz,"catalog_id" bigint,"type" text,"detail" text,PRIMARY KEY ("id"),CONSTRAINT "fk_catalogs_errors" FOREIGN KEY ("catalog_id") REFERENCES "catalogs"("id")) 2025-06-25T06:01:40.691Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [3.133ms] [rows:0] CREATE INDEX IF NOT EXISTS "idx_catalog_errors_deleted_at" ON "catalog_errors" ("deleted_at") 2025-06-25T06:01:40.692Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [0.341ms] [rows:1] SELECT count(*) FROM information_schema.tables WHERE table_schema = CURRENT_SCHEMA() AND table_name = 'resource_platforms' AND table_type = 'BASE TABLE' 2025-06-25T06:01:40.693Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [1.048ms] [rows:0] CREATE TABLE "resource_platforms" ("resource_id" bigint,"platform_id" bigint) 2025-06-25T06:01:40.693Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [0.265ms] [rows:1] SELECT count(*) FROM information_schema.tables WHERE table_schema = CURRENT_SCHEMA() AND table_name = 'resource_versions' AND table_type = 'BASE TABLE' 2025-06-25T06:01:40.700Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [6.859ms] [rows:0] CREATE TABLE "resource_versions" ("id" bigserial,"created_at" timestamptz,"updated_at" timestamptz,"deleted_at" timestamptz,"version" text NOT NULL DEFAULT null,"description" text,"url" text NOT NULL DEFAULT null,"display_name" text,"deprecated" boolean DEFAULT false,"min_pipelines_version" text NOT NULL DEFAULT null,"resource_id" bigint,"modified_at" timestamptz,PRIMARY KEY ("id"),CONSTRAINT "fk_resources_versions" FOREIGN KEY ("resource_id") REFERENCES "resources"("id") ON DELETE CASCADE) 2025-06-25T06:01:40.704Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [3.095ms] [rows:0] CREATE INDEX IF NOT EXISTS "idx_resource_versions_deleted_at" ON "resource_versions" ("deleted_at") 2025-06-25T06:01:40.704Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [0.319ms] [rows:1] SELECT count(*) FROM information_schema.tables WHERE table_schema = CURRENT_SCHEMA() AND table_name = 'version_platforms' AND table_type = 'BASE TABLE' 2025-06-25T06:01:40.705Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [1.079ms] [rows:0] CREATE TABLE "version_platforms" ("resource_version_id" bigint,"platform_id" bigint) 2025-06-25T06:01:40.706Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [0.259ms] [rows:1] SELECT count(*) FROM information_schema.tables WHERE table_schema = CURRENT_SCHEMA() AND table_name = 'users' AND table_type = 'BASE TABLE' 2025-06-25T06:01:40.712Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [6.500ms] [rows:0] CREATE TABLE "users" ("id" bigserial,"created_at" timestamptz,"updated_at" timestamptz,"deleted_at" timestamptz,"email" text,"type" text,"agent_name" text,"refresh_token_checksum" text,"code" text,PRIMARY KEY ("id")) 2025-06-25T06:01:40.716Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [3.149ms] [rows:0] CREATE INDEX IF NOT EXISTS "idx_users_deleted_at" ON "users" ("deleted_at") 2025-06-25T06:01:40.716Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [0.344ms] [rows:1] SELECT count(*) FROM information_schema.tables WHERE table_schema = CURRENT_SCHEMA() AND table_name = 'scopes' AND table_type = 'BASE TABLE' 2025-06-25T06:01:40.725Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [8.693ms] [rows:0] CREATE TABLE "scopes" ("id" bigserial,"created_at" timestamptz,"updated_at" timestamptz,"deleted_at" timestamptz,"name" text NOT NULL,PRIMARY KEY ("id"),CONSTRAINT "uni_scopes_name" UNIQUE ("name")) 2025-06-25T06:01:40.728Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [3.106ms] [rows:0] CREATE INDEX IF NOT EXISTS "idx_scopes_deleted_at" ON "scopes" ("deleted_at") 2025-06-25T06:01:40.729Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [0.309ms] [rows:1] SELECT count(*) FROM information_schema.tables WHERE table_schema = CURRENT_SCHEMA() AND table_name = 'user_scopes' AND table_type = 'BASE TABLE' 2025-06-25T06:01:40.754Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [24.752ms] [rows:0] CREATE TABLE "user_scopes" ("user_id" bigint,"scope_id" bigint,PRIMARY KEY ("user_id","scope_id"),CONSTRAINT "fk_user_scopes_scope" FOREIGN KEY ("scope_id") REFERENCES "scopes"("id"),CONSTRAINT "fk_user_scopes_user" FOREIGN KEY ("user_id") REFERENCES "users"("id")) 2025-06-25T06:01:40.754Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [0.383ms] [rows:1] SELECT count(*) FROM information_schema.tables WHERE table_schema = CURRENT_SCHEMA() AND table_name = 'user_resource_ratings' AND table_type = 'BASE TABLE' 2025-06-25T06:01:40.760Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [5.635ms] [rows:0] CREATE TABLE "user_resource_ratings" ("id" bigserial,"created_at" timestamptz,"updated_at" timestamptz,"deleted_at" timestamptz,"user_id" bigint,"resource_id" bigint,"rating" bigint NOT NULL DEFAULT null,PRIMARY KEY ("id"),CONSTRAINT "fk_user_resource_ratings_user" FOREIGN KEY ("user_id") REFERENCES "users"("id"),CONSTRAINT "fk_user_resource_ratings_resource" FOREIGN KEY ("resource_id") REFERENCES "resources"("id") ON DELETE CASCADE) 2025-06-25T06:01:40.764Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [3.365ms] [rows:0] CREATE INDEX IF NOT EXISTS "idx_user_resource_ratings_deleted_at" ON "user_resource_ratings" ("deleted_at") 2025-06-25T06:01:40.764Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [0.358ms] [rows:1] SELECT count(*) FROM information_schema.tables WHERE table_schema = CURRENT_SCHEMA() AND table_name = 'sync_jobs' AND table_type = 'BASE TABLE' 2025-06-25T06:01:40.773Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [8.841ms] [rows:0] CREATE TABLE "sync_jobs" ("id" bigserial,"created_at" timestamptz,"updated_at" timestamptz,"deleted_at" timestamptz,"catalog_id" bigint,"status" text,"user_id" bigint,PRIMARY KEY ("id"),CONSTRAINT "fk_sync_jobs_catalog" FOREIGN KEY ("catalog_id") REFERENCES "catalogs"("id"),CONSTRAINT "fk_sync_jobs_user" FOREIGN KEY ("user_id") REFERENCES "users"("id")) 2025-06-25T06:01:40.777Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [3.563ms] [rows:0] CREATE INDEX IF NOT EXISTS "idx_sync_jobs_deleted_at" ON "sync_jobs" ("deleted_at") 2025-06-25T06:01:40.777Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [0.369ms] [rows:1] SELECT count(*) FROM information_schema.tables WHERE table_schema = CURRENT_SCHEMA() AND table_name = 'configs' AND table_type = 'BASE TABLE' 2025-06-25T06:01:40.785Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [7.328ms] [rows:0] CREATE TABLE "configs" ("id" bigserial,"created_at" timestamptz,"updated_at" timestamptz,"deleted_at" timestamptz,"checksum" text,PRIMARY KEY ("id")) 2025-06-25T06:01:40.789Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [4.063ms] [rows:0] CREATE INDEX IF NOT EXISTS "idx_configs_deleted_at" ON "configs" ("deleted_at") 2025-06-25T06:01:40.790Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [0.459ms] [rows:1] SELECT count(*) FROM information_schema.tables WHERE table_schema = CURRENT_SCHEMA() AND table_name = 'platforms' AND table_type = 'BASE TABLE' 2025-06-25T06:01:40.799Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [9.221ms] [rows:0] CREATE TABLE "platforms" ("id" bigserial,"created_at" timestamptz,"updated_at" timestamptz,"deleted_at" timestamptz,"name" text NOT NULL,PRIMARY KEY ("id"),CONSTRAINT "uni_platforms_name" UNIQUE ("name")) 2025-06-25T06:01:40.803Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [3.223ms] [rows:0] CREATE INDEX IF NOT EXISTS "idx_platforms_deleted_at" ON "platforms" ("deleted_at") 2025-06-25T06:01:40.803Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [0.434ms] [rows:1] SELECT count(*) FROM information_schema.tables WHERE table_schema = CURRENT_SCHEMA() AND table_name = 'accounts' AND table_type = 'BASE TABLE' 2025-06-25T06:01:40.810Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [6.842ms] [rows:0] CREATE TABLE "accounts" ("id" bigserial,"created_at" timestamptz,"updated_at" timestamptz,"deleted_at" timestamptz,"user_id" bigint,"user_name" text,"name" text,"avatar_url" text,"provider" text,PRIMARY KEY ("id"),CONSTRAINT "fk_users_accounts" FOREIGN KEY ("user_id") REFERENCES "users"("id") ON DELETE CASCADE) 2025-06-25T06:01:40.813Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/db/migration/migration.go:52 [2.853ms] [rows:0] CREATE INDEX IF NOT EXISTS "idx_accounts_deleted_at" ON "accounts" ("deleted_at") 2025-06-25T06:01:40.815Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/vendor/github.com/go-gormigrate/gormigrate/v2/gormigrate.go:466 [1.824ms] [rows:1] INSERT INTO "migrations" ("id") VALUES ('SCHEMA_INIT') 2025-06-25T06:01:40.817Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/vendor/github.com/go-gormigrate/gormigrate/v2/gormigrate.go:466 [1.353ms] [rows:1] INSERT INTO "migrations" ("id") VALUES ('202010061403_rename_name_to_agent_name_in_user') 2025-06-25T06:01:40.818Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/vendor/github.com/go-gormigrate/gormigrate/v2/gormigrate.go:466 [1.251ms] [rows:1] INSERT INTO "migrations" ("id") VALUES ('202010071100_create_config_table') 2025-06-25T06:01:40.819Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/vendor/github.com/go-gormigrate/gormigrate/v2/gormigrate.go:466 [1.116ms] [rows:1] INSERT INTO "migrations" ("id") VALUES ('202010271300_add_refresh_token_checksum_col_in_user_table') 2025-06-25T06:01:40.821Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/vendor/github.com/go-gormigrate/gormigrate/v2/gormigrate.go:466 [1.245ms] [rows:1] INSERT INTO "migrations" ("id") VALUES ('202102171333_update_catalog_branch_to_main') 2025-06-25T06:01:40.822Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/vendor/github.com/go-gormigrate/gormigrate/v2/gormigrate.go:466 [1.100ms] [rows:1] INSERT INTO "migrations" ("id") VALUES ('202103161200_add_avatar_url_column_in_users_table') 2025-06-25T06:01:40.823Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/vendor/github.com/go-gormigrate/gormigrate/v2/gormigrate.go:466 [1.080ms] [rows:1] INSERT INTO "migrations" ("id") VALUES ('202107291608_refresh_all_tables') 2025-06-25T06:01:40.825Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/vendor/github.com/go-gormigrate/gormigrate/v2/gormigrate.go:466 [1.313ms] [rows:1] INSERT INTO "migrations" ("id") VALUES ('202110071100_update_resource_category_table') 2025-06-25T06:01:40.826Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/vendor/github.com/go-gormigrate/gormigrate/v2/gormigrate.go:466 [1.383ms] [rows:1] INSERT INTO "migrations" ("id") VALUES ('202106281500_create_platform_tables') 2025-06-25T06:01:40.828Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/vendor/github.com/go-gormigrate/gormigrate/v2/gormigrate.go:466 [1.346ms] [rows:1] INSERT INTO "migrations" ("id") VALUES ('202106282200_add_deprecated_col_in_resource_version_table') 2025-06-25T06:01:40.829Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/vendor/github.com/go-gormigrate/gormigrate/v2/gormigrate.go:466 [1.273ms] [rows:1] INSERT INTO "migrations" ("id") VALUES ('202109151102_add_provider_in_catalog_table') 2025-06-25T06:01:40.830Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/vendor/github.com/go-gormigrate/gormigrate/v2/gormigrate.go:466 [1.183ms] [rows:1] INSERT INTO "migrations" ("id") VALUES ('202107221500_add_ondelete_constraints') 2025-06-25T06:01:40.831Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/vendor/github.com/go-gormigrate/gormigrate/v2/gormigrate.go:466 [1.044ms] [rows:1] INSERT INTO "migrations" ("id") VALUES ('202109201733_create_user_table') 2025-06-25T06:01:40.832Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/vendor/github.com/go-gormigrate/gormigrate/v2/gormigrate.go:466 [1.014ms] [rows:1] INSERT INTO "migrations" ("id") VALUES ('202111091037_backup_users_add_account_table_and_update_data') 2025-06-25T06:01:40.834Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/vendor/github.com/go-gormigrate/gormigrate/v2/gormigrate.go:466 [1.106ms] [rows:1] INSERT INTO "migrations" ("id") VALUES ('202202191725_add_ssh_url_column_in_catalogs_table') 2025-06-25T06:01:40.834Z INFO migration/migration.go:80 Migration ran successfully !! {"service": "migration"} 2025-06-25T06:01:40.834Z INFO testutils/db.go:48 DB initialisation successful !! {"service": "test"} 2025-06-25T06:01:40.903Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/auth.go:148 [0.909ms] [rows:1] SELECT * FROM "users" WHERE code = 'test-code' AND "users"."deleted_at" IS NULL ORDER BY "users"."id" LIMIT 1 {"service": "auth"} 2025-06-25T06:01:40.906Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/auth.go:162 [2.372ms] [rows:1] UPDATE "users" SET "code"='',"updated_at"='2025-06-25 06:01:40.904' WHERE email = 'foo@bar.com' AND "users"."deleted_at" IS NULL {"service": "auth"} 2025-06-25T06:01:40.907Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/auth.go:171 [0.744ms] [rows:1] SELECT * FROM "accounts" WHERE ("accounts"."user_id" = 11 AND "accounts"."provider" = 'github') AND "accounts"."deleted_at" IS NULL ORDER BY "accounts"."id" LIMIT 1 {"service": "auth"} 2025-06-25T06:01:40.908Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/service.go:36 [0.847ms] [rows:1] SELECT "scopes"."id","scopes"."created_at","scopes"."updated_at","scopes"."deleted_at","scopes"."name" FROM "scopes" JOIN user_scopes as u on scopes.id=u.scope_id WHERE u.user_id = 11 AND "scopes"."deleted_at" IS NULL {"service": "auth"} 2025-06-25T06:01:40.909Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/service.go:71 [1.509ms] [rows:1] UPDATE "users" SET "created_at"='2016-01-01 12:30:12',"updated_at"='2025-06-25 06:01:40.908',"deleted_at"=NULL,"email"='foo@bar.com',"type"='user',"agent_name"='',"refresh_token_checksum"='5d5def96708c130ddf7ba4c4f6c47486ce14a5f8e868eb99e53e3c27d3806590',"code"='' WHERE "users"."deleted_at" IS NULL AND "id" = 11 {"service": "auth"} 2025-06-25T06:01:40.910Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/testutils/utils.go:54 [0.564ms] [rows:1] SELECT * FROM "users" WHERE "users"."email" = 'foo@bar.com' AND "users"."deleted_at" IS NULL ORDER BY "users"."id" LIMIT 1 2025-06-25T06:01:40.911Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/testutils/utils.go:60 [0.485ms] [rows:1] SELECT * FROM "accounts" WHERE ("accounts"."user_id" = 11 AND "accounts"."user_name" = 'foo') AND "accounts"."deleted_at" IS NULL ORDER BY "accounts"."id" LIMIT 1 2025-06-25T06:01:40.911Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/testutils/utils.go:135 [0.489ms] [rows:1] SELECT * FROM "scopes" WHERE "scopes"."name" = 'agent:create' AND "scopes"."deleted_at" IS NULL ORDER BY "scopes"."id" LIMIT 1 2025-06-25T06:01:40.912Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/testutils/utils.go:140 [0.586ms] [rows:1] SELECT * FROM "user_scopes" ORDER BY "user_scopes"."user_id" LIMIT 1 2025-06-25T06:01:40.912Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/testutils/utils.go:85 [0.298ms] [rows:1] SELECT * FROM "users" WHERE "users"."email" = 'foo@bar.com' AND "users"."deleted_at" IS NULL ORDER BY "users"."id" LIMIT 1 --- PASS: TestLogin (0.36s) === RUN TestInvalidLogin 2025-06-25T06:01:40.964Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/auth.go:148 record not found [0.312ms] [rows:0] SELECT * FROM "users" WHERE code = 'fake-code' AND "users"."deleted_at" IS NULL ORDER BY "users"."id" LIMIT 1 {"service": "auth"} --- PASS: TestInvalidLogin (0.05s) === RUN TestProviderList --- PASS: TestProviderList (0.00s) === RUN TestInsertData_AccountExistsButNotEmail 2025-06-25T06:01:41.023Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/service.go:120 record not found [1.246ms] [rows:0] SELECT * FROM "users" WHERE email = 'bbuser@bar.com' AND "users"."deleted_at" IS NULL ORDER BY "users"."id" LIMIT 1 2025-06-25T06:01:41.024Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/service.go:126 [0.873ms] [rows:1] SELECT * FROM "accounts" WHERE LOWER(user_name) = 'bbuser' AND provider = 'bitbucket' AND "accounts"."deleted_at" IS NULL ORDER BY "accounts"."id" LIMIT 1 2025-06-25T06:01:41.026Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/service.go:142 [1.964ms] [rows:1] UPDATE "users" SET "updated_at"='2025-06-25 06:01:41.024',"email"='bbuser@bar.com',"type"='user',"code"='code' WHERE id = 31 AND "users"."deleted_at" IS NULL 2025-06-25T06:01:41.026Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/auth_test.go:153 [0.453ms] [rows:1] SELECT * FROM "users" WHERE email = 'bbuser@bar.com' AND "users"."deleted_at" IS NULL ORDER BY "users"."id" LIMIT 1 --- PASS: TestInsertData_AccountExistsButNotEmail (0.06s) === RUN TestInsertData_AddNewEmailAndAccount 2025-06-25T06:01:41.077Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/auth_test.go:183 record not found [0.405ms] [rows:0] SELECT * FROM "users" WHERE email = 'bbuser@bar.com' AND "users"."deleted_at" IS NULL ORDER BY "users"."id" LIMIT 1 2025-06-25T06:01:41.078Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/auth_test.go:190 record not found [0.655ms] [rows:0] SELECT * FROM "accounts" WHERE ("accounts"."name" = 'bbnewuser' AND "accounts"."provider" = 'bitbucket') AND "accounts"."deleted_at" IS NULL ORDER BY "accounts"."id" LIMIT 1 2025-06-25T06:01:41.078Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/service.go:120 record not found [0.296ms] [rows:0] SELECT * FROM "users" WHERE email = 'bbuser@bar.com' AND "users"."deleted_at" IS NULL ORDER BY "users"."id" LIMIT 1 2025-06-25T06:01:41.079Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/service.go:126 record not found [0.704ms] [rows:0] SELECT * FROM "accounts" WHERE LOWER(user_name) = 'bbnewuser' AND provider = 'bitbucket' AND "accounts"."deleted_at" IS NULL ORDER BY "accounts"."id" LIMIT 1 2025-06-25T06:01:41.080Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/service.go:223 [0.536ms] [rows:1] SELECT * FROM "users" WHERE "users"."deleted_at" IS NULL ORDER BY "users"."id" DESC LIMIT 1 2025-06-25T06:01:41.082Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/service.go:229 [1.732ms] [rows:1] INSERT INTO "users" ("created_at","updated_at","deleted_at","email","type","agent_name","refresh_token_checksum","code","id") VALUES ('2025-06-25 06:01:41.08','2025-06-25 06:01:41.08',NULL,'bbuser@bar.com','user','','','code',32) RETURNING "id" 2025-06-25T06:01:41.083Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/service.go:247 [1.734ms] [rows:1] INSERT INTO "accounts" ("created_at","updated_at","deleted_at","user_id","user_name","name","avatar_url","provider") VALUES ('2025-06-25 06:01:41.082','2025-06-25 06:01:41.082',NULL,32,'bbnewuser','newbitbucketuser','http://bitbucketavatar','bitbucket') RETURNING "id" --- PASS: TestInsertData_AddNewEmailAndAccount (0.06s) === RUN TestInsertData_EmailExistsAddNewAccount 2025-06-25T06:01:41.137Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/auth_test.go:225 [0.679ms] [rows:1] SELECT * FROM "users" WHERE email = 'foo@bar.com' AND "users"."deleted_at" IS NULL ORDER BY "users"."id" DESC LIMIT 1 2025-06-25T06:01:41.137Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/auth_test.go:232 [0.636ms] [rows:2] SELECT * FROM "accounts" WHERE user_id = 11 AND "accounts"."deleted_at" IS NULL 2025-06-25T06:01:41.138Z 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.620ms] [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 2025-06-25T06:01:41.139Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/service.go:120 [0.387ms] [rows:1] SELECT * FROM "users" WHERE email = 'foo@bar.com' AND "users"."deleted_at" IS NULL ORDER BY "users"."id" LIMIT 1 2025-06-25T06:01:41.141Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/service.go:156 [1.927ms] [rows:1] UPDATE "users" SET "code"='code',"updated_at"='2025-06-25 06:01:41.139' WHERE email = 'foo@bar.com' AND "users"."deleted_at" IS NULL 2025-06-25T06:01:41.141Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/service.go:163 record not found [0.623ms] [rows:0] SELECT * FROM "accounts" WHERE user_id = 11 AND provider = 'gitlab' AND "accounts"."deleted_at" IS NULL ORDER BY "accounts"."id" LIMIT 1 2025-06-25T06:01:41.143Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/service.go:247 [1.998ms] [rows:1] INSERT INTO "accounts" ("created_at","updated_at","deleted_at","user_id","user_name","name","avatar_url","provider") VALUES ('2025-06-25 06:01:41.142','2025-06-25 06:01:41.142',NULL,11,'gitlabuser','gitlabuser','http://gitlabavatar','gitlab') RETURNING "id" 2025-06-25T06:01:41.144Z INFO app/gorm_logger.go:84 /home/prow/go/src/github.com/tektoncd/hub/api/pkg/auth/service/auth_test.go:250 [0.595ms] [rows:3] SELECT * FROM "accounts" WHERE user_id = 11 AND "accounts"."deleted_at" IS NULL --- PASS: TestInsertData_EmailExistsAddNewAccount (0.06s) PASS ok github.com/tektoncd/hub/api/pkg/auth/service 0.603s ? github.com/tektoncd/hub/api/pkg/cli/app [no test files] ? github.com/tektoncd/hub/api/pkg/cli/cmd [no test files] {"component":"entrypoint","file":"k8s.io/test-infra/prow/entrypoint/run.go:169","func":"k8s.io/test-infra/prow/entrypoint.Options.ExecuteProcess","level":"error","msg":"Entrypoint received interrupt: terminated","severity":"error","time":"2025-06-25T06:03:54Z"}