nix-community / buildbot-nix

A nixos module to make buildbot a proper Nix-CI [maintainer=@Mic92]
64 stars 18 forks source link

Org members cannot stop builds #175

Open Mic92 opened 2 weeks ago

Mic92 commented 2 weeks ago

Reported by @nikstur in nix-community

nikstur commented 2 weeks ago

It was me @nikstur

nikstur commented 2 weeks ago

It also seems that if you manually rebuild, nix-eval will not turn green: https://buildbot.nix-community.org/#/builders/21/builds/57

Mic92 commented 2 weeks ago

I think buildbot doesn't send out a status update in that case. I would probably ignore this bug for now and people need to restart the "nix-eval" instead.

MagicRB commented 2 weeks ago

I need more information here, testing it on the link you sent, I can both rebuild and cancel. So not sure how to reproduce and debug why. According to the current code, anyone in the organization that the project belongs to should be able to control the nix-eval, nix-build and nix-skipped-build builders.

Mic92 commented 2 weeks ago

I will try to get the logs for that soon, if not please ping me again.

Mic92 commented 2 weeks ago

So the issue is that the "eval" builder can be restarted but not the triggered package builds. Here are the logs for lanzaboote:

Jun 14 22:07:12 build03 twistd[2502]: 2024-06-14T22:07:12+0000 [buildbot_nix#warn] Builder github:nix-community/lanzaboote#checks.aarch64-linux.basic not allowed by nix-community: {'nix-community/nix-index/nix-eval', 'nix-community/neovim-nightly-overlay/nix-skipped-build', 'nix-community/nixvim/nix-build', 'nix-community/ethereum.nix/nix-eval', 'nix-community/infra/nix-skipped-build', 'nix-community/nixpkgs-xr/nix-skipped-build', 'nix-community/nixos-images/nix-build', 'nix-community/nixpkgs-update/nix-skipped-build', 'nix-community/nixpkgs-xr/nix-eval', 'nix-community/srvos/nix-build', 'nix-community/nix-index/nix-skipped-build', 'nix-community/srvos/nix-eval', 'nix-community/nixos-images/nix-skipped-build', 'nix-community/nixpkgs-update/nix-build', 'nix-community/dreampkgs/nix-skipped-build', 'nix-community/ethereum.nix/nix-build', 'nix-community/nix-direnv/nix-eval', 'nix-community/nixpkgs-xr/nix-build', 'nix-community/nixvim/nix-eval', 'nix-community/nixvim/nix-skipped-build', 'nix-community/lanzaboote/nix-build', 'nix-community/srvos/nix-skipped-build', 'nix-community/dream2nix/nix-skipped-build', 'nix-community/infra/nix-build', 'nix-community/dreampkgs/nix-eval', 'nix-community/dream2nix/nix-eval', 'nix-community/neovim-nightly-overlay/nix-eval', 'nix-community/nix-direnv/nix-build', 'nix-community/nixos-generators/nix-build', 'nix-community/lanzaboote/nix-eval', 'nix-community/dream2nix/nix-build', 'nix-community/nixos-generators/nix-eval', 'nix-community/infra/nix-eval', 'nix-community/nix-index/nix-build', 'nix-community/nixos-images/nix-eval', 'nix-community/nixos-generators/nix-skipped-build', 'reload-github-projects', 'nix-community/ethereum.nix/nix-skipped-build', 'nix-community/neovim-nightly-overlay/nix-build', 'nix-community/nix-direnv/nix-skipped-build', 'nix-community/lanzaboote/nix-skipped-build', 'nix-community/nixpkgs-update/nix-eval', 'nix-community/dreampkgs/nix-build'}