[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: OpenBSD buildbot

From: James McCoy <jamessan_at_jamessan.com>
Date: Tue, 31 Dec 2019 11:35:22 -0500

On Tue, Dec 31, 2019 at 05:04:00PM +0100, Stefan Sperling wrote:
> On Tue, Dec 31, 2019 at 04:27:06PM +0100, Branko Čibej wrote:
> > On 31.12.2019 16:05, Stefan Sperling wrote:
> > > On Tue, Dec 31, 2019 at 10:33:45AM +0100, Branko Čibej wrote:
> > >> The OpenBSD buildbot seems to have a 50% chance of failing due to a bus
> > >> error deep inside the Ruby runtime (most likely caused by misaligned
> > >> memory access). This makes rather less useful than it could be.
> > >>
> > >> I'm wondering if it would make sense to just skip building and testing
> > >> the Ruby bindings there, and perhaps make a separate build configuration
> > >> that tests just the Ruby bindings on OpenBSD.
> > > The problem cannot happen during every run. AFAIK it occurs during
> > > the build of Ruby itself, not the SVN ruby bindings build or tests.
> > > And Ruby itself will only be recompiled if Makefile.svn is changed
> > > or the system is rebooted (the build files live in a ramdisk).
> >
> > Oh ... I seem to have misunderstood the issue. So it's actually even
> > worse and the tests are held hostage to a depenency build. Would there
> > be a way to completely detach the building of dependencies from building
> > and testing Subversion? E.g., the dependencies could be installed to a
> > more presistent location and only rebuilt if their sources changed.
>
> Honestly instead of working on that I'd rather put effort into fixing the
> underlying Ruby issue.

Agreed, but in build 472 the bus error was when running SVN's configure
to determine if Ruby had specific functionality.

https://ci.apache.org/builders/svn-bb-openbsd/builds/472/steps/Build/logs/stdio

[[[
checking rb_hash_foreach... /var/buildslave/svn-bb-openbsd/prefix/ruby/lib/ruby/2.4.0/rubygems/specification.rb:10: [BUG] Bus Error at 0x00000036b1b5d3b8
ruby 2.4.4p296 (2018-03-28 revision 63013) [sparc64-openbsd6.6]

-- Control frame information -----------------------------------------------
c:0008 p:---- s:0033 e:000032 CFUNC :require
c:0007 p:0008 s:0028 e:000027 TOP /var/buildslave/svn-bb-openbsd/prefix/ruby/lib/ruby/2.4.0/rubygems/specification.rb:10 [FINISH]
c:0006 p:---- s:0025 e:000024 CFUNC :require
c:0005 p:1618 s:0020 E:000e10 CLASS /var/buildslave/svn-bb-openbsd/prefix/ruby/lib/ruby/2.4.0/rubygems.rb:1335
c:0004 p:0073 s:0015 e:000014 TOP /var/buildslave/svn-bb-openbsd/prefix/ruby/lib/ruby/2.4.0/rubygems.rb:116 [FINISH]
c:0003 p:---- s:0011 e:000010 CFUNC :require
c:0002 p:0016 s:0006 e:000005 TOP <internal:gem_prelude>:4 [FINISH]
c:0001 p:0000 s:0003 E:000de0 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
<internal:gem_prelude>:4:in `<internal:gem_prelude>'
<internal:gem_prelude>:4:in `require'
/var/buildslave/svn-bb-openbsd/prefix/ruby/lib/ruby/2.4.0/rubygems.rb:116:in `<top (required)>'
/var/buildslave/svn-bb-openbsd/prefix/ruby/lib/ruby/2.4.0/rubygems.rb:1335:in `<module:Gem>'
/var/buildslave/svn-bb-openbsd/prefix/ruby/lib/ruby/2.4.0/rubygems.rb:1335:in `require'
/var/buildslave/svn-bb-openbsd/prefix/ruby/lib/ruby/2.4.0/rubygems/specification.rb:10:in `<top (required)>'
/var/buildslave/svn-bb-openbsd/prefix/ruby/lib/ruby/2.4.0/rubygems/specification.rb:10:in `require'

-- Other runtime information -----------------------------------------------

* Loaded script: /var/buildslave/svn-bb-openbsd/prefix/ruby/bin/ruby

* Loaded features:

    0 enumerator.so
    1 thread.rb
    2 rational.so
    3 complex.so
    4 /var/buildslave/svn-bb-openbsd/prefix/ruby/lib/ruby/2.4.0/sparc64-openbsd6.6/enc/encdb.so
    5 /var/buildslave/svn-bb-openbsd/prefix/ruby/lib/ruby/2.4.0/sparc64-openbsd6.6/enc/trans/transdb.so
    6 /var/buildslave/svn-bb-openbsd/prefix/ruby/lib/ruby/2.4.0/unicode_normalize.rb
    7 /var/buildslave/svn-bb-openbsd/prefix/ruby/lib/ruby/2.4.0/sparc64-openbsd6.6/rbconfig.rb
    8 /var/buildslave/svn-bb-openbsd/prefix/ruby/lib/ruby/2.4.0/rubygems/compatibility.rb
    9 /var/buildslave/svn-bb-openbsd/prefix/ruby/lib/ruby/2.4.0/rubygems/defaults.rb
   10 /var/buildslave/svn-bb-openbsd/prefix/ruby/lib/ruby/2.4.0/rubygems/deprecate.rb
   11 /var/buildslave/svn-bb-openbsd/prefix/ruby/lib/ruby/2.4.0/rubygems/errors.rb

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

Abort trap (core dumped)
no
configure: WARNING: The detected Ruby is too old for Subversion to use
configure: WARNING: A Ruby which has rb_hash_foreach is required to use the
configure: WARNING: Subversion Ruby bindings
configure: WARNING: Upgrade to the official 1.8.2 release, or later
]]]

Cheers,

-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB
Received on 2019-12-31 17:35:27 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.