Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 2170754 - subversion:1.14 FTBFS: subversion tests fail: NoMethodError: undefined method `exists?' for File:Class
Summary: subversion:1.14 FTBFS: subversion tests fail: NoMethodError: undefined method...
Keywords:
Status: NEW
Alias: None
Product: Fedora Modules
Classification: Fedora
Component: subversion
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Joe Orton
QA Contact: Fedora Extras Quality Assurance
URL: https://mbs.fedoraproject.org/module-...
Whiteboard:
Depends On:
Blocks: F39FTBFS F40FTBFS
TreeView+ depends on / blocked
 
Reported: 2023-02-17 07:57 UTC by Petr Pisar
Modified: 2023-08-14 12:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2023-02-17 07:57:46 UTC
subversion:1.14 modules fails to build in Fedora 39 <https://mbs.fedoraproject.org/module-build-service/2/module-builds/16113> because a subversion component fails to build <https://koji.fedoraproject.org/koji/taskinfo?taskID=97591813> because tests fail:

===============================================================================
Error: test_adm_ensure(SvnWcTest): NoMethodError: undefined method `exists?' for File:Class
/builddir/build/BUILD/subversion-1.14.2/subversion/bindings/swig/ruby/test/test_wc.rb:345:in `test_adm_ensure'
     342: 
     343:   def test_adm_ensure
     344:     adm_dir = Dir.glob(File.join(@wc_path, "{.,_}svn")).first
  => 345:     assert(File.exists?(adm_dir))
     346:     FileUtils.rm_rf(adm_dir)
     347:     assert(!File.exists?(adm_dir))
     348:     Svn::Wc.ensure_adm(@wc_path, @fs.uuid, @repos_uri, @repos_uri, 0)
/builddir/build/BUILD/subversion-1.14.2/subversion/bindings/swig/ruby/test/test-unit-ext/priority.rb:115:in `run'
===============================================================================
: (0.034029)
  test_ancestry:					.: (0.087591)
  test_changelist:					.: (0.075461)
  test_committed_queue:					.: (0.073582)
  test_committed_queue_new:				.: (0.033199)
  test_context_create:					/builddir/build/BUILD/subversion-1.14.2/subversion/bindings/swig/ruby/svn/util.rb:106: warning: undefining the allocator of T_DATA class SWIG::TYPE_p_svn_wc_context_t
.: (0.032727)
  test_context_new_default_config:			.: (0.032471)
  test_context_new_specified_config:			.: (0.032493)
  test_delete:						E
===============================================================================
Error: test_delete(SvnWcTest): NoMethodError: undefined method `exists?' for File:Class
/builddir/build/BUILD/subversion-1.14.2/subversion/bindings/swig/ruby/test/test_wc.rb:477:in `block in test_delete'
     474:       ctx.add(path)
     475:       ctx.ci(@wc_path).revision
     476: 
  => 477:       assert(File.exists?(path))
     478:       Svn::Wc::AdmAccess.open(nil, @wc_path, true, 5) do |access|
     479:         access.delete(path)
     480:       end
/builddir/build/BUILD/subversion-1.14.2/subversion/bindings/swig/ruby/test/util.rb:242:in `make_context'
/builddir/build/BUILD/subversion-1.14.2/subversion/bindings/swig/ruby/test/test_wc.rb:471:in `test_delete'
/builddir/build/BUILD/subversion-1.14.2/subversion/bindings/swig/ruby/test/test-unit-ext/priority.rb:115:in `run'
===============================================================================
: (0.064252)
  test_diff_callbacks:					.: (0.109368)
  test_diff_callbacks_for_backward_compatibility:	.: (0.096878)
  test_entry:						.: (0.117796)
  test_external_item_dup:				.: (0.033209)
  test_external_item_new:				.: (0.033528)
  test_externals_description:				.: (0.032855)
  test_externals_description_for_backward_compatibility:.: (0.032089)
  test_ignore?:						.: (0.032373)
  test_locked:						.: (0.036983)
  test_merge:						.: (0.079967)
  test_notify:						.: (0.033010)
  test_relocate:					.: (0.116448)
  test_revision_status:					.: (0.099901)
  test_status:						.: (0.116566)
  test_switch_editor:					E
===============================================================================
Error: test_switch_editor(SvnWcTest): NoMethodError: undefined method `exists?' for File:Class
/builddir/build/BUILD/subversion-1.14.2/subversion/bindings/swig/ruby/test/test_wc.rb:949:in `block (2 levels) in test_switch_editor'
     946:         ctx.add(dir2_path)
     947:         rev2 = ctx.commit(@wc_path).revision
     948: 
  => 949:         assert(File.exists?(path1))
     950:         assert_equal(rev2, ctx.switch(@wc_path, dir2_uri))
     951:         assert(File.exists?(File.join(@wc_path, file2)))
     952:         Svn::Wc::AdmAccess.open_anchor(@wc_path) do |access, dir_access, target|
/builddir/build/BUILD/subversion-1.14.2/subversion/bindings/swig/ruby/svn/ra.rb:52:in `open'
/builddir/build/BUILD/subversion-1.14.2/subversion/bindings/swig/ruby/test/test_wc.rb:937:in `block in test_switch_editor'
/builddir/build/BUILD/subversion-1.14.2/subversion/bindings/swig/ruby/test/util.rb:242:in `make_context'
/builddir/build/BUILD/subversion-1.14.2/subversion/bindings/swig/ruby/test/test_wc.rb:934:in `test_switch_editor'
/builddir/build/BUILD/subversion-1.14.2/subversion/bindings/swig/ruby/test/test-unit-ext/priority.rb:115:in `run'
===============================================================================
: (0.116270)
  test_translated_file2_eol:				.: (0.103104)
  test_translated_file2_keyword:			.: (0.059510)
  test_translated_file_eol:				.: (0.103940)
  test_translated_file_keyword:				.: (0.058864)
  test_translated_stream_eol:				.: (0.101841)
  test_translated_stream_keyword:			.: (0.058522)
  test_traversal_info:					.: (0.032442)
  test_update_editor:					E
