Bug 1298294 - strace fails to build on s390 architecture due to test failure
Summary: strace fails to build on s390 architecture due to test failure
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: strace
Version: rawhide
Hardware: s390
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dmitry V. Levin
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-13 16:45 UTC by Sinny Kumari
Modified: 2016-01-15 17:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-15 17:14:48 UTC
Type: Bug


Attachments (Terms of Use)

Description Sinny Kumari 2016-01-13 16:45:22 UTC
strace fails to build on Fedora rawhide, s390 architecture because of membarrier, userfaultfd, mlock2 and sigreturn tests failure.
Koji build link containing build failure details- http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2047711

Version-Release number of selected component (if applicable):
strace-4.11-2.fc24

Additional info:
Test membarrier, userfaultfd and mlock2 also fails on s390x architecture.

Comment 1 Sinny Kumari 2016-01-13 16:53:30 UTC
Few observations
---------------
* Building strace-4.11-2 on Fedora 23 causes only sigreturn test failure and tests membarrier, userfaultfd, mlock2 get skipped.
Koji build link - http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2051484
* Test failures are reproducible easily if built in koji. I couldn't reproduce these tests failures locally using mock.

Comment 2 Dmitry V. Levin 2016-01-13 16:59:12 UTC
(In reply to Sinny Kumari from comment #0)
> strace fails to build on Fedora rawhide, s390 architecture because of
> membarrier, userfaultfd, mlock2 and sigreturn tests failure.

Decoding of s390 sigreturn on recent kernels was fixed upstream by commit v4.11-149-g8493dcf. strace used to workaround a kernel bug on s390, for kernels containing commit v4.3-rc1-50-g8d4bd0e this workaround has to be reverted.

Comment 3 Dmitry V. Levin 2016-01-14 01:12:17 UTC
(In reply to Sinny Kumari from comment #0)
> strace fails to build on Fedora rawhide, s390 architecture because of
> membarrier, userfaultfd, mlock2 and sigreturn tests failure.
[...]
> Test membarrier, userfaultfd and mlock2 also fails on s390x architecture.

Decoding of syscalls unrecognized by the kernel on s390/s390x was fixed by upstream commit v4.11-159-g1763fa5.

Successful scratch build: http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2051509

Comment 4 Sinny Kumari 2016-01-14 09:24:51 UTC
Thanks Dmitry for the quick fix. With this fix, strace builds successfully on F23 and Fedora rawhide.

It will be great to have a new release of strace having these fixes included. Any plan to do a new release soon?

Comment 5 Dmitry V. Levin 2016-01-15 03:41:55 UTC
(In reply to Sinny Kumari from comment #4)
> It will be great to have a new release of strace having these fixes
> included. Any plan to do a new release soon?

There are several test failures on Debian secondary architectures as well.
I'd like to do a bugfix release once they are fixed.

Comment 6 Dan Horák 2016-01-15 08:23:18 UTC
Could you build an updated package with just the s390 fix for Rawhide? Or I can do the update as a provenpackager if you won't object. strace is used in buildroots for important packages like coreutils and thus is blocking building Rawhide for s390(x).

Comment 7 Dmitry V. Levin 2016-01-15 17:14:48 UTC
(In reply to Dan Horák from comment #6)
> Could you build an updated package with just the s390 fix for Rawhide?

I've submitted snapshot v4.11-163-g972018f to Rawhide.

Comment 8 Dan Horák 2016-01-15 17:45:53 UTC
Thanks a lot, successfully built in s390 koji  - http://s390.koji.fedoraproject.org/koji/buildinfo?buildID=369766


Note You need to log in before you can comment on or make changes to this bug.