[pkg-go] Bug#1041865: debos: Output of apt action not shown when running debos in noninteractive shell

Christopher Obbard chris.obbard at collabora.com
Mon Jul 24 17:27:36 BST 2023

Control: forwarded -1 https://github.com/go-debos/debos/issues/416

On Mon, 2023-07-24 at 17:56 +0200, q wrote:
> Package: debos
> Version: 1.1.1-2.1
> Severity: important
> Tags: upstream
> Dear Maintainer,
> we're using debos within Gitlab CI runners which basically works. However the
> output of apt does not appear in the job logs due to special character sequences
> printed by apt. This makes it hard to debug any issues if the apt action fails
> and always requires us to run debos in an interactive shell manually.
> Please see https://github.com/go-debos/debos/issues/416 for details and


It is shown, it is just that GitLab Runner seems to hide certain lines ending in certain
newline character sequences.

You _can_ get to the full apt actions logs by going to the job and pressing the "Show complete 
raw" button at the top next to the Search bar.

> https://github.com/go-debos/debos/commit/b1197b80b4e87c6cd1cd7b06669faa7c40798551
> for a possible solution which already has been merged into the upstream's main
> branch. Would it be possible to include this patch in an package update?

Unfortunately this will not fix the issue and the issue really belong to the GitLab
runner and its termination character detection. I will search for an issue on the
GitLab.com tracker, but so far I haven't found anything as yet.

It would help if we could find a bug on the tracker already about the termination
character issue.

More information about the Pkg-go-maintainers mailing list