Skip to content

test.cross.sanity: init#243321

Merged
1 commit merged intomasterfrom
unknown repository
Jul 15, 2023
Merged

test.cross.sanity: init#243321
1 commit merged intomasterfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Jul 13, 2023

Description of changes

This commit adds pkgs.test.cross.sanity, which is meant to be a carefully curated list of builds/packages that tend to break when refactoring our cross-compilation infrastructure.

It should strike a balance between being small enough to fit in a single eval (i.e. not so large that hydra-eval-jobs is needed) so we can ask @ofborg to check it, yet should have good examples of things that often break. So, no buckshot mapTestOnCross calls here.

Closes #243320

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.11 Release Notes (or backporting 23.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

This commit adds `pkgs.test.cross.sanity`, which is meant to be a
carefully curated list of builds/packages that tend to break when
refactoring our cross-compilation infrastructure.

It should strike a balance between being small enough to fit in
a single eval (i.e. not so large that hydra-eval-jobs is needed)
so we can ask @ofborg to check it, yet should have good examples
of things that often break.  So, no buckshot `mapTestOnCross`
calls here.
@ofborg ofborg bot added the 6.topic: cross-compilation Building packages on a different platform than they will be used on label Jul 13, 2023
@ghost ghost marked this pull request as ready for review July 13, 2023 19:15
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Jul 13, 2023
@ghost
Copy link
Author

ghost commented Jul 13, 2023

@ofborg build test.cross.sanity

@Artturin
Copy link
Member

@ofborg build tests.cross.sanity

1 similar comment
@ghost
Copy link
Author

ghost commented Jul 14, 2023

@ofborg build tests.cross.sanity

@ghost
Copy link
Author

ghost commented Jul 14, 2023

tests.cross.sanity on x86_64-linux — Success Details

Copy link
Author

@ghost ghost Jul 14, 2023

Choose a reason for hiding this comment

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

I think I know how to fix this, but I want to make sure I don't break native builds in doing so. My PowerPC hardware is offline until Monday, so for now I've just disabled pkgs.pkgsCross.powernv.pkgsBuildTarget.gcc.

@ghost
Copy link
Author

ghost commented Jul 14, 2023

Rebased.

@ghost ghost merged commit 8615853 into NixOS:master Jul 15, 2023
@ghost ghost deleted the pr/cross-smoke branch January 23, 2024 06:47
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: cross-compilation Building packages on a different platform than they will be used on 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

we need a pkgsCross smoke test

1 participant