Skip to content

Backend build for script automation #16464

Backend build for script automation

Backend build for script automation #16464

Triggered via pull request October 1, 2024 22:34
Status Failure
Total duration 4m 22s
Artifacts 8

test-go.yaml

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

Annotations

41 errors and 3 warnings
test-go (integration, ubuntu-latest, mysql:8.0.36): server/service/client.go#L1463
declared and not used: teamsScripts
test-go (integration, ubuntu-latest, mysql:8.0.36): server/service/scripts.go#L878
cannot use svc.ds.BatchSetScripts(ctx, teamID, scripts) (value of type []fleet.ScriptResponse) as []*fleet.Script value in assignment
test-go (integration, ubuntu-latest, mysql:8.0.36): server/service/scripts.go#L890
cannot use scripts (variable of type []*fleet.Script) as []fleet.ScriptResponse value in return statement
test-go (integration, ubuntu-latest, mysql:8.0.36): server/service/client.go#L1463
declared and not used: teamsScripts
test-go (integration, ubuntu-latest, mysql:8.0.36): server/service/scripts.go#L878
cannot use svc.ds.BatchSetScripts(ctx, teamID, scripts) (value of type []fleet.ScriptResponse) as []*fleet.Script value in assignment
test-go (integration, ubuntu-latest, mysql:8.0.36): server/service/scripts.go#L890
cannot use scripts (variable of type []*fleet.Script) as []fleet.ScriptResponse value in return statement
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.0.36)
Process completed with exit code 2.
test-go (integration, ubuntu-latest, mysql:8.4.2): server/service/client.go#L1463
declared and not used: teamsScripts
test-go (integration, ubuntu-latest, mysql:8.4.2): server/service/scripts.go#L878
cannot use svc.ds.BatchSetScripts(ctx, teamID, scripts) (value of type []fleet.ScriptResponse) as []*fleet.Script value in assignment
test-go (integration, ubuntu-latest, mysql:8.4.2): server/service/scripts.go#L890
cannot use scripts (variable of type []*fleet.Script) as []fleet.ScriptResponse value in return statement
test-go (integration, ubuntu-latest, mysql:8.4.2): server/service/client.go#L1463
declared and not used: teamsScripts
test-go (integration, ubuntu-latest, mysql:8.4.2): server/service/scripts.go#L878
cannot use svc.ds.BatchSetScripts(ctx, teamID, scripts) (value of type []fleet.ScriptResponse) as []*fleet.Script value in assignment
test-go (integration, ubuntu-latest, mysql:8.4.2): server/service/scripts.go#L890
cannot use scripts (variable of type []*fleet.Script) as []fleet.ScriptResponse value in return statement
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 (integration, ubuntu-latest, mysql:8.4.2)
Process completed with exit code 2.
test-go (core, ubuntu-latest, mysql:8.0.36): server/service/client.go#L1463
declared and not used: teamsScripts
test-go (core, ubuntu-latest, mysql:8.0.36): server/service/scripts.go#L878
cannot use svc.ds.BatchSetScripts(ctx, teamID, scripts) (value of type []fleet.ScriptResponse) as []*fleet.Script value in assignment
test-go (core, ubuntu-latest, mysql:8.0.36): server/service/scripts.go#L890
cannot use scripts (variable of type []*fleet.Script) as []fleet.ScriptResponse value in return statement
test-go (core, ubuntu-latest, mysql:8.0.36): server/service/client.go#L1463
declared and not used: teamsScripts
test-go (core, ubuntu-latest, mysql:8.0.36): server/service/scripts.go#L878
cannot use svc.ds.BatchSetScripts(ctx, teamID, scripts) (value of type []fleet.ScriptResponse) as []*fleet.Script value in assignment
test-go (core, ubuntu-latest, mysql:8.0.36): server/service/scripts.go#L890
cannot use scripts (variable of type []*fleet.Script) as []fleet.ScriptResponse value in return statement
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.0.36)
Process completed with exit code 2.
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): server/service/client.go#L1463
declared and not used: teamsScripts
test-go (core, ubuntu-latest, mysql:8.4.2): server/service/scripts.go#L878
cannot use svc.ds.BatchSetScripts(ctx, teamID, scripts) (value of type []fleet.ScriptResponse) as []*fleet.Script value in assignment
test-go (core, ubuntu-latest, mysql:8.4.2): server/service/scripts.go#L890
cannot use scripts (variable of type []*fleet.Script) as []fleet.ScriptResponse value in return statement
test-go (core, ubuntu-latest, mysql:8.4.2): server/service/client.go#L1463
declared and not used: teamsScripts
test-go (core, ubuntu-latest, mysql:8.4.2): server/service/scripts.go#L878
cannot use svc.ds.BatchSetScripts(ctx, teamID, scripts) (value of type []fleet.ScriptResponse) as []*fleet.Script value in assignment
test-go (core, ubuntu-latest, mysql:8.4.2): server/service/scripts.go#L890
cannot use scripts (variable of type []*fleet.Script) as []fleet.ScriptResponse value in return statement
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 (core, ubuntu-latest, mysql:8.4.2)
Process completed with exit code 2.
test-go (integration, 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 (integration, ubuntu-latest, mysql:8.4.2)
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.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/

Artifacts

Produced during runtime
Name Size
core-mysql8.0.36-summary-test-log
138 Bytes
core-mysql8.0.36-test-log
6.71 KB
core-mysql8.4.2-summary-test-log
138 Bytes
core-mysql8.4.2-test-log
6.7 KB
integration-mysql8.0.36-summary-test-log
138 Bytes
integration-mysql8.0.36-test-log
6.7 KB
integration-mysql8.4.2-summary-test-log
138 Bytes
integration-mysql8.4.2-test-log
6.71 KB