Skip to content
Snippets Groups Projects
Commit c67beb17 authored by Gioele Barabucci's avatar Gioele Barabucci Committed by Holger Levsen
Browse files

rebuilderd_stats: Add category for network errors

Example from <https://amd64.reproduce.debian.net/api/v0/builds/143479/log>:

```
+ dirname /tmp/rebuilderdEtJqAh/inputs/raincat_1.2.3-1_amd64.buildinfo
+ cd /tmp/rebuilderdEtJqAh/inputs
+ mkdir -p etc/apt
+ mkdir -p var/lib/apt/lists/
+ echo deb-src [signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] https://deb.debian.org/debian trixie main
+ apt-get -o Dir=. update
Ign:1 https://deb.debian.org/debian trixie InRelease
Ign:1 https://deb.debian.org/debian trixie InRelease
Ign:1 https://deb.debian.org/debian trixie InRelease
Err:1 https://deb.debian.org/debian trixie InRelease
  Could not connect to 127.0.0.1:3128 (127.0.0.1). - connect (111: Connection refused)
  Unable to connect to 127.0.0.1:3128:
Reading package lists...
W: Failed to fetch https://deb.debian.org/debian/dists/trixie/InRelease

  Unable to connect to 127.0.0.1:3128:
W: Some index files failed to download. They have been ignored, or old ones used instead.
+ basename /tmp/rebuilderdEtJqAh/inputs/raincat_1.2.3-1_amd64.buildinfo
+ cut -d_ -f1
+ apt-get -o Dir=. source --download-only raincat
Reading package lists...
E: You must put some 'deb-src' URIs in your sources.list
```

Signed-off-by: default avatarHolger Levsen <holger@layer-acht.org>
parent 05c2495f
No related branches found
No related tags found
No related merge requests found
......@@ -60,6 +60,7 @@ def main() -> None:
"debootsnap failed, no diskspace (temporary)": log_has_any(["W: creating tarball failed: E: cannot copy to /tmp/debrebuild", "dpkg-new': failed to write (No space left on device)"]),
"dpkg-source failed (maybe temporary)": log_has("E: FAILED [dpkg-source died]"),
"dscverify failed (temporary)": log_has("Validation FAILED!!"),
"network error (temporary)": log_has("Unable to connect to 127.0.0.1:3128"),
"download failed (temporary)": log_has_re("400 URL must be absolute.E: Could not download.*sbuild failed"),
"sbuild chroot failed (temporary)": log_has("E: Error creating chroot session: skipping"),
"sbuild failed due to insufficient disk space": log_has("E: Disk space is probably not sufficient for building."),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment