
=== 2026-05-12 23:25:01 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/pipeline.py /srv/music-files-platform-next/pipeline/batch-20260512-232501-305a94/_input.json -o /srv/music-files-platform-next/pipeline/batch-20260512-232501-305a94 -cg 1 -cs 1 --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: 1 | Suno concurrency: 1
Output: /srv/music-files-platform-next/pipeline/batch-20260512-232501-305a94
Skip Suno: False | Step1 only: True | Version: v4
======================================================================

[23:25:02] 🏥 Health check...
[23:25:04] ✅ qishui: OK
[23:25:04] ✅ netease: OK
[23:25:04] ✅ qq: OK

[23:25:04] 🔍 [01_给你一瓶魔法药水_20260512] Step 0: Fetching...
[23:25:06] ✅ [01_给你一瓶魔法药水_20260512] Step 0: qishui | 482c lyrics
[23:25:06] ⬇️  [01_给你一瓶魔法药水_20260512] Step 0.5: Download from qishui...
[23:25:10] ⚠️  [01_给你一瓶魔法药水_20260512] Step 0.5: Only 60.0s preview (expected 258s)
[23:25:10] 🔄 [01_给你一瓶魔法药水_20260512] Step 0.5: Trying fallback netease...
[23:25:21] ✅ [01_给你一瓶魔法药水_20260512] Step 0.5: Fallback netease → 258.8s full audio
[23:25:21] ✅ [01_给你一瓶魔法药水_20260512] Step 0.5: 5581041 bytes | 258.8s
[23:25:21] 🔬 [01_给你一瓶魔法药水_20260512] Step 0.75: Audio features...
[23:25:57] ✅ [01_给你一瓶魔法药水_20260512] Step 0.75: BPM=99.03 Key=E major (35.7s)
[23:25:57] 🧠 [01_给你一瓶魔法药水_20260512] Step 1: Gemini (queuing)...
{"__trace__": true, "ts": "2026-05-12T15:25:57.022Z", "trace_id": "batch-20260512-232501-305a94", "song_key": "01_给你一瓶魔法药水_20260512", "step": "step1", "type": "step_start", "inputs": {"audio": "/srv/music-files-platform-next/pipeline/batch-20260512-232501-305a94/01_给你一瓶魔法药水_20260512/song_pgc.mp3", "has_features": true}}
  📊 Gemini official: 57s | prompt_tokens=12250 completion=1722
{"__trace__": true, "ts": "2026-05-12T15:26:53.984Z", "trace_id": "batch-20260512-232501-305a94", "song_key": "01_给你一瓶魔法药水_20260512", "step": "step1", "type": "api_call", "provider": "gemini", "model": "gemini-2.5-pro", "duration_sec": 56.9, "cost_usd": null, "status": "success"}
{"__trace__": true, "ts": "2026-05-12T15:26:53.985Z", "trace_id": "batch-20260512-232501-305a94", "song_key": "01_给你一瓶魔法药水_20260512", "step": "step1", "type": "step_end", "status": "success", "duration_sec": 56.962}
[23:26:53] ✅ [01_给你一瓶魔法药水_20260512] Step 1: 56.9s | prompt=865c | prompt_ok=True lyrics_ok=True

======================================================================
SUMMARY | 110s (1.8min)
======================================================================
✅ Done: 1 | ⏳ Awaiting Step 2: 0 | ❌ Failed: 0
[MasterDB] ✅ 批次 batch-20260512-232501-305a94 → +0 新增, ~0 更新 | 总计 720 首
[exit 0]

=== 2026-05-12 23:26:54 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/orchestrate_phase2.py /srv/music-files-platform-next/pipeline/batch-20260512-232501-305a94 --profile base --resume-mode each --skip-feishu ===
[phase2] batch=batch-20260512-232501-305a94 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-232501-305a94/_manifest.json --resume /srv/music-files-platform-next/pipeline/batch-20260512-232501-305a94 --profile base --skip-feishu
[23:26:55] 🎨 [01_给你一瓶魔法药水_20260512] Step 2 Turn 1: generating creative brief...
[23:27:07] 🎨 [01_给你一瓶魔法药水_20260512] Step 2 brief: 11.9s | in=4512 out=538
[23:27:07] ✅ [01_给你一瓶魔法药水_20260512] Step 2 brief: engine=D theme=两个人在野外草坪躺着对着同一片星空，她把所有星座都讲给他听，
[23:27:07] 🌐 [01_给你一瓶魔法药水_20260512] Step 2: target_language=auto → lang_mode=AUTO | multi-turn
[23:27:07] 🤖 [01_给你一瓶魔法药水_20260512] Step 2 Turn 2: 17180 chars ≈ 4295 tokens → claude-sonnet-4-6
[23:27:53] ⚠️  [01_给你一瓶魔法药水_20260512] Step 2 API: originality 74% < 85% | 1 copied phrases
          ❗ "chord for a full measure, creating a sense of yearning before resolving. The final phrase ends deliberately unresolved on the 2nd over the V chord , holding tension.)" ~ "chord for a full measure, creating a sense of yearning before resolving. The final phrase ends deliberately unresolved on the 2nd over the V chord , holding tension.)" (100%)
[23:27:53] 🔄 [01_给你一瓶魔法药水_20260512] Step 2 API: originality retry 1/3...
[23:28:39] ⚠️  [01_给你一瓶魔法药水_20260512] Step 2 API originality retry 1 failed: Expecting value: line 1 column 1 (char 0)
[23:28:39] ⚠️  [01_给你一瓶魔法药水_20260512] Step 2 API: best originality 74% after 3 retries
[23:28:39] ✅ [01_给你一瓶魔法药水_20260512] Step 2 API: 《偏心》 | 46.3s | in=11933 out=2697 | ~$0.076
{"timestamp": "2026-05-12T23:26:55.032525+08:00", "batch_dir": "/srv/music-files-platform-next/pipeline/batch-20260512-232501-305a94", "profile": "base", "concurrency": 3, "resume_mode": "each", "pending_song_count": 1, "groups": [{"group_index": 1, "songs": ["/srv/music-files-platform-next/pipeline/batch-20260512-232501-305a94/01_给你一瓶魔法药水_20260512"], "success_count": 1, "failed_count": 0, "results": [{"status": "success", "song_dir": "/srv/music-files-platform-next/pipeline/batch-20260512-232501-305a94/01_给你一瓶魔法药水_20260512", "step2_file": "/srv/music-files-platform-next/pipeline/batch-20260512-232501-305a94/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-232501-305a94/01_给你一瓶魔法药水_20260512", "step2_file": "/srv/music-files-platform-next/pipeline/batch-20260512-232501-305a94/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-232501-305a94\nSkip Suno: False | Step1 only: False | Version: v4\n======================================================================\n\n[23:28:40] 🏥 Health check...\n[23:28:42] ✅ qishui: OK\n[23:28:42] ✅ netease: OK\n[23:28:42] ✅ qq: OK\n\n  📝 [01_给你一瓶魔法药水_20260512] lyrics stripped: 4954c → 4947c\n[23:28:42] 🎵 [01_给你一瓶魔法药水_20260512] Step 3: Suno generation (weirdness=50, style_influence=50)...\n[23:28:42] 🎨 [01_给你一瓶魔法药水_20260512] Step 4: SeeDream cover (parallel)...\n  ✅ submitted: ['71180654', 'a8d483b8']\n  🎵 71180654... → submitted\n  🎵 a8d483b8... → submitted\n  🎵 71180654... → queued\n  🎵 a8d483b8... → queued\n  🎵 71180654... → streaming\n  🎵 a8d483b8... → streaming\n  🎵 a8d483b8... → complete\n  🎵 71180654... → complete\n[23:31:55]    🎧 [01_给你一瓶魔法药水_20260512] Song 1: https://cdn1.suno.ai/71180654-aea2-40ce-b947-619492d76408.mp3\n[23:31:55]    🎧 [01_给你一瓶魔法药水_20260512] Song 2: https://cdn1.suno.ai/a8d483b8-f3b0-47dd-a6eb-3f045a35e8f1.mp3\n[23:31:55] 🎛️ [01_给你一瓶魔法药水_20260512] Step 3.5: 混音...\n[23:32:17]    🎚️ [01_给你一瓶魔法药水_20260512] Song 1: pop | 低56/中40/高5%\n[23:32:36]    🎚️ [01_给你一瓶魔法药水_20260512] Song 2: pop | 低53/中41/高6%\n[23:32:36] ✅ [01_给你一瓶魔法药水_20260512] Step 3.5: 41.0s | 2 songs mixed\n[23:32:36] ⚠️  [01_给你一瓶魔法药水_20260512] Step 4: http_403 (non-fatal)\n\n======================================================================\nSUMMARY | 234s (3.9min)\n======================================================================\n✅ Done: 1 | ⏳ Awaiting Step 2: 0 | ❌ Failed: 0\n[MasterDB] ✅ 批次 batch-20260512-232501-305a94 → +1 新增, ~0 更新 | 总计 721 首\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:32:36.247939+08:00", "wall_clock": 233.7, "total": 1, "success": 1, "awaiting_step2": 0, "failed": 0}}, "status": "success"}
[exit 0]

=== 2026-05-12 23:32:37 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-232501-305a94 ===
[Feishu] ✅ Exported 1 songs to: https://ccnu62373cgc.feishu.cn/sheets/GmhtshGhPhRqrot5BXfc1e99nEd
[Feishu] 📐 Expanded master sheet from 659 to 760 rows
[Feishu] ✅ Appended 1 new songs to master sheet (rows 660-660)
[MasterDB] ✅ 批次 batch-20260512-232501-305a94 → +1 新增, ~0 更新 | 总计 660 首
[Feishu IM] ✅ Text sent: 📊 本批次结果表格：https://ccnu62373cgc.feishu.cn/sheets/GmhtshGhPhRq
[23:32:45] 📨 Step 5: Sending files to Feishu IM...
[Feishu IM] ✅ [偏心] topic head sent (message_id=om_x100b6f00cf158ca0b25cae6a4543191)
[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-232501-305a94
[Feishu] ✅ Archived to GDrive: /mnt/gdrive/music-pipeline/batch-20260512-232501-305a94
[Feishu] 📦 Local files kept at: /srv/music-files-platform-next/pipeline/batch-20260512-232501-305a94

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