
=== 2026-05-13 17:35:39 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/pipeline.py /srv/music-files-platform-next/pipeline/batch-20260513-173539-5481d4/_input.json -o /srv/music-files-platform-next/pipeline/batch-20260513-173539-5481d4 -cg 2 -cs 2 --skip-feishu --profile miao-wan-xing --step1-only ===
[profile] ✅ Loaded profile 'miao-wan-xing' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/miao-wan-xing.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-173539-5481d4
Skip Suno: False | Step1 only: True | Version: v4
======================================================================

[17:35:40] 🏥 Health check...
[17:35:43] ✅ qishui: OK
[17:35:43] ✅ netease: OK
[17:35:43] ✅ qq: OK

[17:35:43] 🔍 [01_开始懂了_20260513] Step 0: Fetching...
[17:35:52] ✅ [01_开始懂了_20260513] Step 0: qq | 492c lyrics
[17:35:52] ⬇️  [01_开始懂了_20260513] Step 0.5: Download from qq...
[17:35:59] ✅ [01_开始懂了_20260513] Step 0.5: 6273940 bytes | 271.5s
[17:35:59] 🔬 [01_开始懂了_20260513] Step 0.75: Audio features...
[17:36:38] ✅ [01_开始懂了_20260513] Step 0.75: BPM=117.65 Key=F# major (38.4s)
[17:36:38] 🧠 [01_开始懂了_20260513] Step 1: Gemini (queuing)...
{"__trace__": true, "ts": "2026-05-13T09:36:38.402Z", "trace_id": "batch-20260513-173539-5481d4", "song_key": "01_开始懂了_20260513", "step": "step1", "type": "step_start", "inputs": {"audio": "/srv/music-files-platform-next/pipeline/batch-20260513-173539-5481d4/01_开始懂了_20260513/song_pgc.mp3", "has_features": true}}
  📊 Gemini official: 36s | prompt_tokens=11339 completion=1216
{"__trace__": true, "ts": "2026-05-13T09:37:14.337Z", "trace_id": "batch-20260513-173539-5481d4", "song_key": "01_开始懂了_20260513", "step": "step1", "type": "api_call", "provider": "gemini", "model": "gemini-2.5-pro", "duration_sec": 35.9, "cost_usd": null, "status": "success"}
{"__trace__": true, "ts": "2026-05-13T09:37:14.337Z", "trace_id": "batch-20260513-173539-5481d4", "song_key": "01_开始懂了_20260513", "step": "step1", "type": "step_end", "status": "success", "duration_sec": 35.935}
[17:37:14] ✅ [01_开始懂了_20260513] Step 1: 35.9s | prompt=985c | prompt_ok=True lyrics_ok=True

======================================================================
SUMMARY | 90s (1.5min)
======================================================================
✅ Done: 1 | ⏳ Awaiting Step 2: 0 | ❌ Failed: 0
[MasterDB] ✅ 批次 batch-20260513-173539-5481d4 → +0 新增, ~0 更新 | 总计 752 首
[exit 0]

=== 2026-05-13 17:37:15 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/orchestrate_phase2.py /srv/music-files-platform-next/pipeline/batch-20260513-173539-5481d4 --profile miao-wan-xing --resume-mode each --skip-feishu ===
[phase2] batch=batch-20260513-173539-5481d4 pending=1 groups=1
[phase2] group 1/1 -> 01_开始懂了_20260513
[profile] ✅ Loaded profile 'miao-wan-xing' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/miao-wan-xing.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-173539-5481d4/_manifest.json --resume /srv/music-files-platform-next/pipeline/batch-20260513-173539-5481d4 --profile miao-wan-xing --skip-feishu
[17:37:15] 🌐 [01_开始懂了_20260513] Step 2: target_language=auto → lang_mode=AUTO | single-turn
[17:37:15] 🤖 [01_开始懂了_20260513] Step 2 Turn 2: 14172 chars ≈ 3543 tokens → claude-sonnet-4-6
[17:38:01] ⚠️  [01_开始懂了_20260513] Step 2 API: originality 77% < 85% | 0 copied phrases
[17:38:01] 🔄 [01_开始懂了_20260513] Step 2 API: originality retry 1/3...
[17:38:41] ⚠️  [01_开始懂了_20260513] Step 2 API retry 1: originality 77%
[17:38:41] 🔄 [01_开始懂了_20260513] Step 2 API: originality retry 2/3...
[17:39:27] ⚠️  [01_开始懂了_20260513] Step 2 API originality retry 2 failed: Expecting value: line 1 column 1 (char 0)
[17:39:27] ⚠️  [01_开始懂了_20260513] Step 2 API: best originality 77% after 3 retries
[17:39:27] ✅ [01_开始懂了_20260513] Step 2 API: 《钝刃》 engine=? | 85.7s | in=23956 out=4297 | ~$0.136
{"timestamp": "2026-05-13T17:37:15.410302+08:00", "batch_dir": "/srv/music-files-platform-next/pipeline/batch-20260513-173539-5481d4", "profile": "miao-wan-xing", "concurrency": 3, "resume_mode": "each", "pending_song_count": 1, "groups": [{"group_index": 1, "songs": ["/srv/music-files-platform-next/pipeline/batch-20260513-173539-5481d4/01_开始懂了_20260513"], "success_count": 1, "failed_count": 0, "results": [{"status": "success", "song_dir": "/srv/music-files-platform-next/pipeline/batch-20260513-173539-5481d4/01_开始懂了_20260513", "step2_file": "/srv/music-files-platform-next/pipeline/batch-20260513-173539-5481d4/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-173539-5481d4/01_开始懂了_20260513", "step2_file": "/srv/music-files-platform-next/pipeline/batch-20260513-173539-5481d4/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-173539-5481d4\nSkip Suno: False | Step1 only: False | Version: v4\n======================================================================\n\n[17:39:28] 🏥 Health check...\n[17:39:30] ✅ qishui: OK\n[17:39:30] ✅ netease: OK\n[17:39:30] ✅ qq: OK\n\n  📝 [01_开始懂了_20260513] lyrics stripped: 2653c → 2646c\n[17:39:30] 🎵 [01_开始懂了_20260513] Step 3: Suno generation (weirdness=50, style_influence=50)...\n[17:39:30] 🎨 [01_开始懂了_20260513] Step 4: SeeDream cover (parallel)...\n  🔄 retry #1...\n[17:40:32] ❌ [01_开始懂了_20260513] Step 3: submit_failed | http_400: {\n  \"error\": \"Something about your request isn't quite right. Please check your inputs and try again.\",\n  \"trace_id\": \"4f3cb030-8999-45a9-b9f1-9a03c72a4ae7\"\n}\n\n======================================================================\nSUMMARY | 62s (1.0min)\n======================================================================\n✅ Done: 0 | ⏳ Awaiting Step 2: 0 | ❌ Failed: 1\n", "stderr_tail": "[profile] ✅ Loaded profile 'miao-wan-xing' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/miao-wan-xing.yaml\n", "summary": {"timestamp": "2026-05-13T17:40:32.351221+08:00", "wall_clock": 62.1, "total": 1, "success": 0, "awaiting_step2": 0, "failed": 1}}, "status": "success"}
[exit 0]

=== 2026-05-13 17:40:32 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-173539-5481d4 ===
[Feishu] No successful songs to export.
[exit 0]
