
=== 2026-05-07 16:09:34 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/pipeline.py /srv/music-files-platform-next/pipeline/batch-20260507-160934-e63397/_input.json -o /srv/music-files-platform-next/pipeline/batch-20260507-160934-e63397 -cg 2 -cs 2 --skip-feishu --profile __runtime_batch-20260507-160934-e63397 --step1-only ===
[profile] ✅ Loaded profile '__runtime_batch-20260507-160934-e63397' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/__runtime_batch-20260507-160934-e63397.yaml
[   INFO   ] MusicExtractorSVM: no classifier models were configured by default
[   INFO   ] On connection Flux::flux → IIR::signal:
[   INFO   ] BUFFER SIZE MISMATCH: max=0 - asked for read size 4096
[   INFO   ] resizing buffer to 36040/4505
[   INFO   ] FrameCutter: dropping incomplete frame
/usr/local/lib/python3.13/dist-packages/scipy/cluster/hierarchy.py:810: ClusterWarning: The symmetric non-negative hollow observation matrix looks suspiciously like an uncondensed distance matrix
  return linkage(y, method='ward', metric='euclidean')

======================================================================
music-pipeline3000 v2 | 1 songs
======================================================================
Gemini concurrency: 2 | Suno concurrency: 2
Output: /srv/music-files-platform-next/pipeline/batch-20260507-160934-e63397
Skip Suno: False | Step1 only: True | Version: v4
======================================================================

[16:09:36] 🏥 Health check...
[16:09:38] ✅ qishui: OK
[16:09:38] ✅ netease: OK
[16:09:38] ✅ qq: OK

[16:09:38] 🔍 [01_孤独患者_20260507] Step 0: Fetching...
[16:09:41] ✅ [01_孤独患者_20260507] Step 0: netease | 496c lyrics
[16:09:41] ⬇️  [01_孤独患者_20260507] Step 0.5: Download from netease...
[16:09:48] ✅ [01_孤独患者_20260507] Step 0.5: 5132863 bytes | 271.3s
[16:09:48] 🔬 [01_孤独患者_20260507] Step 0.75: Audio features...
[16:10:27] ✅ [01_孤独患者_20260507] Step 0.75: BPM=135.33 Key=G# major (39.2s)
[16:10:27] 🧠 [01_孤独患者_20260507] Step 1: Gemini (queuing)...
{"__trace__": true, "ts": "2026-05-07T08:10:27.487Z", "trace_id": "batch-20260507-160934-e63397", "song_key": "01_孤独患者_20260507", "step": "step1", "type": "step_start", "inputs": {"audio": "/srv/music-files-platform-next/pipeline/batch-20260507-160934-e63397/01_孤独患者_20260507/song_pgc.mp3", "has_features": true}}
  ⚠️ Gemini official 503 on key #1/5, will retry...
  🔄 Retry 1/4 in 3s...
  ⚠️ Gemini official 503 on key #2/5, will retry...
  🔄 Retry 2/4 in 3s...
  ⚠️ Gemini official 503 on key #3/5, will retry...
  🔄 Retry 3/4 in 3s...
  ⚠️ Gemini official 503 on key #4/5, will retry...
  🔄 Retry 4/4 in 3s...
  ⚠️ Gemini official 503 on key #5/5, will retry...
{"__trace__": true, "ts": "2026-05-07T08:12:07.660Z", "trace_id": "batch-20260507-160934-e63397", "song_key": "01_孤独患者_20260507", "step": "step1", "type": "api_call", "provider": "gemini", "model": "gemini-2.5-pro", "duration_sec": 21.1, "cost_usd": null, "status": "http_503"}
{"__trace__": true, "ts": "2026-05-07T08:12:07.660Z", "trace_id": "batch-20260507-160934-e63397", "song_key": "01_孤独患者_20260507", "step": "step1", "type": "step_end", "status": "success", "duration_sec": 100.173}
[16:12:07] ❌ [01_孤独患者_20260507] Step 1: http_503 (21.1s)

======================================================================
SUMMARY | 150s (2.5min)
======================================================================
✅ Done: 0 | ⏳ Awaiting Step 2: 0 | ❌ Failed: 1
[exit 0]

=== 2026-05-07 16:12:08 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/orchestrate_phase2.py /srv/music-files-platform-next/pipeline/batch-20260507-160934-e63397 --profile __runtime_batch-20260507-160934-e63397 --resume-mode each --skip-feishu ===
{"timestamp": "2026-05-07T16:12:08.440102+08:00", "batch_dir": "/srv/music-files-platform-next/pipeline/batch-20260507-160934-e63397", "profile": "__runtime_batch-20260507-160934-e63397", "concurrency": 3, "resume_mode": "each", "pending_song_count": 0, "groups": [], "status": "noop", "resume": null}
[exit 0]

=== 2026-05-07 16:12:08 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/steps/step5_feishu.py /srv/music-files-platform-next/pipeline/batch-20260507-160934-e63397 ===
[Feishu] No successful songs to export.
[exit 0]

=== 2026-05-07 16:12:58 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/pipeline.py /srv/music-files-platform-next/pipeline/batch-20260507-160934-e63397/_input.json -o /srv/music-files-platform-next/pipeline/batch-20260507-160934-e63397 -cg 2 -cs 2 --skip-feishu --profile __runtime_batch-20260507-160934-e63397 --resume /srv/music-files-platform-next/pipeline/batch-20260507-160934-e63397 ===
[profile] ✅ Loaded profile '__runtime_batch-20260507-160934-e63397' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/__runtime_batch-20260507-160934-e63397.yaml

======================================================================
music-pipeline3000 v2 | 1 songs
======================================================================
Gemini concurrency: 2 | Suno concurrency: 2
Output: /srv/music-files-platform-next/pipeline/batch-20260507-160934-e63397
Skip Suno: False | Step1 only: False | Version: v4
======================================================================

[16:13:00] 🏥 Health check...
[16:13:01] ✅ qishui: OK
[16:13:01] ✅ netease: OK
[16:13:01] ✅ qq: OK

[16:13:01] 🧠 [01_孤独患者_20260507] Step 1: Gemini (queuing)...
{"__trace__": true, "ts": "2026-05-07T08:13:01.975Z", "trace_id": "batch-20260507-160934-e63397", "song_key": "01_孤独患者_20260507", "step": "step1", "type": "step_start", "inputs": {"audio": "/srv/music-files-platform-next/pipeline/batch-20260507-160934-e63397/01_孤独患者_20260507/song_pgc.mp3", "has_features": true}}
  ⚠️ Gemini official 503 on key #1/5, will retry...
  🔄 Retry 1/4 in 3s...
  ⚠️ Gemini official 503 on key #2/5, will retry...
  🔄 Retry 2/4 in 3s...
  ⚠️ Gemini official 503 on key #3/5, will retry...
  🔄 Retry 3/4 in 3s...
  ⚠️ Gemini official 503 on key #4/5, will retry...
  🔄 Retry 4/4 in 3s...
  📊 Gemini official: 50s | prompt_tokens=12098 completion=1334
{"__trace__": true, "ts": "2026-05-07T08:14:30.329Z", "trace_id": "batch-20260507-160934-e63397", "song_key": "01_孤独患者_20260507", "step": "step1", "type": "api_call", "provider": "gemini", "model": "gemini-2.5-pro", "duration_sec": 49.9, "cost_usd": null, "status": "success"}
{"__trace__": true, "ts": "2026-05-07T08:14:30.329Z", "trace_id": "batch-20260507-160934-e63397", "song_key": "01_孤独患者_20260507", "step": "step1", "type": "step_end", "status": "success", "duration_sec": 88.354}
[16:14:30] ✅ [01_孤独患者_20260507] Step 1: 49.9s | prompt=887c | prompt_ok=True lyrics_ok=True
[16:14:30] 🌐 [01_孤独患者_20260507] Step 2: target_language=auto → lang_mode=AUTO
[16:14:30] 🤖 [01_孤独患者_20260507] Step 2 API: 34313 chars ≈ 8578 tokens → claude-sonnet-4-6
[16:15:20] ⚠️  [01_孤独患者_20260507] Step 2 API: originality 77% < 85% | 0 copied phrases
[16:15:20] 🔄 [01_孤独患者_20260507] Step 2 API: originality retry 1/3...
[16:15:54] ⚠️  [01_孤独患者_20260507] Step 2 API retry 1: originality 79%
[16:15:54] 🔄 [01_孤独患者_20260507] Step 2 API: originality retry 2/3...
[16:16:43] ⚠️  [01_孤独患者_20260507] Step 2 API originality retry 2 failed: Expecting value: line 1 column 1 (char 0)
[16:16:43] ⚠️  [01_孤独患者_20260507] Step 2 API: best originality 79% after 3 retries
[16:16:52] ✅ [01_孤独患者_20260507] Step 2 API: 《钝感地带》 | 84.2s | in=41517 out=4719 | ~$0.195
[16:16:52] ✅ [01_孤独患者_20260507] Step 2.5: originality 79% ✓
[16:16:52] ✅ [01_孤独患者_20260507] Step 2: 《钝感地带》
[16:16:52] 📁 [01_孤独患者_20260507] Renamed → 01_孤独患者_钝感地带_20260507
  📝 [01_孤独患者_钝感地带_20260507] lyrics stripped: 3167c → 3160c
