Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628238 - dev-ruby/libxml-2.9.0: test failure
Summary: dev-ruby/libxml-2.9.0: test failure
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2017-08-18 22:15 UTC by Thomas Deutschmann (RETIRED)
Modified: 2019-02-16 17:31 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,51.32 KB, text/plain)
2017-08-18 22:15 UTC, Thomas Deutschmann (RETIRED)
Details
build.log on hppa (dev-ruby_libxml-2.9.0_use_u2Qv3,45.46 KB, text/plain)
2019-02-16 17:25 UTC, Rolf Eike Beer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2017-08-18 22:15:27 UTC
Created attachment 489560 [details]
build.log

Finished in 4.140401s, 87.6727 runs/s, 384.5038 assertions/s.

  1) Failure:
TestDocumentWrite#test_to_s_no_global_indentation [/var/tmp/portage/dev-ruby/libxml-2.9.0/work/ruby21/libxml-2.9.0/test/tc_document_write.rb:39]:
Expected: #<Encoding:UTF-8>
  Actual: #<Encoding:ISO-8859-1>


  2) Failure:
TestDocumentWrite#test_to_s_default [/var/tmp/portage/dev-ruby/libxml-2.9.0/work/ruby21/libxml-2.9.0/test/tc_document_write.rb:25]:
--- expected
+++ actual
@@ -1,6 +1,6 @@
 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
 <bands genre=\"metal\">
-  <m\u00F6tley_cr\u00FCe country=\"us\">M\u00F6tley Cr\u00FCe is an American heavy metal band formed in Los Angeles, California in 1981.</m\u00F6tley_cr\u00FCe>
+  <mötley_crüe country=\"us\">Mötley Crüe is an American heavy metal band formed in Los Angeles, California in 1981.</mötley_crüe>
   <iron_maiden country=\"uk\">Iron Maiden is a British heavy metal band formed in 1975.</iron_maiden>
 </bands>
 "



  3) Failure:
TestDocumentWrite#test_to_s_no_indentation [/var/tmp/portage/dev-ruby/libxml-2.9.0/work/ruby21/libxml-2.9.0/test/tc_document_write.rb:54]:
Expected: #<Encoding:UTF-8>
  Actual: #<Encoding:ISO-8859-1>


  4) Failure:
TestDocumentWrite#test_save_utf8_no_indents [/var/tmp/portage/dev-ruby/libxml-2.9.0/work/ruby21/libxml-2.9.0/test/tc_document_write.rb:128]:
--- expected
+++ actual
@@ -1,3 +1,3 @@
 "<?xml version=\"1.0\" encoding=\"utf-8\"?>
-<bands genre=\"metal\"><m\u00F6tley_cr\u00FCe country=\"us\">M\u00F6tley Cr\u00FCe is an American heavy metal band formed in Los Angeles, California in 1981.</m\u00F6tley_cr\u00FCe><iron_maiden country=\"uk\">Iron Maiden is a British heavy metal band formed in 1975.</iron_maiden></bands>
+<bands genre=\"metal\"><mötley_crüe country=\"us\">Mötley Crüe is an American heavy metal band formed in Los Angeles, California in 1981.</mötley_crüe><iron_maiden country=\"uk\">Iron Maiden is a British heavy metal band formed in 1975.</iron_maiden></bands>
 "



  5) Failure:
TestDocumentWrite#test_save_utf8 [/var/tmp/portage/dev-ruby/libxml-2.9.0/work/ruby21/libxml-2.9.0/test/tc_document_write.rb:108]:
Expected: #<Encoding:UTF-8>
  Actual: #<Encoding:ISO-8859-1>


  6) Failure:
TestDocumentWrite#test_to_s_encoding [/var/tmp/portage/dev-ruby/libxml-2.9.0/work/ruby21/libxml-2.9.0/test/tc_document_write.rb:71]:
Expected: #<Encoding:UTF-8>
  Actual: #<Encoding:ISO-8859-1>

363 runs, 1592 assertions, 6 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1): [ruby -I"lib:test" -I"/usr/lib/ruby/gems/2.1.0/gems/rake-10.5.0/lib" "/usr/lib/ruby/gems/2.1.0/gems/rake-10.5.0/lib/rake/rake_test_loader.rb" "test/test*.rb" ]

Tasks: TOP => test
(See full trace by running task with --trace)
 * ERROR: dev-ruby/libxml-2.9.0::gentoo failed (test phase):
 *   tests failed



