Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing to build snap #287

Closed
flotter opened this issue Aug 24, 2023 · 5 comments
Closed

Failing to build snap #287

flotter opened this issue Aug 24, 2023 · 5 comments

Comments

@flotter
Copy link
Contributor

flotter commented Aug 24, 2023

11s
##[debug]Evaluating condition for step: 'Build Pebble Snap'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Build Pebble Snap
##[debug]Loading inputs
##[debug]Loading env
Run snapcore/action-build@v1
with:
path: .
build-info: true
snapcraft-channel: stable
env:
SNAP_NAME: pebble
Building Snapcraft project in "."...
::group::Installing Snapcraft plus dependencies
Installing Snapcraft plus dependencies
Ensuring runner is in the lxd group...
/usr/bin/sudo groupadd --force --system lxd
/usr/bin/sudo usermod --append --groups lxd runner
Installing LXD...
/usr/bin/sudo snap refresh lxd
snap "lxd" has no updates available
Initialising LXD...
/usr/bin/sudo lxd init --auto
Error: The process '/usr/bin/dpkg' failed with exit code 1
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: Build Pebble Snap

@flotter
Copy link
Contributor Author

flotter commented Aug 24, 2023

@cjdcordeiro Not sure if this is a transient issue, but we seem to be failing consistently on this.

@flotter
Copy link
Contributor Author

flotter commented Aug 24, 2023

#285
#273

@flotter
Copy link
Contributor Author

flotter commented Aug 24, 2023

Will dive into this tomorrow.

@cjdcordeiro
Copy link
Collaborator

@flotter yes this seems to be a recent issue that affected many self-hosted runners.

I believe this should fix it. And I can see the last two snap workflows running successfully.

@flotter
Copy link
Contributor Author

flotter commented Aug 25, 2023

Thank you @cjdcordeiro, as you suggested the tests now pass. Thanks for the quick tip.

@flotter flotter closed this as completed Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants