[Git][qa/jenkins.debian.net][master] rebuilderd_stats: Add category for network errors

Holger Levsen (@holger) gitlab at salsa.debian.org
Tue Jan 7 21:52:54 GMT 2025



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
c67beb17 by Gioele Barabucci at 2025-01-07T22:52:34+01:00
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: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/rebuilderd_stats.py


Changes:

=====================================
bin/rebuilderd_stats.py
=====================================
@@ -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."),



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/c67beb1700ed69ca8f8c4063c9bb8ea1055b949a

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/c67beb1700ed69ca8f8c4063c9bb8ea1055b949a
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20250107/e959db42/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list