~sergiodj/autopkgtest/+git/development:add-newline-etc-env

Last commit made on 2021-12-03
Get this branch:
git clone -b add-newline-etc-env https://git.launchpad.net/~sergiodj/autopkgtest/+git/development
Only Sergio Durigan Junior can upload to this branch. If you are Sergio Durigan Junior please log in for upload directions.

Branch information

Name:
add-newline-etc-env
Repository:
lp:~sergiodj/autopkgtest/+git/development

Recent commits

864fa14... by Sergio Durigan Junior

Make sure we add a newline to the end of /etc/environment

PAM 1.4.x introduced a (silent) change in the behaviour of pam_env(7)
which makes it fail to part /etc/environment when the file doesn't end
with a newline.

Thanks to vorlon for helping with the debugging of the problem.

0aa7078... by Julian Andres Klode

adtlog.py: Also retry flush() calls

We don't know why it EAGAINs here.

271b5d9... by Julian Andres Klode

More os.set_blocking()

hopefully it helps this time

0974b45... by Julian Andres Klode

Revert "Revert "FIXME: Reject broken servers immediately""

This reverts commit ac5b3456e06730172fb98eba3ea848aae9192866.

ac5b345... by Julian Andres Klode

Revert "FIXME: Reject broken servers immediately"

This reverts commit 7b0a42fc9e49052481dab6522cc922041d608dbc.

This killed all our bos02 workers, so it seems some of these
situations are salvagable.

7b0a42f... by Julian Andres Klode

FIXME: Reject broken servers immediately

Servers that have been assigned two IP addresses are broken,
we should not wait to SSH to them.

6aff421... by Julian Andres Klode

setup-testbed: always include phased updates

We just saw odd failure to retrieve source code for phased package
with the APT SRU that enables phasing for not-installed packages.

So enable the always-include-phased-updates option to revert to the
classic apt behavior.

0b9a512... by Julian Andres Klode

fixup! runner: Set sys.stderr to blocking

237232c... by Julian Andres Klode

runner: Set sys.stderr to blocking

We see BlockingIOError quite a bit these days on Ubuntu's autopkgtest
cloud when trying to write to sys.stderr. Not sure why it's non-blocking,
seems Python sets it up that way sometimes...

    Traceback (most recent call last):
     File "/home/ubuntu/autopkgtest/lib/VirtSubproc.py", line 740, in mainloop
       command()
     File "/home/ubuntu/autopkgtest/lib/VirtSubproc.py", line 669, in command
       r = f(c, ce)
     File "/home/ubuntu/autopkgtest/lib/VirtSubproc.py", line 364, in cmd_reboot
       caller.hook_wait_reboot(**wait_reboot_args)
     File "/home/ubuntu/autopkgtest/virt/autopkgtest-virt-ssh", line 486, in hook_wait_reboot
       wait_for_ssh(sshcmd, timeout=args.timeout_ssh)
     File "/home/ubuntu/autopkgtest/virt/autopkgtest-virt-ssh", line 320, in wait_for_ssh
       execute_setup_script('debug-failure', fail_ok=True)
     File "/home/ubuntu/autopkgtest/virt/autopkgtest-virt-ssh", line 208, in execute_setup_script
       sys.stderr.write(err)
    BlockingIOError: [Errno 11] write could not complete without blocking

ed4023b... by Iain Lane

nova: Drop nova network-show, we're all openstack now