Vít Ondruch wrote on 2023/12/20 18:56:

Dne 15. 12. 23 v 17:03 Vít Ondruch napsal(a):

Dne 15. 12. 23 v 11:10 Vít Ondruch napsal(a):

Dne 26. 11. 23 v 15:13 Mamoru TASAKA napsal(a):

7. rubygem-railties
https://copr.fedorainfracloud.org/coprs/mtasaka/rubygem-newruby-test-3-2/build/6695576/
Testsuite is failing, but due to some different reason:

```
Failure:
FullStackConsoleTest#test_sandbox [test/application/console_test.rb:133]:
"> " expected, but got:

Loading development environment in sandbox (Rails 7.0.8)
Any modifications you make will be rolled back on exit
â–½.
Expected # encoding: ASCII-8BIT
#    valid: true
"Loading development environment in sandbox (Rails 7.0.8)\r\nAny modifications you make will be 
rolled back on exit\r\n\e[1G\xE2\x96\xBD\e[6n" to include "> ".

rails test test/application/console_test.rb:139

F

Failure:
FullStackConsoleTest#test_environment_option_and_irb_option 
[test/application/console_test.rb:133]:
"> " expected, but got:

Loading test environment (Rails 7.0.8)
Switch to inspect mode.
â–½.
Expected # encoding: ASCII-8BIT
#    valid: true
"Loading test environment (Rails 7.0.8)\r\nSwitch to inspect 
mode.\r\n\e[1G\xE2\x96\xBD\e[6n" to include "> ".
```



Isn't this related to the Aruba + Reline issue?

https://bugs.ruby-lang.org/issues/20052

https://github.com/ruby/reline/issues/616


Vít


I have tried to reproduce this with the latest version of Ruby, I have execute 
the console_test.rb more then 100x and I have not hit the issue. Was it fixed 
somehow? Not sure.


Vít


Well, actually with rubygem-railties-7.0.8-2 , 
FullStackConsoleTest#test_sandbox [test/application/console_test.rb:133] is 
passing,
but with rubygem-railties-7.0.8-1, I still see the same error (with ruby git 
7c2d819862)

================================================
Failure:
FullStackConsoleTest#test_sandbox [test/application/console_test.rb:133]:
"> " expected, but got:

/usr/share/gems/gems/activesupport-7.0.8/lib/active_support/message_verifier.rb:4:
 warning: base64 was loaded from the standard library, but will no longer be 
part of the default gems since Ruby 3.4.0. Add base64 to your Gemfile or 
gemspec. Also contact author of activesupport-7.0.8 to add base64 into its 
gemspec.
/usr/share/gems/gems/activesupport-7.0.8/lib/active_support/core_ext/object/json.rb:5:
 warning: bigdecimal was loaded from the standard library, but will no longer 
be part of the default gems since Ruby 3.4.0. Add bigdecimal to your Gemfile or 
gemspec. Also contact author of activesupport-7.0.8 to add bigdecimal into its 
gemspec.
/usr/share/gems/gems/activesupport-7.0.8/lib/active_support/notifications/fanout.rb:3:
 warning: mutex_m was loaded from the standard library, but will no longer be 
part of the default gems since Ruby 3.4.0. Add mutex_m to your Gemfile or 
gemspec. Also contact author of activesupport-7.0.8 to add mutex_m into its 
gemspec.
Loading development environment in sandbox (Rails 7.0.8)
Any modifications you make will be rolled back on exit
▽.
Expected # encoding: ASCII-8BIT
#    valid: true
"/usr/share/gems/gems/activesupport-7.0.8/lib/active_support/message_verifier.rb:4: warning: 
base64 was loaded from the standard library, but will no longer be part of the default gems since Ruby 
3.4.0. Add base64 to your Gemfile or gemspec. Also contact author of activesupport-7.0.8 to add base64 
into its 
gemspec.\r\n/usr/share/gems/gems/activesupport-7.0.8/lib/active_support/core_ext/object/json.rb:5: 
warning: bigdecimal was loaded from the standard library, but will no longer be part of the default 
gems since Ruby 3.4.0. Add bigdecimal to your Gemfile or gemspec. Also contact author of 
activesupport-7.0.8 to add bigdecimal into its 
gemspec.\r\n/usr/share/gems/gems/activesupport-7.0.8/lib/active_support/notifications/fanout.rb:3: 
warning: mutex_m was loaded from the standard library, but will no longer be part of the default gems 
since Ruby 3.4.0. Add mutex_m to your Gemfile or gemspec. Also contact author of activesupport-7.0.8 
to add mutex_m into its gemspec.\r\nLoading development environment in sandbox (Rails 7.0.8)\r\nAny 
modifications you make will be rolled back on exit\r\n\e[1G\xE2\x96\xBD\e[6n" to include 
"> ".
================================================

So comparing with 1 and 2, there is Patch4:
rubygem-railties-7.1.0-Run-Rails-console-test-against-IRB-with-Reline-instead-of.patch
This patch actually seems to have fixed the above issue.

(You are trying to reproduce the above issue with -2?)

Regards,
Mamoru

--
_______________________________________________
ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to