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

Fix CodeCov.io #154

Open
hahnd opened this issue Jun 18, 2021 · 1 comment
Open

Fix CodeCov.io #154

hahnd opened this issue Jun 18, 2021 · 1 comment
Assignees

Comments

@hahnd
Copy link
Collaborator

hahnd commented Jun 18, 2021

The code coverage reports have stopped working. The problem needs to be determined and fixed.

@hahnd hahnd added this to the OBS - Jun 2021 milestone Jun 18, 2021
@hahnd hahnd self-assigned this Jun 18, 2021
@hahnd
Copy link
Collaborator Author

hahnd commented Jun 18, 2021

Logs from CodeBuild:

Relevant:

rootdir: /codebuild/output/src113601444/src/github.com/JCSDA-internal/FSOI/python   eebc6062-a756-4306-b4de-37235a87ef1d
collected 8 items   eebc6062-a756-4306-b4de-37235a87ef1d
  eebc6062-a756-4306-b4de-37235a87ef1d
test_datastore.py ... [ 37%]   eebc6062-a756-4306-b4de-37235a87ef1d
test_fortran_format.py . [ 50%]   eebc6062-a756-4306-b4de-37235a87ef1d
test_plots.py . [ 62%]   eebc6062-a756-4306-b4de-37235a87ef1d
test_request_handler.py ... [100%]   eebc6062-a756-4306-b4de-37235a87ef1d

