Skip to content

【bug】Error occurred during background task execution #4

@ai-bytedance

Description

@ai-bytedance

root@ubuntu25:/opt/qa-use# docker compose up
[+] Running 3/3
✔ Container qa-use-postgres-1 Running 0.0s
✔ Container qa-use-app-1 Running 0.0s
✔ Container qa-use-inngest-1 Running 0.0s
Attaching to app-1, inngest-1, migrate-1, postgres-1
migrate-1 | Reading config file '/app/drizzle.config.ts'
migrate-1 | Using 'pg' driver for database querying
[✓] migrations applied successfully!
migrate-1 exited with code 0
inngest-1 | {"time":"2026-01-30T16:04:03.229855467Z","level":"INFO","msg":"publishing event","caller":"api","event_name":"test-suite/run","internal_id":"01KG7TBCGV4SXYE2W3SMWYGPSS","external_id":"01KG7TBCGV4SXYE2W3SMWYGPSS","event":{"id":"01KG7TBCGV4SXYE2W3SMWYGPSS","name":"test-suite/run","data":{"suiteRunId":5},"ts":1769789043227}}
inngest-1 | {"time":"2026-01-30T16:04:03.334870915Z","level":"INFO","msg":"received event","event":"test-suite/run","event_id":"01KG7TBCGV4SXYE2W3SMWYGPSS","internal_id":"01KG7TBCGV4SXYE2W3SMWYGPSS"}
inngest-1 | {"time":"2026-01-30T16:04:03.342396786Z","level":"INFO","msg":"initializing fn","event":"test-suite/run","event_id":"01KG7TBCGV4SXYE2W3SMWYGPSS","internal_id":"01KG7TBCGV4SXYE2W3SMWYGPSS","function":"run-test-suite","function_id":"b8b295b7-d823-5a9a-b5c4-04988f199a8a"}
app-1 | Error: Failed to start browser task
app-1 | at q (.next/server/app/api/inngest/route.js:140:72427)
app-1 | at async x.tryExecuteStep (.next/server/chunks/227.js:7:41098)
app-1 | at async steps-found (.next/server/chunks/227.js:7:40264)
app-1 | at async x._start (.next/server/chunks/227.js:7:39652)
app-1 | at async y.handleAction (.next/server/chunks/227.js:7:495710)
app-1 | at async e.wrap (.next/server/chunks/227.js:7:458974)
app-1 | at async e.wrap (.next/server/chunks/227.js:7:458974) {
app-1 | retryAfter: '1',
app-1 | [cause]: Error: {"detail":"Not Found"}
app-1 | at q (.next/server/app/api/inngest/route.js:140:72491)
app-1 | at async x.tryExecuteStep (.next/server/chunks/227.js:7:41098)
app-1 | at async steps-found (.next/server/chunks/227.js:7:40264)
app-1 | at async x._start (.next/server/chunks/227.js:7:39652)
app-1 | at async y.handleAction (.next/server/chunks/227.js:7:495710)
app-1 | at async e.wrap (.next/server/chunks/227.js:7:458974)
app-1 | at async e.wrap (.next/server/chunks/227.js:7:458974)
app-1 | }
app-1 | Error: Failed to start browser task
app-1 | at q (.next/server/app/api/inngest/route.js:140:72427)
app-1 | at async x.tryExecuteStep (.next/server/chunks/227.js:7:41098)
app-1 | at async steps-found (.next/server/chunks/227.js:7:40264)
app-1 | at async x._start (.next/server/chunks/227.js:7:39652)
app-1 | at async y.handleAction (.next/server/chunks/227.js:7:495710)
app-1 | at async e.wrap (.next/server/chunks/227.js:7:458974)
app-1 | at async e.wrap (.next/server/chunks/227.js:7:458974) {
app-1 | retryAfter: '1',
app-1 | [cause]: Error: {"detail":"Not Found"}
app-1 | at q (.next/server/app/api/inngest/route.js:140:72491)
app-1 | at async x.tryExecuteStep (.next/server/chunks/227.js:7:41098)
app-1 | at async steps-found (.next/server/chunks/227.js:7:40264)
app-1 | at async x._start (.next/server/chunks/227.js:7:39652)
app-1 | at async y.handleAction (.next/server/chunks/227.js:7:495710)
app-1 | at async e.wrap (.next/server/chunks/227.js:7:458974)
app-1 | at async e.wrap (.next/server/chunks/227.js:7:458974)
app-1 | }
app-1 | Error: Failed to start browser task
app-1 | at q (.next/server/app/api/inngest/route.js:140:72427)
app-1 | at async x.tryExecuteStep (.next/server/chunks/227.js:7:41098)
app-1 | at async steps-found (.next/server/chunks/227.js:7:40264)
app-1 | at async x._start (.next/server/chunks/227.js:7:39652)
app-1 | at async y.handleAction (.next/server/chunks/227.js:7:495710)
app-1 | at async e.wrap (.next/server/chunks/227.js:7:458974)
app-1 | at async e.wrap (.next/server/chunks/227.js:7:458974) {
app-1 | retryAfter: '1',
app-1 | [cause]: Error: {"detail":"Not Found"}
app-1 | at q (.next/server/app/api/inngest/route.js:140:72491)
app-1 | at async x.tryExecuteStep (.next/server/chunks/227.js:7:41098)
app-1 | at async steps-found (.next/server/chunks/227.js:7:40264)
app-1 | at async x._start (.next/server/chunks/227.js:7:39652)
app-1 | at async y.handleAction (.next/server/chunks/227.js:7:495710)
app-1 | at async e.wrap (.next/server/chunks/227.js:7:458974)
app-1 | at async e.wrap (.next/server/chunks/227.js:7:458974)
app-1 | }
app-1 | Error: Failed to start browser task
app-1 | at q (.next/server/app/api/inngest/route.js:140:72427)
app-1 | at async x.tryExecuteStep (.next/server/chunks/227.js:7:41098)
app-1 | at async steps-found (.next/server/chunks/227.js:7:40264)
app-1 | at async x._start (.next/server/chunks/227.js:7:39652)
app-1 | at async y.handleAction (.next/server/chunks/227.js:7:495710)
app-1 | at async e.wrap (.next/server/chunks/227.js:7:458974)
app-1 | at async e.wrap (.next/server/chunks/227.js:7:458974) {
app-1 | retryAfter: '1',
app-1 | [cause]: Error: {"detail":"Not Found"}
app-1 | at q (.next/server/app/api/inngest/route.js:140:72491)
app-1 | at async x.tryExecuteStep (.next/server/chunks/227.js:7:41098)
app-1 | at async steps-found (.next/server/chunks/227.js:7:40264)
app-1 | at async x._start (.next/server/chunks/227.js:7:39652)
app-1 | at async y.handleAction (.next/server/chunks/227.js:7:495710)
app-1 | at async e.wrap (.next/server/chunks/227.js:7:458974)
app-1 | at async e.wrap (.next/server/chunks/227.js:7:458974)
app-1 | }
app-1 | Error: Failed to start browser task
app-1 | at q (.next/server/app/api/inngest/route.js:140:72427)
app-1 | at async x.tryExecuteStep (.next/server/chunks/227.js:7:41098)
app-1 | at async steps-found (.next/server/chunks/227.js:7:40264)
app-1 | at async x._start (.next/server/chunks/227.js:7:39652)
app-1 | at async y.handleAction (.next/server/chunks/227.js:7:495710)
app-1 | at async e.wrap (.next/server/chunks/227.js:7:458974)
app-1 | at async e.wrap (.next/server/chunks/227.js:7:458974) {
app-1 | retryAfter: '1',
app-1 | [cause]: Error: {"detail":"Not Found"}
app-1 | at q (.next/server/app/api/inngest/route.js:140:72491)
app-1 | at async x.tryExecuteStep (.next/server/chunks/227.js:7:41098)
app-1 | at async steps-found (.next/server/chunks/227.js:7:40264)
app-1 | at async x._start (.next/server/chunks/227.js:7:39652)
app-1 | at async y.handleAction (.next/server/chunks/227.js:7:495710)
app-1 | at async e.wrap (.next/server/chunks/227.js:7:458974)
app-1 | at async e.wrap (.next/server/chunks/227.js:7:458974)
app-1 | }
app-1 | Error: Failed to start browser task
app-1 | at q (.next/server/app/api/inngest/route.js:140:72427)
app-1 | at async x.tryExecuteStep (.next/server/chunks/227.js:7:41098)
app-1 | at async steps-found (.next/server/chunks/227.js:7:40264)
app-1 | at async x._start (.next/server/chunks/227.js:7:39652)
app-1 | at async y.handleAction (.next/server/chunks/227.js:7:495710)
app-1 | at async e.wrap (.next/server/chunks/227.js:7:458974)
app-1 | at async e.wrap (.next/server/chunks/227.js:7:458974) {
app-1 | stepId: 'start-test-run-13',
app-1 | [cause]: Error: {"detail":"Not Found"}
app-1 | at q (.next/server/app/api/inngest/route.js:140:72491)
app-1 | at async x.tryExecuteStep (.next/server/chunks/227.js:7:41098)
app-1 | at async steps-found (.next/server/chunks/227.js:7:40264)
app-1 | at async x._start (.next/server/chunks/227.js:7:39652)
app-1 | at async y.handleAction (.next/server/chunks/227.js:7:495710)
app-1 | at async e.wrap (.next/server/chunks/227.js:7:458974)
app-1 | at async e.wrap (.next/server/chunks/227.js:7:458974)
app-1 | }
inngest-1 | {"time":"2026-01-30T16:04:09.887105682Z","level":"INFO","msg":"received event","event":"inngest/function.finished","event_id":"01KG7TBJSCT5HX4BXC4TWENVRW","internal_id":"01KG7TBJSCC3CC2E4AXNA9FK57"}
inngest-1 | {"time":"2026-01-30T16:04:09.891660497Z","level":"INFO","msg":"received event","event":"inngest/function.failed","event_id":"01KG7TBCMEPY9B6FG6GG4T2EYN","internal_id":"01KG7TBJSCQSKWHT7PYJWNXXP1"}
inngest-1 | {"time":"2026-01-30T16:04:09.898432325Z","level":"INFO","msg":"initializing fn","event":"inngest/function.failed","event_id":"01KG7TBCMEPY9B6FG6GG4T2EYN","internal_id":"01KG7TBJSCQSKWHT7PYJWNXXP1","function":"run-test-suite (failure)","function_id":"f964f267-025d-5edd-9d70-b98579e4d78c"}
Gracefully Stopping... press Ctrl+C again to force

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