Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1366644

Summary: chown.test failure
Product: Red Hat Developer Toolset Reporter: Martin Cermak <mcermak>
Component: straceAssignee: DJ Delorie <dj>
Status: CLOSED ERRATA QA Contact: Martin Cermak <mcermak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: DTS 6.0 RHEL 7CC: mnewsome
Target Milestone: alpha   
Target Release: 6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: devtoolset-6-strace-4.12-3.el{6,7} Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-15 10:15:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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