Some awk code was written expecting gawk to be installed, but in reality we only have mawk:
FAIL: test_enable_disable_needs_root (test_script.UbuntuAdvantageScriptTest)
The script must be run as root for enable and disable actions.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<BUILDDIR>>/ubuntu-advantage-tools-13+82+git.291ae41~ubuntu18.04.1/tests/test_script.py", line 18, in test_enable_disable_needs_root
self.assertIn('This command must be run as root', process.stderr)
AssertionError: 'This command must be run as root' not found in 'awk: line 3: syntax error at or near ,\nawk: line 7: syntax error at or near ,\n'
I can reproduce this in an lxd if I remove gawk and leave just mawk installed.