Skip to content

CI acceptance tests use tput but it is not installed #41491

@phil-davis

Description

@phil-davis

Example:
https://drone.owncloud.com/owncloud/core/40683/121/18

runsh: Exit code of main run: 0
./tests/acceptance/run.sh: line 1373: tput setaf 2: command not found
runsh: There were no unexpected failures.
./tests/acceptance/run.sh: line 1381: tput setaf 2: command not found
runsh: There were no unexpected success.

tput is part of the ncurses utility suite, and that is not installed by default in docker.io/ubuntu (from which we inherit or owncloud-docker/ubuntu and owncloud-ci:php)

Need to do something like:
apt-get install -y ncurses-bin
somewhere.

Maybe just add that directly in the commands that setup the CI environment for the acceptance tests.

Note: nothing is "broken", it is just that the text colors do not work, and the "command not found" messages are emitted in the log.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions