This still fails for me:
http://paste.ubuntu.com/p/vdN9dBxKBr/
.... Building bootmap in '/boot' Adding IPL section 'ubuntu' (default) Preparing boot device: vda (0000). Done. apt-esm-hook: hook.cc:184: int main(int, char**): Assertion `ppid == getppid_of("self")' failed. Aborted (core dumped) E: Problem executing scripts APT::Install::Post-Invoke-Success '[ ! -f /usr/lib/ubuntu-advantage/apt-esm-hook ] || /usr/lib/ubuntu-advantage/apt-esm-hook' E: Sub-process returned an error code Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.056 Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/installing-kernel: FAIL: installing kernel finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: FAIL: curtin command curthooks Traceback (most recent call last): ... curtin.util.ProcessExecutionError: Unexpected error while running command.
Note this is the new code, as in it's now asserting in hook.cc:184 which the new line where the assert has moved.
I wonder if these things are racy or something.
At the moment, this fails whilst trying to install the kernel, when running subiquity -> curtin on s390x. With ubuntu-advantage-tools 19.3 everywhere.
This still fails for me:
http:// paste.ubuntu. com/p/vdN9dBxKB r/
.... :Post-Invoke- Success '[ ! -f /usr/lib/ ubuntu- advantage/ apt-esm- hook ] || /usr/lib/ ubuntu- advantage/ apt-esm- hook' stage-curthooks /builtin/ cmd-curthooks/ installing- kernel: FAIL: installing kernel stage-curthooks /builtin/ cmd-curthooks: FAIL: curtin command curthooks util.ProcessExe cutionError: Unexpected error while running command.
Building bootmap in '/boot'
Adding IPL section 'ubuntu' (default)
Preparing boot device: vda (0000).
Done.
apt-esm-hook: hook.cc:184: int main(int, char**): Assertion `ppid == getppid_of("self")' failed.
Aborted (core dumped)
E: Problem executing scripts APT::Install:
E: Sub-process returned an error code
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.056
Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False)
finish: cmd-install/
finish: cmd-install/
Traceback (most recent call last):
...
curtin.
Note this is the new code, as in it's now asserting in hook.cc:184 which the new line where the assert has moved.
I wonder if these things are racy or something.
At the moment, this fails whilst trying to install the kernel, when running subiquity -> curtin on s390x. With ubuntu- advantage- tools 19.3 everywhere.