Phase complete: BUILD State: SUCCEEDED eebc6062-a756-4306-b4de-37235a87ef1d
Entering phase POST_BUILD eebc6062-a756-4306-b4de-37235a87ef1d
Running command curl -s https://codecov.io/bash > codecov_temp.sh eebc6062-a756-4306-b4de-37235a87ef1d
eebc6062-a756-4306-b4de-37235a87ef1d
Running command /bin/bash ./codecov_temp.sh -t 597948f4-60e9-4791-abb5-ec207f5ab60a -f python/test/coverage.xml -R $CODEBUILD_SRC_DIR eebc6062-a756-4306-b4de-37235a87ef1d
^[[0;31m-^[[0m file not found at python/test/coverage.xml eebc6062-a756-4306-b4de-37235a87ef1d
^[[0;31m-->^[[0m No coverage data found.

Full Logs:

Waiting for agent ping eebc6062-a756-4306-b4de-37235a87ef1d
Waiting for DOWNLOAD_SOURCE eebc6062-a756-4306-b4de-37235a87ef1d
Phase is DOWNLOAD_SOURCE eebc6062-a756-4306-b4de-37235a87ef1d
CODEBUILD_SRC_DIR=/codebuild/output/src113601444/src/github.com/JCSDA-internal/FSOI eebc6062-a756-4306-b4de-37235a87ef1d
YAML location is /codebuild/output/src113601444/src/github.com/JCSDA-internal/FSOI/buildspec.yml eebc6062-a756-4306-b4de-37235a87ef1d
Processing environment variables eebc6062-a756-4306-b4de-37235a87ef1d
Moving to directory /codebuild/output/src113601444/src/github.com/JCSDA-internal/FSOI eebc6062-a756-4306-b4de-37235a87ef1d
Registering with agent eebc6062-a756-4306-b4de-37235a87ef1d
Phases found in YAML: 3 eebc6062-a756-4306-b4de-37235a87ef1d
INSTALL: 1 commands eebc6062-a756-4306-b4de-37235a87ef1d
BUILD: 5 commands eebc6062-a756-4306-b4de-37235a87ef1d
POST_BUILD: 7 commands eebc6062-a756-4306-b4de-37235a87ef1d
Phase complete: DOWNLOAD_SOURCE State: SUCCEEDED eebc6062-a756-4306-b4de-37235a87ef1d
Phase context status code: Message: eebc6062-a756-4306-b4de-37235a87ef1d
Entering phase INSTALL eebc6062-a756-4306-b4de-37235a87ef1d
Running command echo install stage eebc6062-a756-4306-b4de-37235a87ef1d
install stage eebc6062-a756-4306-b4de-37235a87ef1d
eebc6062-a756-4306-b4de-37235a87ef1d
Phase complete: INSTALL State: SUCCEEDED eebc6062-a756-4306-b4de-37235a87ef1d
Phase context status code: Message: eebc6062-a756-4306-b4de-37235a87ef1d
Entering phase PRE_BUILD eebc6062-a756-4306-b4de-37235a87ef1d
Phase complete: PRE_BUILD State: SUCCEEDED eebc6062-a756-4306-b4de-37235a87ef1d
Phase context status code: Message: eebc6062-a756-4306-b4de-37235a87ef1d
Entering phase BUILD eebc6062-a756-4306-b4de-37235a87ef1d
Running command echo build_stage eebc6062-a756-4306-b4de-37235a87ef1d
build_stage eebc6062-a756-4306-b4de-37235a87ef1d
eebc6062-a756-4306-b4de-37235a87ef1d
Running command source ~/.bashrc eebc6062-a756-4306-b4de-37235a87ef1d
eebc6062-a756-4306-b4de-37235a87ef1d
Running command ls -l /opt/python/bin/pylint eebc6062-a756-4306-b4de-37235a87ef1d
-rwxr-xr-x 1 root root 229 May 1 2020 /opt/python/bin/pylint eebc6062-a756-4306-b4de-37235a87ef1d
eebc6062-a756-4306-b4de-37235a87ef1d
Running command bash build/check_python.sh eebc6062-a756-4306-b4de-37235a87ef1d
Passed. eebc6062-a756-4306-b4de-37235a87ef1d
eebc6062-a756-4306-b4de-37235a87ef1d
Running command bash build/test_python.sh eebc6062-a756-4306-b4de-37235a87ef1d
============================= test session starts ============================== eebc6062-a756-4306-b4de-37235a87ef1d
platform linux -- Python 3.8.3rc1, pytest-5.4.1, py-1.8.1, pluggy-0.13.1 eebc6062-a756-4306-b4de-37235a87ef1d
rootdir: /codebuild/output/src113601444/src/github.com/JCSDA-internal/FSOI/python eebc6062-a756-4306-b4de-37235a87ef1d
collected 8 items eebc6062-a756-4306-b4de-37235a87ef1d
eebc6062-a756-4306-b4de-37235a87ef1d
test_datastore.py ... [ 37%] eebc6062-a756-4306-b4de-37235a87ef1d
test_fortran_format.py . [ 50%] eebc6062-a756-4306-b4de-37235a87ef1d
test_plots.py . [ 62%] eebc6062-a756-4306-b4de-37235a87ef1d
test_request_handler.py ... [100%] eebc6062-a756-4306-b4de-37235a87ef1d
eebc6062-a756-4306-b4de-37235a87ef1d
=============================== warnings summary =============================== eebc6062-a756-4306-b4de-37235a87ef1d
/codebuild/output/src113601444/src/github.com/JCSDA-internal/FSOI/python/src/fsoi/data/s3_datastore.py:482 eebc6062-a756-4306-b4de-37235a87ef1d
/codebuild/output/src113601444/src/github.com/JCSDA-internal/FSOI/python/src/fsoi/data/s3_datastore.py:482: SyntaxWarning: "is not" with a literal. Did you mean "!="? eebc6062-a756-4306-b4de-37235a87ef1d
data_type = descriptor['type'] + ('.' if descriptor['type'] is not '' else '') eebc6062-a756-4306-b4de-37235a87ef1d
eebc6062-a756-4306-b4de-37235a87ef1d
test/test_datastore.py::test_s3_datastore eebc6062-a756-4306-b4de-37235a87ef1d
/codebuild/output/src113601444/src/github.com/JCSDA-internal/FSOI/python/src/fsoi/data/s3_datastore.py:409: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead eebc6062-a756-4306-b4de-37235a87ef1d
log.warn('Trying to delete a non-existant target: s3://%s/%s' % (bucket, key)) eebc6062-a756-4306-b4de-37235a87ef1d
eebc6062-a756-4306-b4de-37235a87ef1d
test/test_fortran_format.py::test_compare_fortran_format_readers eebc6062-a756-4306-b4de-37235a87ef1d
/codebuild/output/src113601444/src/github.com/JCSDA-internal/FSOI/python/test/test_fortran_format.py:16: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. eebc6062-a756-4306-b4de-37235a87ef1d
data = yaml.load(open('../test_resources/nrl_sample_input_data.yaml')) eebc6062-a756-4306-b4de-37235a87ef1d
eebc6062-a756-4306-b4de-37235a87ef1d
test/test_request_handler.py::test_pass_requests eebc6062-a756-4306-b4de-37235a87ef1d
/codebuild/output/src113601444/src/github.com/JCSDA-internal/FSOI/python/src/fsoi/stats/lib_obimpact.py:718: RuntimeWarning: divide by zero encountered in log10 eebc6062-a756-4306-b4de-37235a87ef1d
lmin = np.log10(cmin) eebc6062-a756-4306-b4de-37235a87ef1d
eebc6062-a756-4306-b4de-37235a87ef1d
-- Docs: https://docs.pytest.org/en/latest/warnings.html eebc6062-a756-4306-b4de-37235a87ef1d
================== 8 passed, 4 warnings in 625.24s (0:10:25) =================== eebc6062-a756-4306-b4de-37235a87ef1d
/codebuild/output/src113601444/src/github.com/JCSDA-internal/FSOI/python/src/fsoi/data/s3_datastore.py:482: SyntaxWarning: "is not" with a literal. Did you mean "!="? eebc6062-a756-4306-b4de-37235a87ef1d
data_type = descriptor['type'] + ('.' if descriptor['type'] is not '' else '') eebc6062-a756-4306-b4de-37235a87ef1d
No source for code: '/codebuild/output/src113601444/src/github.com/JCSDA-internal/FSOI/python/test/fakesource'. eebc6062-a756-4306-b4de-37235a87ef1d
Aborting report output, consider using -i. eebc6062-a756-4306-b4de-37235a87ef1d
/codebuild/output/src113601444/src/github.com/JCSDA-internal/FSOI/python/src/fsoi/data/s3_datastore.py:482: SyntaxWarning: "is not" with a literal. Did you mean "!="? eebc6062-a756-4306-b4de-37235a87ef1d
data_type = descriptor['type'] + ('.' if descriptor['type'] is not '' else '') eebc6062-a756-4306-b4de-37235a87ef1d
No source for code: '/codebuild/output/src113601444/src/github.com/JCSDA-internal/FSOI/python/test/fakesource'. eebc6062-a756-4306-b4de-37235a87ef1d
Aborting report output, consider using -i. eebc6062-a756-4306-b4de-37235a87ef1d
eebc6062-a756-4306-b4de-37235a87ef1d
Phase complete: BUILD State: SUCCEEDED eebc6062-a756-4306-b4de-37235a87ef1d
Phase context status code: Message: eebc6062-a756-4306-b4de-37235a87ef1d
Entering phase POST_BUILD eebc6062-a756-4306-b4de-37235a87ef1d
Running command echo post_build stage eebc6062-a756-4306-b4de-37235a87ef1d
post_build stage eebc6062-a756-4306-b4de-37235a87ef1d
eebc6062-a756-4306-b4de-37235a87ef1d
Running command curl -s https://codecov.io/bash > codecov_temp.sh eebc6062-a756-4306-b4de-37235a87ef1d
eebc6062-a756-4306-b4de-37235a87ef1d
Running command /bin/bash ./codecov_temp.sh -t 597948f4-60e9-4791-abb5-ec207f5ab60a -f python/test/coverage.xml -R $CODEBUILD_SRC_DIR eebc6062-a756-4306-b4de-37235a87ef1d
eebc6062-a756-4306-b4de-37235a87ef1d
_____ _ eebc6062-a756-4306-b4de-37235a87ef1d
/ | | | eebc6062-a756-4306-b4de-37235a87ef1d
| | ___ __| | ___ ___ _____ __ eebc6062-a756-4306-b4de-37235a87ef1d
| | / _ \ / ` |/ _ / / _ \ \ / / eebc6062-a756-4306-b4de-37235a87ef1d
| |
| (
) | (
| | __/ (
| (
) \ V / eebc6062-a756-4306-b4de-37235a87ef1d
_
____/ _,|_|____/ _/ eebc6062-a756-4306-b4de-37235a87ef1d
Bash-1.0.3 eebc6062-a756-4306-b4de-37235a87ef1d
eebc6062-a756-4306-b4de-37235a87ef1d
eebc6062-a756-4306-b4de-37235a87ef1d
^[[0;36m==>^[[0m git version 2.18.2 found eebc6062-a756-4306-b4de-37235a87ef1d
^[[0;36m==>^[[0m curl 7.61.1 (x86_64-redhat-linux-gnu) libcurl/7.61.1 OpenSSL/1.1.1c zlib/1.2.11 nghttp2/1.33.0 eebc6062-a756-4306-b4de-37235a87ef1d
Release-Date: 2018-09-05 eebc6062-a756-4306-b4de-37235a87ef1d
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp eebc6062-a756-4306-b4de-37235a87ef1d
Features: AsynchDNS IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP HTTP2 UnixSockets HTTPS-proxy Metalink eebc6062-a756-4306-b4de-37235a87ef1d
^[[0;90m==>^[[0m AWS Codebuild detected. eebc6062-a756-4306-b4de-37235a87ef1d
^[[0;90mproject root:^[[0m /codebuild/output/src113601444/src/github.com/JCSDA-internal/FSOI eebc6062-a756-4306-b4de-37235a87ef1d
^[[0;90mYaml found at:^[[0m codecov.yml eebc6062-a756-4306-b4de-37235a87ef1d
^[[0;90m->^[[0m Found 1 reports eebc6062-a756-4306-b4de-37235a87ef1d
^[[0;90m==>^[[0m Detecting git/mercurial file structure eebc6062-a756-4306-b4de-37235a87ef1d
^[[0;90m==>^[[0m Reading reports eebc6062-a756-4306-b4de-37235a87ef1d
^[[0;31m-^[[0m file not found at python/test/coverage.xml eebc6062-a756-4306-b4de-37235a87ef1d
^[[0;31m-->^[[0m No coverage data found.

@fabiolrdiniz fabiolrdiniz removed this from the OBS - Jul 2021 milestone Mar 10, 2022
@climbfuji climbfuji removed the OBS2 label Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants