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
coredump
dts devicetree: make DT_PROP_HAS_IDX expand to 0 or 1 2020-11-15 08:44:56 -06:00
footprint
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
west_commands ARC: runner: mdb: tweak searching for cld process pid 2020-12-02 14:08:26 -05:00
.gitignore
checkpatch.pl
checkstack.pl
coccicheck
dir_is_writeable.py
file2hex.py
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
gen_gcov_files.py
gen_kobject_list.py
gen_offset_header.py
gen_relocate_app.py
gen_syscalls.py
get_maintainer.py
mergehex.py
parse_syscalls.py
process_gperf.py
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
requirements-compliance.txt
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
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
tags.sh
user_wordsize.py
valgrind.supp
west-commands.yml
zephyr_module.py scripts: ensuring posix path on module defined roots. 2020-10-15 22:07:11 -04:00