WindmillWWindmill
Powered by
EricE
Windmill•2y ago•
8 replies
Eric

How to debug ExecutionErr(only Bun)?

Hi, I just spawn a new windmill instance using docker compose
It runs flawlessly except bun script, I checked the log, seems I got a ExecutionErr
How can i get more detail log or error to solve this problem?
scripts:
// import * as wmill from "windmill-client"

export async function main(x: string) {
  return x
}
// import * as wmill from "windmill-client"

export async function main(x: string) {
  return x
}

log
windmill_worker-3          | 2024-04-21T13:05:40.719390Z  INFO worker:job: windmill-worker/src/common.rs:1118: child process 'bun build' for wk-default-a2270d32b431-P0nVq/018f00c3-2402-d66c-0c20-20c4ac185395 took 861ms, mem_peak: 198176 job_id=018f00c3-2402-d66c-0c20-20c4ac185395 worker=wk-default-a2270d32b431-P0nVq job_id=018f00c3-2402-d66c-0c20-20c4ac185395
windmill_worker-3          | 2024-04-21T13:05:40.719439Z  INFO worker:job: windmill-worker/src/worker.rs:3357: finished Bun job 018f00c3-2402-d66c-0c20-20c4ac185395 workspace_id=homelab is_ok=false worker=wk-default-a2270d32b431-P0nVq job_id=018f00c3-2402-d66c-0c20-20c4ac185395
windmill_worker-3          | 2024-04-21T13:05:40.719523Z ERROR worker:completed_job: windmill-queue/src/jobs.rs:422: job 018f00c3-2402-d66c-0c20-20c4ac185395 did not succeed: {"error":{"message":"error during execution of the script:\nprocess terminated by signal: Some(\n    11,\n), stopped_signal: None, core_dumped: true","name":"ExecutionErr"}} worker=wk-default-a2270d32b431-P0nVq job_id=018f00c3-2402-d66c-0c20-20c4ac185395
windmill_worker-3          | 2024-04-21T13:05:40.731878Z  INFO worker:completed_job: windmill-queue/src/jobs.rs:685: inserted completed job: 018f00c3-2402-d66c-0c20-20c4ac185395 (success: false) job_id=018f00c3-2402-d66c-0c20-20c4ac185395 root_job="" path="u/zycode277/test" job_kind=Preview started_at="2024-04-21 13:05:39.847252 UTC" duration=876 permissioned_as="u/zycode277" email="zycode277@gmail.com" created_by="zycode277" is_flow_step=false language=Some(Bun) success=false worker=wk-default-a2270d32b431-P0nVq job_id=018f00c3-2402-d66c-0c20-20c4ac185395
windmill_worker-3          | 2024-04-21T13:05:40.719390Z  INFO worker:job: windmill-worker/src/common.rs:1118: child process 'bun build' for wk-default-a2270d32b431-P0nVq/018f00c3-2402-d66c-0c20-20c4ac185395 took 861ms, mem_peak: 198176 job_id=018f00c3-2402-d66c-0c20-20c4ac185395 worker=wk-default-a2270d32b431-P0nVq job_id=018f00c3-2402-d66c-0c20-20c4ac185395
windmill_worker-3          | 2024-04-21T13:05:40.719439Z  INFO worker:job: windmill-worker/src/worker.rs:3357: finished Bun job 018f00c3-2402-d66c-0c20-20c4ac185395 workspace_id=homelab is_ok=false worker=wk-default-a2270d32b431-P0nVq job_id=018f00c3-2402-d66c-0c20-20c4ac185395
windmill_worker-3          | 2024-04-21T13:05:40.719523Z ERROR worker:completed_job: windmill-queue/src/jobs.rs:422: job 018f00c3-2402-d66c-0c20-20c4ac185395 did not succeed: {"error":{"message":"error during execution of the script:\nprocess terminated by signal: Some(\n    11,\n), stopped_signal: None, core_dumped: true","name":"ExecutionErr"}} worker=wk-default-a2270d32b431-P0nVq job_id=018f00c3-2402-d66c-0c20-20c4ac185395
windmill_worker-3          | 2024-04-21T13:05:40.731878Z  INFO worker:completed_job: windmill-queue/src/jobs.rs:685: inserted completed job: 018f00c3-2402-d66c-0c20-20c4ac185395 (success: false) job_id=018f00c3-2402-d66c-0c20-20c4ac185395 root_job="" path="u/zycode277/test" job_kind=Preview started_at="2024-04-21 13:05:39.847252 UTC" duration=876 permissioned_as="u/zycode277" email="zycode277@gmail.com" created_by="zycode277" is_flow_step=false language=Some(Bun) success=false worker=wk-default-a2270d32b431-P0nVq job_id=018f00c3-2402-d66c-0c20-20c4ac185395
image.png
WindmillJoin
3,362Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 4w ago

Similar Threads

u/admin/hub_sync ExecutionErr
alexBroAalexBro / help
2y ago
Trouble committing file to GitHub but only in bun runtime
MikeMMike / help
3y ago
Getting ExecutionErr for lightweight flows run by schedule
ym1198Yym1198 / help
3y ago
Postgres request throws ExecutionErr when trying to get value from field using enum.
MikeMMike / help
2y ago