Created
December 9, 2018 04:53
-
-
Save AGlass0fMilk/c382d00ba81f3a539ec41683d6bfb7a2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gdbeckstein@magic-man:~/Documents/nrf52840-usb-device$ mbed test -t GCC_ARM -m nRF52840_DK -n mbed-os-tests-usb_device-basic -vv | |
[mbed-27460] Working path "/home/gdbeckstein/Documents/nrf52840-usb-device" (program) | |
[mbed-27460] Exec "/usr/bin/python -m pip list -l" in "/home/gdbeckstein/Documents/nrf52840-usb-device" | |
appdirs (1.4.3) | |
asn1ate (0.6.0) | |
asn1crypto (0.24.0) | |
awscli (1.16.55) | |
beautifulsoup4 (4.6.3) | |
boto3 (1.9.45) | |
botocore (1.12.45) | |
certifi (2018.11.29) | |
cffi (1.11.5) | |
chardet (3.0.4) | |
colorama (0.3.9) | |
cryptography (2.3.1) | |
docutils (0.14) | |
ecdsa (0.13) | |
enum34 (1.1.6) | |
fasteners (0.14.1) | |
funcsigs (1.0.2) | |
functools32 (3.2.3.post2) | |
future (0.17.1) | |
futures (3.2.0) | |
fuzzywuzzy (0.17.0) | |
gcovr (4.1) | |
icetea (1.0.2) | |
idna (2.7) | |
intelhex (2.2.1) | |
intervaltree (2.1.0) | |
ipaddress (1.0.22) | |
Jinja2 (2.10) | |
jmespath (0.9.3) | |
jsonmerge (1.5.2) | |
jsonschema (2.6.0) | |
junit-xml (1.8) | |
lockfile (0.12.2) | |
Logbook (1.4.1) | |
lxml (4.2.5) | |
manifest-tool (1.4.6) | |
MarkupSafe (1.1.0) | |
mbed-cli (1.8.2) | |
mbed-cloud-sdk (2.0.1) | |
mbed-flasher (0.9.0) | |
mbed-greentea (1.4.0) | |
mbed-host-tests (1.4.2) | |
mbed-ls (1.6.2) | |
mock (2.0.0) | |
monotonic (1.5) | |
numpy (1.15.4) | |
opencv-python (3.4.3.18) | |
pbr (5.1.1) | |
prettytable (0.7.2) | |
protobuf (3.5.2.post1) | |
py (1.7.0) | |
pyasn1 (0.4.4) | |
pycparser (2.19) | |
pyelftools (0.25) | |
pyOCD (0.12.0) | |
pyOpenSSL (18.0.0) | |
pyparsing (2.3.0) | |
Pypubsub (4.0.0) | |
pyserial (3.4) | |
pyshark-legacy (0.3.8) | |
python-dateutil (2.7.5) | |
python-dotenv (0.9.1) | |
pyudev (0.21.0) | |
pyusb (1.0.2) | |
PyYAML (3.13) | |
requests (2.20.1) | |
rsa (3.4.2) | |
s3transfer (0.1.13) | |
semver (2.8.1) | |
setuptools (40.5.0) | |
six (1.11.0) | |
sortedcontainers (2.1.0) | |
trollius (1.0.4) | |
typing (3.6.6) | |
urllib3 (1.24.1) | |
websocket-client (0.54.0) | |
wxPython (4.0.3) | |
yattag (1.10.0) | |
[mbed-27460] Exec "/usr/bin/python -u /home/gdbeckstein/Documents/nrf52840-usb-device/mbed-os/tools/test.py -t GCC_ARM -m nRF52840_DK --source . --build ./BUILD/tests/NRF52840_DK/GCC_ARM --test-spec ./BUILD/tests/NRF52840_DK/GCC_ARM/test_spec.json --build-data ./BUILD/tests/NRF52840_DK/GCC_ARM/build_data.json -n mbed-os-tests-usb_device-basic -v --greentea" in "/home/gdbeckstein/Documents/nrf52840-usb-device" | |
Building library mbed-build (NRF52840_DK, GCC_ARM) | |
Scan: nrf52840-usb-device | |
Scan: FEATURE_BLE | |
Using ROM regions bootloader, application in this build. | |
Region bootloader: size 0x22000, offset 0x0 | |
Region application: size 0xde000, offset 0x22000 | |
Macros: -DFEATURE_CRYPTOCELL310=1 -DMBED_BUILD_TIMESTAMP=1544330698.58 -DCMSIS_VECTAB_VIRTUAL -D__MBED__=1 -DDEVICE_USBDEVICE=1 -D__FPU_PRESENT=1 -DDEVICE_PORTINOUT=1 -DTARGET_RTOS_M4_M7 -DDEVICE_MPU=1 -DDEVICE_SERIAL_ASYNCH=1 -D__CMSIS_RTOS -D__CORTEX_M4 -DTARGET_NORDIC_SOFTDEVICE -DDEVICE_ITM=1 -DTARGET_NRF5x -DNRF52840_XXAA -DTOOLCHAIN_GCC -DWSF_MAX_HANDLERS=10 -DTARGET_NRF52840_DK -DTARGET_CORTEX_M -DDEVICE_I2C_ASYNCH=1 -DTARGET_LIKE_CORTEX_M4 -DDEVICE_TRNG=1 -DTARGET_M4 -DDEVICE_ANALOGIN=1 -DFEATURE_BLE=1 -DCOMPONENT_PSA_SRV_IMPL=1 -DTARGET_SOFTDEVICE_S140_FULL -DDEVICE_SPI_ASYNCH=1 -DDEVICE_LPTICKER=1 -DDEVICE_PWMOUT=1 -DMBEDTLS_CONFIG_HW_SUPPORT -DMBED_TICKLESS -DDEVICE_INTERRUPTIN=1 -DTARGET_CORTEX -DDEVICE_I2C=1 -DDEVICE_PORTOUT=1 -DTARGET_SOFTDEVICE_COMMON -DTARGET_LIKE_MBED -DCOMPONENT_PSA_SRV_EMUL=1 -DTARGET_FF_ARDUINO -DDEVICE_PORTIN=1 -DTARGET_RELEASE -DTARGET_SDK_14_2 -DTARGET_NORDIC -DTARGET_NRF52 -DDEVICE_SYSTICK_CLK_OFF_DURING_SLEEP=1 -DDEVICE_USTICKER=1 -DCONFIG_GPIO_AS_PINRESET -DBOARD_PCA10056 -D__MBED_CMSIS_RTOS_CM -DDEVICE_SLEEP=1 -DTOOLCHAIN_GCC_ARM -DNRF52_ERRATA_20 -DDEVICE_SPI=1 -DCOMPONENT_NSPE=1 -DCMSIS_VECTAB_VIRTUAL_HEADER_FILE="cmsis_nvic.h" -DTARGET_MCU_NRF52840 -DDEVICE_QSPI=1 -DDEVICE_SERIAL=1 -DTARGET_NRF52840 -DDEVICE_FLASH=1 -DARM_MATH_CM4 -DDEVICE_SERIAL_FC=1 | |
Building project basic (NRF52840_DK, GCC_ARM) | |
Scan: GCC_ARM | |
Scan: basic | |
Scan: FEATURE_BLE | |
Using ROM regions bootloader, application in this build. | |
Region bootloader: size 0x22000, offset 0x0 | |
Region application: size 0xde000, offset 0x22000 | |
Macros: -DFEATURE_CRYPTOCELL310=1 -DCMSIS_VECTAB_VIRTUAL -D__MBED__=1 -DDEVICE_USBDEVICE=1 -D__FPU_PRESENT=1 -DDEVICE_PORTINOUT=1 -DTARGET_RTOS_M4_M7 -DDEVICE_MPU=1 -DDEVICE_SERIAL_ASYNCH=1 -D__CMSIS_RTOS -D__CORTEX_M4 -DTARGET_NORDIC_SOFTDEVICE -DDEVICE_ITM=1 -DTARGET_NRF5x -DNRF52840_XXAA -DTOOLCHAIN_GCC -DWSF_MAX_HANDLERS=10 -DTARGET_NRF52840_DK -DTARGET_CORTEX_M -DDEVICE_I2C_ASYNCH=1 -DTARGET_LIKE_CORTEX_M4 -DDEVICE_TRNG=1 -DTARGET_M4 -DDEVICE_ANALOGIN=1 -DFEATURE_BLE=1 -DCOMPONENT_PSA_SRV_IMPL=1 -DTARGET_SOFTDEVICE_S140_FULL -DDEVICE_SPI_ASYNCH=1 -DDEVICE_LPTICKER=1 -DDEVICE_PWMOUT=1 -DMBEDTLS_CONFIG_HW_SUPPORT -DMBED_TICKLESS -DDEVICE_INTERRUPTIN=1 -DTARGET_CORTEX -DDEVICE_I2C=1 -DDEVICE_PORTOUT=1 -DTARGET_SOFTDEVICE_COMMON -DTARGET_LIKE_MBED -DCOMPONENT_PSA_SRV_EMUL=1 -DTARGET_FF_ARDUINO -DDEVICE_PORTIN=1 -DTARGET_RELEASE -DTARGET_SDK_14_2 -DTARGET_NORDIC -DTARGET_NRF52 -DDEVICE_SYSTICK_CLK_OFF_DURING_SLEEP=1 -DDEVICE_USTICKER=1 -DCONFIG_GPIO_AS_PINRESET -DBOARD_PCA10056 -D__MBED_CMSIS_RTOS_CM -DDEVICE_SLEEP=1 -DTOOLCHAIN_GCC_ARM -DMBED_BUILD_TIMESTAMP=1544330699.75 -DDEVICE_SPI=1 -DCOMPONENT_NSPE=1 -DCMSIS_VECTAB_VIRTUAL_HEADER_FILE="cmsis_nvic.h" -DTARGET_MCU_NRF52840 -DDEVICE_QSPI=1 -DDEVICE_SERIAL=1 -DNRF52_ERRATA_20 -DTARGET_NRF52840 -DDEVICE_FLASH=1 -DARM_MATH_CM4 -DDEVICE_SERIAL_FC=1 | |
Link: basic_application | |
Preproc: arm-none-eabi-cpp -E -P BUILD/tests/NRF52840_DK/GCC_ARM/mbed-os/targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/TARGET_MCU_NRF52840/device/TOOLCHAIN_GCC_ARM/NRF52840.ld -Wl,--gc-sections -Wl,--wrap,main -Wl,--wrap,_malloc_r -Wl,--wrap,_free_r -Wl,--wrap,_realloc_r -Wl,--wrap,_memalign_r -Wl,--wrap,_calloc_r -Wl,--wrap,exit -Wl,--wrap,atexit -Wl,-n -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -DSOFTDEVICE_PRESENT=1 -DMBED_APP_START=0x22000 -DMBED_APP_SIZE=0xde000 -DMBED_ROM_START=0x0 -DMBED_ROM_SIZE=0x100000 -DMBED_RAM_START=0x20000000 -DMBED_RAM_SIZE=0x40000 -DMBED_BOOT_STACK_SIZE=2048 -o ./BUILD/tests/NRF52840_DK/GCC_ARM/./mbed-os/TESTS/usb_device/basic/.link_script.ld | |
[DEBUG] Return: 0 | |
Link: arm-none-eabi-gcc @./BUILD/tests/NRF52840_DK/GCC_ARM/./mbed-os/TESTS/usb_device/basic/.link_options.txt | |
[DEBUG] Return: 0 | |
Elf2Bin: basic_application | |
FromELF: arm-none-eabi-objcopy -O ihex ./BUILD/tests/NRF52840_DK/GCC_ARM/./mbed-os/TESTS/usb_device/basic/basic_application.elf ./BUILD/tests/NRF52840_DK/GCC_ARM/./mbed-os/TESTS/usb_device/basic/basic_application.hex | |
[DEBUG] Return: 0 | |
Merging Regions | |
Filling region bootloader with /home/gdbeckstein/Documents/nrf52840-usb-device/BUILD/tests/NRF52840_DK/GCC_ARM/mbed-os/targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_SDK_14_2/TARGET_SOFTDEVICE_S140_FULL/hex/s140_nrf52840_5.0.0-2.alpha_softdevice.hex | |
Filling region application with ./BUILD/tests/NRF52840_DK/GCC_ARM/./mbed-os/TESTS/usb_device/basic/basic_application.hex | |
Space used after regions merged: 0x54e68 | |
Merging Regions | |
Filling region application with ./BUILD/tests/NRF52840_DK/GCC_ARM/./mbed-os/TESTS/usb_device/basic/basic_application.hex | |
Space used after regions merged: 0x32e68 | |
| Module | .text | .data | .bss | | |
|--------------------------------|------------|----------|-----------| | |
| TESTS/usb_device | 9140(+0) | 1046(+0) | 676(+0) | | |
| [fill] | 362(+0) | 19(+0) | 76(+0) | | |
| [lib]/c.a | 29301(+0) | 2472(+0) | 89(+0) | | |
| [lib]/cc_310_core.a | 39134(+0) | 0(+0) | 0(+0) | | |
| [lib]/cc_310_ext.a | 644(+0) | 0(+0) | 24(+0) | | |
| [lib]/cc_310_trng.a | 267(+0) | 0(+0) | 0(+0) | | |
| [lib]/gcc.a | 3168(+0) | 0(+0) | 0(+0) | | |
| [lib]/misc | 252(+0) | 12(+0) | 28(+0) | | |
| [lib]/nosys.a | 32(+0) | 0(+0) | 0(+0) | | |
| [lib]/stdc++.a | 1(+0) | 0(+0) | 0(+0) | | |
| cmsis/TARGET_CORTEX_M | 1033(+0) | 0(+0) | 0(+0) | | |
| components/802.15.4_RF | 96(+0) | 0(+0) | 0(+0) | | |
| components/wifi | 50(+0) | 0(+0) | 0(+0) | | |
| drivers/FlashIAP.o | 134(+0) | 0(+0) | 0(+0) | | |
| drivers/I2C.o | 16(+0) | 0(+0) | 0(+0) | | |
| drivers/RawSerial.o | 304(+0) | 0(+0) | 0(+0) | | |
| drivers/Serial.o | 36(+0) | 0(+0) | 0(+0) | | |
| drivers/SerialBase.o | 630(+0) | 0(+0) | 0(+0) | | |
| drivers/Ticker.o | 194(+0) | 0(+0) | 0(+0) | | |
| drivers/Timeout.o | 161(+0) | 0(+0) | 0(+0) | | |
| drivers/Timer.o | 106(+0) | 0(+0) | 0(+0) | | |
| drivers/TimerEvent.o | 168(+0) | 0(+0) | 0(+0) | | |
| drivers/UARTSerial.o | 20(+0) | 0(+0) | 0(+0) | | |
| events/EventQueue.o | 68(+0) | 0(+0) | 0(+0) | | |
| events/equeue | 1112(+0) | 0(+0) | 0(+0) | | |
| events/mbed_shared_queues.o | 453(+0) | 0(+0) | 1572(+0) | | |
| features/FEATURE_BLE | 40338(+0) | 4(+0) | 2078(+0) | | |
| features/cryptocell | 902(+0) | 0(+0) | 12224(+0) | | |
| features/frameworks | 7157(+0) | 69(+0) | 593(+0) | | |
| features/mbedtls | 23090(+0) | 8(+0) | 244(+0) | | |
| features/nanostack | 172(+0) | 4(+0) | 192(+0) | | |
| hal/mbed_gpio.o | 343(+0) | 0(+0) | 0(+0) | | |
| hal/mbed_lp_ticker_api.o | 68(+0) | 4(+0) | 64(+0) | | |
| hal/mbed_sleep_manager.o | 231(+0) | 0(+0) | 2(+0) | | |
| hal/mbed_ticker_api.o | 1194(+0) | 0(+0) | 0(+0) | | |
| hal/mbed_us_ticker_api.o | 68(+0) | 4(+0) | 64(+0) | | |
| hal/mpu | 315(+0) | 0(+0) | 0(+0) | | |
| platform/CThunkBase.o | 16(+0) | 0(+0) | 4(+0) | | |
| platform/FileBase.o | 128(+0) | 0(+0) | 56(+0) | | |
| platform/FileHandle.o | 4(+0) | 0(+0) | 0(+0) | | |
| platform/FilePath.o | 213(+0) | 0(+0) | 0(+0) | | |
| platform/mbed_alloc_wrappers.o | 16(+0) | 0(+0) | 0(+0) | | |
| platform/mbed_assert.o | 32(+0) | 0(+0) | 0(+0) | | |
| platform/mbed_board.o | 524(+0) | 0(+0) | 0(+0) | | |
| platform/mbed_critical.o | 280(+0) | 0(+0) | 4(+0) | | |
| platform/mbed_error.o | 1446(+0) | 0(+0) | 139(+0) | | |
| platform/mbed_retarget.o | 1743(+0) | 260(+0) | 64(+0) | | |
| platform/mbed_wait_api_rtos.o | 168(+0) | 0(+0) | 0(+0) | | |
| rtos/EventFlags.o | 218(+0) | 0(+0) | 0(+0) | | |
| rtos/Mutex.o | 294(+0) | 0(+0) | 0(+0) | | |
| rtos/Semaphore.o | 153(+0) | 0(+0) | 0(+0) | | |
| rtos/TARGET_CORTEX | 10179(+0) | 168(+0) | 6029(+0) | | |
| rtos/ThisThread.o | 185(+0) | 0(+0) | 0(+0) | | |
| rtos/Thread.o | 849(+0) | 0(+0) | 0(+0) | | |
| targets/TARGET_NORDIC | 20768(+0) | 50(+0) | 1520(+0) | | |
| usb/device | 7708(+0) | 0(+0) | 258(+0) | | |
| Subtotals | 205684(+0) | 4120(+0) | 26000(+0) | | |
Total Static RAM memory (data + bss): 30120(+0) bytes | |
Total Flash memory (text + data): 209804(+0) bytes | |
Image: BUILD/tests/NRF52840_DK/GCC_ARM/mbed-os/TESTS/usb_device/basic/basic.hex | |
Memory map breakdown for built projects (values in Bytes): | |
| name | target | toolchain | static_ram | total_flash | | |
|-------|-------------|-----------|------------|-------------| | |
| basic | NRF52840_DK | GCC_ARM | 30120 | 209804 | | |
Build successes: | |
* NRF52840_DK::GCC_ARM::MBED-BUILD | |
* NRF52840_DK::GCC_ARM::MBED-OS-TESTS-USB_DEVICE-BASIC | |
[mbed-27460] Exec "mbedgt --test-spec ./BUILD/tests/NRF52840_DK/GCC_ARM/test_spec.json -n mbed-os-tests-usb_device-basic -V" in "/home/gdbeckstein/Documents/nrf52840-usb-device" | |
mbedgt: greentea test automation tool ver. 1.4.0 | |
mbedgt: test specification file './BUILD/tests/NRF52840_DK/GCC_ARM/test_spec.json' (specified with --test-spec option) | |
mbedgt: using './BUILD/tests/NRF52840_DK/GCC_ARM/test_spec.json' from current directory! | |
mbedgt: detecting connected mbed-enabled devices... | |
[1544330701.60][mbedls.platform_database]Duplicate platform ids found: daplink.0006, ignoring the definitions from /home/gdbeckstein/.local/share/mbedls/platforms.json | |
mbedgt: detected 1 device | |
+---------------+----------------------+--------------+--------------------------+--------------+ | |
| platform_name | platform_name_unique | serial_port | mount_point | target_id | | |
+---------------+----------------------+--------------+--------------------------+--------------+ | |
| NRF52840_DK | NRF52_DK[0] | /dev/ttyACM1 | /media/gdbeckstein/JLINK | 000682564699 | | |
+---------------+----------------------+--------------+--------------------------+--------------+ | |
mbedgt: processing target 'NRF52840_DK' toolchain 'GCC_ARM' compatible platforms... (note: switch set to --parallel 1) | |
+---------------+----------------------+-------------------+--------------------------+--------------+ | |
| platform_name | platform_name_unique | serial_port | mount_point | target_id | | |
+---------------+----------------------+-------------------+--------------------------+--------------+ | |
| NRF52840_DK | NRF52_DK[0] | /dev/ttyACM1:9600 | /media/gdbeckstein/JLINK | 000682564699 | | |
+---------------+----------------------+-------------------+--------------------------+--------------+ | |
mbedgt: test case filter (specified with -n option) | |
mbed-os-tests-usb_device-basic | |
test filtered in 'mbed-os-tests-usb_device-basic' | |
mbedgt: running 1 test for platform 'NRF52840_DK' and toolchain 'GCC_ARM' | |
use 1 instance of execution threads for testing | |
mbedgt: checking for 'host_tests' directory above image directory structure | |
found 'host_tests' directory in: 'mbed-os/TESTS/host_tests' | |
mbedgt: selecting test case observer... | |
calling mbedhtrun: mbedhtrun -m NRF52840_DK -p /dev/ttyACM1:9600 -f "BUILD/tests/NRF52840_DK/GCC_ARM/mbed-os/TESTS/usb_device/basic/basic.hex" -e "mbed-os/TESTS/host_tests" -d /media/gdbeckstein/JLINK -c default -t 000682564699 -r default -C 6 --sync 5 -P 60 | |
mbedgt: mbed-host-test-runner: started | |
[1544330701.89][root]Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt | |
[1544330701.90][root]Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt | |
[1544330701.93][HTST][INF] host test executor ver. 1.4.2 | |
[1544330701.93][HTST][INF] copy image onto target... | |
[1544330701.93][COPY][INF] Waiting up to 60 sec for '000682564699' mount point (current is '/media/gdbeckstein/JLINK')... | |
[1544330701.94][mbedls.platform_database]Duplicate platform ids found: daplink.0006, ignoring the definitions from /home/gdbeckstein/.local/share/mbedls/platforms.json | |
[1544330714.83][mbedls.platform_database]Duplicate platform ids found: daplink.0006, ignoring the definitions from /home/gdbeckstein/.local/share/mbedls/platforms.json | |
[1544330715.34][mbedls.platform_database]Duplicate platform ids found: daplink.0006, ignoring the definitions from /home/gdbeckstein/.local/share/mbedls/platforms.json | |
[1544330715.85][mbedls.platform_database]Duplicate platform ids found: daplink.0006, ignoring the definitions from /home/gdbeckstein/.local/share/mbedls/platforms.json | |
[1544330716.36][mbedls.platform_database]Duplicate platform ids found: daplink.0006, ignoring the definitions from /home/gdbeckstein/.local/share/mbedls/platforms.json | |
[1544330716.88][mbedls.platform_database]Duplicate platform ids found: daplink.0006, ignoring the definitions from /home/gdbeckstein/.local/share/mbedls/platforms.json | |
[1544330717.39][HTST][INF] starting host test process... | |
[1544330717.39][CONN][INF] starting connection process... | |
[1544330717.39][CONN][INF] notify event queue about extra 60 sec timeout for serial port pooling | |
[1544330717.39][CONN][INF] initializing serial port listener... | |
[1544330717.39][PLGN][INF] Waiting up to 60 sec for '000682564699' serial port (current is '/dev/ttyACM1')... | |
[1544330717.39][HTST][INF] setting timeout to: 60 sec | |
[1544330717.39][mbedls.platform_database]Duplicate platform ids found: daplink.0006, ignoring the definitions from /home/gdbeckstein/.local/share/mbedls/platforms.json | |
[1544330717.39][SERI][INF] serial(port=/dev/ttyACM1, baudrate=9600, read_timeout=0.01, write_timeout=5) | |
[1544330717.39][SERI][ERR] [Errno 16] could not open port /dev/ttyACM1: [Errno 16] Device or resource busy: '/dev/ttyACM1' | |
[1544330717.39][SERI][ERR] Retry after 1 sec until 60 seconds | |
[1544330718.39][SERI][ERR] [Errno 16] could not open port /dev/ttyACM1: [Errno 16] Device or resource busy: '/dev/ttyACM1' | |
[1544330718.39][SERI][ERR] Retry after 1 sec until 60 seconds | |
[1544330719.40][SERI][ERR] [Errno 16] could not open port /dev/ttyACM1: [Errno 16] Device or resource busy: '/dev/ttyACM1' | |
[1544330719.40][SERI][ERR] Retry after 1 sec until 60 seconds | |
[1544330720.40][SERI][ERR] [Errno 16] could not open port /dev/ttyACM1: [Errno 16] Device or resource busy: '/dev/ttyACM1' | |
[1544330720.40][SERI][ERR] Retry after 1 sec until 60 seconds | |
[1544330721.40][SERI][ERR] [Errno 16] could not open port /dev/ttyACM1: [Errno 16] Device or resource busy: '/dev/ttyACM1' | |
[1544330721.40][SERI][ERR] Retry after 1 sec until 60 seconds | |
[1544330722.40][SERI][ERR] [Errno 16] could not open port /dev/ttyACM1: [Errno 16] Device or resource busy: '/dev/ttyACM1' | |
[1544330722.40][SERI][ERR] Retry after 1 sec until 60 seconds | |
[1544330723.40][SERI][ERR] [Errno 16] could not open port /dev/ttyACM1: [Errno 16] Device or resource busy: '/dev/ttyACM1' | |
[1544330723.40][SERI][ERR] Retry after 1 sec until 60 seconds | |
[1544330724.41][SERI][ERR] [Errno 16] could not open port /dev/ttyACM1: [Errno 16] Device or resource busy: '/dev/ttyACM1' | |
[1544330724.41][SERI][ERR] Retry after 1 sec until 60 seconds | |
[1544330725.41][SERI][ERR] [Errno 16] could not open port /dev/ttyACM1: [Errno 16] Device or resource busy: '/dev/ttyACM1' | |
[1544330725.41][SERI][ERR] Retry after 1 sec until 60 seconds | |
[1544330726.41][SERI][ERR] [Errno 16] could not open port /dev/ttyACM1: [Errno 16] Device or resource busy: '/dev/ttyACM1' | |
[1544330726.41][SERI][ERR] Retry after 1 sec until 60 seconds | |
[1544330727.41][SERI][ERR] [Errno 16] could not open port /dev/ttyACM1: [Errno 16] Device or resource busy: '/dev/ttyACM1' | |
[1544330727.41][SERI][ERR] Retry after 1 sec until 60 seconds | |
[1544330728.41][SERI][ERR] [Errno 16] could not open port /dev/ttyACM1: [Errno 16] Device or resource busy: '/dev/ttyACM1' | |
[1544330728.41][SERI][ERR] Retry after 1 sec until 60 seconds | |
[1544330729.41][SERI][ERR] [Errno 16] could not open port /dev/ttyACM1: [Errno 16] Device or resource busy: '/dev/ttyACM1' | |
[1544330729.41][SERI][ERR] Retry after 1 sec until 60 seconds | |
[1544330730.42][SERI][ERR] [Errno 16] could not open port /dev/ttyACM1: [Errno 16] Device or resource busy: '/dev/ttyACM1' | |
[1544330730.42][SERI][ERR] Retry after 1 sec until 60 seconds | |
[1544330731.42][SERI][INF] reset device using 'default' plugin... | |
[1544330731.52][SERI][INF] waiting 1.00 sec after reset | |
[1544330732.52][SERI][INF] wait for it... | |
[1544330732.53][SERI][TXD] mbedmbedmbedmbedmbedmbedmbedmbedmbedmbed | |
[1544330732.53][CONN][INF] sending up to 5 __sync packets (specified with --sync=5) | |
[1544330732.53][CONN][INF] sending preamble 'd5928bfb-5857-4fa6-91e4-81f84d1e489a' | |
[1544330732.53][SERI][TXD] {{__sync;d5928bfb-5857-4fa6-91e4-81f84d1e489a}} | |
[1544330732.67][CONN][RXD] mbedmbedmbedmbedmbedmbedmbedmbed | |
[1544330732.72][CONN][INF] found SYNC in stream: {{__sync;d5928bfb-5857-4fa6-91e4-81f84d1e489a}} it is #0 sent, queued... | |
[1544330732.72][HTST][INF] sync KV found, uuid=d5928bfb-5857-4fa6-91e4-81f84d1e489a, timestamp=1544330732.722483 | |
[1544330732.74][CONN][INF] found KV pair in stream: {{__version;1.3.0}}, queued... | |
[1544330732.74][HTST][INF] DUT greentea-client version: 1.3.0 | |
[1544330732.77][CONN][INF] found KV pair in stream: {{__timeout;180}}, queued... | |
[1544330732.77][HTST][INF] setting timeout to: 180 sec | |
[1544330732.80][CONN][INF] found KV pair in stream: {{__host_test_name;pyusb_basic}}, queued... | |
[1544330732.80][HTST][INF] host test class: '<class 'pyusb_basic.PyusbBasicTest'>' | |
[1544330732.80][HTST][INF] host test setup() call... | |
[1544330732.80][HTST][INF] CALLBACKs updated | |
[1544330732.80][HTST][INF] host test detected: pyusb_basic | |
[1544330732.82][CONN][INF] found KV pair in stream: {{__testcase_count;13}}, queued... | |
[1544330732.85][CONN][RXD] >>> Running 13 test cases... | |
[1544330732.90][CONN][INF] found KV pair in stream: {{__testcase_name;usb control basic test}}, queued... | |
[1544330732.94][CONN][INF] found KV pair in stream: {{__testcase_name;usb control stall test}}, queued... | |
[1544330732.98][CONN][INF] found KV pair in stream: {{__testcase_name;usb control sizes test}}, queued... | |
[1544330733.04][CONN][INF] found KV pair in stream: {{__testcase_name;usb control stress test}}, queued... | |
[1544330733.08][CONN][INF] found KV pair in stream: {{__testcase_name;usb device reset test}}, queued... | |
[1544330733.13][CONN][INF] found KV pair in stream: {{__testcase_name;usb soft reconnection test}}, queued... | |
[1544330733.19][CONN][INF] found KV pair in stream: {{__testcase_name;usb repeated construction destruction test}}, queued... | |
[1544330733.26][CONN][INF] found KV pair in stream: {{__testcase_name;endpoint test data correctness}}, queued... | |
[1544330733.30][CONN][INF] found KV pair in stream: {{__testcase_name;endpoint test halt}}, queued... | |
[1544330733.35][CONN][INF] found KV pair in stream: {{__testcase_name;endpoint test parallel transfers}}, queued... | |
[1544330733.41][CONN][INF] found KV pair in stream: {{__testcase_name;endpoint test parallel transfers ctrl}}, queued... | |
[1544330733.46][CONN][INF] found KV pair in stream: {{__testcase_name;endpoint test abort}}, queued... | |
[1544330733.51][CONN][RXD] | |
[1544330733.51][CONN][INF] found KV pair in stream: {{__testcase_name;endpoint test data toggle reset}}, queued... | |
[1544330733.56][CONN][RXD] >>> Running case #1: 'usb control basic test'... | |
[1544330733.61][CONN][INF] found KV pair in stream: {{__testcase_start;usb control basic test}}, queued... | |
[1544330734.08][CONN][INF] found KV pair in stream: {{control_basic_test;0123456789 3368 517}}, queued... | |
[1544330736.36][HTST][INF] Received serial 0123456789 | |
[1544330736.36][HTST][INF] Received vendor_id 3368 | |
[1544330736.36][HTST][INF] Received product_id 517 | |
[1544330736.36][HTST][INF] Device not found | |
[1544330736.36][SERI][TXD] {{failed;0}} | |
mbedgt: :120::FAIL: Expected 'pass' Was 'failed' | |
[1544330736.43][CONN][RXD] :120::FAIL: Expected 'pass' Was 'failed' | |
[1544330736.48][CONN][INF] found KV pair in stream: {{__testcase_finish;usb control basic test;0;1}}, queued... | |
[1544330736.56][CONN][RXD] >>> 'usb control basic test': 0 passed, 1 failed with reason 'Assertion Failed' | |
[1544330736.56][CONN][RXD] | |
[1544330736.63][CONN][RXD] >>> Test cases: 0 passed, 1 failed with reason 'Assertion Failed' | |
[1544330736.66][CONN][RXD] >>> TESTS FAILED! | |
[1544330736.68][CONN][INF] found KV pair in stream: {{__testcase_summary;0;1}}, queued... | |
[1544330736.70][CONN][INF] found KV pair in stream: {{end;failure}}, queued... | |
[1544330736.70][HTST][INF] __notify_complete(False) | |
[1544330736.70][HTST][INF] __exit_event_queue received | |
[1544330736.70][HTST][INF] test suite run finished after 3.93 sec... | |
[1544330736.71][CONN][INF] received special event '__host_test_finished' value='True', finishing | |
[1544330736.71][HTST][INF] CONN exited with code: 0 | |
[1544330736.71][HTST][INF] No events in queue | |
[1544330736.71][HTST][INF] stopped consuming events | |
[1544330736.71][HTST][INF] host test result() call skipped, received: False | |
[1544330736.71][HTST][WRN] missing __exit event from DUT | |
[1544330736.71][HTST][INF] calling blocking teardown() | |
[1544330736.71][HTST][INF] teardown() finished | |
[1544330736.71][HTST][INF] {{result;failure}} | |
mbedgt: retry mbedhtrun 1/1 | |
mbedgt: ['mbedhtrun', '-m', u'NRF52840_DK', '-p', '/dev/ttyACM1:9600', '-f', u'"BUILD/tests/NRF52840_DK/GCC_ARM/mbed-os/TESTS/usb_device/basic/basic.hex"', '-e', u'"mbed-os/TESTS/host_tests"', '-d', u'/media/gdbeckstein/JLINK', '-c', 'default', '-t', '000682564699', '-r', 'default', '-C', '6', '--sync', '5', '-P', '60'] failed after 1 count | |
mbedgt: checking for GCOV data... | |
mbedgt: mbed-host-test-runner: stopped and returned 'FAIL' | |
mbedgt: test on hardware with target id: 000682564699 | |
mbedgt: test suite 'mbed-os-tests-usb_device-basic' .................................................. FAIL in 35.01 sec | |
test case: 'endpoint test abort' ............................................................. SKIPPED in 0.00 sec | |
test case: 'endpoint test data correctness' .................................................. SKIPPED in 0.00 sec | |
test case: 'endpoint test data toggle reset' ................................................. SKIPPED in 0.00 sec | |
test case: 'endpoint test halt' .............................................................. SKIPPED in 0.00 sec | |
test case: 'endpoint test parallel transfers' ................................................ SKIPPED in 0.00 sec | |
test case: 'endpoint test parallel transfers ctrl' ........................................... SKIPPED in 0.00 sec | |
test case: 'usb control basic test' .......................................................... FAIL in 2.87 sec | |
test case: 'usb control sizes test' .......................................................... SKIPPED in 0.00 sec | |
test case: 'usb control stall test' .......................................................... SKIPPED in 0.00 sec | |
test case: 'usb control stress test' ......................................................... SKIPPED in 0.00 sec | |
test case: 'usb device reset test' ........................................................... SKIPPED in 0.00 sec | |
test case: 'usb repeated construction destruction test' ...................................... SKIPPED in 0.00 sec | |
test case: 'usb soft reconnection test' ...................................................... SKIPPED in 0.00 sec | |
mbedgt: test case summary: 0 passes, 1 failure | |
mbedgt: utest test case summary mismatch: utest reported passes and failures miscount! | |
reported by utest: passes = 0, failures 1) | |
test case result count: passes = 0, failures 13) | |
mbedgt: all tests finished! | |
mbedgt: shuffle seed: 0.7856525433 | |
mbedgt: test suite report: | |
+---------------------+---------------+--------------------------------+--------+--------------------+-------------+ | |
| target | platform_name | test suite | result | elapsed_time (sec) | copy_method | | |
+---------------------+---------------+--------------------------------+--------+--------------------+-------------+ | |
| NRF52840_DK-GCC_ARM | NRF52840_DK | mbed-os-tests-usb_device-basic | FAIL | 35.01 | default | | |
+---------------------+---------------+--------------------------------+--------+--------------------+-------------+ | |
mbedgt: test suite results: 1 FAIL | |
mbedgt: test case report: | |
+---------------------+---------------+--------------------------------+--------------------------------------------+--------+--------+---------+--------------------+ | |
| target | platform_name | test suite | test case | passed | failed | result | elapsed_time (sec) | | |
+---------------------+---------------+--------------------------------+--------------------------------------------+--------+--------+---------+--------------------+ | |
| NRF52840_DK-GCC_ARM | NRF52840_DK | mbed-os-tests-usb_device-basic | endpoint test abort | 0 | 0 | SKIPPED | 0.0 | | |
| NRF52840_DK-GCC_ARM | NRF52840_DK | mbed-os-tests-usb_device-basic | endpoint test data correctness | 0 | 0 | SKIPPED | 0.0 | | |
| NRF52840_DK-GCC_ARM | NRF52840_DK | mbed-os-tests-usb_device-basic | endpoint test data toggle reset | 0 | 0 | SKIPPED | 0.0 | | |
| NRF52840_DK-GCC_ARM | NRF52840_DK | mbed-os-tests-usb_device-basic | endpoint test halt | 0 | 0 | SKIPPED | 0.0 | | |
| NRF52840_DK-GCC_ARM | NRF52840_DK | mbed-os-tests-usb_device-basic | endpoint test parallel transfers | 0 | 0 | SKIPPED | 0.0 | | |
| NRF52840_DK-GCC_ARM | NRF52840_DK | mbed-os-tests-usb_device-basic | endpoint test parallel transfers ctrl | 0 | 0 | SKIPPED | 0.0 | | |
| NRF52840_DK-GCC_ARM | NRF52840_DK | mbed-os-tests-usb_device-basic | usb control basic test | 0 | 1 | FAIL | 2.87 | | |
| NRF52840_DK-GCC_ARM | NRF52840_DK | mbed-os-tests-usb_device-basic | usb control sizes test | 0 | 0 | SKIPPED | 0.0 | | |
| NRF52840_DK-GCC_ARM | NRF52840_DK | mbed-os-tests-usb_device-basic | usb control stall test | 0 | 0 | SKIPPED | 0.0 | | |
| NRF52840_DK-GCC_ARM | NRF52840_DK | mbed-os-tests-usb_device-basic | usb control stress test | 0 | 0 | SKIPPED | 0.0 | | |
| NRF52840_DK-GCC_ARM | NRF52840_DK | mbed-os-tests-usb_device-basic | usb device reset test | 0 | 0 | SKIPPED | 0.0 | | |
| NRF52840_DK-GCC_ARM | NRF52840_DK | mbed-os-tests-usb_device-basic | usb repeated construction destruction test | 0 | 0 | SKIPPED | 0.0 | | |
| NRF52840_DK-GCC_ARM | NRF52840_DK | mbed-os-tests-usb_device-basic | usb soft reconnection test | 0 | 0 | SKIPPED | 0.0 | | |
+---------------------+---------------+--------------------------------+--------------------------------------------+--------+--------+---------+--------------------+ | |
mbedgt: test case results: 1 FAIL / 12 SKIPPED | |
mbedgt: completed in 35.16 sec | |
mbedgt: exited with code 1 | |
[mbed-27460] ERROR: "mbedgt" returned error. | |
Code: 1 | |
Path: "/home/gdbeckstein/Documents/nrf52840-usb-device" | |
Command: "mbedgt --test-spec ./BUILD/tests/NRF52840_DK/GCC_ARM/test_spec.json -n mbed-os-tests-usb_device-basic -V" | |
Tip: You could retry the last command with "-v" flag for verbose output | |
--- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment