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

python3Packages.elastic-transport: disable async httpbin test #346989

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

reckenrode
Copy link
Contributor

The async httbin test requires network access.

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

@emilazy
Copy link
Member

emilazy commented Oct 7, 2024

Looks like this needs to go to staging.

@reckenrode reckenrode marked this pull request as draft October 7, 2024 21:30
@reckenrode reckenrode changed the base branch from master to staging October 8, 2024 00:00
@reckenrode reckenrode marked this pull request as ready for review October 8, 2024 00:01
The async httbin test requires network access.
@@ -77,6 +77,7 @@ buildPythonPackage rec {
"test_debug_logging_no_body"
"test_httpbin"
"test_sniffed_nodes_added_to_pool"
"test_async_transport_httpbin"
Copy link
Member

Choose a reason for hiding this comment

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

This test is passing on x86_64 locally for me. On Hydra all archs are passing as well.

Copy link
Member

Choose a reason for hiding this comment

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

This test accesses httpbin.org on the network, which isn’t okay and would break if Hydra had the sandbox enabled. We already disable test_httpbin, which is the synchronous version of the test.

@ofborg ofborg bot requested a review from fabaff October 8, 2024 09:40
@@ -77,6 +77,7 @@ buildPythonPackage rec {
"test_debug_logging_no_body"
"test_httpbin"
"test_sniffed_nodes_added_to_pool"
"test_async_transport_httpbin"
Copy link
Member

Choose a reason for hiding this comment

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

This test accesses httpbin.org on the network, which isn’t okay and would break if Hydra had the sandbox enabled. We already disable test_httpbin, which is the synchronous version of the test.

@emilazy emilazy merged commit c0961a0 into NixOS:staging Oct 11, 2024
22 checks passed
@reckenrode reckenrode deleted the push-upoyrqrmvknu branch October 11, 2024 13:27
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.

3 participants