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/...
>
> 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 "> ".
> ```
>
>
>> 12.
>> rubygem-railties
>>
https://copr.fedorainfracloud.org/coprs/mtasaka/rubygem-newruby-test-3-2/...
>>
>> ```
>> Failure:
>>
ApplicationTests::AssetsTest#test_precompile_shouldn't_use_the_digests_present_in_manifest.json
>> [test/application/assets_test.rb:299]:
>> Expected
>>
"application-c56ef81d122dffa8b257b0546ba1b09bd2d8b97e4aef881de8db9f760b903af6.css"
>> to not be equal to
>>
"application-c56ef81d122dffa8b257b0546ba1b09bd2d8b97e4aef881de8db9f760b903af6.css".
>> ```
>> Not sure what this means.
>>
>
This one ^^ is reproducible even with Ruby 3.2. I have reported it here:
https://github.com/rails/rails/issues/50364
Vít
This seems to be flaky test suite, while it might be also due to Ruby
3.3. So far, I have 14 builds in my Copr and all failed, with one of
the failures above. Trying to reproduce locally, the first build
passed right away, while the second failed on the AssetsTest.
I'll try to look around if there are by a chance some changes in the
upstream repo.
Vít