[16:16:52] 🎵 [01_孤独患者_钝感地带_20260507] Step 3: Suno generation (weirdness=50, style_influence=50)...
[16:16:52] 🎨 [01_孤独患者_钝感地带_20260507] Step 4: SeeDream cover (parallel)...
  ✅ submitted: ['2ca40ab7', 'c45d339a']
  🎵 2ca40ab7... → submitted
  🎵 c45d339a... → submitted
  🎵 c45d339a... → queued
  🎵 2ca40ab7... → streaming
  🎵 c45d339a... → streaming
  🎵 c45d339a... → complete
  🎵 2ca40ab7... → complete
[16:24:45]    🎧 [01_孤独患者_钝感地带_20260507] Song 1: https://cdn1.suno.ai/2ca40ab7-9fe8-4d43-8218-3ff1566b74a5.mp3
[16:24:45]    🎧 [01_孤独患者_钝感地带_20260507] Song 2: https://cdn1.suno.ai/c45d339a-e1a7-4dfe-8d9b-7a1ebd34324a.mp3
[16:24:45] 🎛️ [01_孤独患者_钝感地带_20260507] Step 3.5: 混音...
[16:25:23]    🎚️ [01_孤独患者_钝感地带_20260507] Song 1: pop | 低48/中50/高2%
[16:25:57]    🎚️ [01_孤独患者_钝感地带_20260507] Song 2: pop | 低48/中49/高2%
[16:25:57] ✅ [01_孤独患者_钝感地带_20260507] Step 3.5: 72.2s | 2 songs mixed
[16:25:57] ⚠️  [01_孤独患者_钝感地带_20260507] Step 4: http_403 (non-fatal)

======================================================================
SUMMARY | 776s (12.9min)
======================================================================
✅ Done: 1 | ⏳ Awaiting Step 2: 0 | ❌ Failed: 0
[MasterDB] ✅ 批次 batch-20260507-160934-e63397 → +1 新增, ~0 更新 | 总计 656 首
[exit 0]

=== 2026-05-07 16:25:58 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/steps/step5_feishu.py /srv/music-files-platform-next/pipeline/batch-20260507-160934-e63397 ===
[Feishu] ✅ Exported 1 songs to: https://ccnu62373cgc.feishu.cn/sheets/UYJ1sEElChsH3dtU6QfcJtWPntf
[Feishu] 📐 Expanded master sheet from 598 to 699 rows
[Feishu] ✅ Appended 1 new songs to master sheet (rows 599-599)
[MasterDB] ✅ 批次 batch-20260507-160934-e63397 → +1 新增, ~0 更新 | 总计 599 首
[Feishu IM] ✅ Text sent: 📊 本批次结果表格：https://ccnu62373cgc.feishu.cn/sheets/UYJ1sEElChsH
[16:26:11] 📨 Step 5: Sending files to Feishu IM...
[Feishu IM] ✅ [钝感地带] topic head sent (message_id=om_x100b50f0848818a4b4c115fba05da2c)
[Feishu IM] ✅ [钝感地带] 钝感地带_V1_raw.mp3 replied
[Feishu IM] ✅ [钝感地带] 钝感地带_V1_mixed.mp3 replied
[Feishu IM] ✅ [钝感地带] 钝感地带_V2_raw.mp3 replied
[Feishu IM] ✅ [钝感地带] 钝感地带_V2_mixed.mp3 replied
[Feishu] ✅ Already on file server: /srv/music-files-platform-next/pipeline/batch-20260507-160934-e63397
[Feishu] ✅ Archived to GDrive: /mnt/gdrive/music-pipeline/batch-20260507-160934-e63397
[Feishu] 📦 Local files kept at: /srv/music-files-platform-next/pipeline/batch-20260507-160934-e63397

📊 https://ccnu62373cgc.feishu.cn/sheets/UYJ1sEElChsH3dtU6QfcJtWPntf
[exit 0]
