fluentd icon indicating copy to clipboard operation
fluentd copied to clipboard

CI fails on Ruby HEAD

Open Watson1978 opened this issue 1 year ago • 0 comments

Describe the bug

Now, CI fails on Ruby HEAD. https://github.com/fluent/fluentd/actions/runs/10277576606

I investigated this failures and found what webrick raises exception of "uninitialized constant URI::REGEXP (NameError)" at https://github.com/ruby/webrick/blob/158a7ef85337e0e5cdce0c29cb5cb89c7beb9c53/lib/webrick/httprequest.rb#L507

Seems URI::REGEXP was removed at https://github.com/ruby/uri/pull/107 recently.

And webrick maintainer already fixed this issue at https://github.com/ruby/webrick/pull/144, but it's not released yet.

[!NOTE] I tried to use webrick from the master branch, then, CI passes.

  • Changes:
    • https://github.com/Watson1978/fluentd/pull/1/files
  • CI Result:
    • https://github.com/Watson1978/fluentd/actions/runs/10296597635

This issue should be solved by next release of webrick gem (v1.8.2 or above).

To Reproduce

Run tests with Ruby HEAD

Expected behavior

All tests will be passed.

Your Environment

- Fluentd version:
- Package version:
- Operating system:
- Kernel version:

Your Configuration

none

Your Error Log

https://github.com/fluent/fluentd/actions/runs/10277576606

Additional context

No response

Watson1978 avatar Aug 08 '24 09:08 Watson1978