Skip to content

[Bug] codecov-action@v1: Could not find a repository, try using repo upload token #1836

@javeme

Description

@javeme

Bug Type (问题类型)

No response

Before submit

  • 我已经确认现有的 IssuesFAQ 中没有相同 / 重复问题

Environment (环境信息)

  • Server Version: master (migrate-to-apache)

Expected & Actual behavior (期望与实际表现)

ci error:

Run codecov/codecov-action@v1
/usr/bin/bash codecov.sh -n  -F  -Q github-action-v1.5.2 -f target/site/jacoco/*.xml -C 4c3a60c2302ac31955bd7508d70d2918f037cf5d

  _____          _
 / ____|        | |
| |     ___   __| | ___  ___ _____   __
| |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| |  __/ (_| (_) \ V /
 \_____\___/ \__,_|\___|\___\___/ \_/
                              Bash-1.0.3


==> git version 2.35.1 found
==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
Release-Date: 2020-01-08
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
==> GitHub Actions detected.
    Env vars used:
      -> GITHUB_ACTIONS:    true
      -> GITHUB_HEAD_REF:   replace-ci
      -> GITHUB_REF:        refs/pull/1834/merge
      -> GITHUB_REPOSITORY: apache/incubator-hugegraph
      -> GITHUB_RUN_ID:     2189301950
      -> GITHUB_SHA:        6d61729[14](https://github.com/apache/incubator-hugegraph/runs/6077207587?check_suite_focus=true#step:12:14)6bcb882f97b9ce11a9d03b47ddef481
      -> GITHUB_WORKFLOW:   hugegraph ci
    project root: .
    Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml
==> Running gcov in . (disable via -X gcov)
==> Python coveragepy not found
==> Searching for coverage reports in:
    + .
    -> Found 2 reports
==> Detecting git/mercurial file structure
==> Reading reports
    + ./target/site/jacoco/jacoco-api-test-for-raft.xml bytes=3923969
    + ./target/site/jacoco/jacoco.xml bytes=4537739
==> Appending adjustments
    https://docs.codecov.io/docs/fixing-reports
    -> No adjustments found
==> Gzipping contents
        568K	/tmp/codecov.woZCMh.gz
==> Uploading reports
    url: https://codecov.io
    query: branch=replace-ci&commit=4c3a60c2302ac31955bd7508d70d29[18](https://github.com/apache/incubator-hugegraph/runs/6077207587?check_suite_focus=true#step:12:18)f037cf5d&build=218930[19](https://github.com/apache/incubator-hugegraph/runs/6077207587?check_suite_focus=true#step:12:19)50&build_url=http%3A%2F%2Fgithub.com%2Fapache%2Fincubator-hugegraph%2Factions%2Fruns%2F2189301950&name=&tag=&slug=apache%2Fincubator-hugegraph&service=github-actions&flags=&pr=1834&job=hugegraph%[20](https://github.com/apache/incubator-hugegraph/runs/6077207587?check_suite_focus=true#step:12:20)ci&cmd_args=n,F,Q,f,C
->  Pinging Codecov
https://codecov.io/upload/v4?package=github-action-v1.5.2-1.0.3&token=secret&branch=replace-ci&commit=4c3a60c2302ac31955bd7508d70d2918f037cf5d&build=[21](https://github.com/apache/incubator-hugegraph/runs/6077207587?check_suite_focus=true#step:12:21)89[30](https://github.com/apache/incubator-hugegraph/runs/6077207587?check_suite_focus=true#step:12:30)1950&build_url=http%3A%2F%2Fgithub.com%2Fapache%2Fincubator-hugegraph%2Factions%2Fruns%2F2189301950&name=&tag=&slug=apache%2Fincubator-hugegraph&service=github-actions&flags=&pr=18[34](https://github.com/apache/incubator-hugegraph/runs/6077207587?check_suite_focus=true#step:12:34)&job=hugegraph%20ci&cmd_args=n,F,Q,f,C
{'detail': ErrorDetail(string='Could not find a repository, try using repo upload token', code='not_found')}
[40](https://github.com/apache/incubator-hugegraph/runs/6077207587?check_suite_focus=true#step:12:40)4

Vertex/Edge example (问题点 / 边数据举例)

No response

Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions