
=== 2026-05-13 00:14:26 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/pipeline.py /srv/music-files-platform-next/pipeline/batch-20260513-001426-93637c/_input.json -o /srv/music-files-platform-next/pipeline/batch-20260513-001426-93637c -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-20260513-001426-93637c
Skip Suno: False | Step1 only: True | Version: v4
======================================================================

[00:14:28] 🏥 Health check...
[00:14:31] ✅ qishui: OK
[00:14:31] ✅ netease: OK
[00:14:31] ✅ qq: OK

[00:14:31] 🔍 [01_给你一瓶魔法药水_20260513] Step 0: Fetching...
[00:14:32] ✅ [01_给你一瓶魔法药水_20260513] Step 0: qishui | 482c lyrics
[00:14:32] ⬇️  [01_给你一瓶魔法药水_20260513] Step 0.5: Download from qishui...
[00:14:36] ⚠️  [01_给你一瓶魔法药水_20260513] Step 0.5: Only 60.0s preview (expected 258s)
[00:14:36] 🔄 [01_给你一瓶魔法药水_20260513] Step 0.5: Trying fallback netease...
[00:14:47] ✅ [01_给你一瓶魔法药水_20260513] Step 0.5: Fallback netease → 258.8s full audio
[00:14:47] ✅ [01_给你一瓶魔法药水_20260513] Step 0.5: 5581041 bytes | 258.8s
[00:14:47] 🔬 [01_给你一瓶魔法药水_20260513] Step 0.75: Audio features...
[00:15:22] ✅ [01_给你一瓶魔法药水_20260513] Step 0.75: BPM=99.03 Key=E major (35.5s)
[00:15:22] 🧠 [01_给你一瓶魔法药水_20260513] Step 1: Gemini (queuing)...
{"__trace__": true, "ts": "2026-05-12T16:15:22.962Z", "trace_id": "batch-20260513-001426-93637c", "song_key": "01_给你一瓶魔法药水_20260513", "step": "step1", "type": "step_start", "inputs": {"audio": "/srv/music-files-platform-next/pipeline/batch-20260513-001426-93637c/01_给你一瓶魔法药水_20260513/song_pgc.mp3", "has_features": true}}
  📊 Gemini official: 53s | prompt_tokens=12250 completion=1707
{"__trace__": true, "ts": "2026-05-12T16:16:15.865Z", "trace_id": "batch-20260513-001426-93637c", "song_key": "01_给你一瓶魔法药水_20260513", "step": "step1", "type": "api_call", "provider": "gemini", "model": "gemini-2.5-pro", "duration_sec": 52.9, "cost_usd": null, "status": "success"}
{"__trace__": true, "ts": "2026-05-12T16:16:15.865Z", "trace_id": "batch-20260513-001426-93637c", "song_key": "01_给你一瓶魔法药水_20260513", "step": "step1", "type": "step_end", "status": "success", "duration_sec": 52.902}
[00:16:15] ✅ [01_给你一瓶魔法药水_20260513] Step 1: 52.9s | prompt=845c | prompt_ok=True lyrics_ok=True

======================================================================
SUMMARY | 104s (1.7min)
======================================================================
✅ Done: 1 | ⏳ Awaiting Step 2: 0 | ❌ Failed: 0
[MasterDB] ✅ 批次 batch-20260513-001426-93637c → +0 新增, ~0 更新 | 总计 724 首
[exit 0]

=== 2026-05-13 00:16:16 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/orchestrate_phase2.py /srv/music-files-platform-next/pipeline/batch-20260513-001426-93637c --profile base --resume-mode each --skip-feishu ===
[phase2] batch=batch-20260513-001426-93637c pending=1 groups=1
[phase2] group 1/1 -> 01_给你一瓶魔法药水_20260513
[profile] ✅ Loaded profile 'base' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/base.yaml
[phase2] 🌐 01_给你一瓶魔法药水_20260513: 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-20260513-001426-93637c/_manifest.json --resume /srv/music-files-platform-next/pipeline/batch-20260513-001426-93637c --profile base --skip-feishu
[00:16:17] 🎨 [01_给你一瓶魔法药水_20260513] Step 2 Turn 1: generating creative brief...
[00:16:26] 🎨 [01_给你一瓶魔法药水_20260513] Step 2 brief: 9.0s | in=4492 out=337
[00:16:26] ✅ [01_给你一瓶魔法药水_20260513] Step 2 brief: engine=F theme=两个人窝在车里等红灯，绿灯亮了谁也没动
[00:16:26] 🌐 [01_给你一瓶魔法药水_20260513] Step 2: target_language=auto → lang_mode=AUTO | multi-turn
[00:16:26] 🤖 [01_给你一瓶魔法药水_20260513] Step 2 Turn 2: 16925 chars ≈ 4231 tokens → claude-sonnet-4-6
[00:17:12] ⚠️  [01_给你一瓶魔法药水_20260513] Step 2 API: originality 77% < 85% | 1 copied phrases
          ❗ "Guitar solo mimics a vocal melody, with a clear ascending and descending arc.)" ~ "Guitar solo mimics a vocal melody, with a clear ascending and descending arc.)" (100%)
[00:17:12] 🔄 [01_给你一瓶魔法药水_20260513] Step 2 API: originality retry 1/3...
[00:17:48] ⚠️  [01_给你一瓶魔法药水_20260513] Step 2 API retry 1: originality 79%
[00:17:48] 🔄 [01_给你一瓶魔法药水_20260513] Step 2 API: originality retry 2/3...
[00:18:26] ⚠️  [01_给你一瓶魔法药水_20260513] Step 2 API retry 2: originality 79%
[00:18:26] 🔄 [01_给你一瓶魔法药水_20260513] Step 2 API: originality retry 3/3...
[00:19:10] ⚠️  [01_给你一瓶魔法药水_20260513] Step 2 API originality retry 3 failed: Expecting value: line 1 column 1 (char 0)
[00:19:10] ⚠️  [01_给你一瓶魔法药水_20260513] Step 2 API: best originality 79% after 3 retries
[00:19:21] ⚠️  Step 2 title library fetch failed: 
[00:19:21] ✅ [01_给你一瓶魔法药水_20260513] Step 2 API: 《绿灯没动》 | 120.6s | in=44177 out=7967 | ~$0.252
{"timestamp": "2026-05-13T00:16:17.011913+08:00", "batch_dir": "/srv/music-files-platform-next/pipeline/batch-20260513-001426-93637c", "profile": "base", "concurrency": 3, "resume_mode": "each", "pending_song_count": 1, "groups": [{"group_index": 1, "songs": ["/srv/music-files-platform-next/pipeline/batch-20260513-001426-93637c/01_给你一瓶魔法药水_20260513"], "success_count": 1, "failed_count": 0, "results": [{"status": "success", "song_dir": "/srv/music-files-platform-next/pipeline/batch-20260513-001426-93637c/01_给你一瓶魔法药水_20260513", "step2_file": "/srv/music-files-platform-next/pipeline/batch-20260513-001426-93637c/01_给你一瓶魔法药水_20260513/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-20260513-001426-93637c/01_给你一瓶魔法药水_20260513", "step2_file": "/srv/music-files-platform-next/pipeline/batch-20260513-001426-93637c/01_给你一瓶魔法药水_20260513/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-20260513-001426-93637c\nSkip Suno: False | Step1 only: False | Version: v4\n======================================================================\n\n[00:19:23] 🏥 Health check...\n[00:19:24] ✅ qishui: OK\n[00:19:24] ✅ netease: OK\n[00:19:24] ✅ qq: OK\n\n  📝 [01_给你一瓶魔法药水_20260513] lyrics stripped: 5063c → 5000c\n[00:19:24] 🎵 [01_给你一瓶魔法药水_20260513] Step 3: Suno generation (weirdness=50, style_influence=50)...\n[00:19:24] 🎨 [01_给你一瓶魔法药水_20260513] Step 4: SeeDream cover (parallel)...\n  ✅ submitted: ['c37f1af9', '2c373716']\n  🎵 c37f1af9... → submitted\n  🎵 2c373716... → submitted\n  🎵 c37f1af9... → queued\n  🎵 2c373716... → queued\n  🎵 c37f1af9... → streaming\n  🎵 2c373716... → streaming\n  🎵 2c373716... → complete\n  🎵 c37f1af9... → complete\n[00:22:25]    🎧 [01_给你一瓶魔法药水_20260513] Song 1: https://cdn1.suno.ai/c37f1af9-62b8-4815-a31f-48166554c864.mp3\n[00:22:25]    🎧 [01_给你一瓶魔法药水_20260513] Song 2: https://cdn1.suno.ai/2c373716-4b27-4107-84d4-513e4c70f7d6.mp3\n[00:22:25] 🎛️ [01_给你一瓶魔法药水_20260513] Step 3.5: 混音...\n[00:22:47]    🎚️ [01_给你一瓶魔法药水_20260513] Song 1: pop | 低62/中33/高5%\n[00:23:03]    🎚️ [01_给你一瓶魔法药水_20260513] Song 2: pop | 低56/中38/高6%\n[00:23:03] ✅ [01_给你一瓶魔法药水_20260513] Step 3.5: 37.6s | 2 songs mixed\n[00:23:03] ⚠️  [01_给你一瓶魔法药水_20260513] Step 4: http_403 (non-fatal)\n\n======================================================================\nSUMMARY | 219s (3.7min)\n======================================================================\n✅ Done: 1 | ⏳ Awaiting Step 2: 0 | ❌ Failed: 0\n[MasterDB] ✅ 批次 batch-20260513-001426-93637c → +1 新增, ~0 更新 | 总计 725 首\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-13T00:23:03.580232+08:00", "wall_clock": 219.2, "total": 1, "success": 1, "awaiting_step2": 0, "failed": 0}}, "status": "success"}
[exit 0]

=== 2026-05-13 00:23:04 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/steps/step5_feishu.py /srv/music-files-platform-next/pipeline/batch-20260513-001426-93637c ===
[Feishu] ✅ Exported 1 songs to: https://ccnu62373cgc.feishu.cn/sheets/Dp1VsePm5hNN0ftNL4Gc3bvNn2g
[Feishu] 📐 Expanded master sheet from 663 to 764 rows
[Feishu] ✅ Appended 1 new songs to master sheet (rows 664-664)
[MasterDB] ✅ 批次 batch-20260513-001426-93637c → +1 新增, ~0 更新 | 总计 664 首
[Feishu IM] ✅ Text sent: 📊 本批次结果表格：https://ccnu62373cgc.feishu.cn/sheets/Dp1VsePm5hNN
[00:23:12] 📨 Step 5: Sending files to Feishu IM...
[Feishu IM] ✅ [绿灯没动] topic head sent (message_id=om_x100b6f0171c004a4b28eaeec434cb8a)
[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-20260513-001426-93637c
[Feishu] ✅ Archived to GDrive: /mnt/gdrive/music-pipeline/batch-20260513-001426-93637c
[Feishu] 📦 Local files kept at: /srv/music-files-platform-next/pipeline/batch-20260513-001426-93637c

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