===============================================================================
Error: test_update_editor(SvnWcTest): NoMethodError: undefined method `exists?' for File:Class
/builddir/build/BUILD/subversion-1.14.2/subversion/bindings/swig/ruby/test/test_wc.rb:811:in `block (2 levels) in test_update_editor'
     808:         ctx.add(path2)
     809:         rev2 = ctx.commit(@wc_path).revision
     810: 
  => 811:         assert(File.exists?(path2))
     812:         assert_equal(0, ctx.up(@wc_path, 0))
     813:         assert(!File.exists?(path2))
     814:         Svn::Wc::AdmAccess.open(nil, @wc_path) do |access|
/builddir/build/BUILD/subversion-1.14.2/subversion/bindings/swig/ruby/svn/ra.rb:52:in `open'
/builddir/build/BUILD/subversion-1.14.2/subversion/bindings/swig/ruby/test/test_wc.rb:799:in `block in test_update_editor'
/builddir/build/BUILD/subversion-1.14.2/subversion/bindings/swig/ruby/test/util.rb:242:in `make_context'
/builddir/build/BUILD/subversion-1.14.2/subversion/bindings/swig/ruby/test/test_wc.rb:796:in `test_update_editor'
/builddir/build/BUILD/subversion-1.14.2/subversion/bindings/swig/ruby/test/test-unit-ext/priority.rb:115:in `run'
===============================================================================
: (0.124105)
  test_update_editor2_conflict_func:			.: (0.102546)
  test_update_editor_options:				E
===============================================================================
Error: test_update_editor_options(SvnWcTest): NoMethodError: undefined method `exists?' for File:Class
/builddir/build/BUILD/subversion-1.14.2/subversion/bindings/swig/ruby/test/test_wc.rb:851:in `block (2 levels) in test_update_editor_options'
     848:         ctx.add(path2)
     849:         rev2 = ctx.commit(@wc_path).revision
     850: 
  => 851:         assert(File.exists?(path2))
     852:         assert_equal(0, ctx.up(@wc_path, 0))
     853:         assert(!File.exists?(path2))
     854:         notification_count = 0
/builddir/build/BUILD/subversion-1.14.2/subversion/bindings/swig/ruby/svn/ra.rb:52:in `open'
/builddir/build/BUILD/subversion-1.14.2/subversion/bindings/swig/ruby/test/test_wc.rb:839:in `block in test_update_editor_options'
/builddir/build/BUILD/subversion-1.14.2/subversion/bindings/swig/ruby/test/util.rb:242:in `make_context'
/builddir/build/BUILD/subversion-1.14.2/subversion/bindings/swig/ruby/test/test_wc.rb:836:in `test_update_editor_options'
/builddir/build/BUILD/subversion-1.14.2/subversion/bindings/swig/ruby/test/test-unit-ext/priority.rb:115:in `run'
===============================================================================
: (0.099176)
  test_version:						.: (0.035050)
  test_wc:						.: (0.033804)
Finished in 158.238018036 seconds.
-------------------------------------------------------------------------------
220 tests, 5515 assertions, 0 failures, 5 errors, 0 pendings, 0 omissions, 0 notifications
97.7273% passed
-------------------------------------------------------------------------------
1.39 tests/s, 34.85 assertions/s
make: *** [Makefile:971: check-swig-rb] Error 1
+ : Swig test failure.


Note You need to log in before you can comment on or make changes to this bug.