Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834903 - dev-ruby/activesupport-6.0.4.4 fails tests on x86
Summary: dev-ruby/activesupport-6.0.4.4 fails tests on x86
Status: CONFIRMED
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:
Depends on:
Blocks: 833784
  Show dependency tree
 
Reported: 2022-03-10 09:22 UTC by Jakov Smolić
Modified: 2022-05-29 18:41 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jakov Smolić archtester gentoo-dev 2022-03-10 09:22:15 UTC
1) Error:
DurationTest#test_iso8601_output_and_reparsing:
ArgumentError: invalid date
    /var/tmp/portage/dev-ruby/activesupport-6.0.4.4/work/ruby26/rails-6.0.4.4/activesupport/lib/active_support/core_ext/date/calculations.rb:115:in `>>'
    /var/tmp/portage/dev-ruby/activesupport-6.0.4.4/work/ruby26/rails-6.0.4.4/activesupport/lib/active_support/core_ext/date/calculations.rb:115:in `advance'
    /var/tmp/portage/dev-ruby/activesupport-6.0.4.4/work/ruby26/rails-6.0.4.4/activesupport/lib/active_support/core_ext/time/calculations.rb:175:in `advance'
    /var/tmp/portage/dev-ruby/activesupport-6.0.4.4/work/ruby26/rails-6.0.4.4/activesupport/lib/active_support/duration.rb:417:in `block in sum'
    /var/tmp/portage/dev-ruby/activesupport-6.0.4.4/work/ruby26/rails-6.0.4.4/activesupport/lib/active_support/duration.rb:409:in `each'
    /var/tmp/portage/dev-ruby/activesupport-6.0.4.4/work/ruby26/rails-6.0.4.4/activesupport/lib/active_support/duration.rb:409:in `inject'
    /var/tmp/portage/dev-ruby/activesupport-6.0.4.4/work/ruby26/rails-6.0.4.4/activesupport/lib/active_support/duration.rb:409:in `sum'
    /var/tmp/portage/dev-ruby/activesupport-6.0.4.4/work/ruby26/rails-6.0.4.4/activesupport/lib/active_support/duration.rb:360:in `since'
    /var/tmp/portage/dev-ruby/activesupport-6.0.4.4/work/ruby26/rails-6.0.4.4/activesupport/lib/active_support/core_ext/time/calculations.rb:264:in `plus_with_duration'
    /var/tmp/portage/dev-ruby/activesupport-6.0.4.4/work/ruby26/rails-6.0.4.4/activesupport/test/core_ext/duration_test.rb:619:in `block in test_iso8601_output_and_reparsing'
    /var/tmp/portage/dev-ruby/activesupport-6.0.4.4/work/ruby26/rails-6.0.4.4/activesupport/test/core_ext/duration_test.rb:617:in `each'
    /var/tmp/portage/dev-ruby/activesupport-6.0.4.4/work/ruby26/rails-6.0.4.4/activesupport/test/core_ext/duration_test.rb:617:in `test_iso8601_output_and_reparsing'

4094 runs, 12111 assertions, 0 failures, 1 errors, 287 skips

You have skipped tests. Run with --verbose for details.
rake aborted!
Command failed with status (1): [ruby -w -I"lib:test" /usr/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb "test/actionable_error_test.rb" "test/array_inquirer_test.rb" "test/autoload_test.rb" "test/benchmarkable_test.rb" "test/broadcast_logger_test.rb" "test/cache/cache_entry_test.rb" "test/cache/cache_key_test.rb" "test/cache/cache_store_logger_test.rb" "test/cache/cache_store_namespace_test.rb" "test/cache/cache_store_setting_test.rb" "test/cache/local_cache_middleware_test.rb" "test/cache/stores/file_store_test.rb" "test/cache/stores/mem_cache_store_test.rb" "test/cache/stores/memory_store_test.rb" "test/cache/stores/null_store_test.rb" "test/callback_inheritance_test.rb" "test/callbacks_test.rb" "test/class_cache_test.rb" "test/clean_backtrace_test.rb" "test/clean_logger_test.rb" "test/concern_test.rb" "test/concurrency/load_interlock_aware_monitor_test.rb" "test/configurable_test.rb" "test/core_ext/array/access_test.rb" "test/core_ext/array/conversions_test.rb" "test/core_ext/array/extract_options_test.rb" "test/core_ext/array/extract_test.rb" "test/core_ext/array/grouping_test.rb" "test/core_ext/array/prepend_append_test.rb" "test/core_ext/array/wrap_test.rb" "test/core_ext/bigdecimal_test.rb" "test/core_ext/class/attribute_test.rb" "test/core_ext/class_test.rb" "test/core_ext/date_and_time_compatibility_test.rb" "test/core_ext/date_ext_test.rb" "test/core_ext/date_time_ext_test.rb" "test/core_ext/digest/uuid_test.rb" "test/core_ext/duration_test.rb" "test/core_ext/enumerable_test.rb" "test/core_ext/file_test.rb" "test/core_ext/hash/transform_values_test.rb" "test/core_ext/hash_ext_test.rb" "test/core_ext/integer_ext_test.rb" "test/core_ext/kernel/concern_test.rb" "test/core_ext/kernel_test.rb" "test/core_ext/load_error_test.rb" "test/core_ext/marshal_test.rb" "test/core_ext/module/anonymous_test.rb" "test/core_ext/module/attr_internal_test.rb" "test/core_ext/module/attribute_accessor_per_thread_test.rb" "test/core_ext/module/attribute_accessor_test.rb" "test/core_ext/module/attribute_aliasing_test.rb" "test/core_ext/module/concerning_test.rb" "test/core_ext/module/introspection_test.rb" "test/core_ext/module/remove_method_test.rb" "test/core_ext/module_test.rb" "test/core_ext/name_error_test.rb" "test/core_ext/numeric_ext_test.rb" "test/core_ext/object/acts_like_test.rb" "test/core_ext/object/blank_test.rb" "test/core_ext/object/deep_dup_test.rb" "test/core_ext/object/duplicable_test.rb" "test/core_ext/object/inclusion_test.rb" "test/core_ext/object/instance_variables_test.rb" "test/core_ext/object/json_cherry_pick_test.rb" "test/core_ext/object/json_gem_encoding_test.rb" "test/core_ext/object/to_param_test.rb" "test/core_ext/object/to_query_test.rb" "test/core_ext/object/try_test.rb" "test/core_ext/range_ext_test.rb" "test/core_ext/regexp_ext_test.rb" "test/core_ext/secure_random_test.rb" "test/core_ext/string_ext_test.rb" "test/core_ext/time_ext_test.rb" "test/core_ext/time_with_zone_test.rb" "test/core_ext/uri_ext_test.rb" "test/current_attributes_test.rb" "test/dependencies_test.rb" "test/deprecation/method_wrappers_test.rb" "test/deprecation/proxy_wrappers_test.rb" "test/deprecation_test.rb" "test/descendants_tracker_with_autoloading_test.rb" "test/descendants_tracker_without_autoloading_test.rb" "test/digest_test.rb" "test/encrypted_configuration_test.rb" "test/encrypted_file_test.rb" "test/executor_test.rb" "test/file_update_checker_test.rb" "test/gzip_test.rb" "test/hash_with_indifferent_access_test.rb" "test/i18n_test.rb" "test/inflector_test.rb" "test/json/decoding_test.rb" "test/json/encoding_test.rb" "test/key_generator_test.rb" "test/lazy_load_hooks_test.rb" "test/log_subscriber_test.rb" "test/logger_test.rb" "test/message_encryptor_test.rb" "test/message_verifier_test.rb" "test/messages/rotation_configuration_test.rb" "test/multibyte_chars_test.rb" "test/multibyte_conformance_test.rb" "test/multibyte_grapheme_break_conformance_test.rb" "test/multibyte_normalization_conformance_test.rb" "test/multibyte_proxy_test.rb" "test/notifications/evented_notification_test.rb" "test/notifications/instrumenter_test.rb" "test/notifications_test.rb" "test/number_helper_i18n_test.rb" "test/number_helper_test.rb" "test/option_merger_test.rb" "test/ordered_hash_test.rb" "test/ordered_options_test.rb" "test/parameter_filter_test.rb" "test/reloader_test.rb" "test/rescuable_test.rb" "test/safe_buffer_test.rb" "test/security_utils_test.rb" "test/share_lock_test.rb" "test/silence_logger_test.rb" "test/string_inquirer_test.rb" "test/subscriber_test.rb" "test/tagged_logging_test.rb" "test/test_case_test.rb" "test/testing/after_teardown_test.rb" "test/testing/constant_lookup_test.rb" "test/testing/file_fixtures_test.rb" "test/testing/method_call_assertions_test.rb" "test/time_travel_test.rb" "test/time_zone_test.rb" "test/transliterate_test.rb" "test/xml_mini/jdom_engine_test.rb" "test/xml_mini/libxml_engine_test.rb" "test/xml_mini/libxmlsax_engine_test.rb" "test/xml_mini/nokogiri_engine_test.rb" "test/xml_mini/nokogirisax_engine_test.rb" "test/xml_mini/rexml_engine_test.rb" "test/xml_mini/xml_mini_engine_test.rb" "test/xml_mini_test.rb" "test/zeitwerk_inflector_test.rb" ]

Tasks: TOP => default => test
(See full trace by running task with --trace)
 * ERROR: dev-ruby/activesupport-6.0.4.4::gentoo failed (test phase):
 *   tests failed
 * 
 * Call stack:
 *     ebuild.sh, line  127:  Called src_test
 *   environment, line 2177:  Called ruby-ng_src_test
 *   environment, line 1828:  Called _ruby_each_implementation 'each_ruby_test'
 *   environment, line  525:  Called _ruby_invoke_environment 'ruby26' 'each_ruby_test'
 *   environment, line  650:  Called each_ruby_test
 *   environment, line  879:  Called each_fakegem_test
 *   environment, line  849:  Called die
 * The specific snippet of code:
 *               ${RUBY} --disable=did_you_mean -S rake ${RUBY_FAKEGEM_TASK_TEST} || die "tests failed"
 * 
 * If you need support, post the output of `emerge --info '=dev-ruby/activesupport-6.0.4.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-ruby/activesupport-6.0.4.4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-ruby/activesupport-6.0.4.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/activesupport-6.0.4.4/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-ruby/activesupport-6.0.4.4/work/ruby26/rails-6.0.4.4/activesupport'
 * S: '/var/tmp/portage/dev-ruby/activesupport-6.0.4.4/work/ruby26/rails-6.0.4.4/activesupport'
Comment 1 Jakov Smolić archtester gentoo-dev 2022-03-10 09:22:41 UTC
Portage 3.0.30 (python 3.9.10-final-0, default/linux/amd64/17.1/systemd, gcc-11.2.0, glibc-2.33-r13, 5.10.68-gentoo-dist x86_64)
=================================================================
System uname: Linux-5.10.68-gentoo-dist-x86_64-Common_KVM_processor-with-glibc2.33
KiB Mem:    65850752 total,  33484028 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 10 Mar 2022 08:00:01 +0000
Head commit of repository gentoo: b1d3cbfd194ab33e82e5a0fb0162a4ca11cf7273
sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.0-r6::gentoo
dev-lang/python:           2.7.18_p14::gentoo, 3.6.15-r1::gentoo, 3.7.12_p2::gentoo, 3.8.12_p2::gentoo, 3.9.10_p1::gentoo, 3.10.2_p1::gentoo
dev-lang/rust-bin:         1.58.1::gentoo
dev-util/cmake:            3.22.2::gentoo
dev-util/meson:            0.60.3::gentoo
sys-apps/baselayout:       2.7-r3::gentoo
sys-apps/sandbox:          2.25::gentoo
sys-apps/systemd:          250.2::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.4::gentoo
sys-devel/binutils:        2.37_p1::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/clang:           13.0.0::gentoo
sys-devel/gcc:             11.2.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/llvm:            13.0.0::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.33-r13::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:

crossdev
    location: /var/db/repos/crossdev
    masters: gentoo
    priority: 10

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* @FREE @BINARY-REDISTRIBUTABLE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.3/ext-active/ /etc/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 10"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X acl amd64 bzip2 cli crypt dri fortran gdbm iconv ipv6 libglvnd libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl systemd udev unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 2 Hans de Graaff gentoo-dev 2022-05-29 18:41:10 UTC
I can't reproduce this. What locale are you using to run the tests?