download_mirror.sh: Permission denied: '/var/lib/rpm/.dbenv.lock
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
In Progress
|
Low
|
YU CHENGDE |
Bug Description
Brief Description
-----------------
Parallel package downloads under download_mirror.sh sometimes fail
when one thread can't obtain a lock.
Severity
--------
Minor
Steps to Reproduce
------------------
1) setup a new workspace, or delete several packages previously downloaded under stx-tools/
2) download_mirror.sh
Expected Behavior
------------------
All packages download successfully
Actual Behavior
----------------
occasionally one or more packages fail to download due to contention over /var/lib/
Reproducibility
---------------
Intermittent
< 5%
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
2021-10-21
Last Pass
---------
2021-10-21
Timestamp/Logs
--------------
b1: ovl: Error while doing RPMdb copy-up:
b1: [Errno 13] Permission denied: '/var/lib/
b1: CENGN_StarlingX
b1: Warning: elfutils-
b1: Error: elfutils-
Test Activity
-------------
Build
Workaround
----------
Re-run download_mirror.sh
tags: | added: stx.build |
Changed in starlingx: | |
importance: | Undecided → Low |
status: | New → Triaged |
I have the issue too
Timestamp/Logs 1.0.8-2. 1.el7.x86_ 64.rpm loadbuild/ stx/distro/ tmp/yum/ yum.conf --releasever=7 --exclude='*.i686' --archlist= noarch, x86_64 libXau- 1.0.8-2. 1.el7 rpm/Basenames' rpm/Basenames' mirror. starlingx. cengn.ca: 80/mirror/ centos/ centos/ mirror. centos. org/centos/ 7.9.2009/ os/x86_ 64/Packages/ libXau- 1.0.8-2. 1.el7.x86_ 64.rpm libXau- 1.0.8-2. 1.el7.x86_ 64.rpm devel-1. 0.8-2.1. el7.x86_ 64.rpm loadbuild/ stx/distro/ tmp/yum/ yum.conf --releasever=7 --exclude='*.i686' --archlist= noarch, x86_64 libXau- devel-1. 0.8-2.1. el7 rpm/Basenames' rpm/Basenames'
--------------
b7: Looking for libXau-
b7: --> run: yumdownloader -q -C -c /localdisk/
b7: ovl: Error while doing RPMdb copy-up:
b7: [Errno 13] Permission denied: '/var/lib/
b7: ovl: Error while doing RPMdb copy-up:
b7: [Errno 13] Permission denied: '/var/lib/
b7: url_srpm:http://
b7: found_srpm:
b0: Looking for libXau-
b0: --> run: yumdownloader -q -C -c /localdisk/
b0: ovl: Error while doing RPMdb copy-up:
b0: [Errno 13] Permission denied: '/var/lib/
b0: ovl: Error while doing RPMdb copy-up:
b0: [Errno 13] Permission denied: '/var/lib/