
=== 2026-05-12 23:38:06 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/pipeline.py /srv/music-files-platform-next/pipeline/batch-20260512-233806-d2be76/_input.json -o /srv/music-files-platform-next/pipeline/batch-20260512-233806-d2be76 -cg 2 -cs 2 --skip-feishu --profile base --step1-only ===
[profile] ✅ Loaded profile 'base' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/base.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-20260512-233806-d2be76
Skip Suno: False | Step1 only: True | Version: v4
======================================================================

[23:38:08] 🏥 Health check...
[23:38:09] ✅ qishui: OK
[23:38:09] ✅ netease: OK
[23:38:09] ✅ qq: OK

[23:38:09] 🔍 [01_给你一瓶魔法药水_20260512] Step 0: Fetching...
[23:38:11] ✅ [01_给你一瓶魔法药水_20260512] Step 0: qishui | 482c lyrics
[23:38:11] ⬇️  [01_给你一瓶魔法药水_20260512] Step 0.5: Download from qishui...
[23:38:16] ⚠️  [01_给你一瓶魔法药水_20260512] Step 0.5: Only 60.0s preview (expected 258s)
[23:38:16] 🔄 [01_给你一瓶魔法药水_20260512] Step 0.5: Trying fallback netease...
[23:38:26] ✅ [01_给你一瓶魔法药水_20260512] Step 0.5: Fallback netease → 258.8s full audio
[23:38:26] ✅ [01_给你一瓶魔法药水_20260512] Step 0.5: 5581041 bytes | 258.8s
[23:38:26] 🔬 [01_给你一瓶魔法药水_20260512] Step 0.75: Audio features...
[23:39:02] ✅ [01_给你一瓶魔法药水_20260512] Step 0.75: BPM=99.03 Key=E major (35.8s)
[23:39:02] 🧠 [01_给你一瓶魔法药水_20260512] Step 1: Gemini (queuing)...
{"__trace__": true, "ts": "2026-05-12T15:39:02.784Z", "trace_id": "batch-20260512-233806-d2be76", "song_key": "01_给你一瓶魔法药水_20260512", "step": "step1", "type": "step_start", "inputs": {"audio": "/srv/music-files-platform-next/pipeline/batch-20260512-233806-d2be76/01_给你一瓶魔法药水_20260512/song_pgc.mp3", "has_features": true}}
  ⚠️ Gemini official 503 on key #1/5, will retry...
  🔄 Retry 1/4 in 3s...
  📊 Gemini official: 50s | prompt_tokens=12250 completion=1473
{"__trace__": true, "ts": "2026-05-12T15:40:38.955Z", "trace_id": "batch-20260512-233806-d2be76", "song_key": "01_给你一瓶魔法药水_20260512", "step": "step1", "type": "api_call", "provider": "gemini", "model": "gemini-2.5-pro", "duration_sec": 50.3, "cost_usd": null, "status": "success"}
{"__trace__": true, "ts": "2026-05-12T15:40:38.955Z", "trace_id": "batch-20260512-233806-d2be76", "song_key": "01_给你一瓶魔法药水_20260512", "step": "step1", "type": "step_end", "status": "success", "duration_sec": 96.171}
[23:40:38] ✅ [01_给你一瓶魔法药水_20260512] Step 1: 50.3s | prompt=845c | prompt_ok=True lyrics_ok=True

======================================================================
SUMMARY | 149s (2.5min)
======================================================================
✅ Done: 1 | ⏳ Awaiting Step 2: 0 | ❌ Failed: 0
[MasterDB] ✅ 批次 batch-20260512-233806-d2be76 → +0 新增, ~0 更新 | 总计 722 首
[exit 0]

