Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914892 - dev-lang/ruby-3.1.4-r4 fails test - /.../assertions.rb:109:in assert: Expected .../ruby31: error while loading shared libraries: libruby31.so.3.1: can
Summary: dev-lang/ruby-3.1.4-r4 fails test - /.../assertions.rb:109:in assert: Expecte...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2023-09-28 15:19 UTC by Toralf Förster
Modified: 2023-09-29 07:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.16 KB, text/plain)
2023-09-28 15:19 UTC, Toralf Förster
Details
dev-lang:ruby-3.1.4-r4:20230928-150630.log.xz (dev-lang:ruby-3.1.4-r4:20230928-150630.log.xz,26.88 KB, application/x-xz)
2023-09-28 15:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,41.88 KB, text/plain)
2023-09-28 15:19 UTC, Toralf Förster
Details
environment (environment,97.04 KB, text/plain)
2023-09-28 15:19 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.05 KB, application/x-xz)
2023-09-28 15:19 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,22.14 KB, application/x-xz)
2023-09-28 15:19 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,54.52 KB, application/x-xz)
2023-09-28 15:19 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,49.39 KB, application/x-xz)
2023-09-28 15:19 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-09-28 15:19:23 UTC
  --seed=52971
  "--ruby=./miniruby -I./lib -I. -I.ext/common  ./tool/runruby.rb --extout=.ext  -- --disable-gems"

# Running tests:

#<Thread:0x00007fd10d52bcb0 /var/tmp/portage/dev-lang/ruby-3.1.4-r4/work/ruby-3.1.4/tool/test/webrick/utils.rb:60 run> terminated with exception (report_on_exception is true):
/var/tmp/portage/dev-lang/ruby-3.1.4-r4/work/ruby-3.1.4/tool/lib/test/unit/assertions.rb:109:in `assert': Expected /BadRequest/ to match "[2023-09-28 15:09:51] ERROR CGIHandler: /var/tmp/portage/dev-lang/ruby-3.1.4-r4/work/ruby-3.1.4/tool/test/webrick/webrick.cgi:\\\\n/var/tmp/portage/dev-lang/ruby-3.1.4-r4/work/ruby-3.1.4/ruby31: error while loading shared libraries: libruby31.so.3.1: cannot open shared object file: No such file or directory\\\\n\\n" + (Test::Unit::AssertionFailedError)
"[2023-09-28 15:09:51] ERROR invalid body size.\\n".
	from /var/tmp/portage/dev-lang/ruby-3.1.4-r4/work/ruby-3.1.4/tool/lib/core_assertions.rb:485:in `assert'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_test-20230927-065005

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.1
Python 3.11.5
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-1.72.0 *
php cli (if any):
go version go1.21.1 linux/amd64

  HEAD of ::gentoo
commit a87e627df786159dd75d17fc382e40809089ce81
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Sep 28 13:46:37 2023 +0000

    2023-09-28 13:46:37 UTC

emerge -qpvO dev-lang/ruby
[ebuild  N    ] dev-lang/ruby-3.2.2-r4  USE="gdbm ipv6 socks5 ssl -berkdb -debug -doc -examples (-jemalloc) -jit -static-libs -systemtap -tk (-valgrind) -xemacs"
Comment 1 Toralf Förster gentoo-dev 2023-09-28 15:19:24 UTC
Created attachment 871668 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-28 15:19:25 UTC
Created attachment 871669 [details]
dev-lang:ruby-3.1.4-r4:20230928-150630.log.xz
Comment 3 Toralf Förster gentoo-dev 2023-09-28 15:19:26 UTC
Created attachment 871670 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-09-28 15:19:27 UTC
Created attachment 871671 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-09-28 15:19:28 UTC
Created attachment 871672 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-28 15:19:29 UTC
Created attachment 871673 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-28 15:19:30 UTC
Created attachment 871674 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-09-28 15:19:31 UTC
Created attachment 871675 [details]
temp.tar.xz
Comment 9 Hans de Graaff gentoo-dev Security 2023-09-29 07:35:04 UTC
This was already fixed in 3.2, I'll backport that fix for 3.1.
Comment 10 Larry the Git Cow gentoo-dev 2023-09-29 07:35:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1255a996a33fcebc29caa6b55bc41d739ce1a01b

commit 1255a996a33fcebc29caa6b55bc41d739ce1a01b
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2023-09-29 07:34:24 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2023-09-29 07:35:13 +0000

    dev-lang/ruby: avoid webrick tests
    
    Closes: https://bugs.gentoo.org/914892
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-lang/ruby/ruby-3.1.4-r4.ebuild | 3 +++
 1 file changed, 3 insertions(+)