Skip to content

Test suite fails on big-endian machine #1993

Closed
@jasontibbitts

Description

@jasontibbitts

I got to the point of doing a package build in Fedora's infrastructure, and in our development branch that builds for seven architectures. Two of them (ppc64 and s390x/IBM System z) are big-endian. The build succeeds, but make check doesn't. Both fail with the same error:

Running unit tests
     CUnit - A unit testing framework for C - Version 2.1-3
     http://cunit.sourceforge.net/
Suite: annotate
  Test: getset_server_shared ...timeout: Unknown command '�'

That unprintable character is three bytes ("ef bf bd") but it could have been mangled in any number of ways by the time I gets to me. You can see the complete build logs at https://koji.fedoraproject.org/koji/taskinfo?taskID=19726766 (which will be live for two weeks before the build is garbage collected). Just click through the red links for the two failed builds and look for the "build.log" links. "hw_info.log" gives useful information about the hardware.

I could just disable the test suite on those architectures, I guess, but while I suspect this is purely a test suite problem, it could also be a problem with the main code and so I'd like to make sure.

If you need access to either a ppc64 or s390x machine, please let me know. Fedora does consider it important that everything supports LE and BE architectures and I can probably scrounge up someone to help if needed. I've done some preliminary looking into this but haven't managed to figure it out.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions