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

MOPAC Codecov #214

Open
dgasmith opened this issue Jan 7, 2020 · 3 comments
Open

MOPAC Codecov #214

dgasmith opened this issue Jan 7, 2020 · 3 comments
Labels
Bug Something isn't working

Comments

@dgasmith
Copy link
Collaborator

dgasmith commented Jan 7, 2020

MOPAC Codecov is not being uploaded due to "git not found":

/bin/sh: git: command not found
/bin/sh: hg: command not found
/bin/sh: git: command not found
/bin/sh: hg: command not found

      _____          _
     / ____|        | |
    | |     ___   __| | ___  ___ _____   __
    | |    / _ \ / _  |/ _ \/ __/ _ \ \ / /
    | |___| (_) | (_| |  __/ (_| (_) \ V /
     \_____\___/ \____|\___|\___\___/ \_/
                                    v2.0.15

==> Detecting CI provider
    Error running `git rev-parse --abbrev-ref HEAD || hg branch`: None
  -> Got branch from git/hg
  -> Got sha from git/hg
==> Preparing upload
Error: Commit sha is missing. Please specify via --commit=:she

This used to work, so unsure what happened. @Lnaden any ideas?

https://dev.azure.com/MolSSI/QCArchive/_build/results?buildId=107&view=logs&j=0e9986bc-4438-57a6-7391-1704fabd60a9&t=9bc28805-ff26-57a6-76fd-c5967bb8a1e9

@dgasmith dgasmith added the Bug Something isn't working label Jan 7, 2020
@Lnaden
Copy link
Collaborator

Lnaden commented Jan 16, 2020

No, I don't know what happened here. I also am having issues looking at the logs from earlier pipelines for some reason.

This used to work, so unsure what happened

Are we sure? Azure did not detect this as a failure, so maybe this part has never worked? If that were the case, then I would assume git is not part of the docker image executing that code. Its about the only thing I can think which makes sense unless I am missing something obvious.

@dgasmith
Copy link
Collaborator Author

Yes, codecov used to show this part populated with coverage data. They could have changed what those base images were.

@Lnaden
Copy link
Collaborator

Lnaden commented Jan 16, 2020

From the builds I can see going back to Dec 17th, it has not worked since then. My initial guess is that Azure's bash command does not provide git or hg by default anymore on their paths? Its something to test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants