marcoabreu commented on issue #12551: Add correct test coverage branch detection
URL: https://github.com/apache/incubator-mxnet/pull/12551#issuecomment-422447681
 
 
   I test by looking into the report that's being created. For example, if you 
look at 
http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/incubator-mxnet/detail/PR-12563/12/pipeline/958/
 (that's another PR, I just picked a random one), you can see the following 
output:
   
   ```
   [ut-clojure-cpu] Running shell script
   
   + bash -s -
   
   + curl --retry 10 -s https://codecov.io/bash
   
   
   
     _____          _
   
    / ____|        | |
   
   | |     ___   __| | ___  ___ _____   __
   
   | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
   
   | |___| (_) | (_| |  __/ (_| (_) \ V /
   
    \_____\___/ \__,_|\___|\___\___/ \_/
   
                                 Bash-0b37652
   
   
   
   
   
   ==> Jenkins CI detected.
   
       project root: .
   
       Fixing merge commit SHA
   
   --> token set from env
   
       Yaml found at: .codecov.yml
   
   ==> Running gcov in . (disable via -X gcov)
   
   ==> Python coveragepy not found
   
   ==> Searching for coverage reports in:
   
       + .
   
       -> Found 3 reports
   
   ==> Detecting git/mercurial file structure
   
   ==> Reading reports
   
       + ./contrib/clojure-package/data/cifar/train.lst bytes=1919572
   
       + ./contrib/clojure-package/data/cifar/test.lst bytes=374885
   
       + ./contrib/clojure-package/target/coverage/codecov.json bytes=17050
   
   ==> Appending adjustments
   
       http://docs.codecov.io/docs/fixing-reports
   
       + Found adjustments
   
   ==> Gzipping contents
   
   ==> Uploading reports
   
       url: https://codecov.io
   
       query: 
branch=PR-12563&commit=d8c51e5fbe1e50a855bc84dacd6061533d6d6a3c&build=12&build_url=http%3A%2F%2Fjenkins.mxnet-ci.amazon-ml.com%2Fjob%2Fincubator-mxnet%2Fjob%2FPR-12563%2F12%2F&name=&tag=&slug=apache%2Fincubator-mxnet&service=jenkins&flags=&pr=12563&job=
   
       -> Pinging Codecov
   
       -> Uploading
   
       -> View reports at 
https://codecov.io/github/apache/incubator-mxnet/commit/d8c51e5fbe1e50a855bc84dacd6061533d6d6a3c
   ```
   
   The last line contains a link to the report. Here you can see that it points 
to d8c51e5fbe1e50a855bc84dacd6061533d6d6a3c, but that runs' commit is actually 
'd6f3b93ccb1b755c6f19660ec7617f2a9bef5f85'. 
   
   To validate, I will make sure that these two hashes are equal. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to