-
-
Notifications
You must be signed in to change notification settings - Fork 389
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
Upstream specs #1240
Upstream specs #1240
Conversation
Revert the part of commit 10917c5cc026f839a3dcd072b6e274eed211d0f7, "Update to 18032a7", that discarded the previous commit.
…e install` But we stub-out GEM_HOME variable for test-bundled-gems and others on ruby/ruby. It means the installation path mismatched with GEM_HOME variable always. We can't test this example collectly. ``` 1) Gem.bin_path finds executables of default gems, which are the only files shipped for default gems FAILED Expected File.exist? "/Users/hsbt/Documents/github.com/ruby/ruby/.bundle/gems/bundler-2.7.0.dev/exe/bundle" to be truthy but was false ```
…dated condition on receiver name length
…osed connections
…checks Ruby 3.4 changes
…being"" This reverts commit f196750. These changes lead to failure a Windows job on ruby/spec's CI. The leaks detector reports that global variables are changed: ``` LeakError: Globals changed: {:verbose=>false, :debug=>false} to {:verbose=>nil, :debug=>false} ```
@nobu Unfortunately I had to revert changes upstreamed from ruby/ruby to have ruby/spec CI passed (0ba6deb). All the Windows CI jobs (e.g. this one) fail with the following error:
Wondering if there is another way to solve the issue on Windows. Actually I cannot reproduce any warnings on Windows (I tried on GitHub Actions though). I've tried to discuss the issue after the last specs syncing and asked in ruby/ruby@99d5e6a#r150964722. |
These specs fails with error: ``` Errno::EINVAL: Invalid argument - recvmsg(2) ``` on calling the following methods: ```ruby client.recvmsg(10) # or client.recvmsg_nonblock(10) ```
…emoved The following error is raised: ``` Dir#chdir does not raise an Errno::ENOENT if the original directory no longer exists ERROR Errno::ENOENT: No such file or directory @ dir_chdir0 - D:/a/spec/spec/rubyspec_temp/5588_0/27-testdir1 D:/a/spec/spec/core/dir/chdir_spec.rb:192:in `chdir' D:/a/spec/spec/core/dir/chdir_spec.rb:192:in `block (4 levels) in <top (required)>' D:/a/spec/spec/core/dir/chdir_spec.rb:191:in `chdir' D:/a/spec/spec/core/dir/chdir_spec.rb:191:in `block (3 levels) in <top (required)>' D:/a/spec/spec/core/dir/chdir_spec.rb:129:in `block in <top (required)>' D:/a/spec/spec/core/dir/chdir_spec.rb:128:in `<top (required)>' ```
8126f9f
to
cbbb3c8
Compare
It's probably related to ruby/win32ole#33 |
@nobu @andrykonchin (and I) don't have a Windows dev machine so it's difficult for him to fix it. Could you try to fix it in a way which doesn't permanently modify $VERBOSE and only suppress warnings in small scopes? |
I moved the top level constants for Win32OLE to under |
I don't see any warnings on https://github.com/ruby/ruby/actions/runs/13096898780/job/36540234336#step:22:989 |
In any case, I think there are two good solutions if you see the warnings:
|
@@ -113,6 +113,7 @@ | |||
end | |||
|
|||
ruby_version_is ""..."3.3" do | |||
quarantine! do # May fail with "IO::EAGAINWaitReadable: Resource temporarily unavailable - recvfrom(2) would block" error |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say retry on IO::WaitReadable
for client.recv_nonblock(10)
, it just hasn't seen the closed socket yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in ruby/ruby#12710
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have no clue why these new specs fail on Windows - they raise Errno::EINVAL: Invalid argument - recvmsg(2)
Scheduled specs changes upstreaming from CRuby/JRuby/TruffleRuby