Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upRunning tests on platforms different from x86_64-linux (e.g. aarch64) #36
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
grahamc
Jan 28, 2018
Member
Ah so this ticket is about NixOS tests which are only running on x86_64 right now.
|
Ah so this ticket is about NixOS tests which are only running on x86_64 right now. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
grahamc
Jan 30, 2018
Member
A while ago I added a hack to force tests to only build on x86_64-linux. To do this project properly, we need to:
- deploy this patch 8eb0760 which makes the hack not necessary
- deploy this patch https://github.com/NixOS/ofborg/compare/tests-on-aarch64 which detects that if the x86_64-linux suffix is present, removes it
- once all the builders have updated, remove the suffix from https://github.com/NixOS/ofborg/blob/released/ofborg/src/commentparser.rs#L52
- delete the patch from step 2
Separately we should only run NixOS tests on boxes that say they can. This is important because ofborgs running in vms can't. To do this:
- in githubcommentparser dispatch Test jobs to a separate test exchange
- when builders start up, create a queue to work from and bind it to the build exchange, and the test exchange only if they want to run tests too.
|
A while ago I added a hack to force tests to only build on x86_64-linux. To do this project properly, we need to:
Separately we should only run NixOS tests on boxes that say they can. This is important because ofborgs running in vms can't. To do this:
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
grahamc
Jan 31, 2018
Member
aarch64 is running NixOS tests now: https://logs.nix.gsc.io/?attempt_id=eb55bc98-a3bf-4fde-bd06-8e2372c655d3&key=nixos%2Fnixpkgs.34331
I'm going to leave this ticket open until I can finish up the last two items.
|
aarch64 is running NixOS tests now: https://logs.nix.gsc.io/?attempt_id=eb55bc98-a3bf-4fde-bd06-8e2372c655d3&key=nixos%2Fnixpkgs.34331 I'm going to leave this ticket open until I can finish up the last two items. |
This was referenced Jan 31, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
grahamc
Jan 31, 2018
Member
I went ahead and made a PR for both those tasks so I can close this out. These PRs are just housekeeping.
|
I went ahead and made a PR for both those tasks so I can close this out. These PRs are just housekeeping. |
andir commentedJan 10, 2018
Currently
ofborgis not running tests on any platform that is notx86_64-linux, especially notaarch64. According to @grahamc the relevant source code part is:https://github.com/grahamc/ofborg/blob/ec4d16c21fdcbc9e2620d12efdba0aa06ba2492c/ofborg/src/tasks/build.rs#L74-L77