ES /docs

[Inotify] job: 50638, task not found

Service
cupixvista-api-migration-worker
Occurrences
1
Status
Reported
Confidence
80%
Actionability
32%
Cluster ID
86a09da7-353d-4c40-b6d5-aaa12db6ff39
First Seen
2026-07-01 01:58 UTC
Last Seen
2026-07-01 01:58 UTC
Actions

[Inotify] job: 50638, task not found

What Happened#

2026-07-01 10:58 KST 무렵 cupixvista-api-migration-worker EB 인스턴스의 fswatch가 EFS ECI 신호 파일(/efs/ecis/50638.eci)을 감지하고 Cupix::Inotify::Job.notify_task_stopped(50638)를 실행했다. 해당 job은 이미 stopped 상태였기 때문에 task.present? && job.running? 조건이 실패하여 [Inotify] job: 50638, task not found 에러 로그가 남았다. 실제 task record는 DB에 존재했으며(aws_task_id 49783), 로그 메시지는 상태 불일치를 "task not found"로 잘못 표현한 것이다. 1건 발생, 사용자 영향 없음.

Quick Facts#

Field Value
exception.class (no exception — Cupix::Logger.error 호출)
exception.message [Inotify] job: 50638, task not found
top_frame lib/cupix/inotify/job.rb:18
runtime Rails (tesla), invoked via rails runner from fswatch bash script
env production, us-west-2

Affected Teams#

Team / Domain Error Count Impact
cupixvista migration (skat-master pipeline) 1 없음 — job은 이미 stopped 상태로 완료되었고, 후속 처리(callbacks)는 다른 경로에서 이미 수행됨. 오탐(false positive) 성격의 error log.

Timeline#

  1. 2026-07-01 10:56:45 KSTQMJob::getServerJob | job id: 50638, state: stopped — Queue Manager가 SQS 메시지로 job 50638을 pickup했으나 이미 stopped 상태로 관찰됨.
  2. 2026-07-01 10:56:56 KSTQMAws::runTask | end - job id: 50638, task size: 1 — 그럼에도 ECS task가 launch되고 aws_task 레코드(id 49783)가 생성됨.
  3. 2026-07-01 10:58:38 KSTEfsManager::saveJobEciFile | path: /efs/ecis/50638.eci, capture id : 19404 - end — ECS task 종료 알림용 ECI 파일이 EFS에 기록됨.
  4. 2026-07-01 10:58:39, 10:58:42 KSTFSWATCH IN_CREATE (path: /efs/ecis/50638.eci, job_id: 50638) — fswatch 스크립트가 파일 생성을 감지, notify_task_stopped(50638) 실행(중복 2회).
  5. 2026-07-01 10:58:48, 10:58:58 KST[Inotify] job: 50638 found, state: stopped + [Inotify] job: 50638, task not found — job 상태가 stopped이라 job.running?가 false, else 분기 진입.

Scoring#

Confidence 80% · Actionability 32%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 9 code refs, 4 log queries
Code path explicitness 3/3 9 file:line refs
Log evidence 2/3 section, query
RCA structure 3/3 3/3 sections
Revision history 0/3 0 revision(s)
Agent execution 3/3 success

Actionability#

Dimension Score Detail
Fix complexity 5/5 trivial
Affected files 1/5 10 file(s)
Single repo 1/3 2 service(s)
Immediate actions 0/3 absent
Testability 0/3 no test info
External dependency 1/3 external deps found
Data migration 0/3 migration needed