Skip to content

Add enable security nesting input to itest #1690

Add enable security nesting input to itest

Add enable security nesting input to itest #1690

Triggered via pull request October 9, 2024 11:20
Status Failure
Total duration 21m 38s
Artifacts 22

workflow_test.yaml

on: pull_request
integration-artifact  /  Plan
4s
integration-artifact / Plan
integration-craft  /  Plan
11s
integration-craft / Plan
integration-juju3  /  Plan
8s
integration-juju3 / Plan
integration-rock-artifact  /  Plan
8s
integration-rock-artifact / Plan
integration-rock  /  Plan
7s
integration-rock / Plan
integration-self-hosted  /  Plan
4s
integration-self-hosted / Plan
integration  /  Plan
8s
integration / Plan
simple-self-hosted  /  Inclusive naming
18s
simple-self-hosted / Inclusive naming
simple-self-hosted  /  Shell scripts lint
9s
simple-self-hosted / Shell scripts lint
simple-self-hosted  /  Dockerfile lint
19s
simple-self-hosted / Dockerfile lint
simple-self-hosted  /  Lint metadata.yaml
13s
simple-self-hosted / Lint metadata.yaml
simple-self-hosted  /  Lint and unit tests
1m 19s
simple-self-hosted / Lint and unit tests
simple-self-hosted  /  Draft publish docs
24s
simple-self-hosted / Draft publish docs
simple-self-hosted  /  Check license headers
1m 7s
simple-self-hosted / Check license headers
simple-self-hosted  /  Check libraries
10s
simple-self-hosted / Check libraries
simple  /  Inclusive naming
11s
simple / Inclusive naming
simple  /  Shell scripts lint
6s
simple / Shell scripts lint
simple  /  Dockerfile lint
3s
simple / Dockerfile lint
simple  /  Lint metadata.yaml
8s
simple / Lint metadata.yaml
simple  /  Lint and unit tests
50s
simple / Lint and unit tests
simple  /  Draft publish docs
22s
simple / Draft publish docs
simple  /  Check license headers
28s
simple / Check license headers
simple  /  Check libraries
6s
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
5s
integration-juju3 / Plan Image Scanning
Matrix: integration-rock-artifact / Integration tests / Integration tests
integration-rock-artifact  /  Plan Image Scanning
3s
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
6s
integration-self-hosted / Plan Image Scanning
Matrix: integration / Integration tests / Integration tests
integration  /  Plan Image Scanning
6s
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
2s
publish / select-channel
publish  /  Publish charm to latest/edge
1m 2s
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

