← Back to issue list

Parallel building report incompatible base

View original Github issue

Metadata

Project
craft-providers
Number
#412
Type
issue
State
closed
Author
syu-w
Labels
—
Created
Updated
Closed

Current evaluation

Fixed in craft-providers 1.20.1 by auto-cleaning base instances with incomplete setup, with immediate cleanup when the creating process is inactive.

Resolution: closed resolved

Reason: The parallel-build race was addressed in the 1.20.1 release. Its changelog states that an existing base instance not set up is auto-cleaned, immediately when its creating process is inactive.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### Bug Description LXD reported `Incompatible base detected: instance is marked as not setup.` When parallel building, the later process sometime report: ``` Incompatible base detected: instance is marked as not setup. Recommended resolution: Clean incompatible instance and retry the requested operation. ``` ### To Reproduce N/A ### part yaml _No response_ ### Relevant log output ```shell Starting charmcraft version 2.4.1.post49+git1f7acce Logging execution to '/root/.local/state/charmcraft/log/charmcraft-20230925-180426.678371.log' Packing the charm. Launching environment to pack for base name='ubuntu' channel='22.04' architectures=['amd64'] (may take a while the first time but it's reusable) Creating instance from base instance Starting instance Incompatible base detected: instance is marked as not setup. Recommended resolution: Clean incompatible instance and retry the requested operation. Full execution log: '/root/.local/state/charmcraft/log/charmcraft-20230925-180426.678371.log' Creating new instance from base instance ``` ```

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed in craft-providers 1.20.1 by auto-cleaning base instances with incomplete setup, with immediate cleanup when the creating process is inactive.
qwen/qwen3.6-35b-a3b — closed stale Issue closed without resolution; parallel building race condition causing 'Incompatible base detected' error in charmcraft 2.4.1

Update history

Date Change
created

Related issues

No related issues found above the similarity threshold.