Cause of error no reported when doing upload with `-v`
@thomasrockhu-codecov ya está trabajando en esto.
Desde el 2/12/2024.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
There's probably something wrong with my self-hosted Codecov instance, but I can't find what on the API container logs, and running the command with -v doesn't show the requests responses either
(env) root@c8f240ddda26:/app# ./codecov -u https://codecov.texthtml.net -v do-upload -t 87cc6352-8f45-4b3f-88d7-27b1ad232beb --git-service gitlab_enterprise -r mathieu/codecov-demo -C 661d9094a3a51ce564b0feb6254e161623bdf5ed
info - 2024-10-31 12:20:34,522 -- ci service found: local
debug - 2024-10-31 12:20:34,523 -- versioning system found: <class 'codecov_cli.helpers.versioning_systems.NoVersioningSystem'>
debug - 2024-10-31 12:20:34,524 -- versioning system found: <class 'codecov_cli.helpers.versioning_systems.NoVersioningSystem'>
warning - 2024-10-31 12:20:34,524 -- No config file could be found. Ignoring config.
debug - 2024-10-31 12:20:34,524 -- No codecov_yaml found
debug - 2024-10-31 12:20:34,525 -- Starting upload processing --- {"enterprise_url": "https://codecov.texthtml.net", "verbose": true, "auto_load_params_from": null, "codecov_yml_path": null, "version": "cli-0.8.0", "command": "do-upload", "git_service": "gitlab_enterprise", "slug": "mathieu/codecov-demo", "commit_sha": "661d9094a3a51ce564b0feb6254e161623bdf5ed", "report_code": "default", "network_root_folder": "/app", "files_search_root_folder": "/app", "files_search_exclude_folders": [], "files_search_explicitly_listed_files": [], "disable_search": false, "disable_file_fixes": false, "build_code": null, "build_url": null, "job_code": null, "name": null, "branch": null, "pull_request_number": null, "env_vars": {}, "flags": [], "plugin_names": ["xcode", "gcov", "pycoverage"], "dry_run": false, "use_legacy_uploader": false, "handle_no_reports_found": false, "report_type": "coverage", "network_filter": null, "network_prefix": null, "gcov_args": null, "gcov_ignore": null, "gcov_include": null, "gcov_executable": null, "swift_project": null, "fail_on_error": false}
debug - 2024-10-31 12:20:34,525 -- Selected preparation plugins --- {"selected_plugins": ["<class 'codecov_cli.plugins.xcode.XcodePlugin'>", "<class 'codecov_cli.plugins.gcov.GcovPlugin'>", "<class 'codecov_cli.plugins.pycoverage.Pycoverage'>"], "cli_config": {}}
debug - 2024-10-31 12:20:34,525 -- Running preparation plugin: <class 'codecov_cli.plugins.xcode.XcodePlugin'>
debug - 2024-10-31 12:20:34,525 -- Running xcode plugin...
warning - 2024-10-31 12:20:34,525 -- xcrun is not installed or can't be found.
debug - 2024-10-31 12:20:34,525 -- Running preparation plugin: <class 'codecov_cli.plugins.gcov.GcovPlugin'>
debug - 2024-10-31 12:20:34,525 -- Running gcov plugin...
warning - 2024-10-31 12:20:34,539 -- No gcov data found.
debug - 2024-10-31 12:20:34,539 -- Running preparation plugin: <class 'codecov_cli.plugins.pycoverage.Pycoverage'>
info - 2024-10-31 12:20:34,539 -- Generating coverage.xml report in /app
info - 2024-10-31 12:20:34,599 -- Wrote XML report to coverage.xml
debug - 2024-10-31 12:20:34,599 -- Collecting relevant files
info - 2024-10-31 12:20:34,603 -- Found 1 coverage files to report
info - 2024-10-31 12:20:34,604 -- > /app/coverage.xml
debug - 2024-10-31 12:20:34,604 -- Selected uploader to use: <class 'codecov_cli.services.upload.upload_sender.UploadSender'>
debug - 2024-10-31 12:20:34,604 -- Sending upload request to Codecov
info - 2024-10-31 12:20:35,075 -- Your upload is now processing. When finished, results will be available at: https://codecov.texthtml.net/gitlab_enterprise/mathieu/codecov-demo/commit/661d9094a3a51ce564b0feb6254e161623bdf5ed
debug - 2024-10-31 12:20:35,075 -- Upload request to Codecov complete. --- {"response": {"external_id": "d3541c88-a6d9-4ec0-bc91-fea5eb6c64f8", "created_at": "2024-10-31T12:20:34.792613Z", "raw_upload_location": "http://minio:9000/archive/v4/raw/2024-10-31/7451918C048C1316996EED8E45FCE559/661d9094a3a51ce564b0feb6254e161623bdf5ed/3df86fea-dd75-4c91-af8b-1bb596cc8d11/d3541c88-a6d9-4ec0-bc91-fea5eb6c64f8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=codecov-default-key%2F20241031%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241031T122035Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ab7dcedb1621633877ef35d0e297b8ef5f873f21bc20c547ff62fd8a28f6a110", "state": "", "provider": null, "upload_type": "uploaded", "url": "https://codecov.texthtml.net/gitlab_enterprise/mathieu/codecov-demo/commit/661d9094a3a51ce564b0feb6254e161623bdf5ed", "ci_url": null, "flags": [], "env": {}, "name": null, "job_code": null}}
debug - 2024-10-31 12:20:35,075 -- Sending upload to storage
warning - 2024-10-31 12:20:35,093 -- Request failed. Retrying --- {"retry": 0}
warning - 2024-10-31 12:20:35,614 -- Request failed. Retrying --- {"retry": 1}
warning - 2024-10-31 12:20:36,632 -- Request failed. Retrying --- {"retry": 2}
Traceback (most recent call last):
File "codecov_cli/main.py", line 87, in <module>
File "codecov_cli/main.py", line 83, in run
File "click/core.py", line 1157, in __call__
File "click/core.py", line 1078, in main
File "click/core.py", line 1688, in invoke
File "click/core.py", line 1434, in invoke
File "click/core.py", line 783, in invoke
File "click/decorators.py", line 33, in new_func
File "codecov_cli/commands/upload.py", line 261, in do_upload
File "codecov_cli/services/upload/__init__.py", line 133, in do_upload_logic
File "codecov_cli/services/upload/upload_sender.py", line 94, in send_upload_data
File "codecov_cli/helpers/request.py", line 83, in wrapper
Exception: Request failed after too many retries
[PYI-229:ERROR] Failed to execute script 'main' due to unhandled exception!
(env) root@c8f240ddda26:/app# ./codecov --version
codecovcli, version 0.8.0
edit: I'm pretty sure it's because it's trying to reach http://minio:9000/... which is an internal URL not accessible from there but it would be nice to have a better error message
- Lenguaje dominante
- Python
- Estrellas
- 90
- Forks
- 65
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de codecov/codecov-cli
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
codecov/codecov-cli#795 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
codecov/codecov-cli#721 · 1 comentario ·
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 59/100
codecov/codecov-cli#801 · 2 comentarios · 1 reacción ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 65/100
codecov/codecov-cli#777 ·
-
Codecov is joining HarnessAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 5/100
codecov/codecov-cli#715 ·
Todos los issues de codecov/codecov-cli
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
enhancement good first issue Stellar Wave trivial
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
StellarCanary/ProtocolCanary-Fixtures#258 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
IBM/ai-atlas-nexus#295 ·
Los mantenedores suelen responder en 6 días
-
github_actions
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Hochfrequenz/aibap.mcp#578 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
mishraprafful/multihull#150 ·
Los mantenedores suelen responder en 1 día