10 errors, 19 warnings, and 2 notices
simple-self-hosted / Inclusive naming
The runner has received a shutdown signal. This can happen when the runner service is stopped, or a manually started runner is canceled.
simple-self-hosted / Inclusive naming
The operation was canceled.
simple-self-hosted / Dockerfile lint
The runner has received a shutdown signal. This can happen when the runner service is stopped, or a manually started runner is canceled.
simple-self-hosted / Dockerfile lint
The operation was canceled.
simple-self-hosted / Draft publish docs
The runner has received a shutdown signal. This can happen when the runner service is stopped, or a manually started runner is canceled.
simple-self-hosted / Draft publish docs
The operation was canceled.
simple-self-hosted / Required 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 / Check license headers
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
integration / Build docker-image (test)
Unexpected input(s) 'rockcraft-enable-security-nesting', valid inputs are ['build-plan', 'charmcraft-channel', 'charmcraft-ref', 'charmcraft-repository', 'github-token', 'rockcraft-channel', 'rockcraft-ref', 'rockcraft-repository']
integration-juju3 / Build docker-image (test)
Unexpected input(s) 'rockcraft-enable-security-nesting', valid inputs are ['build-plan', 'charmcraft-channel', 'charmcraft-ref', 'charmcraft-repository', 'github-token', 'rockcraft-channel', 'rockcraft-ref', 'rockcraft-repository']
integration-artifact / Build docker-image (test)
Unexpected input(s) 'rockcraft-enable-security-nesting', valid inputs are ['build-plan', 'charmcraft-channel', 'charmcraft-ref', 'charmcraft-repository', 'github-token', 'rockcraft-channel', 'rockcraft-ref', 'rockcraft-repository']
integration-self-hosted / Build docker-image (test)
Unexpected input(s) 'rockcraft-enable-security-nesting', valid inputs are ['build-plan', 'charmcraft-channel', 'charmcraft-ref', 'charmcraft-repository', 'github-token', 'rockcraft-channel', 'rockcraft-ref', 'rockcraft-repository']
integration-craft / Build rock (test)
Unexpected input(s) 'rockcraft-enable-security-nesting', valid inputs are ['build-plan', 'charmcraft-channel', 'charmcraft-ref', 'charmcraft-repository', 'github-token', 'rockcraft-channel', 'rockcraft-ref', 'rockcraft-repository']
integration-rock-artifact / Build rock (test)
Unexpected input(s) 'rockcraft-enable-security-nesting', valid inputs are ['build-plan', 'charmcraft-channel', 'charmcraft-ref', 'charmcraft-repository', 'github-token', 'rockcraft-channel', 'rockcraft-ref', 'rockcraft-repository']
integration-juju3 / Build charm (test-upload)
Unexpected input(s) 'rockcraft-enable-security-nesting', valid inputs are ['build-plan', 'charmcraft-channel', 'charmcraft-ref', 'charmcraft-repository', 'github-token', 'rockcraft-channel', 'rockcraft-ref', 'rockcraft-repository']
integration-self-hosted / Build charm (test-upload)
Unexpected input(s) 'rockcraft-enable-security-nesting', valid inputs are ['build-plan', 'charmcraft-channel', 'charmcraft-ref', 'charmcraft-repository', 'github-token', 'rockcraft-channel', 'rockcraft-ref', 'rockcraft-repository']
integration-craft / Build charm (integration-test-charm-1)
Unexpected input(s) 'rockcraft-enable-security-nesting', valid inputs are ['build-plan', 'charmcraft-channel', 'charmcraft-ref', 'charmcraft-repository', 'github-token', 'rockcraft-channel', 'rockcraft-ref', 'rockcraft-repository']
integration-rock / Build charm (integration-test-charm-1)
Unexpected input(s) 'rockcraft-enable-security-nesting', valid inputs are ['build-plan', 'charmcraft-channel', 'charmcraft-ref', 'charmcraft-repository', 'github-token', 'rockcraft-channel', 'rockcraft-ref', 'rockcraft-repository']
integration-rock-artifact / Build charm (integration-test-charm-1)
Unexpected input(s) 'rockcraft-enable-security-nesting', valid inputs are ['build-plan', 'charmcraft-channel', 'charmcraft-ref', 'charmcraft-repository', 'github-token', 'rockcraft-channel', 'rockcraft-ref', 'rockcraft-repository']
integration-artifact / Build charm (test-upload)
Unexpected input(s) 'rockcraft-enable-security-nesting', valid inputs are ['build-plan', 'charmcraft-channel', 'charmcraft-ref', 'charmcraft-repository', 'github-token', 'rockcraft-channel', 'rockcraft-ref', 'rockcraft-repository']
integration / Build charm (test-upload)
Unexpected input(s) 'rockcraft-enable-security-nesting', valid inputs are ['build-plan', 'charmcraft-channel', 'charmcraft-ref', 'charmcraft-repository', 'github-token', 'rockcraft-channel', 'rockcraft-ref', 'rockcraft-repository']
simple-self-hosted / Check license headers
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
integration-rock / Build rock (test)
Unexpected input(s) 'rockcraft-enable-security-nesting', valid inputs are ['build-plan', 'charmcraft-channel', 'charmcraft-ref', 'charmcraft-repository', 'github-token', 'rockcraft-channel', 'rockcraft-ref', 'rockcraft-repository']
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`

Artifacts

Produced during runtime
Name Size
2024-10-09T11-21-10-96db__build__output__charm__test-upload
6.11 MB
2024-10-09T11-21-10-96db__build__output__docker-image__test
126 MB
2024-10-09T11-21-10-96db__plan
361 Bytes
2024-10-09T11-21-10-b662__test-upload-artifact__build__output__charm__test-upload
6.11 MB
2024-10-09T11-21-10-b662__test-upload-artifact__build__output__docker-image__test
126 MB
2024-10-09T11-21-10-b662__test-upload-artifact__plan
370 Bytes
2024-10-09T11-21-11-8275__test-upload__build__output__charm__test-upload
6.11 MB
2024-10-09T11-21-11-8275__test-upload__build__output__docker-image__test
126 MB
2024-10-09T11-21-11-8275__test-upload__plan
365 Bytes
2024-10-09T11-21-11-a682__build__output__charm__test-upload
6.11 MB
2024-10-09T11-21-11-a682__build__output__docker-image__test
126 MB
2024-10-09T11-21-11-a682__plan
362 Bytes
2024-10-09T11-21-12-8c87__build__output__charm__integration-test-charm-1
6.1 MB
2024-10-09T11-21-12-8c87__build__output__rock__test
45.5 MB
2024-10-09T11-21-12-8c87__plan
349 Bytes
2024-10-09T11-21-12-ba1a__build__output__charm__integration-test-charm-1
6.1 MB
2024-10-09T11-21-12-ba1a__build__output__rock__test
45.5 MB
2024-10-09T11-21-12-ba1a__plan
348 Bytes
2024-10-09T11-21-13-bc42__build__output__charm__integration-test-charm-1
6.1 MB
2024-10-09T11-21-13-bc42__build__output__rock__test
45.5 MB
2024-10-09T11-21-13-bc42__plan
349 Bytes
report
538 Bytes