Leona Yoda created BIGTOP-3868:
----------------------------------
Summary: Docker provisioner fails when it is executed from gradle
Key: BIGTOP-3868
URL: https://issues.apache.org/jira/browse/BIGTOP-3868
Project: Bigtop
Issue Type: Bug
Reporter: Leona Yoda
Assignee: Leona Yoda
How to reproduce
{code:java}
$ ./gradlew -Pstack=zookeeper docker-provisioner
...
Notice: Finished catalog run in 74.78 seconds
> Task :docker-provisioner FAILED{code}
However the stack creation was suceeded.
If you run from docker-hadoop.sh directly, there is no error message and can
run smoke-tests
{code:java}
$ ./docker-hadoop.sh -d -c 1 --stack zookeeper --smoke-tests zookeeper
...
Notice: Finished catalog run in 71.51 seconds{code}
This seems caused by printing error message file that does not exist
{code:java}
# with printing error message
$ bash -xe ./docker-hadoop.sh -d -c 1 --stack zookeeper --smoke-tests zookeeper
...
Notice: Finished catalog run in 84.98 seconds
+ cat '.error_msg_*'{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)