Comments (6)
Would you have an idea what could be the case here? Did you maybe happen to see it happen in other projects?
Unfortunately no... my package tests are working:
You might try https://github.com/mxschmitt/action-tmate which makes debugging a bit easier.
Have to sleep now, let me see if I could find something to look into it when I wake up. :)
from unittesting.
I've logged in to the runner with tmate and discovered that the test was frozen at Test if no json is found.
.
PS: UnitTesting currently does not handle the case that any tests are frozen indefinitely. Perhaps we should add a timeout, say 5 minutes, for each test case. At the same time, the GitHub UI is not responsive if the underlying program is blocked. It is why you couldn't see which test case was frozen from the web.
from unittesting.
FYI, you could run the tests with the following two lines via tmate
.
cd "$SUBLIME_TEXT_PACKAGES/EasyClangComplete"
python3 ../UnitTesting/scripts/run_tests.py EasyClangComplete
from unittesting.
I have pushed some update to the action scripts. If you re-run the tests, you should see this:
Wait for tests output.........
Start to read output...
#####
async runner is deprecated, consider using the DeferrableTestCase.
#####
Darwin
test_singleton (tests.test_singleton.test_singleton)
Test if singleton returns a unique reference. ... ok
test_override_job (tests.test_thread_pool.TestThreadPool)
Test overriding job. ... ok
test_single_job (tests.test_thread_pool.TestThreadPool)
Test single job. ... ok
test_init (tests.test_row_col.TestRowCol)
Initialization test. ... ok
test_init_from_one_indexed (tests.test_row_col.TestRowCol)
Initialization test from 1-indexed row and column. ... ok
test_init_from_zero_indexed (tests.test_row_col.TestRowCol)
Initialization test from 0-indexed row and column. ... ok
test_location (tests.test_row_col.TestRowCol)
Location is valid. ... ok
test_setup_view (tests.test_row_col.TestRowCol)
Test that setup view correctly sets up the view. ... ok
test_get_catkin_ws (tests.test_catkinizer.TestCatkinizer)
Test getting a catkin workspace. ... ok
test_get_cmake_entry (tests.test_catkinizer.TestCatkinizer)
Get cmake entry. ... ok
test_get_ros_distro_path (tests.test_catkinizer.TestCatkinizer)
Check that we can get the paths to ros. ... /Users/runner/Library/Application Support/Sublime Text/Packages/EasyClangComplete/tests/cmake_tests
ok
test_init (tests.test_catkinizer.TestCatkinizer)
Test initialization. ... ok
test_setting_getting_project_data (tests.test_catkinizer.TestCatkinizer)
Test setting and getting project data. ... ok
test_builder (tests.test_flag.TestFlag)
Test tokenizing a list of all split flags. ... ok
test_builder_invalid (tests.test_flag.TestFlag)
Test tokenizing invalid flags. ... ok
test_hash (tests.test_flag.TestFlag)
Test that hash is always the same when needed. ... ok
test_init (tests.test_flag.TestFlag)
Initialization test. ... ok
test_put_into_container (tests.test_flag.TestFlag)
Test adding to hashed container. ... ok
test_tokenize (tests.test_flag.TestFlag)
Test tokenizing a list of all split flags. ... ok
test_empty_include_and_defines (tests.test_CppProperties.TestCppProperties)
Test that empty fields are handled correctly. ... ok
test_expand_environment_variables (tests.test_CppProperties.TestCppProperties)
Test environment variables are expanded. ... ok
test_get_all_flags (tests.test_CppProperties.TestCppProperties)
Test if CppProperties.json is found. ... ok
test_no_db_in_folder (tests.test_CppProperties.TestCppProperties)
Test if no json is found. ...
Timeout: output is frozen.
from unittesting.
Oh, man! Thanks for all the time you've put into this, I'll check it out from here on. 🙏
from unittesting.
Ok, as always, the issue was found between the screen and the back of the chair. Somehow in Github actions on MacOS an error surfaced that I did not see before. The reason for the hand was that because of the way some non-existing paths were formed MacOS wanted to access network volumes for those. With GUI MacOS would prompt the user and in the CI it would just hang. Thanks a lot for bearing with me and for your help in figuring this out! 🙏
from unittesting.
Related Issues (20)
- Run hook on failed test
- macOS CI failing on install HOT 5
- disable CircleCi HOT 4
- sporadic macOS 11 CI failing to launch on GitHub Actions with kLSNoExecutableErr
- GitHub Actions build with Ubuntu runner failing with 404 on xz-utils HOT 2
- GH actions fail to download binaries HOT 2
- GH Actions: timeout during Package Control installation HOT 9
- Ability to run single test methods or classes HOT 8
- Question: My plugin didn't generate files as it should HOT 2
- Test Current File ImportError failed to imports tests (ST4) HOT 1
- GitHub Actions macOS timeout installing Package Control HOT 3
- Coverage not generating HOT 23
- AttributeError: 'PackageManager' object has no attribute '_is_dependency'
- Coverage fails on MacOS / ST4
- ST3 regression HOT 2
- TypeError logging missing library HOT 4
- [MacOS, GithubActions]Timeout: Fail to install Package Control. HOT 2
- Enable warnings by default HOT 3
- Add support for `yield self.assert*(...)` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unittesting.