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

Add sandbox-breaking tests as labeled as feature(?) #781

Open
toastal opened this issue Oct 25, 2024 · 1 comment
Open

Add sandbox-breaking tests as labeled as feature(?) #781

toastal opened this issue Oct 25, 2024 · 1 comment
Labels
epic: packaging Relates to the packaging of Topiary

Comments

@toastal
Copy link
Contributor

toastal commented Oct 25, 2024

I don’t know the appropriate Rust terminology for it, but it would be convenient if anything that required breaking out of the Nix sandbox, like network requests, were labeled as such so there was a flag to disable all of these test that will always fail in the sandbox. I am trying to package 0.5.1 for Nixpkgs, but the build fails on Io (the Jovian moon? input/output is abbreviated as IO) related to prefetch code.

Error Fetching Language: Io(Os { code: 13, kind: PermissionDenied, message: "Permission denied" })

failures:
    test_fmt_dir
    test_fmt_files
    test_fmt_files_query_fallback
    test_fmt_stdin
    test_fmt_stdin_query
    test_fmt_stdin_query_fallback
    test_vis

1

Footnotes

  1. Please consider giving up MS GitHub or offering a non-proprietary, non-US-corporate-controlled mirror for this free software project. I wish to delete this Microsoft account in the future, but I need more projects like this to support alternative methods to send patches & contribute.

@nbacquey
Copy link
Member

Hi @toastal, thanks for the issue.
Could you please provide a more detailed reproducer?

@nbacquey nbacquey added the epic: packaging Relates to the packaging of Topiary label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic: packaging Relates to the packaging of Topiary
Projects
None yet
Development

No branches or pull requests

2 participants