Skip to content

Send client logs with the cloud logging library #1981

Send client logs with the cloud logging library

Send client logs with the cloud logging library #1981

Triggered via pull request October 16, 2024 16:12
@jessieqliujessieqliu
synchronize #474
logging
Status Failure
Total duration 1m 15s
Billable time 2m
Artifacts

ci.yml

on: pull_request
Matrix: build
Matrix: lint
Matrix: lintc
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 16 warnings
Lint ./launcher (ubuntu-latest, Go 1.21.x): launcher/container_runner.go#L1
: # github.com/google/go-tpm-tools/launcher [github.com/google/go-tpm-tools/launcher.test]
Lint ./launcher (ubuntu-latest, Go 1.21.x)
cannot use logger (variable of type "github.com/google/go-tpm-tools/launcher/internal/logging".Logger) as *"log".Logger value in argument to spec.GetLaunchPolicy (typecheck)
Lint ./launcher (ubuntu-latest, Go 1.21.x): launcher/launcher/main.go#L21
could not import github.com/google/go-tpm-tools/launcher (-: # github.com/google/go-tpm-tools/launcher
Lint ./launcher (ubuntu-latest, Go 1.21.x)
cannot use logger (variable of type "github.com/google/go-tpm-tools/launcher/internal/logging".Logger) as *"log".Logger value in argument to spec.GetLaunchPolicy) (typecheck)
Lint ./launcher (ubuntu-latest, Go 1.21.x): launcher/launcher/main.go#L106
logger.Printf undefined (type "github.com/google/go-tpm-tools/launcher/internal/logging".Logger has no field or method Printf) (typecheck)
Lint ./launcher (ubuntu-latest, Go 1.21.x): launcher/launcher/main.go#L109
logger.Printf undefined (type "github.com/google/go-tpm-tools/launcher/internal/logging".Logger has no field or method Printf) (typecheck)
Lint ./launcher (ubuntu-latest, Go 1.21.x): launcher/launcher/main.go#L111
logger.Printf undefined (type "github.com/google/go-tpm-tools/launcher/internal/logging".Logger has no field or method Printf) (typecheck)
Lint ./launcher (ubuntu-latest, Go 1.21.x): launcher/launcher/main.go#L115
logger.Printf undefined (type "github.com/google/go-tpm-tools/launcher/internal/logging".Logger has no field or method Printf) (typecheck)
Lint ./launcher (ubuntu-latest, Go 1.21.x): launcher/launcher/main.go#L118
cannot use logger (variable of type "github.com/google/go-tpm-tools/launcher/internal/logging".Logger) as *"log".Logger value in argument to nodeproblemdetector.StartService (typecheck)
Lint ./launcher (ubuntu-latest, Go 1.21.x): launcher/launcher/main.go#L119
logger.Print undefined (type "github.com/google/go-tpm-tools/launcher/internal/logging".Logger has no field or method Print) (typecheck)
Lint ./cmd (ubuntu-latest, Go 1.21.x)
The job was canceled because "_1_21_x_ubuntu-latest___l" failed.
Generate/Build/Test (ubuntu-latest, x64, Go 1.21.x): launcher/container_runner.go#L119
cannot use logger (variable of type "github.com/google/go-tpm-tools/launcher/internal/logging".Logger) as *"log".Logger value in argument to spec.GetLaunchPolicy
Generate/Build/Test (ubuntu-latest, x64, Go 1.21.x)
Process completed with exit code 1.
Generate/Build/Test (macos-latest, arm64, Go 1.21.x): launcher/container_runner.go#L119
cannot use logger (variable of type "github.com/google/go-tpm-tools/launcher/internal/logging".Logger) as *"log".Logger value in argument to spec.GetLaunchPolicy
Generate/Build/Test (macos-latest, arm64, Go 1.21.x)
Process completed with exit code 1.
Generate/Build/Test (ubuntu-latest, x32, Go 1.21.x)
The job was canceled because "_1_21_x_ubuntu-latest_x64" failed.
Generate/Build/Test (ubuntu-latest, x32, Go 1.21.x)
The operation was canceled.
Generate/Build/Test (macos-14-large, x64, Go 1.21.x)
The job was canceled because "_1_21_x_ubuntu-latest_x64" failed.
Generate/Build/Test (macos-14-large, x64, Go 1.21.x)
The operation was canceled.
Lint ./ (ubuntu-latest, Go 1.21.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint ./ (ubuntu-latest, Go 1.21.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v2, golangci/golangci-lint-action@v3.2.0. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint ./ (ubuntu-latest, Go 1.21.x)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint ./ (ubuntu-latest, Go 1.21.x)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint ./launcher (ubuntu-latest, Go 1.21.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint ./launcher (ubuntu-latest, Go 1.21.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v2, golangci/golangci-lint-action@v3.2.0. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint ./launcher (ubuntu-latest, Go 1.21.x)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint ./launcher (ubuntu-latest, Go 1.21.x)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint CGO (ubuntu-latest, Go 1.21.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint CGO (ubuntu-latest, Go 1.21.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint ./cmd (ubuntu-latest, Go 1.21.x)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint ./cmd (ubuntu-latest, Go 1.21.x)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Generate/Build/Test (ubuntu-latest, x64, Go 1.21.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, arduino/setup-protoc@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Generate/Build/Test (macos-latest, arm64, Go 1.21.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, arduino/setup-protoc@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Generate/Build/Test (macos-latest, arm64, Go 1.21.x)
openssl@3 3.3.2 is already installed and up-to-date. To reinstall 3.3.2, run: brew reinstall openssl@3
Generate/Build/Test (macos-14-large, x64, Go 1.21.x)
openssl@3 3.3.2 is already installed and up-to-date. To reinstall 3.3.2, run: brew reinstall openssl@3