Bug 1390593 - Possible deadlock in dnf when installing python3-libs in docker after system upgrade
Summary: Possible deadlock in dnf when installing python3-libs in docker after system ...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 26
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-01 13:38 UTC by Frantisek Sumsal
Modified: 2017-03-31 15:25 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-31 15:25:14 UTC
Type: Bug


Attachments (Terms of Use)
dnf - log and strace (2.52 MB, application/x-gzip)
2016-11-01 13:38 UTC, Frantisek Sumsal
no flags Details

Description Frantisek Sumsal 2016-11-01 13:38:51 UTC
Created attachment 1216118 [details]
dnf - log and strace

Description of problem:
After running 'dnf -y upgrade && dnf -y install beakerlib' in docker with Fedora rawhide, dnf gets stuck on/after installing package python3-libs-3.5.2-6.fc26.x86_64. On f24 and f23 these commands finish successfully. I'm not sure, if the problem is in docker or fedora itself, but as it happens only on rawhide I'm more inclined to the latter variant.

Version-Release number of selected component (if applicable):
fedora-rawhide (https://hub.docker.com/_/fedora/)
docker-engine-1.12.3-1

How reproducible:
always

Steps to Reproduce:
# docker run -it --rm fedora:rawhide /bin/bash -c "dnf -y upgrade && dnf -y install beakerlib"

Actual results:
dnf gets stuck on:
Installing  : python3-libs-3.5.2-6.fc26.x86_64                                           34/49

Expected results:
dnf should finish successfully

Additional info:
I managed to get an strace log of the failing dnf command (dnf -y install beakerlib), which can be found in the attachments. 

End of the strace log:
# docker run --security-opt seccomp:unconfined -it --rm fedora:rawhide /bin/bash -c "dnf -y install strace && dnf -y upgrade && strace dnf -y install beakerlib" | tee dnf-strace.log
...
gettimeofday({1478006544, 72725}, NULL) = 0
gettimeofday({1478006544, 72750}, NULL) = 0
futex(0x7f0cdc09669c, FUTEX_WAIT, 4294967295, NULL

Comment 1 Fedora End Of Life 2017-02-28 10:32:34 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 2 Jaroslav Mracek 2017-03-31 15:25:14 UTC
I am sorry, but I cannot reproduce it with your reproducer. Probably there were some problem in package that was installed in the first command, but latest version solve it (in rawhide it happens). Please if you will again experience the problem and you will have the new reproducer don't hesitate to reopen the bug report.


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