charmcraft-log files in /tmp
Metadata
Current evaluation
Closed without a Charmcraft fix after pytest retention was blamed; follow-up identified the directories as Charmcraft logs, but received no response.
Resolution: closed stale
Reason: The initial closure relied on pytest retention, but later test runs explicitly contradicted that diagnosis by identifying the directories as Charmcraft logs. No resolving PR or commit was recorded.
Evaluated by: mr-cal-bot
No scores available.
Issue body
I was looking in '/tmp' and I noticed:
```
$ ls
charmcraft-log-2ym5flsu charmcraft-log-j4fnixya charmcraft-log-uksp6zlp
charmcraft-log-3_a70vuh charmcraft-log-j5jis5ub charmcraft-log-uxyytzhv
charmcraft-log-3didu38k charmcraft-log-k5eeys7n charmcraft-log-vt2rd08o
charmcraft-log-4quh1ckg charmcraft-log-l2vlihqk charmcraft-log-w6xxbie_
charmcraft-log-50lp0y6z charmcraft-log-lw12v3in charmcraft-log-wo3iad9f
```
This is likely left over from the test suite, not from running charmcraft itself (I have 48 of them).
I'm guessing something in our test suite isn't triggering the correct cleanup.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed stale | Closed without a Charmcraft fix after pytest retention was blamed; follow-up identified the directories as Charmcraft logs, but received no response. | |
| stealth/space-bunny-alpha | — | closed stale | Closed without a Charmcraft fix after pytest retention was blamed; follow-up runs identified the directories as Charmcraft logs, but the report received no further response. | |
| stealth/space-bunny-alpha | — | closed stale | Closed without a fix: a maintainer attributed the leftover charmcraft-log-* paths to pytest retention, but the contributor corrected this; no cleanup change followed. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without fix. Maintainer dismissed the leftover /tmp files as pytest cleanup behavior, suggesting a wait for an update. Contributor clarified they are charmcraft logs, but the issue was closed without addressing the test suite cleanup. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without fix. Maintainer initially deferred to pytest cleanup behavior, but contributor clarified the files are charmcraft logs. The cleanup issue remains unresolved. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without a fix. Maintainers discussed whether the leftover /tmp files stemmed from pytest's temp retention or charmcraft's test suite. The issue was closed with no code changes, pending future pytest updates. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without a fix. Maintainer attributed leftover temp files to pytest retention, suggesting a wait for upstream updates. After clarification they are charmcraft logs, the issue was closed without code changes. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #53 Keep all latest logs | charmcraft | closed | Log retention moved to craft-cli and was integrated into Charmcraft by merged PR #635 (d36b21d8), storing logs in the user log directory without configurable N. | |
| #49 charmcraft should log where it's logging to, and when the logfile is removed | charmcraft | closed | Implemented via craft-cli#27 (3252b61) and Charmcraft PR #577; verbose runs now report the logfile path. Log retention in #53 removed the need for a deletion notice. |