reactive charms: internal error when building
Metadata
Current evaluation
Closed without resolution. No fix or merge was implemented. The author linked a related bug report, indicating the issue was superseded or abandoned.
Suggested action: —
No scores available.
Issue body
### Bug Description
Error executing the reactive charm test in the large spread
### To Reproduce
1. Clone https://git.launchpad.net/content-cache-charm
2. `charmcraft pack`
### Environment
Occurs both in 2.5 and in edge (3.x). Fix should target 2.5
### charmcraft.yaml
```shell
# See: https://git.launchpad.net/content-cache-charm/tree/charmcraft.yaml
type: "charm"
bases:
- name: "ubuntu"
channel: "18.04"
- name: "ubuntu"
channel: "20.04"
- name: "ubuntu"
channel: "22.04"
parts:
charm:
source: .
plugin: reactive
build-snaps:
- charm/2.x/stable
```
### Relevant log output
```shell
2023-12-12T18:40:58.8299067Z 2023-12-12 18:40:58 Error executing google:ubuntu-22.04-64:tests/spread/charms/reactive (dec121824-887961) :
2023-12-12T18:40:58.8301096Z -----
2023-12-12T18:40:58.8301672Z + cd charm
2023-12-12T18:40:58.8302681Z + charmcraft pack --verbose
2023-12-12T18:40:58.8303381Z Starting charmcraft
2023-12-12T18:40:58.8304758Z Logging execution to '/root/.local/state/charmcraft/log/charmcraft-20231212-183414.681581.log'
2023-12-12T18:40:58.8307913Z Launching managed ubuntu 18.04 instance...
2023-12-12T18:40:58.8309122Z Creating new instance from remote
2023-12-12T18:40:58.8310241Z Creating new base instance from remote
2023-12-12T18:40:58.8311498Z Creating new instance from base instance
2023-12-12T18:40:58.8312613Z Starting instance
2023-12-12T18:40:58.8313359Z Starting charmcraft
2023-12-12T18:40:58.8314789Z Logging execution to '/tmp/charmcraft.log'
2023-12-12T18:40:58.8316008Z Initialising lifecycle
2023-12-12T18:40:58.8317005Z Installing build-packages
2023-12-12T18:40:58.8318180Z Installing build-snaps
2023-12-12T18:40:58.8319241Z Pulling charm
2023-12-12T18:40:58.8319953Z Building charm
2023-12-12T18:40:58.8321104Z found charm-tools 2.8.7 (+git-0-325b4d5)
2023-12-12T18:40:58.8322103Z found charm-tools 2.8.7 (+git-0-325b4d5)
2023-12-12T18:40:58.8324080Z :: + /snap/charmcraft/x1/bin/python3 -I /snap/charmcraft/x1/lib/python3.10/site-packages/charmcraft/parts/reactive.py content-cache /root/project/parts/charm/build /root/project/parts/charm/install
2023-12-12T18:40:58.8325818Z :: I: Unknown root metadata field (issues)
2023-12-12T18:40:58.8326991Z :: I: metadata name (content-cache) must match directory name (build) exactly for local deployment.
2023-12-12T18:40:58.8328511Z :: I: `display-name` not provided, add for custom naming in the UI
2023-12-12T18:40:58.8330584Z :: I: DEPRECATED: series parameter is ignored by charmcraft,use bases in charmcraft.yaml
2023-12-12T18:40:58.8331824Z :: I: no hooks directory
2023-12-12T18:40:58.8332977Z :: I: relation nrpe-external-master has no hooks
2023-12-12T18:40:58.8333819Z :: I: relation haproxy-statistics has no hooks
2023-12-12T18:40:58.8334649Z :: I: missing recommended hook install
2023-12-12T18:40:58.8335565Z :: I: missing recommended hook start
2023-12-12T18:40:58.8336169Z :: I: missing recommended hook stop
2023-12-12T18:40:58.8336993Z :: I: missing recommended hook config-changed
2023-12-12T18:40:58.8338882Z :: build: The lockfile /root/project/parts/charm/build/build.lock was not found; building using latest versions.
2023-12-12T18:40:58.8340566Z :: build: Destination charm directory: /root/project/parts/charm/build/content-cache
2023-12-12T18:40:58.8341695Z :: build: Processing layer: layer:options
2023-12-12T18:40:58.8342594Z :: build: Processing layer: layer:basic
2023-12-12T18:40:58.8343259Z :: build: Processing layer: layer:status
2023-12-12T18:40:58.8344055Z :: build: Processing layer: layer:apt
2023-12-12T18:40:58.8344855Z :: build: Processing layer: layer:nagios
2023-12-12T18:40:58.8345660Z :: build: Processing layer: content-cache (from .)
2023-12-12T18:40:58.8346933Z :: build: Processing interface: nrpe-external-master
2023-12-12T18:40:58.8347994Z :: build:
2023-12-12T18:40:58.8348906Z :: build: ---------------------------------------
2023-12-12T18:40:58.8349974Z :: build: Build Report
2023-12-12T18:40:58.8351267Z :: build: ---------------------------------------
2023-12-12T18:40:58.8352267Z :: build: New build; all files were modified.
2023-12-12T18:40:58.8353431Z :: proof: I: Unknown root metadata field (issues)
2023-12-12T18:40:58.8355044Z :: proof: I: `display-name` not provided, add for custom naming in the UI
2023-12-12T18:40:58.8356766Z :: proof: I: DEPRECATED: series parameter is ignored by charmcraft,use bases in charmcraft.yaml
2023-12-12T18:40:58.8358430Z :: charm tool execution command=['charm', 'proof']
2023-12-12T18:40:58.8359690Z :: charm tool execution SUCCESS: returncode=0
2023-12-12T18:40:58.8362346Z :: charm tool execution command=['charm', 'build', '-o', '/root/project/parts/charm/build']
2023-12-12T18:40:58.8364025Z :: charm tool execution SUCCESS: returncode=0
2023-12-12T18:40:58.8365220Z Staging charm
2023-12-12T18:40:58.8366099Z Priming charm
2023-12-12T18:40:58.8368024Z charmcraft internal error: ValidationError(model='CheckResult', errors=[{'loc': ('text',), 'msg': 'none is not an allowed value', 'type': 'type_error.none.not_allowed'}])
2023-12-12T18:40:58.8370404Z Failed to execute charmcraft in instance.
2023-12-12T18:40:58.8372168Z Full execution log: '/root/.local/state/charmcraft/log/charmcraft-20231212-183414.681581.log'
2023-12-12T18:40:58.8374052Z -----
2023-12-12T18:40:58.8374966Z .
2023-12-12T18:40:58.8376470Z 2023-12-12 18:40:58 Restoring google:ubuntu-22.04-64:tests/spread/charms/reactive (dec121824-887961)...
```
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without resolution. No fix or merge was implemented. The author linked a related bug report, indicating the issue was superseded or abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The internal validation error during reactive charm builds remains unfixed. The author linked to a related upstream bug report instead of providing a fix or patch. | |
| qwen/qwen3.6-35b-a3b | — | — | Abandoned. The report detailed an internal validation error during reactive charm builds in charmcraft 2.5 and 3.x. No fix was applied, and the thread went inactive after the author linked a related bug. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without a fix. Reports a validation error during reactive charm builds and was linked to a related bug, indicating it was superseded or abandoned. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without resolution. Reported an internal ValidationError during charmcraft pack for reactive charms. No fix was implemented, and the issue appears abandoned after a follow-up comment linking to a related bug. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1791 Charmcraft 3 including previously-built charms in new charm builds | charmcraft | closed | Closed without resolution. A bot synced the report to an internal Jira ticket, but no developer response or pull request followed, indicating the bug report was abandoned. |