Bug 1838637

Summary: fakechroot-2.20.1-4.fc33 FTBFS: t/escape-nested-chroot.t fails
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: fakechrootAssignee: Mosaab Alzoubi <moceap>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: Axel.Thimm, i, jpazdziora, moceap, sergio
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/fakechroot?collection=f33
Whiteboard:
Fixed In Version: fakechroot-2.20.1-7.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-25 16:39:02 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:
Bug Depends On:    
Bug Blocks: 1803234    

Description Petr Pisar 2020-05-21 13:28:02 UTC
fakechroot-2.20.1-4.fc33 fails to build in Fedora 33 because a test fail:

make[4]: Entering directory '/builddir/build/BUILD/fakechroot-2.20.1/test'
FAIL: t/escape-nested-chroot.t
make[4]: Leaving directory '/builddir/build/BUILD/fakechroot-2.20.1/test'
[...]
============================================
   fakechroot 2.20.1: test/test-suite.log
============================================
# TOTAL: 35
# PASS:  34
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: t/escape-nested-chroot.t
==============================
1..8
ok 1 # SKIP not root
ok 2 # SKIP not root
ok 3 # SKIP not root
ok 4 # SKIP not root
ok 5 fakechroot test-chroot / / (not escaped): 3805634 / 3805634 /
ok 6 fakechroot test-chroot / . (not escaped): 3805634 / 3805634 /
ok 7 fakechroot test-chroot . / (not escaped): 3805634 / 3805634 /
not ok 8 fakechroot test-chroot . . (escaped): 3805634 / 3805634 /
FAIL t/escape-nested-chroot.t (exit status: 1)
============================================================================
Testsuite summary for fakechroot 2.20.1
============================================================================
# TOTAL: 35
# PASS:  34
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See test/test-suite.log

A difference between a passing and failing build root is at <https://koschei.fedoraproject.org/build/8086164>.

Comment 1 Sergio Basto 2020-07-29 23:26:26 UTC
reported upstream https://github.com/dex4er/fakechroot/issues/77 debian also have the same problem https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964668

Comment 2 Ben Cotton 2020-08-11 13:33:48 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle.
Changing version to 33.

Comment 3 Sergio Basto 2020-08-24 22:54:35 UTC
For now I disable the test ...

Comment 4 Fedora Update System 2020-08-30 01:36:23 UTC
FEDORA-2020-906d23fd17 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-906d23fd17

Comment 5 Fedora Update System 2020-08-31 14:28:16 UTC
FEDORA-2020-906d23fd17 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-906d23fd17`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-906d23fd17

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2020-09-25 16:39:02 UTC
FEDORA-2020-906d23fd17 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.