-
Type: Bug
-
Status: Resolved (View Workflow)
-
Priority: Low
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: imagebuilder
-
Labels:None
-
Story Points:2
Creating an image with imagebuilder when no labels are present in the image, on second build it fails with this error (can't compare?)
INFO:__main__:Preexisting Image - ID: sha256:c3b173617a83d8ae60240f9220e88fdda6c38c00737d67a23235505d58c962ad, tags: xosproject/xos-api-tester:candidate Traceback (most recent call last): File "scripts/imagebuilder.py", line 1438, in <module> db = DockerBuilder(rm) File "scripts/imagebuilder.py", line 853, in __init__ self.find_preexisting() File "scripts/imagebuilder.py", line 909, in find_preexisting good_labels = image.compare_labels(pe_image['Labels']) File "scripts/imagebuilder.py", line 498, in compare_labels if label in other_labels and \ TypeError: argument of type 'NoneType' is not iterable
Found by Andy Bavier when working on the containerized xos-api-test