Skip to content

Traceback error stderr.decode() when running Icetea with Python 3 #8172

Closed
@MarceloSalazar

Description

@MarceloSalazar

Description

Evaluating Mbed OS 5.10 RC3 and seeing traceback error:

mbed test -m K64F -t GCC_ARM --icetea -vv --compile-list
...
[mbed-50001] Exec "/usr/local/opt/python/bin/python3.7 -u /Users/ms/mbed/OOB/5.10/rc3/mbed-os/tools/run_icetea.py -m K64F -t GCC_ARM -v --compile-list" in "/Users/ms/mbed/OOB/5.10/rc3"
Traceback (most recent call last):
  File "/Users/ms/mbed/OOB/5.10/rc3/mbed-os/tools/run_icetea.py", line 278, in <module>
    icetea_json_output = icetea_tests(options.target, options.tcdir, options.verbose)
  File "/Users/ms/mbed/OOB/5.10/rc3/mbed-os/tools/run_icetea.py", line 177, in icetea_tests
    stderr.decode()))
Exception: Error when running icetea. 
cwd:/Users/ms/mbed/OOB/5.10/rc3 
Command:'icetea --tcdir TEST_APPS --list --json --platform_filter K64F -v' 
output:19:04:21.105 Registering execution wide plugins:
19:04:21.105 Registering plugin LocalAllocator
19:04:21.105 Execution wide plugins loaded and registered.
19:04:21.189 Using Icetea version 1.0.2
19:04:21.189 Generating suite from command line.
19:04:21.190 Importing testcases for filtering
19:04:21.190 Test case directory does not exist!
19:04:21.190 Something went wrong in suite creation! Suite creation failed.

[ERROR] Error when running icetea. 
cwd:/Users/ms/mbed/OOB/5.10/rc3 
Command:'icetea --tcdir TEST_APPS --list --json --platform_filter K64F -v' 
output:19:04:21.105 Registering execution wide plugins:
19:04:21.105 Registering plugin LocalAllocator
19:04:21.105 Execution wide plugins loaded and registered.
19:04:21.189 Using Icetea version 1.0.2
19:04:21.189 Generating suite from command line.
19:04:21.190 Importing testcases for filtering
19:04:21.190 Test case directory does not exist!
19:04:21.190 Something went wrong in suite creation! Suite creation failed.

[mbed-50001] ERROR: "/usr/local/opt/python/bin/python3.7" returned error.
       Code: 1
       Path: "/Users/ms/mbed/OOB/5.10/rc3"
       Command: "/usr/local/opt/python/bin/python3.7 -u /Users/ms/mbed/OOB/5.10/rc3/mbed-os/tools/run_icetea.py -m K64F -t GCC_ARM -v --compile-list"
       Tip: You could retry the last command with "-v" flag for verbose output
---
[mbed-50001] WARNING: Using Python 3 with Mbed OS 5.8 and earlier can cause errors with compiling, testing and exporting

Environment OSX El Capitan

  • Mbed CLI 1.8.1
  • Python 3.7
  • Icetea 1.0.2

Issue request type

[ ] Question
[ ] Enhancement
[X] Bug

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions