Skip to content

Backend build for script automation #16467

Backend build for script automation

Backend build for script automation #16467

Triggered via pull request October 2, 2024 04:35
Status Failure
Total duration 8m 42s
Artifacts 5

test-go.yaml

on: pull_request
Matrix: test-go
upload-coverage
0s
upload-coverage
Fit to window
Zoom out
Zoom in

Annotations

43 errors and 4 warnings
test-go (core, ubuntu-latest, mysql:8.0.36): cmd/fleetctl/get_test.go#L2309
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (core, ubuntu-latest, mysql:8.0.36): cmd/fleetctl/gitops_test.go#L62
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (core, ubuntu-latest, mysql:8.0.36): cmd/fleetctl/gitops_test.go#L214
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (core, ubuntu-latest, mysql:8.0.36): cmd/fleetctl/gitops_test.go#L330
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (core, ubuntu-latest, mysql:8.0.36): cmd/fleetctl/gitops_test.go#L519
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (core, ubuntu-latest, mysql:8.0.36): cmd/fleetctl/gitops_test.go#L707
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (core, ubuntu-latest, mysql:8.0.36): cmd/fleetctl/gitops_test.go#L1043
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (core, ubuntu-latest, mysql:8.0.36): cmd/fleetctl/gitops_test.go#L1321
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (core, ubuntu-latest, mysql:8.0.36): cmd/fleetctl/gitops_test.go#L2193
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (core, ubuntu-latest, mysql:8.0.36): server/datastore/mysql/scripts_test.go#L662
assignment mismatch: 1 variable but ds.BatchSetScripts returns 2 values
test-go (core, ubuntu-latest, mysql:8.4.2)
The job was canceled because "core_ubuntu-latest_mysql_" failed.
test-go (core, ubuntu-latest, mysql:8.4.2): cmd/fleetctl/get_test.go#L2309
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (core, ubuntu-latest, mysql:8.4.2): cmd/fleetctl/gitops_test.go#L62
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (core, ubuntu-latest, mysql:8.4.2): cmd/fleetctl/gitops_test.go#L214
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (core, ubuntu-latest, mysql:8.4.2): cmd/fleetctl/gitops_test.go#L330
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (core, ubuntu-latest, mysql:8.4.2): cmd/fleetctl/gitops_test.go#L519
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (core, ubuntu-latest, mysql:8.4.2): cmd/fleetctl/gitops_test.go#L707
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (core, ubuntu-latest, mysql:8.4.2): cmd/fleetctl/gitops_test.go#L1043
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (core, ubuntu-latest, mysql:8.4.2): cmd/fleetctl/gitops_test.go#L1321
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (core, ubuntu-latest, mysql:8.4.2): cmd/fleetctl/gitops_test.go#L2193
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (core, ubuntu-latest, mysql:8.4.2): server/datastore/mysql/scripts_test.go#L662
assignment mismatch: 1 variable but ds.BatchSetScripts returns 2 values
test-go (integration, ubuntu-latest, mysql:8.0.36)
The job was canceled because "core_ubuntu-latest_mysql_" failed.
test-go (integration, ubuntu-latest, mysql:8.0.36): cmd/fleetctl/get_test.go#L2309
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (integration, ubuntu-latest, mysql:8.0.36): cmd/fleetctl/gitops_test.go#L62
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (integration, ubuntu-latest, mysql:8.0.36): cmd/fleetctl/gitops_test.go#L214
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (integration, ubuntu-latest, mysql:8.0.36): cmd/fleetctl/gitops_test.go#L330
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (integration, ubuntu-latest, mysql:8.0.36): cmd/fleetctl/gitops_test.go#L519
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (integration, ubuntu-latest, mysql:8.0.36): cmd/fleetctl/gitops_test.go#L707
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (integration, ubuntu-latest, mysql:8.0.36): cmd/fleetctl/gitops_test.go#L1043
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (integration, ubuntu-latest, mysql:8.0.36): cmd/fleetctl/gitops_test.go#L1321
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (integration, ubuntu-latest, mysql:8.0.36): cmd/fleetctl/gitops_test.go#L2193
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (integration, ubuntu-latest, mysql:8.0.36): server/datastore/mysql/scripts_test.go#L662
assignment mismatch: 1 variable but ds.BatchSetScripts returns 2 values
test-go (integration, ubuntu-latest, mysql:8.4.2)
The job was canceled because "core_ubuntu-latest_mysql_" failed.
test-go (integration, ubuntu-latest, mysql:8.4.2): cmd/fleetctl/get_test.go#L2309
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (integration, ubuntu-latest, mysql:8.4.2): cmd/fleetctl/gitops_test.go#L62
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (integration, ubuntu-latest, mysql:8.4.2): cmd/fleetctl/gitops_test.go#L214
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (integration, ubuntu-latest, mysql:8.4.2): cmd/fleetctl/gitops_test.go#L330
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (integration, ubuntu-latest, mysql:8.4.2): cmd/fleetctl/gitops_test.go#L519
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (integration, ubuntu-latest, mysql:8.4.2): cmd/fleetctl/gitops_test.go#L707
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (integration, ubuntu-latest, mysql:8.4.2): cmd/fleetctl/gitops_test.go#L1043
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (integration, ubuntu-latest, mysql:8.4.2): cmd/fleetctl/gitops_test.go#L1321
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (integration, ubuntu-latest, mysql:8.4.2): cmd/fleetctl/gitops_test.go#L2193
cannot use func(ctx context.Context, tmID *uint, scripts []*fleet.Script) error {…} (value of type func(ctx "context".Context, tmID *uint, scripts []*fleet.Script) error) as "github.com/fleetdm/fleet/v4/server/mock".BatchSetScriptsFunc value in assignment
test-go (integration, ubuntu-latest, mysql:8.4.2): server/datastore/mysql/scripts_test.go#L662
assignment mismatch: 1 variable but ds.BatchSetScripts returns 2 values
test-go (core, ubuntu-latest, mysql:8.0.36)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test-go (core, ubuntu-latest, mysql:8.4.2)
No files were found with the provided path: /tmp/summary.txt. No artifacts will be uploaded.
test-go (integration, ubuntu-latest, mysql:8.0.36)
No files were found with the provided path: /tmp/summary.txt. No artifacts will be uploaded.
test-go (integration, ubuntu-latest, mysql:8.4.2)
No files were found with the provided path: /tmp/summary.txt. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size
core-mysql8.0.36-summary-test-log
211 Bytes
core-mysql8.0.36-test-log
140 KB
core-mysql8.4.2-test-log
141 KB
integration-mysql8.0.36-test-log
8.34 KB
integration-mysql8.4.2-test-log
8.34 KB