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

lib.tests.release: build nix without flaky aws-sdk-cpp #266443

Merged
merged 1 commit into from Nov 19, 2023
Merged

lib.tests.release: build nix without flaky aws-sdk-cpp #266443

merged 1 commit into from Nov 19, 2023

Conversation

ghost
Copy link

@ghost ghost commented Nov 9, 2023

Description of changes

The aws-sdk-cpp tests are flaky.

Since pull requests to staging cause nix to be rebuilt, this means that staging PRs end up getting false CI failures due to whatever is flaky in the AWS SDK tests. Since none of our CI needs to (or should be able to) contact AWS S3, let's just omit it all. Bonus: the tests build way faster.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • 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.

@github-actions github-actions bot added the 6.topic: lib The Nixpkgs function library label Nov 9, 2023
@ghost ghost marked this pull request as ready for review November 9, 2023 18:26
@ghost ghost requested review from edolstra and infinisil as code owners November 9, 2023 18:26
lib/path/tests/default.nix Outdated Show resolved Hide resolved
@infinisil
Copy link
Member

General agreement to do this though :)

pkgs/top-level/all-packages.nix Outdated Show resolved Hide resolved
@ghost ghost requested a review from infinisil November 17, 2023 10:56
@ghost
Copy link
Author

ghost commented Nov 17, 2023

Okay, round three. four.

@ghost ghost dismissed infinisil’s stale review November 17, 2023 10:56

requested changes made, review re-requested

The aws-sdk-cpp tests are flaky.

Since pull requests to staging cause nix to be rebuilt, this means
that staging PRs end up getting false CI failures due to whatever is
flaky in the AWS SDK tests.  Since none of our CI needs to (or
should be able to) contact AWS S3, let's just omit it all.  Bonus:
the tests build way faster.
@infinisil infinisil merged commit ff562fa into NixOS:master Nov 19, 2023
20 checks passed
@ghost ghost deleted the pr/lib-tests-no-aws-sdk branch November 19, 2023 06:02
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.

1 participant