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

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

proxysets = [{'addr': 'squid.internal', 'desc': 'Running in the Canonical CI 
environment'},
                  {'addr': '91.189.89.216', 'desc': 'Running in the Canonical 
enablement environment'},
                  {'addr': '10.245.64.1', 'desc': 'Running in the Canonical 
enablement environment'}]
for proxy in proxysets:
            cmd = 'nc -w 2 ' + proxy['addr'] + ' 3128'
            try:
                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'
                break
            except:
                pass

utils.system('git clone https://github.com/tytso/xfstests-bld')


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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1762709

Title:
  Unable to fetch git repos using autotest framework with Bionic kernel

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to