Bug 1366644 - chown.test failure
Summary: chown.test failure
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Developer Toolset
Classification: Red Hat
Component: strace
Version: DTS 6.0 RHEL 7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: alpha
: 6.0
Assignee: DJ Delorie
QA Contact: Martin Cermak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-12 13:48 UTC by Martin Cermak
Modified: 2016-11-15 10:15 UTC (History)
1 user (show)

Fixed In Version: devtoolset-6-strace-4.12-3.el{6,7}
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-15 10:15:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2743 0 normal SHIPPED_LIVE new packages: devtoolset-6-strace 2016-11-15 14:54:49 UTC

Description Martin Cermak 2016-08-12 13:48:05 UTC
The chown.test in devtoolset-6-strace-4.12-2.el[67].src.rpm seems to fail on all the supported environments for me. Here are the logs: 

=======
 7.3 S x86_64 [6] # cat tests/chown.log
1,3c1,3
< chown("chown_sample", 0, 0) = 0
< chown("chown_sample", 0, 0) = 0
< chown("chown_sample", 0, 0) = 0
---
> chown("chown_sample", 0, 0)  = 0
> chown("chown_sample", 0, 0)  = 0
> chown("chown_sample", 0, 0)  = 0
chown.test: failed test: ../strace -e trace=chown -a29 ./chown output mismatch
 7.3 S x86_64 [6] # cat tests/chown.trs
:test-result: FAIL
:global-test-result: FAIL
:recheck: yes
:copy-in-global-log: yes
 7.3 S x86_64 [6] # 
=======

Following upstream commit corrects this for me:

=======
commit 58d0ee2ea5499cf532a03bed39187b1934b06a07
Author: Dmitry V. Levin <ldv>
Date:   Tue Jul 26 09:58:37 2016 +0000

    tests: fix chown.test
    
    * tests/chown.test: Fix the value specified for strace -a parameter.
    
    Reported-by: Yun-Chih Chen <b03902074.tw>

diff --git a/tests/chown.test b/tests/chown.test
index 1a94c32..eb356ce 100755
--- a/tests/chown.test
+++ b/tests/chown.test
@@ -3,4 +3,4 @@
 # Check chown syscall decoding.
 
 . "${srcdir=.}/init.sh"
-run_strace_match_diff -a29
+run_strace_match_diff -a28
=======

Please, consider backporting this commit. It facilitates the automation of the qe work.

Comment 4 errata-xmlrpc 2016-11-15 10:15:31 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2743.html


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