[Bug 2106664] Re: Flaky DEP8 test due to git clone timeouts

Andreas Hasenack 2106664 at bugs.launchpad.net
Thu Apr 10 15:18:13 UTC 2025


Unless we want to be specific about ubuntu-specific proxy settings, when
the test runs in our infrastructure.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2106664

Title:
  Flaky DEP8 test due to git clone timeouts

Status in systemd package in Ubuntu:
  In Progress

Bug description:
  I'm seeing a lot of these lately[1]:

  
  4268s + mkosi_tree=/tmp/autopkgtest.9oT0q6/autopkgtest_tmp/mkosi
  4268s + git clone https://github.com/systemd/mkosi.git /tmp/autopkgtest.9oT0q6/autopkgtest_tmp/mkosi
  4268s Cloning into '/tmp/autopkgtest.9oT0q6/autopkgtest_tmp/mkosi'...
  4268s fatal: unable to access 'https://github.com/systemd/mkosi.git/': Failed to connect to github.com port 443 after 9 ms: Could not connect to server
  4268s + cleanup
  4268s + [ -f /var/tmp/integration-tests.VkzTUC7C3T/btrfs/build/meson-logs/testlog.txt ]
  4268s + [ -d /var/tmp/integration-tests.VkzTUC7C3T/btrfs/build/test/journal ]
  4268s + [ -n /var/tmp/integration-tests.VkzTUC7C3T ]
  4268s + umount /var/tmp/integration-tests.VkzTUC7C3T/btrfs
  4268s + losetup --detach /dev/loop0
  4268s + rm -rf /var/tmp/integration-tests.VkzTUC7C3T
  4268s autopkgtest [05:11:30]: test upstream: -----------------------]
  4270s upstream             FAIL non-zero exit status 128

  That git clone command seems to fail a lot. This time it was after just 9ms (connection refused?), but I have also seen larger timeouts. Since the systemd autopkgtest is quite expensive, maybe we could benefit from either:
  a) ship a copy of that repository in the d/t/ directory? No idea about the size, and at first I wouldn't suggest this, unless it's just a small set of files/scripts; or
  b) retry git clone a few times, if it fails.


  
  1. https://autopkgtest.ubuntu.com/results/autopkgtest-plucky/plucky/amd64/s/systemd/20250409_051322_798c4@/log.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2106664/+subscriptions




More information about the foundations-bugs mailing list