remote-build spams terminal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Triaged
|
High
|
Unassigned |
Bug Description
Using latest snapcraft from latest/stable channel on 22.04.
$ snapcraft version
snapcraft 7.0.7
Trying to use remote-build, and it's outputing the percentage progress on new lines, rather than re-writing the line. I did it in tmux and plain Konsole terminal, and the same effect occurs.
```
$ snapcraft remote-build
snapcraft remote-build is experimental and is subject to change - use with caution.
Using build ID snapcraft-
Found previously started build.
Build status for arch ppc64el: Currently building
Build status for arch amd64: Currently building
Build status for arch s390x: Needs building
Build status for arch arm64: Needs building
Build status for arch armhf: Needs building
Do you wish to recover this build? [Y/n]: y
Building snap package for amd64, arm64, armhf, i386, ppc64el, and s390x. This may take some time to finish.
Build status as of 2022-06-19 23:37:51.131230: Build status as of 2022-06-19 23:37:51.131230:
arch=amd64 state=Currently building arch=amd64 state=Currently building
arch=s390x state=Needs building arch=s390x state=Needs building
arch=arm64 state=Needs building arch=arm64 state=Needs building
arch=armhf state=Needs building arch=armhf state=Needs building
arch=armhf state=Needs building - (2.0s) arch=armhf state=Needs building \ (2.1s) arch=armhf state=Needs building | (2.2s) arch=armhf state=Needs building / (2.3s) arch=armhf state=Needs building - (2.4s) arch=armhf state=Needs building \ (2.5s) arch=armhf state=Needs building | (2.6s) arch=armhf state=Needs building / (2.7s) arch=armhf state=Needs building - (2.8s) arch=armhf state=Needs building \ (2.9s) arch=armhf state=Needs building | (3.0s)
```
Launchpad is messing with the above output. Every line which starts arch=armhf" is a new line. Screenshot shows it better.
Every so often it prints a summary then goes back to spamming the terminal with the progress update again.
Changed in snapcraft: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: craft-1150 |