8000 `spec/kex_load_beam.kex` fails: `compiled: 1`, then the loaded `.beam` is missing from `.kex_spec_load/out` · Issue #756 · kexhq/kex · GitHub
[go: up one dir, main page]

Skip to content

spec/kex_load_beam.kex fails: compiled: 1, then the loaded .beam is missing from .kex_spec_load/out #756

Open

Description

@akoskovacs

spec/kex_load_beam.kex fails on every run here, with and without local changes:

-compiled: 0
-loaded: :kex_theme_3f2a
-call: Hello, Ada!
-raised: Error(kex_theme_3f2a:divide/1 raised error: runtime error: division by zero)
+compiled: 1
+Internal error: {kex_try_error,<<"cannot read /Users/…/kex/.kex_spec_load/out/kex_theme_3f2a.beam: no such file or directory">>}

compiled: 1 where the golden expects 0, then the .beam it loads is not in .kex_spec_load/out/ (the directory exists and is empty). Possibly the run cache answering the inner kex --compile so nothing is written to -o (#662 is about the run-cache copy), but not confirmed.

make BUILD_DIR=cmake-build-release spec: 783 passing, 2 failing; the other is the websocket concurrency spec (filed separately).

Seen on 0.4.0-rc.4 (0292db50), macOS arm64, OTP 29.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0