zephyr/scripts
Eugeniy Paltsev 9858893ea8 ARC: runner: mdb: tweak searching for cld process pid
mdb binary starts several subproceses and one of them is cld process.
In runners/mdb.py we record process id of cld on each mdb launch
to terminate simulator correctly later. However we can finish test
and terminate mdb before the cld process was found (so cld won't
be terminated correctly by sanitycheck infrastructure). It may happen
if we launch mdb on fast host machine.

That leads to several issues. First of all we get ugly error in
sanitycheck output:
------------------------>8--------------------------------
FileNotFoundError: [Errno 2] No such file or directory: '/xxxx/mdb.pid'
------------------------>8--------------------------------

Secondly (and it's more important) we terminate simulator incorrectly.
We terminate mdb leaving cld process alive, running and consuming one
cpu core permanently (until we kill it manually)

So, let's increase granularity of lookups and don't wait extra 0.5
seconds before the first lookup.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
2020-12-02 14:08:26 -05:00
..
checkpatch
ci ci: run_ci.sh: retry failed west update for PR builds 2020-11-23 14:42:54 -05:00
coccinelle scripts: coccinelle: Scripts for finding wrong device instance usage 2020-09-02 13:48:13 +02:00
coredump coredump: add support for ARM Cortex-M 2020-08-24 20:28:24 -04:00
dts devicetree: make DT_PROP_HAS_IDX expand to 0 or 1 2020-11-15 08:44:56 -06:00
footprint scripts: size_report: Fix colorized output 2020-09-03 09:54:21 -04:00
gitlint
kconfig dts: remove legacy macro support 2020-10-09 08:45:38 -05:00
net net: scripts: Make test runner script fully generic 2020-11-20 16:07:59 +02:00
release
sanity_chk sanitycheck: add option to treat overflows as errors 2020-12-01 15:36:19 -05:00
support
tests sanitycheck: tests: simplify filter testcase 2020-12-01 15:36:19 -05:00
tracing tracing: scripts: add scripts for parsing ctf data 2020-08-24 13:21:12 +02:00
west_commands ARC: runner: mdb: tweak searching for cld process pid 2020-12-02 14:08:26 -05:00
.gitignore scripts: tests: sanitycheck: Add basic foundation for sanitycheck testsuite 2020-03-24 22:32:26 -04:00
checkpatch.pl scripts: update checkpatch based on current linux kernel version 2020-08-21 13:57:02 -04:00
checkstack.pl
coccicheck scripts: Fix documunt referenc for coccicheck 2020-05-08 17:44:44 +02:00
dir_is_writeable.py
file2hex.py scripts: file2hex.py: PEP 8 style fix 2020-06-12 11:09:58 +02:00
filter-known-issues.py
gen_app_partitions.py linker: tweak section naming to feet all linkers 2020-09-05 10:22:56 -05:00
gen_cfb_font_header.py zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gen_gcov_files.py scripts: gen_gcov_files.py: add argument help text 2020-06-13 16:33:22 -04:00
gen_kobject_list.py userspace: update k_object API to support immutable objects 2020-09-02 13:48:13 +02:00
gen_offset_header.py scripts: gen_offset_header: add argument help text 2020-05-21 14:45:24 +02:00
gen_relocate_app.py zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gen_syscalls.py scripts: gen_syscalls: typo fix 2020-06-09 10:39:49 +02:00
get_maintainer.py scripts: add maintainer script 2020-07-24 17:07:48 +02:00
mergehex.py
parse_syscalls.py userspace: net sockets are kernel objects 2020-06-03 22:33:32 +02:00
process_gperf.py scripts: process_gperf: typo fix 2020-06-09 10:40:58 +02:00
requirements-base.txt ARC: west: mdb runner: record MDB's CLD process pid to file 2020-11-11 08:18:38 -05:00
requirements-build-test.txt scripts: runners: add type checking for west_commands 2020-09-03 16:49:09 -05:00
requirements-compliance.txt python3: add check_compliance package requirements 2020-08-11 14:49:48 -04:00
requirements-doc.txt doc: bump sphinx>=3.3.0 2020-11-03 10:24:25 -06:00
requirements-extras.txt scripts: Add imgtool to requirements 2020-11-16 13:38:47 +01:00
requirements-run-test.txt documents: update the pyocd required version 2020-09-29 13:37:53 -05:00
requirements.txt python3: add check_compliance package requirements 2020-08-11 14:49:48 -04:00
sanitycheck sanitycheck: add option to treat overflows as errors 2020-12-01 15:36:19 -05:00
series-push-hook.sh scripts: series-push-hook: Fix behavior after rebase 2020-10-21 07:16:54 -05:00
spelling.txt
subfolder_list.py scripts: subfolder_list.py: refactor the code 2020-07-20 17:31:53 -04:00
tags.sh
user_wordsize.py posix arch: build on aarch64 / allow host-specific cmake includes 2020-05-09 12:17:24 +02:00
valgrind.supp
west-commands.yml cmake: West extension command for Zephyr config package registration 2020-03-27 16:23:46 +01:00
zephyr_module.py scripts: ensuring posix path on module defined roots. 2020-10-15 22:07:11 -04:00