Portage 2.3.6 (python 3.4.5-final-0, default/linux/x86/13.0, gcc-5.4.0, glibc-2.23-r4, 4.12.5-gentoo i686)
=================================================================
System uname: Linux-4.12.5-gentoo-i686-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.3
KiB Mem:     3108120 total,   1192896 free
KiB Swap:     488276 total,    488276 free
Timestamp of repository gentoo: Fri, 18 Aug 2017 18:43:58 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.28::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.13.4::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo, 2.28-r2::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

whissi-overlay
    location: /usr/overlays/whissi-overlay
    sync-type: git
    sync-uri: https://github.com/Whissi/gentoo-overlay.git
    masters: gentoo

ABI="x86"
ABI_X86="32"
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ARCH="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt"
CHOST="i686-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
CXXFLAGS="-O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt"
DEFAULT_ABI="x86"
EDITOR="/usr/bin/mcedit"
ELIBC="glibc"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GCC_SPECS=""
GRUB_PLATFORMS="efi-32 pc"
GSETTINGS_BACKEND="dconf"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/5.4.0/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.26.1/info"
INPUT_DEVICES="libinput keyboard mouse"
IUSE_IMPLICIT="abi_x86_32 prefix prefix-chain prefix-guest"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
L10N="en en-US de de-DE"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LC_MESSAGES="C"
LC_PAPER="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LIBDIR_x86="lib"
LINGUAS="en de"
LOGNAME="root"
MAIL="/var/mail/root"
MAKEOPTS="--jobs 5 --load-average 7.95"
MOZ_GMP_PATH="/usr/lib/nsbrowser/plugins/gmp-gmpopenh264/system-installed"
MULTILIB_ABIS="x86"
MULTIOSDIRS="../lib"
NOCOLOR="true"
OFFICE_IMPLEMENTATION="libreoffice"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/5.4.0"
PHP_TARGETS="php5-6"
POSTGRES_TARGETS="postgres9_5"
PWD="/root"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_4"
PYTHON_TARGETS="python2_7 python3_4"
ROOT="/"
ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/5.4.0"
RUBY_TARGETS="ruby21 ruby22"
SHELL="/bin/bash"
SHLVL="2"
SSH_TTY="/dev/pts/0"
TERM="screen"
TMUX="/tmp/tmux-0/default,4585,0"
TMUX_PANE="%1"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
USER="root"
USERLAND="GNU"
VIDEO_CARDS="intel"
Comment 1 Hans de Graaff gentoo-dev Security 2017-08-19 07:34:31 UTC
Looks like you are running the tests on a installation without UTF-8 support.
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2017-08-19 10:00:50 UTC
Mh, the system itself has UTF-8 support:

On Boot, OpenRC says

> * Setting terminal encoding [UTF-8] ...
> [ ok ]
> * Setting console font [default8x16] ...
> [ ok ]
> * Setting keyboard mode [UTF-8] ...
> [ ok ]
> * Loading key mappings [us] ...
> [ ok ]

and

> # locale
> LANG=en_US.UTF-8
> LC_CTYPE="en_US.UTF-8"
> LC_NUMERIC="en_US.UTF-8"
> LC_TIME="en_US.UTF-8"
> LC_COLLATE="en_US.UTF-8"
> LC_MONETARY="en_US.UTF-8"
> LC_MESSAGES="en_US.UTF-8"
> LC_PAPER="en_US.UTF-8"
> LC_NAME="en_US.UTF-8"
> LC_ADDRESS="en_US.UTF-8"
> LC_TELEPHONE="en_US.UTF-8"
> LC_MEASUREMENT="en_US.UTF-8"
> LC_IDENTIFICATION="en_US.UTF-8"
> LC_ALL=en_US.UTF-8

Is there anything UTF-8 related I can check for Ruby?
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2017-10-23 18:51:34 UTC
Don't know what has changed but today the tests passed. Maybe due to recent bumps?
Comment 4 Rolf Eike Beer archtester 2019-02-16 17:25:57 UTC
Created attachment 565562 [details]
build.log on hppa

Still fails on sparc.
Comment 5 Rolf Eike Beer archtester 2019-02-16 17:31:31 UTC
Comment on attachment 565562 [details]
build.log on hppa

My fault, fails on hppa, not sparc (not tested there).