Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report generation broken on Mac #376

Open
marco-c opened this issue Jan 14, 2020 · 1 comment · May be fixed by #377
Open

Report generation broken on Mac #376

marco-c opened this issue Jan 14, 2020 · 1 comment · May be fixed by #377
Assignees
Labels
report Python tool to upload reports

Comments

@marco-c
Copy link
Collaborator

marco-c commented Jan 14, 2020

Downloading artifacts from 250/257 test task...
Traceback (most recent call last):
  File "codecoverage.py", line 480, in <module>
    main()
  File "codecoverage.py", line 473, in main
    generate_report(grcov_path, "lcov", "output.info", artifact_paths)
  File "codecoverage.py", line 260, in generate_report
    proc = subprocess.Popen(cmd, stdout=fout, stderr=subprocess.PIPE, env=mod_env)
  File "/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 800, in __init__
    restore_signals, start_new_session)
  File "/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 1551, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: './grcov'
@marco-c marco-c added the report Python tool to upload reports label Jan 14, 2020
@marco-c
Copy link
Collaborator Author

marco-c commented Jan 14, 2020

Probably we just need to download the right grcov for the platform where the script is run.

@marco-c marco-c self-assigned this Jan 14, 2020
marco-c added a commit to marco-c/code-coverage that referenced this issue Jan 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
report Python tool to upload reports
Projects
None yet
1 participant