Skip to content

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

Merged
emilazy merged 1 commit intoNixOS:stagingfrom
reckenrode:push-upoyrqrmvknu
Oct 11, 2024
Merged

python3Packages.elastic-transport: disable async httpbin test#346989
emilazy merged 1 commit intoNixOS:stagingfrom
reckenrode:push-upoyrqrmvknu

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.

@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Oct 7, 2024
@ofborg ofborg bot requested a review from fabaff October 7, 2024 02:46
@ofborg ofborg bot added 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 1001-2500 This PR causes many rebuilds on Darwin and should most likely target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches. labels Oct 7, 2024
@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.
"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
"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
@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

Labels

6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 1001-2500 This PR causes many rebuilds on Darwin and should most likely target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants