Skip to content

New MRI test failures on less common architectures #8005

@jcharaoui

Description

@jcharaoui

Since JRuby 9.4, it seems many MRI tests now fail on architectures other than i386 and amd64.

For example, running mri-core on s390x yields dozen of errors such as this:

  1) Failure:
TestThread#test_thread_value_in_trap [/tmp/autopkgtest.pNZ426/autopkgtest_tmp/test/mri/ruby/test_thread.rb:1013]:
assert_separately failed with error message
pid 85599 exit 0
| failed to load native console support: native console only supported on i386, x86_64 and powerpc64
| /usr/share/jruby/lib/ruby/stdlib/io/console/ffi/stty_console.rb:78: warning: assigned but unused variable - ypixel
| /usr/share/jruby/lib/ruby/stdlib/io/console/ffi/stty_console.rb:78: warning: assigned but unused variable - xpixel
| failed to load stty console support: native console only supported on i386, x86_64 and powerpc64
| io/console not supported; tty will not be manipulated

A full test run log on s390x can be found at https://gitlab.torproject.org/lavamind/jruby-ci/-/jobs/402329/raw

This appears to be related to the fact that assert_separately() now relies on io/console, which itself has limited support for other architectures.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions