JCSDA-internal / FSOI

Forecast Sensitivity to Observations and Observation Impact
GNU General Public License v3.0
17 stars 4 forks source link

Fix CodeCov.io #154

Open hahnd opened 3 years ago

hahnd commented 3 years ago

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

hahnd commented 3 years ago

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_SRCDIR 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.