Skip to content

Allow charms to select which charmcraft channel is used when updating charm libs #1729

Allow charms to select which charmcraft channel is used when updating charm libs

Allow charms to select which charmcraft channel is used when updating charm libs #1729

Triggered via pull request October 24, 2024 16:13
Status Failure
Total duration 47m 4s
Artifacts 22

workflow_test.yaml

on: pull_request
integration-artifact  /  Plan
5s
integration-artifact / Plan
integration-craft  /  Plan
8s
integration-craft / Plan
integration-juju3  /  Plan
5s
integration-juju3 / Plan
integration-rock-artifact  /  Plan
4s
integration-rock-artifact / Plan
integration-rock  /  Plan
5s
integration-rock / Plan
integration-self-hosted  /  Plan
6s
integration-self-hosted / Plan
integration  /  Plan
6s
integration / Plan
simple-self-hosted  /  Inclusive naming
13s
simple-self-hosted / Inclusive naming
simple-self-hosted  /  Shell scripts lint
10s
simple-self-hosted / Shell scripts lint
simple-self-hosted  /  Dockerfile lint
7s
simple-self-hosted / Dockerfile lint
simple-self-hosted  /  Lint metadata.yaml
15s
simple-self-hosted / Lint metadata.yaml
simple-self-hosted  /  Lint and unit tests
1m 12s
simple-self-hosted / Lint and unit tests
simple-self-hosted  /  Draft publish docs
51s
simple-self-hosted / Draft publish docs
simple-self-hosted  /  Check license headers
47s
simple-self-hosted / Check license headers
simple-self-hosted  /  Check libraries
6s
simple-self-hosted / Check libraries
simple  /  Inclusive naming
8s
simple / Inclusive naming
simple  /  Shell scripts lint
9s
simple / Shell scripts lint
simple  /  Dockerfile lint
5s
simple / Dockerfile lint
simple  /  Lint metadata.yaml
7s
simple / Lint metadata.yaml
simple  /  Lint and unit tests
46s
simple / Lint and unit tests
simple  /  Draft publish docs
16s
simple / Draft publish docs
simple  /  Check license headers
25s
simple / Check license headers
simple  /  Check libraries
5s
simple / Check libraries
Matrix: integration-artifact / build
Matrix: integration-craft / build
Matrix: integration-juju3 / build
Matrix: integration-rock-artifact / build
Matrix: integration-rock / build
Matrix: integration-self-hosted / build
Matrix: integration / build
simple-self-hosted  /  Required Test Status Checks
2s
simple-self-hosted / Required Test Status Checks
simple  /  Required Test Status Checks
0s
simple / Required Test Status Checks
Matrix: integration-artifact / Integration tests / Integration tests
integration-artifact  /  Plan Image Scanning
11s
integration-artifact / Plan Image Scanning
Matrix: integration-craft / Integration tests / Integration tests
integration-craft  /  Plan Image Scanning
8s
integration-craft / Plan Image Scanning
Matrix: integration-juju3 / Integration tests / Integration tests
integration-juju3  /  Plan Image Scanning
15s
integration-juju3 / Plan Image Scanning
Matrix: integration-rock-artifact / Integration tests / Integration tests
integration-rock-artifact  /  Plan Image Scanning
8s
integration-rock-artifact / Plan Image Scanning
Matrix: integration-rock / Integration tests / Integration tests
integration-rock  /  Plan Image Scanning
3s
integration-rock / Plan Image Scanning
Matrix: integration-self-hosted / Integration tests / Integration tests
integration-self-hosted  /  Plan Image Scanning
12s
integration-self-hosted / Plan Image Scanning
Matrix: integration / Integration tests / Integration tests
integration  /  Plan Image Scanning
5s
integration / Plan Image Scanning
integration-artifact  /  Required Integration Test Status Checks
0s
integration-artifact / Required Integration Test Status Checks
Matrix: integration-artifact / scan
integration-craft  /  Required Integration Test Status Checks
0s
integration-craft / Required Integration Test Status Checks
Matrix: integration-craft / scan
integration-juju3  /  Required Integration Test Status Checks
0s
integration-juju3 / Required Integration Test Status Checks
Matrix: integration-juju3 / scan
integration-rock-artifact  /  Required Integration Test Status Checks
0s
integration-rock-artifact / Required Integration Test Status Checks
Matrix: integration-rock-artifact / scan
integration-rock  /  Required Integration Test Status Checks
0s
integration-rock / Required Integration Test Status Checks
Matrix: integration-rock / scan
integration-self-hosted  /  Required Integration Test Status Checks
0s
integration-self-hosted / Required Integration Test Status Checks
Matrix: integration-self-hosted / scan
integration  /  Required Integration Test Status Checks
0s
integration / Required Integration Test Status Checks
Matrix: integration / scan
publish  /  select-channel
3s
publish / select-channel
publish  /  Publish charm to latest/edge
48s
publish / Publish charm to latest/edge
publish  /  Draft publish docs
0s
publish / Draft publish docs
publish  /  Release charm libs
0s
publish / Release charm libs
publish-artifact  /  select-channel
publish-artifact / select-channel
publish-artifact  /  publish-charm
publish-artifact / publish-charm
publish-artifact  /  Draft publish docs
publish-artifact / Draft publish docs
publish-artifact  /  Release charm libs
publish-artifact / Release charm libs
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 10 warnings, and 4 notices
integration-self-hosted / Integration tests / Integration tests
Process completed with exit code 127.
integration-self-hosted / Integration tests / Integration tests
Docker build failed with exit code 1
integration-self-hosted / Required Integration Test Status Checks
Process completed with exit code 1.
publish / Publish charm to latest/edge
The process '/snap/bin/charmcraft' failed with exit code 1 Error: The process '/snap/bin/charmcraft' failed with exit code 1 at ExecState._setResult (/home/runner/work/_actions/canonical/operator-workflows/main/dist/node_modules/@actions/exec/lib/toolrunner.js:592:1) at ExecState.CheckComplete (/home/runner/work/_actions/canonical/operator-workflows/main/dist/node_modules/@actions/exec/lib/toolrunner.js:575:1) at ChildProcess.<anonymous> (/home/runner/work/_actions/canonical/operator-workflows/main/dist/node_modules/@actions/exec/lib/toolrunner.js:469:1) at ChildProcess.emit (node:events:519:28) at maybeClose (node:internal/child_process:1105:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:305:5)
publish / Publish charm to latest/edge
The process '/snap/bin/charmcraft' failed with exit code 1
check
Process completed with exit code 1.
simple / Dockerfile lint: tests/workflows/integration/test-upload-charm/test.Dockerfile#L4
Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag
simple / Dockerfile lint: tests/workflows/integration/test-upload-charm/test.Dockerfile#L6
Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
simple / Dockerfile lint: tests/workflows/integration/test-upload-charm/test.Dockerfile#L6
Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
simple-self-hosted / Dockerfile lint: tests/workflows/integration/test-upload-charm/test.Dockerfile#L4
Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag
simple-self-hosted / Dockerfile lint: tests/workflows/integration/test-upload-charm/test.Dockerfile#L6
Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
simple-self-hosted / Dockerfile lint: tests/workflows/integration/test-upload-charm/test.Dockerfile#L6
Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
simple / Check license headers
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
simple-self-hosted / Check license headers
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
integration-self-hosted / Integration tests / Integration tests
Docker build failed with exit code 1, back off 8.6 seconds before retry.
integration-self-hosted / Integration tests / Integration tests
Docker build failed with exit code 1, back off 4.851 seconds before retry.
simple / Dockerfile lint: tests/workflows/integration/test-upload-charm/test.Dockerfile#L6
Delete the apt-get lists after installing something
simple / Dockerfile lint: tests/workflows/integration/test-upload-charm/test.Dockerfile#L6
Avoid additional packages by specifying `--no-install-recommends`
simple-self-hosted / Dockerfile lint: tests/workflows/integration/test-upload-charm/test.Dockerfile#L6
Delete the apt-get lists after installing something
simple-self-hosted / Dockerfile lint: tests/workflows/integration/test-upload-charm/test.Dockerfile#L6
Avoid additional packages by specifying `--no-install-recommends`

