Skip to content

mbedmicro-rtos-mbed-basic test failed on master #13359

@toyowata

Description

@toyowata

Description of defect

rtos-tests-tests-mbedmicro-rtos-mbed-basic test case of the master branch failed on K64F target. Same test case on mbed-os-6.2.0 does not fail.

mbedgt: selecting test case observer...
	calling mbedhtrun: mbedhtrun -m K64F -p /dev/tty.usbmodem14202:9600 -f "BUILD/tests/K64F/GCC_ARM/rtos/tests/TESTS/mbedmicro-rtos-mbed/basic/basic.bin" -d /Volumes/DAPLINK -c default -t 0240000034544e45003800038e41003d8321000097969900 -r default -C 4 --sync 5 -P 60
mbedgt: mbed-host-test-runner: started
[1595901856.71][HTST][INF] host test executor ver. 0.0.15
[1595901856.71][HTST][INF] copy image onto target...
[1595901856.72][COPY][INF] Waiting up to 60 sec for '0240000034544e45003800038e41003d8321000097969900' mount point (current is '/Volumes/DAPLINK')...
[1595901873.07][HTST][INF] starting host test process...
[1595901873.08][CONN][INF] starting connection process...
[1595901873.08][CONN][INF] notify event queue about extra 60 sec timeout for serial port pooling
[1595901873.08][CONN][INF] initializing serial port listener...
[1595901873.08][PLGN][INF] Waiting up to 60 sec for '0240000034544e45003800038e41003d8321000097969900' serial port (current is '/dev/tty.usbmodem14202')...
[1595901873.09][HTST][INF] setting timeout to: 60 sec
[1595901874.03][SERI][INF] serial(port=/dev/tty.usbmodem14202, baudrate=9600, read_timeout=0.01, write_timeout=5)
[1595901874.04][SERI][INF] reset device using 'default' plugin...
[1595901874.44][SERI][INF] waiting 1.00 sec after reset
[1595901875.44][SERI][INF] wait for it...
[1595901875.44][SERI][TXD] mbedmbedmbedmbedmbedmbedmbedmbedmbedmbed
[1595901875.44][CONN][INF] sending up to 5 __sync packets (specified with --sync=5)
[1595901875.44][CONN][INF] sending preamble '3d81c830-02b1-432a-a94b-14f83b81519b'
[1595901875.44][SERI][TXD] {{__sync;3d81c830-02b1-432a-a94b-14f83b81519b}}
[1595901875.58][CONN][RXD] mbedmbedmbedmbedmbedmbedmbedmbed
[1595901875.62][CONN][INF] found SYNC in stream: {{__sync;3d81c830-02b1-432a-a94b-14f83b81519b}} it is #0 sent, queued...
[1595901875.62][HTST][INF] sync KV found, uuid=3d81c830-02b1-432a-a94b-14f83b81519b, timestamp=1595901875.621755
[1595901875.65][CONN][INF] found KV pair in stream: {{__version;1.3.0}}, queued...
[1595901875.65][HTST][INF] DUT greentea-client version: 1.3.0
[1595901875.67][CONN][INF] found KV pair in stream: {{__timeout;40}}, queued...
[1595901875.67][HTST][INF] setting timeout to: 40 sec
[1595901875.71][CONN][INF] found KV pair in stream: {{__host_test_name;timing_drift_auto}}, queued...
[1595901875.72][HTST][ERR] host test not detected: timing_drift_auto
[1595901875.72][HTST][INF] __exit_event_queue received
[1595901875.72][HTST][INF] test suite run finished after 0.05 sec...
[1595901875.73][CONN][INF] received special event '__host_test_finished' value='True', finishing
[1595901875.78][HTST][INF] CONN exited with code: 0
[1595901875.78][HTST][INF] No events in queue
[1595901875.78][HTST][INF] stopped consuming events
[1595901875.78][HTST][INF] host test result() call skipped, received: error
[1595901875.78][HTST][WRN] missing __exit event from DUT
[1595901875.78][HTST][INF] calling blocking teardown()
[1595901875.78][HTST][INF] teardown() finished
[1595901875.78][HTST][INF] {{result;error}}
mbedgt: retry mbedhtrun 1/1
mbedgt: ['mbedhtrun', '-m', 'K64F', '-p', '/dev/tty.usbmodem14202:9600', '-f', '"BUILD/tests/K64F/GCC_ARM/rtos/tests/TESTS/mbedmicro-rtos-mbed/basic/basic.bin"', '-d', '/Volumes/DAPLINK', '-c', 'default', '-t', '0240000034544e45003800038e41003d8321000097969900', '-r', 'default', '-C', '4', '--sync', '5', '-P', '60'] failed after 1 count
mbedgt: checking for GCOV data...
mbedgt: mbed-host-test-runner: stopped and returned 'ERROR'
mbedgt: test case summary event not found
	no test case report present, assuming test suite to be a single test case!
	test suite: rtos-tests-tests-mbedmicro-rtos-mbed-basic
	test case: rtos-tests-tests-mbedmicro-rtos-mbed-basic
mbedgt: test on hardware with target id: 0240000034544e45003800038e41003d8321000097969900
mbedgt: test suite 'rtos-tests-tests-mbedmicro-rtos-mbed-basic' ...................................... ERROR in 19.54 sec
	test case: 'rtos-tests-tests-mbedmicro-rtos-mbed-basic' ...................................... ERROR in 19.54 sec
mbedgt: test case summary: 0 passes, 1 failure

Target(s) affected by this defect ?

  • FRDM-K64F (and possibly others)

Toolchain(s) (name and version) displaying this defect ?

arm-none-eabi-gcc (GNU Arm Embedded Toolchain 9-2020-q2-update) 9.3.1 20200408 (release)

What version of Mbed-os are you using (tag or sha) ?

master (#6bd52719f62c)

What version(s) of tools are you using. List all that apply (E.g. mbed-cli)

Package            Version
------------------ -------------
appdirs            1.4.4
asn1ate            0.6.0
attrs              19.3.0
beautifulsoup4     4.6.3
cbor               1.0.0
certifi            2020.4.5.2
cffi               1.14.0
chardet            3.0.4
Click              7.0
cmsis-pack-manager 0.2.10
colorama           0.3.9
cryptography       2.9.2
ecdsa              0.15
esptool            2.8
fasteners          0.15
future             0.16.0
hidapi             0.7.99.post21
icetea             1.2.4
idna               2.7
importlib-metadata 1.6.1
intelhex           2.2.1
intervaltree       3.0.2
Jinja2             2.10.3
jsonmerge          1.7.0
jsonschema         2.6.0
junit-xml          1.8
lockfile           0.12.2
lxml               4.5.1
manifest-tool      1.5.2
MarkupSafe         1.1.1
mbed-cli           1.10.4
mbed-cloud-sdk     2.0.8
mbed-flasher       0.10.1
mbed-greentea      1.7.4
mbed-host-tests    1.5.10
mbed-ls            1.7.12
mbed-os-tools      0.0.15
milksnake          0.1.5
monotonic          1.5
more-itertools     8.4.0
packaging          20.4
pip                20.1.1
pluggy             0.13.1
prettytable        0.7.2
protobuf           3.5.2.post1
psutil             5.6.6
py                 1.8.2
pyaes              1.6.1
pyasn1             0.2.3
pyasn1-modules     0.2.8
pycparser          2.20
pycryptodome       3.9.8
pyelftools         0.25
pylink-square      0.6.1
pyocd              0.26.1
pyparsing          2.4.7
pyserial           3.4
pytest             5.4.3
python-dateutil    2.8.1
python-dotenv      0.13.0
pyusb              1.0.2
PyYAML             4.2b1
requests           2.20.1
semver             2.10.1
setuptools         28.8.0
six                1.12.0
sortedcontainers   2.2.2
urllib3            1.24.2
wcwidth            0.2.4
ws4py              0.5.1
yattag             1.13.2
zipp               3.1.0

How is this defect reproduced ?

$ git clone https://github.com/ARMmbed/mbed-os
$ cd mbed-os
$ mbed test -m k64f -t gcc_arm -n "RTOS-TESTS-*" --compile
$ mbed test -m k64f -t gcc_arm -n "RTOS-TESTS-*" --run -v

Full log output

Assumptions

It is probably related to this change?
cc @ashok-rao

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions