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

fake-gcs-server: disable checks #389286

Merged
merged 1 commit into from
Mar 19, 2025

Conversation

commiterate
Copy link
Contributor

@commiterate commiterate commented Mar 12, 2025

The fake-gcs-server unit tests are a bit flaky depending on the system they're built on. They worked fine on my local x86-64 NixOS and AArch64 Darwin machines, but they failed in Hydra and on some people's Ubuntu 22.04 systems.

Errors seem to be something going wrong with server instantiation in unit tests (not sure if it's socket binding or something that's disallowed).

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/)
  • 25.05 Release Notes (or backporting 24.11 and 25.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.

Add a 👍 reaction to pull requests you find important.

@commiterate
Copy link
Contributor Author

@jpetrucciani Any concerns with disabling the checks?

@jpetrucciani
Copy link
Member

I think that should be fine, there are many packages inside nixpkgs that do the same at the moment

@commiterate commiterate added 12.approvals: 1 This PR was reviewed and approved by one reputable person 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in the package labels Mar 19, 2025
Copy link
Contributor

@GaetanLepage GaetanLepage left a comment

Choose a reason for hiding this comment

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

Please, add a comment stating why we disable the tests.

@commiterate commiterate force-pushed the fix/fake-gcs-server branch from 58fa468 to b77b7e0 Compare March 19, 2025 21:06
@commiterate
Copy link
Contributor Author

Comment added.

@GaetanLepage
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 389286


x86_64-linux

✅ 1 package built:
  • fake-gcs-server

aarch64-linux

✅ 1 package built:
  • fake-gcs-server

x86_64-darwin

✅ 1 package built:
  • fake-gcs-server

aarch64-darwin

✅ 1 package built:
  • fake-gcs-server

@GaetanLepage
Copy link
Contributor

Comment added.

Thanks!

@GaetanLepage GaetanLepage merged commit a5ff48b into NixOS:master Mar 19, 2025
25 of 27 checks passed
@commiterate commiterate deleted the fix/fake-gcs-server branch March 19, 2025 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10.rebuild-darwin: 1-10 10.rebuild-darwin: 1 10.rebuild-linux: 1-10 10.rebuild-linux: 1 12.approvals: 1 This PR was reviewed and approved by one reputable person 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in the package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants