Skip to content

Allow filtering/hiding SQL params when using a custom logger implementation #2188

Allow filtering/hiding SQL params when using a custom logger implementation

Allow filtering/hiding SQL params when using a custom logger implementation #2188

Triggered via pull request November 7, 2023 12:22
Status Failure
Total duration 3m 12s
Artifacts

tests.yml

on: pull_request
Matrix: mariadb
Matrix: mysql
Matrix: postgres
Matrix: sqlite
Matrix: sqlserver
Matrix: tidb
Fit to window
Zoom out
Zoom in

Annotations

97 errors and 26 warnings
sqlite (1.19, ubuntu-latest)
cannot use tracer (variable of type Tracer) as type logger.Interface in struct literal:
sqlite (1.19, ubuntu-latest)
cannot use Tracer{…} (value of type Tracer) as type logger.Interface in struct literal:
sqlite (1.19, ubuntu-latest)
cannot use Tracer{…} (value of type Tracer) as type logger.Interface in struct literal:
sqlite (1.19, ubuntu-latest)
Process completed with exit code 1.
sqlite (1.20, ubuntu-latest)
The job was canceled because "_1_19_ubuntu-latest" failed.
sqlite (1.20, ubuntu-latest)
cannot use tracer (variable of type Tracer) as logger.Interface value in struct literal: Tracer does not implement logger.Interface (missing method ParamsFilter)
sqlite (1.20, ubuntu-latest)
cannot use Tracer{…} (value of type Tracer) as logger.Interface value in struct literal: Tracer does not implement logger.Interface (missing method ParamsFilter)
sqlite (1.20, ubuntu-latest)
cannot use Tracer{…} (value of type Tracer) as logger.Interface value in struct literal: Tracer does not implement logger.Interface (missing method ParamsFilter)
sqlite (1.20, ubuntu-latest)
Process completed with exit code 1.
postgres (postgres:10, 1.19, ubuntu-latest)
cannot use tracer (variable of type Tracer) as type logger.Interface in struct literal:
postgres (postgres:10, 1.19, ubuntu-latest)
cannot use Tracer{…} (value of type Tracer) as type logger.Interface in struct literal:
postgres (postgres:10, 1.19, ubuntu-latest)
cannot use Tracer{…} (value of type Tracer) as type logger.Interface in struct literal:
postgres (postgres:10, 1.19, ubuntu-latest)
Process completed with exit code 1.
postgres (postgres:latest, 1.21, ubuntu-latest)
The job was canceled because "postgres_10_1_19_ubuntu-l" failed.
postgres (postgres:13, 1.21, ubuntu-latest)
The job was canceled because "postgres_10_1_19_ubuntu-l" failed.
postgres (postgres:latest, 1.19, ubuntu-latest)
The job was canceled because "postgres_10_1_19_ubuntu-l" failed.
postgres (postgres:latest, 1.20, ubuntu-latest)
The job was canceled because "postgres_10_1_19_ubuntu-l" failed.
postgres (postgres:13, 1.20, ubuntu-latest)
The job was canceled because "postgres_10_1_19_ubuntu-l" failed.
postgres (postgres:13, 1.19, ubuntu-latest)
The job was canceled because "postgres_10_1_19_ubuntu-l" failed.
postgres (postgres:13, 1.19, ubuntu-latest)
The operation was canceled.
postgres (postgres:13, 1.19, ubuntu-latest)
Value cannot be null. (Parameter 'network')
postgres (postgres:12, 1.20, ubuntu-latest)
The job was canceled because "postgres_10_1_19_ubuntu-l" failed.
postgres (postgres:12, 1.20, ubuntu-latest)
The operation was canceled.
sqlite (1.21, ubuntu-latest)
The job was canceled because "_1_19_ubuntu-latest" failed.
sqlite (1.21, ubuntu-latest)
The operation was canceled.
postgres (postgres:10, 1.21, ubuntu-latest)
The job was canceled because "postgres_10_1_19_ubuntu-l" failed.
postgres (postgres:10, 1.21, ubuntu-latest)
cannot use tracer (variable of type Tracer) as logger.Interface value in struct literal: Tracer does not implement logger.Interface (missing method ParamsFilter)
postgres (postgres:10, 1.21, ubuntu-latest)
cannot use Tracer{…} (value of type Tracer) as logger.Interface value in struct literal: Tracer does not implement logger.Interface (missing method ParamsFilter)
postgres (postgres:10, 1.21, ubuntu-latest)
cannot use Tracer{…} (value of type Tracer) as logger.Interface value in struct literal: Tracer does not implement logger.Interface (missing method ParamsFilter)
postgres (postgres:10, 1.21, ubuntu-latest)
The operation was canceled.
mysql (mysql:5.7, 1.19, ubuntu-latest)
cannot use tracer (variable of type Tracer) as type logger.Interface in struct literal:
mysql (mysql:5.7, 1.19, ubuntu-latest)
cannot use Tracer{…} (value of type Tracer) as type logger.Interface in struct literal:
mysql (mysql:5.7, 1.19, ubuntu-latest)
cannot use Tracer{…} (value of type Tracer) as type logger.Interface in struct literal:
mysql (mysql:5.7, 1.19, ubuntu-latest)
Process completed with exit code 1.
mysql (mysql:5.7, 1.20, ubuntu-latest)
cannot use tracer (variable of type Tracer) as logger.Interface value in struct literal: Tracer does not implement logger.Interface (missing method ParamsFilter)
mysql (mysql:5.7, 1.20, ubuntu-latest)
cannot use Tracer{…} (value of type Tracer) as logger.Interface value in struct literal: Tracer does not implement logger.Interface (missing method ParamsFilter)
mysql (mysql:5.7, 1.20, ubuntu-latest)
cannot use Tracer{…} (value of type Tracer) as logger.Interface value in struct literal: Tracer does not implement logger.Interface (missing method ParamsFilter)
mysql (mysql:5.7, 1.20, ubuntu-latest)
Process completed with exit code 1.
mysql (mysql:5.7, 1.21, ubuntu-latest)
The job was canceled because "mysql_5_7_1_19_ubuntu-lat" failed.
mysql (mysql:5.7, 1.21, ubuntu-latest)
cannot use tracer (variable of type Tracer) as logger.Interface value in struct literal: Tracer does not implement logger.Interface (missing method ParamsFilter)
mysql (mysql:5.7, 1.21, ubuntu-latest)
cannot use Tracer{…} (value of type Tracer) as logger.Interface value in struct literal: Tracer does not implement logger.Interface (missing method ParamsFilter)
mysql (mysql:5.7, 1.21, ubuntu-latest)
cannot use Tracer{…} (value of type Tracer) as logger.Interface value in struct literal: Tracer does not implement logger.Interface (missing method ParamsFilter)
mysql (mysql:5.7, 1.21, ubuntu-latest)
Process completed with exit code 1.
postgres (postgres:11, 1.20, ubuntu-latest)
The job was canceled because "postgres_10_1_19_ubuntu-l" failed.
postgres (postgres:11, 1.20, ubuntu-latest)
cannot use tracer (variable of type Tracer) as logger.Interface value in struct literal: Tracer does not implement logger.Interface (missing method ParamsFilter)
postgres (postgres:11, 1.20, ubuntu-latest)
cannot use Tracer{…} (value of type Tracer) as logger.Interface value in struct literal: Tracer does not implement logger.Interface (missing method ParamsFilter)
postgres (postgres:11, 1.20, ubuntu-latest)
cannot use Tracer{…} (value of type Tracer) as logger.Interface value in struct literal: Tracer does not implement logger.Interface (missing method ParamsFilter)
postgres (postgres:11, 1.20, ubuntu-latest)
The operation was canceled.
postgres (postgres:10, 1.20, ubuntu-latest)
The job was canceled because "postgres_10_1_19_ubuntu-l" failed.
postgres (postgres:10, 1.20, ubuntu-latest)
cannot use tracer (variable of type Tracer) as logger.Interface value in struct literal: Tracer does not implement logger.Interface (missing method ParamsFilter)
postgres (postgres:10, 1.20, ubuntu-latest)
cannot use Tracer{…} (value of type Tracer) as logger.Interface value in struct literal: Tracer does not implement logger.Interface (missing method ParamsFilter)
postgres (postgres:10, 1.20, ubuntu-latest)
cannot use Tracer{…} (value of type Tracer) as logger.Interface value in struct literal: Tracer does not implement logger.Interface (missing method ParamsFilter)
postgres (postgres:10, 1.20, ubuntu-latest)
The operation was canceled.
postgres (postgres:12, 1.21, ubuntu-latest)
The job was canceled because "postgres_10_1_19_ubuntu-l" failed.
postgres (postgres:12, 1.21, ubuntu-latest)
The operation was canceled.
postgres (postgres:11, 1.21, ubuntu-latest)
The job was canceled because "postgres_10_1_19_ubuntu-l" failed.
postgres (postgres:11, 1.21, ubuntu-latest)
The operation was canceled.
postgres (postgres:11, 1.19, ubuntu-latest)
The job was canceled because "postgres_10_1_19_ubuntu-l" failed.
postgres (postgres:11, 1.19, ubuntu-latest)
The operation was canceled.
postgres (postgres:12, 1.19, ubuntu-latest)
The job was canceled because "postgres_10_1_19_ubuntu-l" failed.
postgres (postgres:12, 1.19, ubuntu-latest)
The operation was canceled.
mysql (mysql:latest, 1.21, ubuntu-latest)
The job was canceled because "mysql_5_7_1_19_ubuntu-lat" failed.
mysql (mysql:latest, 1.21, ubuntu-latest)
cannot use tracer (variable of type Tracer) as logger.Interface value in struct literal: Tracer does not implement logger.Interface (missing method ParamsFilter)
mysql (mysql:latest, 1.21, ubuntu-latest)
cannot use Tracer{…} (value of type Tracer) as logger.Interface value in struct literal: Tracer does not implement logger.Interface (missing method ParamsFilter)
mysql (mysql:latest, 1.21, ubuntu-latest)
cannot use Tracer{…} (value of type Tracer) as logger.Interface value in struct literal: Tracer does not implement logger.Interface (missing method ParamsFilter)
mysql (mysql:latest, 1.21, ubuntu-latest)
The operation was canceled.
mysql (mysql:latest, 1.20, ubuntu-latest)
The job was canceled because "mysql_5_7_1_19_ubuntu-lat" failed.
mysql (mysql:latest, 1.20, ubuntu-latest)
The operation was canceled.
mysql (mysql:latest, 1.19, ubuntu-latest)
The job was canceled because "mysql_5_7_1_19_ubuntu-lat" failed.
mysql (mysql:latest, 1.19, ubuntu-latest)
The operation was canceled.
mariadb (mariadb:latest, 1.19, ubuntu-latest)
cannot use tracer (variable of type Tracer) as type logger.Interface in struct literal:
mariadb (mariadb:latest, 1.19, ubuntu-latest)
cannot use Tracer{…} (value of type Tracer) as type logger.Interface in struct literal:
mariadb (mariadb:latest, 1.19, ubuntu-latest)
cannot use Tracer{…} (value of type Tracer) as type logger.Interface in struct literal:
mariadb (mariadb:latest, 1.19, ubuntu-latest)
Process completed with exit code 1.
mariadb (mariadb:latest, 1.21, ubuntu-latest)
The job was canceled because "mariadb_latest_1_19_ubunt" failed.
mariadb (mariadb:latest, 1.21, ubuntu-latest)
cannot use tracer (variable of type Tracer) as logger.Interface value in struct literal: Tracer does not implement logger.Interface (missing method ParamsFilter)
mariadb (mariadb:latest, 1.21, ubuntu-latest)
cannot use Tracer{…} (value of type Tracer) as logger.Interface value in struct literal: Tracer does not implement logger.Interface (missing method ParamsFilter)
mariadb (mariadb:latest, 1.21, ubuntu-latest)
cannot use Tracer{…} (value of type Tracer) as logger.Interface value in struct literal: Tracer does not implement logger.Interface (missing method ParamsFilter)
mariadb (mariadb:latest, 1.21, ubuntu-latest)
The operation was canceled.
mariadb (mariadb:latest, 1.20, ubuntu-latest)
The job was canceled because "mariadb_latest_1_19_ubunt" failed.
mariadb (mariadb:latest, 1.20, ubuntu-latest)
The operation was canceled.
tidb (v6.5.0, 1.19, ubuntu-latest)
cannot use tracer (variable of type Tracer) as type logger.Interface in struct literal:
tidb (v6.5.0, 1.19, ubuntu-latest)
cannot use Tracer{…} (value of type Tracer) as type logger.Interface in struct literal:
tidb (v6.5.0, 1.19, ubuntu-latest)
cannot use Tracer{…} (value of type Tracer) as type logger.Interface in struct literal:
tidb (v6.5.0, 1.19, ubuntu-latest)
Process completed with exit code 1.
tidb (v6.5.0, 1.20, ubuntu-latest)
The job was canceled because "v6_5_0_1_19_ubuntu-latest" failed.
tidb (v6.5.0, 1.20, ubuntu-latest)
The operation was canceled.
tidb (v6.5.0, 1.21, ubuntu-latest)
The job was canceled because "v6_5_0_1_19_ubuntu-latest" failed.
tidb (v6.5.0, 1.21, ubuntu-latest)
The operation was canceled.
sqlserver (1.20, ubuntu-latest)
cannot use tracer (variable of type Tracer) as logger.Interface value in struct literal: Tracer does not implement logger.Interface (missing method ParamsFilter)
sqlserver (1.20, ubuntu-latest)
cannot use Tracer{…} (value of type Tracer) as logger.Interface value in struct literal: Tracer does not implement logger.Interface (missing method ParamsFilter)
sqlserver (1.20, ubuntu-latest)
cannot use Tracer{…} (value of type Tracer) as logger.Interface value in struct literal: Tracer does not implement logger.Interface (missing method ParamsFilter)
sqlserver (1.20, ubuntu-latest)
Process completed with exit code 1.
sqlserver (1.19, ubuntu-latest)
The job was canceled because "_1_20_ubuntu-latest" failed.
sqlserver (1.19, ubuntu-latest)
The operation was canceled.
sqlserver (1.21, ubuntu-latest)
The job was canceled because "_1_20_ubuntu-latest" failed.
sqlserver (1.21, ubuntu-latest)
The operation was canceled.
sqlite (1.19, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
sqlite (1.20, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
postgres (postgres:10, 1.19, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
sqlite (1.21, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
postgres (postgres:10, 1.21, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
mysql (mysql:5.7, 1.19, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
mysql (mysql:5.7, 1.20, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
mysql (mysql:5.7, 1.21, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
postgres (postgres:11, 1.20, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
postgres (postgres:10, 1.20, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
postgres (postgres:12, 1.21, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
postgres (postgres:11, 1.21, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
postgres (postgres:11, 1.19, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
postgres (postgres:12, 1.19, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
mysql (mysql:latest, 1.21, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
mysql (mysql:latest, 1.20, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
mysql (mysql:latest, 1.19, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
mariadb (mariadb:latest, 1.19, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
mariadb (mariadb:latest, 1.21, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
mariadb (mariadb:latest, 1.20, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
tidb (v6.5.0, 1.19, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
tidb (v6.5.0, 1.20, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
tidb (v6.5.0, 1.21, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
sqlserver (1.20, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
sqlserver (1.19, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
sqlserver (1.21, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum