TEN-framework / TEN-framework/ten-framework

[BUG] Sporadic failure when running ten_runtime_smoke_test

Open
#1,771 0 comments 0 reactions 1 assignee View on GitHub

@FaithfulinLOVE is already working on this.

Since Nov 19, 2025.

bug
Dominant language
Python
Stars
11.1k
Forks
1.4k
Avg merge
2d 15m
Merged PRs (30d)
22

Description

Description
Image When running ten_runtime_smoke_test on CI, this failure would occur. After re-running 2 times (no revision) the bug disappeared and then all tests passed.
Environment

CI (win x64)

Steps to reproduce

run ten_runtime_smoke_test on CI (win x64 release)

Expected behavior

Sometimes fail with the end of log looks like:
2025-11-19T06:56:33.1475215Z 2025-11-19T06:56:33.063819600+00:00 6516(18332) D ten:runtime ten_app_destroy@app.c:178 [msgpack://127.0.0.1:8001/] Destroy app
2025-11-19T06:56:33.1475827Z [ OK ] ExtensionTest.GraphMultiplePolygon (532 ms)
2025-11-19T06:56:33.1476187Z [ RUN ] ExtensionTest.GraphMultiplePolygonOneApp
2025-11-19T06:56:33.1476968Z 2025-11-19T06:56:33.064146800+00:00 6516(17996) I ten:runtime ten_app_routine@app.c:83 [] App is created
2025-11-19T06:56:33.1478168Z 2025-11-19T06:56:33.064391+00:00 6516(17996) W ten:runtime ten_find_app_base_dir@base_dir.c:52 Could not get app home from module path, using TEN_APP_BASE_DIR instead
2025-11-19T06:56:33.1479394Z 2025-11-19T06:56:33.064422500+00:00 6516(17996) D ten:runtime ten_app_find_and_set_base_dir@base_dir.c:65 Failed to determine app base directory
2025-11-19T06:56:33.6203343Z ##[error]Process completed with exit code 1.
2025-11-19T06:56:33.6389104Z Post job cleanup.
2025-11-19T06:56:33.9049223Z [command]"C:\Program Files\Git\bin\git.exe" version
2025-11-19T06:56:33.9322688Z git version 2.51.2.windows.1
2025-11-19T06:56:33.9388451Z Copying 'C:\Users\runneradmin.gitconfig' to 'D:\a_temp\ca324705-54bc-4e72-ac4a-0bc91c4650f1.gitconfig'
2025-11-19T06:56:33.9409588Z Temporarily overriding HOME='D:\a_temp\ca324705-54bc-4e72-ac4a-0bc91c4650f1' before making global git config changes
2025-11-19T06:56:33.9410629Z Adding repository directory to the temporary git global config as a safe directory
2025-11-19T06:56:33.9421532Z [command]"C:\Program Files\Git\bin\git.exe" config --global --add safe.directory D:\a\ten-framework\ten-framework
2025-11-19T06:56:33.9719228Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp core.sshCommand
2025-11-19T06:56:34.0013447Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :""
2025-11-19T06:56:34.5259743Z Entering 'ai_agents/esp32-client/components/esp32-camera'
2025-11-19T06:56:34.6071614Z Entering 'core/ten_gn'
2025-11-19T06:56:34.6937965Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp http.https://github.com/.extraheader
2025-11-19T06:56:34.7188870Z http.https://github.com/.extraheader
2025-11-19T06:56:34.7230641Z [command]"C:\Program Files\Git\bin\git.exe" config --local --unset-all http.https://github.com/.extraheader
2025-11-19T06:56:34.7524323Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :""
2025-11-19T06:56:35.2716245Z Entering 'ai_agents/esp32-client/components/esp32-camera'
2025-11-19T06:56:35.3587202Z Entering 'core/ten_gn'
2025-11-19T06:56:35.4656158Z Cleaning up orphan processes
2025-11-19T06:56:35.4819550Z Terminate orphan process: pid (2604) (vctip)

Severity

Minor

Additional Information

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.