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

Running tests on platforms different from x86_64-linux (e.g. aarch64) #36

Closed
andir opened this Issue Jan 10, 2018 · 5 comments

Comments

Projects
None yet
3 participants
@andir
Member

andir commented Jan 10, 2018

Currently ofborg is not running tests on any platform that is not x86_64-linux, especially not aarch64. According to @grahamc the relevant source code part is:

https://github.com/grahamc/ofborg/blob/ec4d16c21fdcbc9e2620d12efdba0aa06ba2492c/ofborg/src/tasks/build.rs#L74-L77

@tilpner

This comment has been minimized.

Show comment
Hide comment
Contributor

tilpner commented Jan 28, 2018

@grahamc

This comment has been minimized.

Show comment
Hide comment
@grahamc

grahamc Jan 28, 2018

Member

Ah so this ticket is about NixOS tests which are only running on x86_64 right now.

Member

grahamc commented Jan 28, 2018

Ah so this ticket is about NixOS tests which are only running on x86_64 right now.

@grahamc

This comment has been minimized.

Show comment
Hide comment
@grahamc

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:

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:

  1. in githubcommentparser dispatch Test jobs to a separate test exchange
  2. 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.
Member

grahamc commented Jan 30, 2018

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:

  1. in githubcommentparser dispatch Test jobs to a separate test exchange
  2. 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.
@grahamc

This comment has been minimized.

Show comment
Hide comment
@grahamc

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.

Member

grahamc commented Jan 31, 2018

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.

@grahamc

This comment has been minimized.

Show comment
Hide comment
@grahamc

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.

Member

grahamc commented Jan 31, 2018

I went ahead and made a PR for both those tasks so I can close this out. These PRs are just housekeeping.

@grahamc grahamc closed this Jan 31, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment