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

modules/nixos/buildbot: add pullBased repo microvm.nix #1598

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Conversation

zowoq
Copy link
Contributor

@zowoq zowoq commented Dec 7, 2024

Didn't start automatically so I triggered an eval manually:

warning: ignoring the client-specified setting 'trusted-public-keys', because it is a restricted setting and you are not a trusted user
warning: ignoring untrusted substituter 'https://microvm.cachix.org', you are not a trusted user.
Run `man nix.conf` for more information on the `substituters` configuration option.
warning: ignoring the client-specified setting 'trusted-public-keys', because it is a restricted setting and you are not a trusted user
error: flake 'git+file:///var/lib/buildbot-worker/worker-081/astro_microvm_nix_nix-eval/build' does not provide attribute 'checks'
warning: ignoring untrusted substituter 'https://microvm.cachix.org', you are not a trusted user.
Run `man nix.conf` for more information on the `substituters` configuration option.
warning: ignoring the client-specified setting 'trusted-public-keys', because it is a restricted setting and you are not a trusted user
error: flake 'git+file:///var/lib/buildbot-worker/worker-081/astro_microvm_nix_nix-eval/build' does not provide attribute 'checks'
warning: ignoring untrusted substituter 'https://microvm.cachix.org', you are not a trusted user.
Run `man nix.conf` for more information on the `substituters` configuration option.
warning: ignoring the client-specified setting 'trusted-public-keys', because it is a restricted setting and you are not a trusted user
error: flake 'git+file:///var/lib/buildbot-worker/worker-081/astro_microvm_nix_nix-eval/build' does not provide attribute 'checks'
warning: ignoring untrusted substituter 'https://microvm.cachix.org', you are not a trusted user.
Run `man nix.conf` for more information on the `substituters` configuration option.
warning: ignoring the client-specified setting 'trusted-public-keys', because it is a restricted setting and you are not a trusted user
error: flake 'git+file:///var/lib/buildbot-worker/worker-081/astro_microvm_nix_nix-eval/build' does not provide attribute 'checks'
error: flake 'git+file:///var/lib/buildbot-worker/worker-081/astro_microvm_nix_nix-eval/build' does not provide attribute 'checks'
warning: ignoring untrusted substituter 'https://microvm.cachix.org', you are not a trusted user.
Run `man nix.conf` for more information on the `substituters` configuration option.
warning: ignoring the client-specified setting 'trusted-public-keys', because it is a restricted setting and you are not a trusted user
warning: ignoring untrusted substituter 'https://microvm.cachix.org', you are not a trusted user.
Run `man nix.conf` for more information on the `substituters` configuration option.
warning: ignoring the client-specified setting 'trusted-public-keys', because it is a restricted setting and you are not a trusted user
error: flake 'git+file:///var/lib/buildbot-worker/worker-081/astro_microvm_nix_nix-eval/build' does not provide attribute 'checks'
warning: ignoring untrusted substituter 'https://microvm.cachix.org', you are not a trusted user.
Run `man nix.conf` for more information on the `substituters` configuration option.
warning: ignoring the client-specified setting 'trusted-public-keys', because it is a restricted setting and you are not a trusted user
error: flake 'git+file:///var/lib/buildbot-worker/worker-081/astro_microvm_nix_nix-eval/build' does not provide attribute 'checks'
warning: ignoring untrusted substituter 'https://microvm.cachix.org', you are not a trusted user.
Run `man nix.conf` for more information on the `substituters` configuration option.
warning: ignoring the client-specified setting 'trusted-public-keys', because it is a restricted setting and you are not a trusted user
error: flake 'git+file:///var/lib/buildbot-worker/worker-081/astro_microvm_nix_nix-eval/build' does not provide attribute 'checks'
warning: ignoring untrusted substituter 'https://microvm.cachix.org', you are not a trusted user.
Run `man nix.conf` for more information on the `substituters` configuration option.
warning: ignoring the client-specified setting 'trusted-public-keys', because it is a restricted setting and you are not a trusted user
error: flake 'git+file:///var/lib/buildbot-worker/worker-081/astro_microvm_nix_nix-eval/build' does not provide attribute 'checks'
error: flake 'git+file:///var/lib/buildbot-worker/worker-081/astro_microvm_nix_nix-eval/build' does not provide attribute 'checks'
error: worker error: error: flake 'git+file:///var/lib/buildbot-worker/worker-081/astro_microvm_nix_nix-eval/build' does not provide attribute 'checks'
$ sudo cat /var/lib/buildbot-worker/worker-081/astro_microvm_nix_nix-eval/build/buildbot-nix.toml
attribute = "hydraJobs"

qowoz/microvm.nix@4843601

  • seems to ignore buildbot-nix.toml, works after the flake is changed to checks

  • eval uses a massive amount of memory

Comment on lines +31 to +34
"astro/microvm.nix" = {
url = "https://github.com/qowoz/microvm.nix.git";
defaultBranch = "main";
};
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
"astro/microvm.nix" = {
url = "https://github.com/qowoz/microvm.nix.git";
defaultBranch = "main";
};
"astro/microvm.nix" = {
url = "https://github.com/qowoz/microvm.nix.git";
defaultBranch = "main";
evalWorkerCount = 4;
};

@Mic92 Could we make evalWorkerCount configurable per repo? This repo uses a lot of memory and I really don't want to have to reduce it just for one repo.

Copy link
Member

Choose a reason for hiding this comment

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

@zowoq sounds doable and useful. Please open an issue. We have most of the code needed for this to happen already there.

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