def METHOD_NAME(self):
    self.write_config(self.default_config())
    error_msg = "ERROR: core-image-minimal-1.0-r0 do_rootfs: Package bash cannot be installed into the image because it has incompatible license(s): GPL-3.0-or-later"
    result = bitbake('core-image-minimal', ignore_status=True)
    if error_msg not in result.output:
        raise AssertionError(result.output)