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

ci: fix testing of xapi-xenstored in newer opam's sandboxes #4688

Merged
merged 1 commit into from
Apr 19, 2022

Conversation

psafont
Copy link
Member

@psafont psafont commented Apr 19, 2022

xs-opam's CI is the only environment where /tmp is not writable and
XDG_RUNTIME_DIR is not set. Using TMPDIR with /tmp as a backup will mean
the socket is writeable in all environments

xs-opam's CI successfuly passes with this branch: https://github.com/psafont/xs-opam/runs/6075835428?check_suite_focus=true

xs-opam's CI is the only environment where /tmp is not writable and
XDG_RUNTIME_DIR is not set. Using TMPDIR with /tmp as a backup will mean
the socket is writeable in all environments

Signed-off-by: Pau Ruiz Safont <pau.safont@citrix.com>
@edwintorok
Copy link
Contributor

I thought this worked in the past though, has XDG_RUNTIME_DIR got dropped by accident somewhere in opam?

@psafont
Copy link
Member Author

psafont commented Apr 19, 2022

Until 2 days ago the CI used opam 2.0.8, with the new version it got upgraded to 2.0.10 which has the breaking sandbox changes. we're lucky this doesn't affect the yangtze branch because it's using containers

@psafont psafont merged commit a285883 into xapi-project:master Apr 19, 2022
@psafont psafont deleted the sandbox branch April 19, 2022 10:20
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

Successfully merging this pull request may close these issues.

3 participants