spread tests fail on non-interactive prompt in ruby/legacy-pull

Bug #1834766 reported by anatoly techtonik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
New
Undecided
Unassigned

Bug Description

https://travis-ci.org/snapcore/snapcraft/jobs/552155933

...
2019-06-29 14:55:24 WARNING: jun291409-049240 (google:ubuntu-18.04-64:tests/spread/plugins/ruby/legacy-pull) running late. Current output:
-----
(...)
Restart services during package upgrades without asking? [yes/no]
-----
.
The job exceeded the maximum time limit for jobs, and has been terminated.

Looks like the message is shows when a package installation requires configuration https://unix.stackexchange.com/questions/146283/how-to-prevent-prompt-that-ask-to-restart-services-when-installing-libpq-dev The solution is to add `export DEBIAN_FRONTEND=noninteractive` to apt install command, but it is not clear where these command are.

Failing legacy-pull task doesn't contain and `apt` commands https://github.com/snapcore/snapcraft/blob/master/tests/spread/plugins/ruby/legacy-pull/task.yaml and main `spread.yaml` is shared between tests, but they do not fail. So the problem should be in legacy `snapcraft pull` that probably fetches packages in interactive mode.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.