This can be reproduced with the following python code on Bionic, with
the autotest framework cloned:

git clone --depth=1 git://
sudo apt-get install -y python-minimal
from autotest.client                        import test, utils
import os

proxysets = [{'addr': 'squid.internal', 'desc': 'Running in the Canonical CI 
                  {'addr': '', 'desc': 'Running in the Canonical 
enablement environment'},
                  {'addr': '', 'desc': 'Running in the Canonical 
enablement environment'}]
for proxy in proxysets:
            cmd = 'nc -w 2 ' + proxy['addr'] + ' 3128'
                utils.system_output(cmd, retain_output=False)
                print proxy['desc']
                os.environ['http_proxy'] = 'http://' + proxy['addr'] + ':3128'
                os.environ['https_proxy'] = 'https://' + proxy['addr'] + ':3128'

utils.system('git clone')

But it works without the proxy setting in the python code above.
I will file a RT for this

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

  Unable to fetch git repos using autotest framework with Bionic kernel

Status in linux package in Ubuntu:

Bug description:
  All the tests that need to fetch a git repo for testing failed with error 
message like: 
      CmdError: Command <git clone> 
failed, rc=128, Command returned non-zero exit status
      * Command: 
          git clone
      Exit status: 128
      Duration: 0.254368066788
      Cloning into 'xfstests-bld'...
      fatal: unable to access '': 
gnutls_handshake() failed: An unexpected TLS packet was received.

  If you fetch this repo manually it will work (even with proxy configured)
  This needs to be investigated.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: linux-image-4.15.0-15-generic 4.15.0-15.16
  ProcVersionSignature: Ubuntu 4.15.0-15.16-generic 4.15.15
  Uname: Linux 4.15.0-15-generic s390x
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 
2: ls: cannot access '/dev/snd/': No such file or directory
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
  ApportVersion: 2.20.9-0ubuntu4
  Architecture: s390x
  ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 
  CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 
not found.
  Date: Tue Apr 10 11:35:24 2018
  HibernationDevice: RESUME=UUID=e2735dd1-cbbc-4424-9c25-d37d073d9414
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
  Lsusb: Error: command ['lsusb'] failed with exit code 1:
  ProcFB: Error: [Errno 2] No such file or directory: '/proc/fb'
  ProcKernelCmdLine: root=UUID=38f7d570-2973-4055-b668-12a9ace1e0c7 
crashkernel=196M BOOT_IMAGE=0
   linux-restricted-modules-4.15.0-15-generic N/A
   linux-backports-modules-4.15.0-15-generic  N/A
   linux-firmware                             1.173
  RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to