Skip to content

precompilation failed: failed to validate component output #211

@calebschoepp

Description

@calebschoepp

I'm trying to run finicky whiskers and it is failing when using an OCI artifact (as opposed to a scratch container). Containerd logs:

time="2024-10-16T17:44:43.219747046Z" level=error msg="ttrpc: received message on inactive stream" stream=23
time="2024-10-16T17:44:43.220724129Z" level=info msg="shim disconnected" id=2b8cab36d04c85b5da242761f4b2fe732dca5ed51750b7bed90c661673dbba7c namespace=k8s.io
time="2024-10-16T17:44:43.220749337Z" level=warning msg="cleaning up after shim disconnected" id=2b8cab36d04c85b5da242761f4b2fe732dca5ed51750b7bed90c661673dbba7c namespace=k8s.io
time="2024-10-16T17:44:43.220753254Z" level=info msg="cleaning up dead shim" namespace=k8s.io
time="2024-10-16T17:44:43.327922462Z" level=info msg="RemoveContainer for \"08194e8692812a45f8856c2601c90086c9578139cb01414920fc6f57800a0ed6\""
time="2024-10-16T17:44:43.330033421Z" level=info msg="RemoveContainer for \"08194e8692812a45f8856c2601c90086c9578139cb01414920fc6f57800a0ed6\" returns successfully"
time="2024-10-16T17:45:08.865291877Z" level=info msg="CreateContainer within sandbox \"2232c714d69a72f4b8ea3e18e7bb54f74a3e3978d1303aa02f44a201664c33cd\" for container &ContainerMetadata{Name:finicky,Attempt:3,}"
time="2024-10-16T17:45:08.872765919Z" level=info msg="CreateContainer within sandbox \"2232c714d69a72f4b8ea3e18e7bb54f74a3e3978d1303aa02f44a201664c33cd\" for &ContainerMetadata{Name:finicky,Attempt:3,} returns container id \"4ec995e3ee965a492f711a802b5b058770bbbd26e4e57cf1db5d8871a71ae09b\""
time="2024-10-16T17:45:08.873098627Z" level=info msg="StartContainer for \"4ec995e3ee965a492f711a802b5b058770bbbd26e4e57cf1db5d8871a71ae09b\""
time="2024-10-16T17:45:08.93002371Z" level=error msg="precompilation failed: failed to validate component output"

time="2024-10-16T17:45:08.956262002Z" level=info msg="StartContainer for \"4ec995e3ee965a492f711a802b5b058770bbbd26e4e57cf1db5d8871a71ae09b\" returns successfully"
time="2024-10-16T17:45:09.21545996Z" level=error msg="run_wasi ERROR >>>  failed: failed to build spin trigger

Caused by:
    0: Failed to instantiate component 'tally'
    1: Unknown file magic"

Kate hypothesizes that it is likely b/c layers in the OCI artifact are too big.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions