Skip to content

Disable build isolation during snap dns plugins build#8319

Merged
bmw merged 1 commit intocertbot:masterfrom
adferrand:build-isolation-snap-dns-plugins
Sep 25, 2020
Merged

Disable build isolation during snap dns plugins build#8319
bmw merged 1 commit intocertbot:masterfrom
adferrand:build-isolation-snap-dns-plugins

Conversation

@adferrand
Copy link
Copy Markdown
Collaborator

Partial fix for #8256

This PR disable the build isolation for snap dns plugins similarly to what is done for the certbot snap.

@adferrand adferrand force-pushed the build-isolation-snap-dns-plugins branch from ce6de01 to c7af660 Compare September 24, 2020 18:47
@bmw bmw self-assigned this Sep 24, 2020
@bmw
Copy link
Copy Markdown
Member

bmw commented Sep 24, 2020

Code looks right. I just started a build with this change at https://dev.azure.com/certbot/certbot/_build/results?buildId=2724&view=results to try and make sure everything still works.

Copy link
Copy Markdown
Member

@bmw bmw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@bmw bmw merged commit feca125 into certbot:master Sep 25, 2020
bmw added a commit that referenced this pull request Sep 28, 2020
bmw added a commit that referenced this pull request Sep 28, 2020
#8323)

This reverts commit feca125.

Since this change landed, ARM builds for many of the DNS plugins have failed every night. See https://dev.azure.com/certbot/certbot/_build?definitionId=5 or our public Mattermost channel.

I quickly tried to fix this myself and wasn't trivially able to do so. I tried setting `SNAPCRAFT_PYTHON_VENV_ARGS: --system-site-packages` and adding `python3-wheel` as a build dependency, but it didn't work for some reason. The `python3-wheel` package didn't seem to be installed.

I still suspect something like this is the approach we should take, however, I want to fix the failing tests now so things are no longer broken in `master` and those of us on the Certbot team at EFF stop getting spammed with 54 (!!) emails about failed builds from launchpad every night.

Unfortunately, while I was working on this the queue for ARM machines on Launchpad jumped up to an estimated ~20 hour wait, but I confirmed that this fixes the problem by building on an ARM AMI using the instructions at https://github.com/certbot/certbot/blob/master/tools/snap/README.md#use-testing-and-development. If whoever reviews this would like an ARM machine to test on themselves, please let me know.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants