Fix potential infinit loop in build-iso
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Scott Little |
Bug Description
Brief Description
-----------------
build-iso sometimes fails, reporting an infinite loop during
dependency resolution.
Severity
--------
Major
Steps to Reproduce
------------------
build-iso
Expected Behavior
------------------
iso is produced
Actual Behavior
----------------
build-iso fails, reporting an infinite loop during
dependency resolution.
Reproducibility
---------------
rare, but can be reproduced within the workspace where it has just occurred.
Perhaps the order of files coming out of a 'find' or similar command?
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
master, May 7, 2020
Last Pass
---------
May 6, 2020
Timestamp/Logs
--------------
18:43:37 Warning: Infinite loop detected in dependency resolution. See /localdisk/
18:43:37 These RPMS had problems (likely version conflicts)
18:43:37 installing package acpid-2.
18:43:37 installing package attr-2.
...
18:43:37 installing package xml-common-
18:43:37 installing package zip-3.0-
18:43:37 Could not install dependencies
Test Activity
-------------
Build
Workaround
----------
N/A
Changed in starlingx: | |
assignee: | nobody → Scott Little (slittle1) |
importance: | Undecided → High |
tags: | added: stx.build |
Changed in starlingx: | |
importance: | High → Medium |
tags: | added: stx.4.0 |
Reviewed: https:/ /review. opendev. org/726260 /git.openstack. org/cgit/ starlingx/ root/commit/ ?id=eb971b6f7c8 321064b3ca334e2 1f0609ffb70efe
Committed: https:/
Submitter: Zuul
Branch: master
commit eb971b6f7c83210 64b3ca334e21f06 09ffb70efe
Author: Scott Little <email address hidden>
Date: Thu May 7 19:12:03 2020 -0400
Fix potential infinite loop in build-iso
Function generate_dep_list is creating a DEPLISTFILE
with a lot of unwanted 'installing package xxx' messages
when it should only contain a list of unresolved
dependencies.
On the next iteration we waste a lot of time trying to install
nonexistant packages 'installing' and 'packages', and re-installing
packages we already have.
Instead of converging on an empty DEPLISTFILE, we converge
on a DEPLISTFILE that just reiterates the same list of
'installing package' if we are lucky, which we usually are,
but not always.
Closes-Bug: 1877483 c6d6b5d0b42d0bc ab6b46e722b
Change-Id: I971725558eb628
Signed-off-by: Scott Little <email address hidden>