=== 2026-05-12 23:40:39 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/orchestrate_phase2.py /srv/music-files-platform-next/pipeline/batch-20260512-233806-d2be76 --profile base --resume-mode each --skip-feishu ===
[phase2] batch=batch-20260512-233806-d2be76 pending=1 groups=1
[phase2] group 1/1 -> 01_给你一瓶魔法药水_20260512
[profile] ✅ Loaded profile 'base' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/base.yaml
[phase2] 🌐 01_给你一瓶魔法药水_20260512: target_language=auto
[phase2] resume -> /usr/bin/python3 /srv/repos/3000music-platform-next/services/music-pipeline/scripts/pipeline.py /srv/music-files-platform-next/pipeline/batch-20260512-233806-d2be76/_manifest.json --resume /srv/music-files-platform-next/pipeline/batch-20260512-233806-d2be76 --profile base --skip-feishu
[23:40:40] 🎨 [01_给你一瓶魔法药水_20260512] Step 2 Turn 1: generating creative brief...
[23:40:52] 🎨 [01_给你一瓶魔法药水_20260512] Step 2 brief: 11.9s | in=4411 out=444
[23:40:52] ✅ [01_给你一瓶魔法药水_20260512] Step 2 brief: engine=A theme=两个人共用一副耳机骑车，故意骑错方向
[23:40:52] 🌐 [01_给你一瓶魔法药水_20260512] Step 2: target_language=auto → lang_mode=AUTO | multi-turn
[23:40:52] 🤖 [01_给你一瓶魔法药水_20260512] Step 2 Turn 2: 15928 chars ≈ 3982 tokens → claude-sonnet-4-6
[23:41:35] ⚠️  [01_给你一瓶魔法药水_20260512] Step 2 API: originality 77% < 85% | 3 copied phrases
          ❗ "for tension before resolving to E.)" ~ "for tension before resolving to E.)" (100%)
          ❗ ", creating a brighter, more hopeful tension than the first chorus.)" ~ ", creating a brighter, more hopeful tension than the first chorus.)" (100%)
          ❗ ", creating a dreamy, lingering tension; phrases avoid strong resolution until the final word.)" ~ ", creating a dreamy, lingering tension; phrases avoid strong resolution until the final word.)" (100%)
[23:41:35] 🔄 [01_给你一瓶魔法药水_20260512] Step 2 API: originality retry 1/3...
[23:42:25] ⚠️  [01_给你一瓶魔法药水_20260512] Step 2 API originality retry 1 failed: Expecting value: line 1 column 1 (char 0)
[23:42:25] ⚠️  [01_给你一瓶魔法药水_20260512] Step 2 API: best originality 77% after 3 retries
[23:42:25] ✅ [01_给你一瓶魔法药水_20260512] Step 2 API: 《骑错方向》 | 43.5s | in=11471 out=3005 | ~$0.079
{"timestamp": "2026-05-12T23:40:40.060699+08:00", "batch_dir": "/srv/music-files-platform-next/pipeline/batch-20260512-233806-d2be76", "profile": "base", "concurrency": 3, "resume_mode": "each", "pending_song_count": 1, "groups": [{"group_index": 1, "songs": ["/srv/music-files-platform-next/pipeline/batch-20260512-233806-d2be76/01_给你一瓶魔法药水_20260512"], "success_count": 1, "failed_count": 0, "results": [{"status": "success", "song_dir": "/srv/music-files-platform-next/pipeline/batch-20260512-233806-d2be76/01_给你一瓶魔法药水_20260512", "step2_file": "/srv/music-files-platform-next/pipeline/batch-20260512-233806-d2be76/01_给你一瓶魔法药水_20260512/step2_json_b.json", "agent_summary": "API direct: 骑错方向", "returncode": 0, "stderr": "", "attempt": 1, "attempts": [{"status": "success", "song_dir": "/srv/music-files-platform-next/pipeline/batch-20260512-233806-d2be76/01_给你一瓶魔法药水_20260512", "step2_file": "/srv/music-files-platform-next/pipeline/batch-20260512-233806-d2be76/01_给你一瓶魔法药水_20260512/step2_json_b.json", "agent_summary": "API direct: 骑错方向", "returncode": 0, "stderr": "", "attempt": 1}]}]}], "resume": {"status": "success", "returncode": 0, "stdout_tail": "\n======================================================================\nmusic-pipeline3000 v2 | 1 songs\n======================================================================\nGemini concurrency: 2 | Suno concurrency: 3\nOutput: /srv/music-files-platform-next/pipeline/batch-20260512-233806-d2be76\nSkip Suno: False | Step1 only: False | Version: v4\n======================================================================\n\n[23:42:27] 🏥 Health check...\n[23:42:29] ✅ qishui: OK\n[23:42:29] ✅ netease: OK\n[23:42:29] ✅ qq: OK\n\n  📝 [01_给你一瓶魔法药水_20260512] lyrics stripped: 5274c → 5000c\n[23:42:29] 🎵 [01_给你一瓶魔法药水_20260512] Step 3: Suno generation (weirdness=50, style_influence=50)...\n[23:42:29] 🎨 [01_给你一瓶魔法药水_20260512] Step 4: SeeDream cover (parallel)...\n  ✅ submitted: ['04c56b18', '6a599f8f']\n  🎵 04c56b18... → submitted\n  🎵 6a599f8f... → submitted\n  🎵 6a599f8f... → queued\n  🎵 04c56b18... → streaming\n  🎵 6a599f8f... → streaming\n  🎵 6a599f8f... → complete\n  🎵 04c56b18... → complete\n[23:46:19]    🎧 [01_给你一瓶魔法药水_20260512] Song 1: https://cdn1.suno.ai/04c56b18-a88e-4234-a6fe-5b137807bcfc.mp3\n[23:46:19]    🎧 [01_给你一瓶魔法药水_20260512] Song 2: https://cdn1.suno.ai/6a599f8f-4baa-464b-a8e3-1beeacf693d6.mp3\n[23:46:19] 🎛️ [01_给你一瓶魔法药水_20260512] Step 3.5: 混音...\n[23:46:43]    🎚️ [01_给你一瓶魔法药水_20260512] Song 1: pop | 低42/中52/高6%\n[23:47:02]    🎚️ [01_给你一瓶魔法药水_20260512] Song 2: pop | 低49/中47/高4%\n[23:47:02] ✅ [01_给你一瓶魔法药水_20260512] Step 3.5: 42.7s | 2 songs mixed\n[23:47:02] ⚠️  [01_给你一瓶魔法药水_20260512] Step 4: http_403 (non-fatal)\n\n======================================================================\nSUMMARY | 273s (4.6min)\n======================================================================\n✅ Done: 1 | ⏳ Awaiting Step 2: 0 | ❌ Failed: 0\n[MasterDB] ✅ 批次 batch-20260512-233806-d2be76 → +1 新增, ~0 更新 | 总计 723 首\n", "stderr_tail": "[profile] ✅ Loaded profile 'base' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/base.yaml\n", "summary": {"timestamp": "2026-05-12T23:47:02.288364+08:00", "wall_clock": 273.2, "total": 1, "success": 1, "awaiting_step2": 0, "failed": 0}}, "status": "success"}
[exit 0]

=== 2026-05-12 23:47:03 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/steps/step5_feishu.py /srv/music-files-platform-next/pipeline/batch-20260512-233806-d2be76 ===
[Feishu] ✅ Exported 1 songs to: https://ccnu62373cgc.feishu.cn/sheets/Oga1sJ2OlhHOettb3Z8cw8KLnvc
[Feishu] 📐 Expanded master sheet from 661 to 762 rows
[Feishu] ✅ Appended 1 new songs to master sheet (rows 662-662)
[MasterDB] ✅ 批次 batch-20260512-233806-d2be76 → +1 新增, ~0 更新 | 总计 662 首
[Feishu IM] ✅ Text sent: 📊 本批次结果表格：https://ccnu62373cgc.feishu.cn/sheets/Oga1sJ2OlhHO
[23:47:10] 📨 Step 5: Sending files to Feishu IM...
[Feishu IM] ✅ [骑错方向] topic head sent (message_id=om_x100b6f00f9245d00b13a621f1b36be5)
[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-20260512-233806-d2be76
[Feishu] ✅ Archived to GDrive: /mnt/gdrive/music-pipeline/batch-20260512-233806-d2be76
[Feishu] 📦 Local files kept at: /srv/music-files-platform-next/pipeline/batch-20260512-233806-d2be76

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