Giter VIP home page Giter VIP logo

nix-vm-test's People

Contributors

jillthornhill avatar picnoir avatar r-vdp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nix-vm-test's Issues

apt-get install breaks the test runner

Describe the bug

The apt-get install output sometimes breaks the NixOS test runner. I think it's related to the apt menu. The current (terrible) workaround consists in redirecting the apt-get output to a file.

I don't have a minimal reproducer yet.

Support for multiple VMs

Is your feature request related to a problem? Please describe.

The current solution supports a single VM.

For scenarios where integration tests span across multiple VMs, it would be helpful to spin them all up inside the test environment and have a network layer over which they can communicate with each other.

Describe the solution you'd like

Something similar to the NixOS VM tests where each instance is keyed by its hostname.

Describe alternatives you've considered

Additional context

Fedora: can't reach the 9p store mount from systemd services

Describe the bug

We can access the store 9p mount just fine from the host, however, the systemd services cannot access it.

When the service tries to access the mount, this error message pops out in the journal:

9pnet_virtio: no channels available for device nix-store

I tried these recommandations https://superuser.com/questions/1317119/qemu-share-folder-9pnet-virtio-no-channels-available-for-device . No luck.

I tried:

  • Disabling SELinux.
  • Set ProtectSystem to false

It feels like a weird systemd/9p interaction to me. I searched the systemd bug tracker, there's no related issue, opened or close.

This issue does not manifest in Ubuntu or Debian. They're using older systemd versions.

We probably should try to find a minimal reproducer and poke upstream with that.

Automate image.json fetch

For now, the image.json files have been mostly generated manually. We should automate this process for Ubuntu, Debian and Fedora.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.