Skip to content

Tests not working on Arch Linux for 0.19.1 #17

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

Closed
Segaja opened this issue May 11, 2025 · 1 comment
Closed

Tests not working on Arch Linux for 0.19.1 #17

Segaja opened this issue May 11, 2025 · 1 comment

Comments

@Segaja
Copy link

Segaja commented May 11, 2025

When trying to update to 0.19.1 I get the following errors:

==> Starting check()...
9 passed 2 errored out of 11 total (19 assertions)
🏁 Finished in 47.7ms; 398.648 assertions per second.
🐇 No slow tests found! Well done!

🔥 Errored assertions:
describe Async::REST::Wrapper::JSON it behaves like a wrapper it can post payload representation test/async/rest/wrapper/json.rb:12:32
        ⚠ Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
                /usr/lib/ruby/gems/3.4.0/gems/io-endpoint-0.15.2/lib/io/endpoint/wrapper.rb:133 Socket#initialize
                /usr/lib/ruby/gems/3.4.0/gems/io-endpoint-0.15.2/lib/io/endpoint/wrapper.rb:133 IO.new
                /usr/lib/ruby/gems/3.4.0/gems/io-endpoint-0.15.2/lib/io/endpoint/wrapper.rb:133 IO::Endpoint::Wrapper#bind
                /usr/lib/ruby/gems/3.4.0/gems/io-endpoint-0.15.2/lib/io/endpoint/host_endpoint.rb:68 block in IO::Endpoint::HostEndpoint#bind
                /usr/lib/ruby/gems/3.4.0/gems/io-endpoint-0.15.2/lib/io/endpoint/host_endpoint.rb:67 Array#each
                /usr/lib/ruby/gems/3.4.0/gems/io-endpoint-0.15.2/lib/io/endpoint/host_endpoint.rb:67 Enumerator#each
                /usr/lib/ruby/gems/3.4.0/gems/io-endpoint-0.15.2/lib/io/endpoint/host_endpoint.rb:67 Enumerable#map
                /usr/lib/ruby/gems/3.4.0/gems/io-endpoint-0.15.2/lib/io/endpoint/host_endpoint.rb:67 IO::Endpoint::HostEndpoint#bind
                /usr/lib/ruby/gems/3.4.0/gems/async-http-0.87.0/lib/async/http/endpoint.rb:216 Async::HTTP::Endpoint#bind
                /usr/lib/ruby/gems/3.4.0/gems/io-endpoint-0.15.2/lib/io/endpoint/bound_endpoint.rb:13 IO::Endpoint::BoundEndpoint.bound
                /usr/lib/ruby/gems/3.4.0/gems/io-endpoint-0.15.2/lib/io/endpoint/bound_endpoint.rb:80 IO::Endpoint::Generic#bound
                /usr/lib/ruby/gems/3.4.0/gems/sus-fixtures-async-http-0.10.0/lib/sus/fixtures/async/http/server_context.rb:106 Sus::Fixtures::Async::HTTP::ServerContext#before
                /usr/lib/ruby/gems/3.4.0/gems/sus-0.32.0/lib/sus/base.rb:37 Sus::Base#around
                /usr/lib/ruby/gems/3.4.0/gems/sus-fixtures-async-0.2.0/lib/sus/fixtures/async/scheduler_context.rb:72 block (2 levels) in Sus::Fixtures::Async::SchedulerContext#around
                /usr/lib/ruby/gems/3.4.0/gems/sus-fixtures-async-0.2.0/lib/sus/fixtures/async/scheduler_context.rb:36 block in Sus::Fixtures::Async::SchedulerContext#run_with_timeout
                /usr/lib/ruby/gems/3.4.0/gems/async-2.23.0/lib/async/task.rb:200 block in Async::Task#run
                /usr/lib/ruby/gems/3.4.0/gems/async-2.23.0/lib/async/task.rb:438 block in Async::Task#schedule
describe Async::REST::Wrapper::URLEncoded it behaves like a wrapper it can post payload representation test/async/rest/wrapper/url_encoded.rb:12:32
        ⚠ Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
                /usr/lib/ruby/gems/3.4.0/gems/io-endpoint-0.15.2/lib/io/endpoint/wrapper.rb:133 Socket#initialize
                /usr/lib/ruby/gems/3.4.0/gems/io-endpoint-0.15.2/lib/io/endpoint/wrapper.rb:133 IO.new
                /usr/lib/ruby/gems/3.4.0/gems/io-endpoint-0.15.2/lib/io/endpoint/wrapper.rb:133 IO::Endpoint::Wrapper#bind
                /usr/lib/ruby/gems/3.4.0/gems/io-endpoint-0.15.2/lib/io/endpoint/host_endpoint.rb:68 block in IO::Endpoint::HostEndpoint#bind
                /usr/lib/ruby/gems/3.4.0/gems/io-endpoint-0.15.2/lib/io/endpoint/host_endpoint.rb:67 Array#each
                /usr/lib/ruby/gems/3.4.0/gems/io-endpoint-0.15.2/lib/io/endpoint/host_endpoint.rb:67 Enumerator#each
                /usr/lib/ruby/gems/3.4.0/gems/io-endpoint-0.15.2/lib/io/endpoint/host_endpoint.rb:67 Enumerable#map
                /usr/lib/ruby/gems/3.4.0/gems/io-endpoint-0.15.2/lib/io/endpoint/host_endpoint.rb:67 IO::Endpoint::HostEndpoint#bind
                /usr/lib/ruby/gems/3.4.0/gems/async-http-0.87.0/lib/async/http/endpoint.rb:216 Async::HTTP::Endpoint#bind
                /usr/lib/ruby/gems/3.4.0/gems/io-endpoint-0.15.2/lib/io/endpoint/bound_endpoint.rb:13 IO::Endpoint::BoundEndpoint.bound
                /usr/lib/ruby/gems/3.4.0/gems/io-endpoint-0.15.2/lib/io/endpoint/bound_endpoint.rb:80 IO::Endpoint::Generic#bound
                /usr/lib/ruby/gems/3.4.0/gems/sus-fixtures-async-http-0.10.0/lib/sus/fixtures/async/http/server_context.rb:106 Sus::Fixtures::Async::HTTP::ServerContext#before
                /usr/lib/ruby/gems/3.4.0/gems/sus-0.32.0/lib/sus/base.rb:37 Sus::Base#around
                /usr/lib/ruby/gems/3.4.0/gems/sus-fixtures-async-0.2.0/lib/sus/fixtures/async/scheduler_context.rb:72 block (2 levels) in Sus::Fixtures::Async::SchedulerContext#around
                /usr/lib/ruby/gems/3.4.0/gems/sus-fixtures-async-0.2.0/lib/sus/fixtures/async/scheduler_context.rb:36 block in Sus::Fixtures::Async::SchedulerContext#run_with_timeout
                /usr/lib/ruby/gems/3.4.0/gems/async-2.23.0/lib/async/task.rb:200 block in Async::Task#run
                /usr/lib/ruby/gems/3.4.0/gems/async-2.23.0/lib/async/task.rb:438 block in Async::Task#schedule
==> ERROR: A failure occurred in check().
@Segaja
Copy link
Author

Segaja commented May 22, 2025

Solved on my side by re-enabling ipv6

@Segaja Segaja closed this as completed May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant