diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 438c5231ff..e18d7a1df1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -74,7 +74,7 @@ variables: TEST_ENV_CONFIG_REPO: "https://gitlab-ci-token:${BOT_TOKEN}@${CI_SERVER_HOST}:${CI_SERVER_PORT}/qa/ci-test-runner-configs.git" CI_AUTO_TEST_SCRIPT_REPO_URL: "https://gitlab-ci-token:${BOT_TOKEN}@${CI_SERVER_HOST}:${CI_SERVER_PORT}/qa/auto_test_script.git" CI_AUTO_TEST_SCRIPT_REPO_BRANCH: "ci/v4.1" - PYTEST_EMBEDDED_VERSION: "0.7.0" + PYTEST_EMBEDDED_VERSION: "0.7.1" # cache python dependencies PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" diff --git a/components/espcoredump/espcoredump.py b/components/espcoredump/espcoredump.py index 0e3a412332..9de5ba7848 100644 --- a/components/espcoredump/espcoredump.py +++ b/components/espcoredump/espcoredump.py @@ -22,7 +22,8 @@ def get_prefix_map_gdbinit_path(prog_path): # type: (str) -> Any build_dir = os.path.abspath(os.path.dirname(prog_path)) desc_path = os.path.abspath(os.path.join(build_dir, 'project_description.json')) if not os.path.isfile(desc_path): - raise ValueError(f'{desc_path} does not exist. Please build the app with "idf.py build"') + logging.warning('%s does not exist. Please build the app with "idf.py build"', desc_path) + return '' with open(desc_path, 'r') as f: project_desc = json.load(f) diff --git a/pytest.ini b/pytest.ini index 6746558996..6944f4c04c 100644 --- a/pytest.ini +++ b/pytest.ini @@ -8,6 +8,7 @@ addopts = -s --embedded-services esp,idf --tb short + --skip-check-coredump y # ignore DeprecationWarning filterwarnings = diff --git a/tools/test_apps/system/panic/pytest_panic.py b/tools/test_apps/system/panic/pytest_panic.py index a1813abdda..f53a59a1f1 100644 --- a/tools/test_apps/system/panic/pytest_panic.py +++ b/tools/test_apps/system/panic/pytest_panic.py @@ -50,7 +50,7 @@ def common_test(dut: PanicTestDut, config: str, expected_backtrace: Optional[Lis def test_task_wdt(dut: PanicTestDut, config: str, test_func_name: str) -> None: dut.expect_test_func_name(test_func_name) dut.expect_exact( - 'Task watchdog got triggered. The following tasks did not reset the watchdog in time:' + 'Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:' ) dut.expect_exact('CPU 0: main') dut.expect(r'abort\(\) was called at PC [0-9xa-f]+ on core 0')