代码拉取完成,页面将自动刷新
Hi small_leek, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: sig-ruby, and any of the maintainers: @small_leek , @木得感情的openEuler机器人 , @jiangxinyu
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
失败现象
[ 73s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.oO9GYF
[ 73s] + umask 022
[ 73s] + cd /home/abuild/rpmbuild/BUILD
[ 73s] + cd activerecord-7.0.4
[ 73s] + pushd ./usr/share/gems/gems/activerecord-7.0.4
[ 73s] ~/rpmbuild/BUILD/activerecord-7.0.4/usr/share/gems/gems/activerecord-7.0.4 ~/rpmbuild/BUILD/activerecord-7.0.4
[ 73s] + ln -s /home/abuild/rpmbuild/BUILD/tools ..
[ 73s] + mv /home/abuild/rpmbuild/BUILD/test .
[ 73s] + sed -i '/require .byebug./ s/^/#/g' test/cases/base_prevent_writes_test.rb
[ 73s] + sed -i '/assert_slower_by_at_most/ s/1\.4/2.5/' test/cases/encryption/performance/envelope_encryption_performance_test.rb
[ 73s] + mv -v test/cases/adapters/ /home/abuild/rpmbuild/BUILD/.
[ 73s] renamed 'test/cases/adapters/' -> '/home/abuild/rpmbuild/BUILD/./adapters'
[ 73s] + ruby -Itest:lib -e '
[ 73s] Dir.glob("./test/cases/**/*_test.rb")
[ 73s] .sort
[ 73s] .reject { |f| f =~ %r|/encryption/performance/| }
[ 73s] .each { |f| require f }'
[ 81s] Using sqlite3
[ 81s] Run options: --seed 31715
[ 81s]
[ 81s] # Running:
[ 81s]
[ 331s] ................................................................................................................................................................................................................................................................................................................................S........S.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S............S...........S...S..........S.......S..SS..S........................S.......................................................................................................................................................................................................................................................................................................................................................................................................................................................S..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E.............................................................................................................................................................................................................................................................................................S..........................................................................................................................................................................................................................................................................................................................S.............................................................................................................S......................................................................................................................................................................................................................................................................................................................S.............................................................................................................................................................................................E................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
[ 331s]
[ 331s] Finished in 250.170599s, 30.5152 runs/s, 99.5800 assertions/s.
[ 331s]
[ 331s] 1) Error:
[ 331s] ActiveRecord::SqliteDBDropTest#test_generates_absolute_path_with_given_root:
[ 331s] ArgumentError: mocked method :call expects 2 arguments, got ["/usr/share/gems/gems", "racc-1.6.2", "lib", "pathname"]
[ 331s] /usr/share/rubygems/rubygems/basic_specification.rb:334:in `block in have_file?'
[ 331s] /usr/share/rubygems/rubygems/basic_specification.rb:333:in `any?'
[ 331s] /usr/share/rubygems/rubygems/basic_specification.rb:333:in `have_file?'
[ 331s] /usr/share/rubygems/rubygems/basic_specification.rb:86:in `contains_requirable_file?'
[ 331s] /usr/share/rubygems/rubygems/specification.rb:1064:in `block in find_in_unresolved'
[ 331s] /usr/share/rubygems/rubygems/specification.rb:1064:in `each'
[ 331s] /usr/share/rubygems/rubygems/specification.rb:1064:in `find_all'
[ 331s] /usr/share/rubygems/rubygems/specification.rb:1064:in `find_in_unresolved'
[ 331s] <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:101:in `require'
[ 331s] /usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk/kernel.rb:35:in `require'
[ 331s] /home/abuild/rpmbuild/BUILD/activerecord-7.0.4/usr/share/gems/gems/activerecord-7.0.4/lib/active_record/tasks/sqlite_database_tasks.rb:25:in `drop'
[ 331s] /home/abuild/rpmbuild/BUILD/activerecord-7.0.4/usr/share/gems/gems/activerecord-7.0.4/lib/active_record/tasks/database_tasks.rb:224:in `drop'
[ 331s] /home/abuild/rpmbuild/BUILD/activerecord-7.0.4/usr/share/gems/gems/activerecord-7.0.4/test/cases/tasks/sqlite_rake_test.rb:113:in `block (3 levels) in test_generates_absolute_path_with_given_root'
[ 331s] /usr/share/gems/gems/activesupport-7.0.4/lib/active_support/testing/method_call_assertions.rb:24:in `assert_called_with'
[ 331s] /home/abuild/rpmbuild/BUILD/activerecord-7.0.4/usr/share/gems/gems/activerecord-7.0.4/test/cases/tasks/sqlite_rake_test.rb:110:in `block (2 levels) in test_generates_absolute_path_with_given_root'
[ 331s] /home/abuild/rpmbuild/BUILD/activerecord-7.0.4/usr/share/gems/gems/activerecord-7.0.4/test/cases/tasks/sqlite_rake_test.rb:109:in `block in test_generates_absolute_path_with_given_root'
[ 331s] /home/abuild/rpmbuild/BUILD/activerecord-7.0.4/usr/share/gems/gems/activerecord-7.0.4/test/cases/tasks/sqlite_rake_test.rb:108:in `test_generates_absolute_path_with_given_root'
[ 331s]
[ 331s] 2) Error:
[ 331s] ActiveRecord::ConnectionAdapters::LegacyConnectionHandlersMultiDbTest#test_switching_connections_with_database_url:
[ 331s] LoadError: Error loading the 'postgresql' Active Record adapter. Missing a gem it depends on? linked to incompatible ]P▒вбк - /usr/lib64/gems/ruby/pg-1.2.3/pg_ext.so
[ 331s] <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:96:in `require'
[ 331s] <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:96:in `require'
[ 331s] /usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk/kernel.rb:35:in `require'
[ 331s] /usr/share/gems/gems/pg-1.2.3/lib/pg.rb:5:in `<top (required)>'
[ 331s] <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:96:in `require'
[ 331s] <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:96:in `require'
[ 331s] /usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk/kernel.rb:35:in `require'
[ 331s] /home/abuild/rpmbuild/BUILD/activerecord-7.0.4/usr/share/gems/gems/activerecord-7.0.4/lib/active_record/connection_adapters/postgresql_adapter.rb:4:in `<top (required)>'
[ 331s] <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:148:in `require'
[ 331s] <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:148:in `require'
[ 331s] /usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk/kernel.rb:35:in `require'
[ 331s] /home/abuild/rpmbuild/BUILD/activerecord-7.0.4/usr/share/gems/gems/activerecord-7.0.4/lib/active_record/connection_adapters/abstract/connection_handler.rb:268:in `resolve_pool_config'
[ 331s] /home/abuild/rpmbuild/BUILD/activerecord-7.0.4/usr/share/gems/gems/activerecord-7.0.4/lib/active_record/connection_adapters/abstract/connection_handler.rb:129:in `establish_connection'
[ 331s] /home/abuild/rpmbuild/BUILD/activerecord-7.0.4/usr/share/gems/gems/activerecord-7.0.4/lib/active_record/connection_handling.rb:95:in `block in connects_to'
[ 331s] /home/abuild/rpmbuild/BUILD/activerecord-7.0.4/usr/share/gems/gems/activerecord-7.0.4/lib/active_record/connection_handling.rb:90:in `each'
[ 331s] /home/abuild/rpmbuild/BUILD/activerecord-7.0.4/usr/share/gems/gems/activerecord-7.0.4/lib/active_record/connection_handling.rb:90:in `connects_to'
[ 331s] /home/abuild/rpmbuild/BUILD/activerecord-7.0.4/usr/share/gems/gems/activerecord-7.0.4/test/cases/connection_adapters/legacy_connection_handlers_multi_db_test.rb:230:in `test_switching_connections_with_database_url'
[ 331s]
[ 331s] 3) Error:
[ 331s] ActiveRecord::ConnectionAdapters::ConnectionHandlersMultiDbTest#test_switching_connections_with_database_url:
[ 331s] LoadError: Error loading the 'postgresql' Active Record adapter. Missing a gem it depends on? linked to incompatible Й дбк - /usr/lib64/gems/ruby/pg-1.2.3/pg_ext.so
[ 331s] <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:96:in `require'
[ 331s] <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:96:in `require'
[ 331s] /usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk/kernel.rb:35:in `require'
[ 331s] /usr/share/gems/gems/pg-1.2.3/lib/pg.rb:5:in `<top (required)>'
[ 331s] <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:96:in `require'
[ 331s] <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:96:in `require'
[ 331s] /usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk/kernel.rb:35:in `require'
[ 331s] /home/abuild/rpmbuild/BUILD/activerecord-7.0.4/usr/share/gems/gems/activerecord-7.0.4/lib/active_record/connection_adapters/postgresql_adapter.rb:4:in `<top (required)>'
[ 331s] <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:148:in `require'
[ 331s] <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:148:in `require'
[ 331s] /usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk/kernel.rb:35:in `require'
[ 331s] /home/abuild/rpmbuild/BUILD/activerecord-7.0.4/usr/share/gems/gems/activerecord-7.0.4/lib/active_record/connection_adapters/abstract/connection_handler.rb:268:in `resolve_pool_config'
[ 331s] /home/abuild/rpmbuild/BUILD/activerecord-7.0.4/usr/share/gems/gems/activerecord-7.0.4/lib/active_record/connection_adapters/abstract/connection_handler.rb:129:in `establish_connection'
[ 331s] /home/abuild/rpmbuild/BUILD/activerecord-7.0.4/usr/share/gems/gems/activerecord-7.0.4/lib/active_record/connection_handling.rb:95:in `block in connects_to'
[ 331s] /home/abuild/rpmbuild/BUILD/activerecord-7.0.4/usr/share/gems/gems/activerecord-7.0.4/lib/active_record/connection_handling.rb:90:in `each'
[ 331s] /home/abuild/rpmbuild/BUILD/activerecord-7.0.4/usr/share/gems/gems/activerecord-7.0.4/lib/active_record/connection_handling.rb:90:in `connects_to'
[ 331s] /home/abuild/rpmbuild/BUILD/activerecord-7.0.4/usr/share/gems/gems/activerecord-7.0.4/test/cases/connection_adapters/connection_handlers_multi_db_test.rb:176:in `test_switching_connections_with_database_url'
[ 331s]
[ 331s] 7634 runs, 24912 assertions, 0 failures, 3 errors, 19 skips
[ 331s]
[ 331s] You have skipped tests. Run with --verbose for details.
[ 331s] error: Bad exit status from /var/tmp/rpm-tmp.oO9GYF (%check)
[ 331s]
[ 331s] RPM build warnings:
问题原因:ruby相关包升级
解决方案:参考上游提交修复
上游commit :https://github.com/rails/rails/pull/46831/commits/e708599c85226e9ad107ebdad09a9e31f1b5388a
登录 后才可以发表评论