Artifacts

Produced during runtime
Name Size
2024-10-24T16-13-48-bc84__build__output__charm__integration-test-charm-1
6.1 MB
2024-10-24T16-13-48-bc84__build__output__rock__test
45.5 MB
2024-10-24T16-13-48-bc84__plan
350 Bytes
2024-10-24T16-13-49-9a61__build__output__charm__integration-test-charm-1
6.1 MB
2024-10-24T16-13-49-9a61__build__output__rock__test
45.5 MB
2024-10-24T16-13-49-9a61__plan
349 Bytes
2024-10-24T16-13-49-9f34__test-upload-artifact__build__output__charm__test-upload
6.11 MB
2024-10-24T16-13-49-9f34__test-upload-artifact__build__output__docker-image__test
127 MB
2024-10-24T16-13-49-9f34__test-upload-artifact__plan
371 Bytes
2024-10-24T16-13-49-9f3a__test-upload__build__output__charm__test-upload
6.11 MB
2024-10-24T16-13-49-9f3a__test-upload__build__output__docker-image__test
127 MB
2024-10-24T16-13-49-9f3a__test-upload__plan
365 Bytes
2024-10-24T16-13-50-91ff__build__output__charm__test-upload
6.11 MB
2024-10-24T16-13-50-91ff__build__output__docker-image__test
127 MB
2024-10-24T16-13-50-91ff__plan
363 Bytes
2024-10-24T16-13-50-9281__build__output__charm__test-upload
6.11 MB
2024-10-24T16-13-50-9281__build__output__docker-image__test
127 MB
2024-10-24T16-13-50-9281__plan
364 Bytes
2024-10-24T16-13-51-8a58__build__output__charm__integration-test-charm-1
6.1 MB
2024-10-24T16-13-51-8a58__build__output__rock__test
45.5 MB
2024-10-24T16-13-51-8a58__plan
350 Bytes
report
538 Bytes