400 error and showing HTML of login page?

Please check the troubleshooting guide before creating a ticket.
All fields below are required.

Description

My github workflow was working fine, but today (after 1 month) I did a new PR and it stopped working, giving me a the HTML source of what seems to be the login page

Commit SHAs / Repo

You can see it in the actions on the following build: ci: empty commit for triggering a PR by cskiwi · Pull Request #39 · Badminton-Apps/badman · GitHub

CI/CD or Build URL

ci: empty commit for triggering a PR by cskiwi · Pull Request #39 · Badminton-Apps/badman · GitHub

Uploader

I’m using the GitHub Actions

Codecov Output

2021-02-15T16:27:01.9706618Z [command]/bin/bash codecov.sh -n codecov-backend -F  -Q github-action -f packages/**/lcov.info -s code/backend
2021-02-15T16:27:01.9814524Z 
2021-02-15T16:27:01.9815311Z   _____          _
2021-02-15T16:27:01.9815812Z  / ____|        | |
2021-02-15T16:27:01.9816474Z | |     ___   __| | ___  ___ _____   __
2021-02-15T16:27:01.9817134Z | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
2021-02-15T16:27:01.9817847Z | |___| (_) | (_| |  __/ (_| (_) \ V /
2021-02-15T16:27:01.9818415Z  \_____\___/ \__,_|\___|\___\___/ \_/
2021-02-15T16:27:01.9819678Z                               Bash-20210129-7c25fce
2021-02-15T16:27:01.9820170Z 
2021-02-15T16:27:01.9820525Z 
2021-02-15T16:27:01.9841172Z e[0;36m==>e[0m git version 2.30.0 found
2021-02-15T16:27:01.9946972Z e[0;36m==>e[0m curl 7.58.0 (x86_64-pc-linux-gnu) libcurl/7.58.0 OpenSSL/1.1.1i zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
2021-02-15T16:27:01.9949638Z Release-Date: 2018-01-24
2021-02-15T16:27:01.9953826Z Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp 
2021-02-15T16:27:01.9956010Z Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP HTTP2 UnixSockets HTTPS-proxy PSL 
2021-02-15T16:27:01.9963038Z e[0;90m==>e[0m GitHub Actions detected.
2021-02-15T16:27:02.0198446Z     e[0;90mproject root:e[0m .
2021-02-15T16:27:02.0274274Z     e[0;32mYaml not found, that's ok! Learn more ate[0m e[0;36mhttp://docs.codecov.io/docs/codecov-yamle[0m
2021-02-15T16:27:02.0629440Z e[0;90m==>e[0m Running gcov in . e[0;90m(disable via -X gcov)e[0m
2021-02-15T16:27:02.2694130Z e[0;90m==>e[0m Python coveragepy not found
2021-02-15T16:27:02.2695069Z e[0;90m==>e[0m Searching for coverage reports in:
2021-02-15T16:27:02.2695847Z     e[0;32m+e[0m code/backend
2021-02-15T16:27:02.2853828Z     e[0;90m->e[0m Found 6 reports
2021-02-15T16:27:02.2855306Z e[0;90m==>e[0m Detecting git/mercurial file structure
2021-02-15T16:27:02.2976865Z e[0;90m==>e[0m Reading reports
2021-02-15T16:27:02.3093887Z     e[0;32m+e[0m code/backend/packages/import/coverage/lcov.info e[0;90mbytes=21871e[0m
2021-02-15T16:27:02.3199484Z     e[0;32m+e[0m code/backend/packages/import/coverage/cobertura-coverage.xml e[0;90mbytes=77509e[0m
2021-02-15T16:27:02.3287747Z     e[0;32m+e[0m code/backend/packages/simulate/coverage/lcov.info e[0;90mbytes=15203e[0m
2021-02-15T16:27:02.3380591Z     e[0;32m+e[0m code/backend/packages/simulate/coverage/cobertura-coverage.xml e[0;90mbytes=61264e[0m
2021-02-15T16:27:02.3476359Z     e[0;32m+e[0m code/backend/packages/server/coverage/lcov.info e[0;90mbytes=21713e[0m
2021-02-15T16:27:02.3577605Z     e[0;32m+e[0m code/backend/packages/server/coverage/cobertura-coverage.xml e[0;90mbytes=94207e[0m
2021-02-15T16:27:02.3612747Z e[0;90m==>e[0m Appending adjustments
2021-02-15T16:27:02.3613873Z     e[0;36mhttps://docs.codecov.io/docs/fixing-reportse[0m
2021-02-15T16:27:02.3740153Z     e[0;90m->e[0m No adjustments found
2021-02-15T16:27:02.3740999Z e[0;90m==>e[0m Gzipping contents
2021-02-15T16:27:02.3917077Z         28K	/tmp/codecov.hCNJJV.gz
2021-02-15T16:27:02.3940697Z e[0;90m==>e[0m Uploading reports
2021-02-15T16:27:02.3941548Z     e[0;90murl:e[0m https://codecov.io
2021-02-15T16:27:02.3944250Z     e[0;90mquery:e[0m branch=fix%2Fci&commit=e1f7ddfdcf9ea9af94a3b09c413f8a519517b263&build=569102235&build_url=http%3A%2F%2Fgithub.com%2FBadminton-Apps%2Fcore%2Factions%2Fruns%2F569102235&name=codecov-backend&tag=&slug=Badminton-Apps%2Fcore&service=github-actions&flags=&pr=refs/heads/main&job=CI&cmd_args=n,F,Q,f,s
2021-02-15T16:27:02.3991152Z e[0;90m->e[0m  Pinging Codecov
2021-02-15T16:27:02.3994520Z https://codecov.io/upload/v4?package=github-action-20210129-7c25fce&token=secret&branch=fix%2Fci&commit=e1f7ddfdcf9ea9af94a3b09c413f8a519517b263&build=569102235&build_url=http%3A%2F%2Fgithub.com%2FBadminton-Apps%2Fcore%2Factions%2Fruns%2F569102235&name=codecov-backend&tag=&slug=Badminton-Apps%2Fcore&service=github-actions&flags=&pr=refs/heads/main&job=CI&cmd_args=n,F,Q,f,s
2021-02-15T16:27:02.5292510Z e[0;31m
2021-02-15T16:27:02.5293260Z <!DOCTYPE html>
2021-02-15T16:27:02.5293883Z <html lang="en">
2021-02-15T16:27:02.5294403Z <head>
2021-02-15T16:27:02.5295163Z <meta charset="utf-8">
2021-02-15T16:27:02.5296200Z <meta http-equiv="X-UA-Compatible" content="IE=edge">
2021-02-15T16:27:02.5298345Z <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
2021-02-15T16:27:02.5299760Z <meta name="description" content="Code coverage done right. Highly integrated with GitHub, Bitbucket and GitLab.">
2021-02-15T16:27:02.5300744Z <meta name="author" content="@codecov">
2021-02-15T16:27:02.5301934Z <meta name="keywords" content="code, coverage, analysis, testing, development, qa, analyzer">
2021-02-15T16:27:02.5302569Z 
2021-02-15T16:27:02.5304198Z <link rel="shortcut icon" href="https://codecov-cdn.storage.googleapis.com/v4.5.10-03d8b72/media/images/favicon.png">
2021-02-15T16:27:02.5305213Z 
2021-02-15T16:27:02.5305902Z <meta property="og:url" content="https://codecov.io">
2021-02-15T16:27:02.5306728Z <meta property="og:site_name" content="Codecov">
2021-02-15T16:27:02.5307579Z <meta property="og:title" content="Code coverage done right.">
2021-02-15T16:27:02.5309067Z <meta property="og:description" content="Hosted coverage report highly integrated with GitHub, Bitbucket and GitLab. Awesome pull request comments to enhance your QA.">
2021-02-15T16:27:02.5311356Z <meta property="og:image" content="https://codecov-cdn.storage.googleapis.com/static/codecov-logo.png">
2021-02-15T16:27:02.5312790Z <meta property="og:image:type" content="image/png">
2021-02-15T16:27:02.5313531Z <meta property="og:image:width" content="1200">
2021-02-15T16:27:02.5314262Z <meta property="og:image:height" content="1200">
2021-02-15T16:27:02.5315032Z <meta property="twitter:site" content="codecov">
2021-02-15T16:27:02.5315806Z <meta property="twitter:site:id" content="122181800">
2021-02-15T16:27:02.5316597Z <meta property="twitter:creator" content="codecov">
2021-02-15T16:27:02.5317432Z <meta property="twitter:creator:id" content="122181800">
2021-02-15T16:27:02.5318248Z <meta property="twitter:card" content="summary_large_image">
2021-02-15T16:27:02.5319072Z <meta property="twitter:title" content="Codecov">
2021-02-15T16:27:02.5320682Z <meta property="twitter:description" content="Code coverage done right. Hosted coverage report highly integrated with GitHub, Bitbucket and GitLab. Awesome pull request comments to enhance your QA.">
2021-02-15T16:27:02.5323862Z <meta property="twitter:image:src" content="https://codecov-cdn.storage.googleapis.com/static/codecov-logo.png">
2021-02-15T16:27:02.5325307Z <meta property="twitter:image:width" content="1200">
2021-02-15T16:27:02.5326068Z <meta property="twitter:image:height" content="1200">
2021-02-15T16:27:02.5326501Z 
2021-02-15T16:27:02.5326935Z <title>Codecov</title>
2021-02-15T16:27:02.5328581Z <link rel="stylesheet" href="https://codecov-cdn.storage.googleapis.com/v4.5.10-03d8b72/bower/deps.min.css">
2021-02-15T16:27:02.5330867Z <link rel="stylesheet" href="https://codecov-cdn.storage.googleapis.com/v4.5.10-03d8b72/media/css/style.css">
2021-02-15T16:27:02.5331903Z 
2021-02-15T16:27:02.5332141Z 
2021-02-15T16:27:02.5332487Z </head>
2021-02-15T16:27:02.5332983Z <body class="guest">
2021-02-15T16:27:02.5333276Z 
2021-02-15T16:27:02.5333944Z <!-- Google Tag Manager (noscript) -->
2021-02-15T16:27:02.5336570Z <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KGH2DSG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
2021-02-15T16:27:02.5338080Z <!-- End Google Tag Manager (noscript) -->
2021-02-15T16:27:02.5338464Z 
2021-02-15T16:27:02.5338738Z 
2021-02-15T16:27:02.5339082Z <main>
2021-02-15T16:27:02.5339769Z <div class="ui large inverted pointing desktop fixed menu">
2021-02-15T16:27:02.5340609Z <div class="ui container">
2021-02-15T16:27:02.5341169Z <a href="/" class="brand item ">
2021-02-15T16:27:02.5343109Z <svg aria-hidden="true" role="img" classes="" width="30px" height="30px" viewBox="0 0 256 281" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid">
2021-02-15T16:27:02.5344250Z     <g>
....
2021-02-15T16:27:02.5624448Z 
2021-02-15T16:27:02.5624682Z 
2021-02-15T16:27:02.5625024Z </body>
2021-02-15T16:27:02.5625398Z </html>
2021-02-15T16:27:02.5625725Z 
2021-02-15T16:27:02.5625941Z 
2021-02-15T16:27:02.5626431Z 400

Expected Results

It used to push the results to codecov

Actual Results

now it doesnt

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

@cskiwi, can you re-run with verbose set to True?

@tom I’ve let it run with verbose on true (or so I think)
https://github.com/Badminton-Apps/core/runs/1941154791?check_suite_focus=true#step:7:1

Found the solution, apparently something changed somewhere and my PR number wasn’t correctly filled in.

Overriding it made it work:

  - uses: codecov/codecov-action@v1
    with:
      override_pr: ${{ github.event.number }}
1 Like

@cskiwi we released codecov-action@v1.3.2 which might handle this case so you don’t need the override_pr. Let me know if that works for you, or if you decide to stick with the quickfix.