Sonia Garudi created HADOOP-14618:
-------------------------------------
Summary: Build failure due to failing Bats test
Key: HADOOP-14618
URL: https://issues.apache.org/jira/browse/HADOOP-14618
Project: Hadoop Common
Issue Type: Test
Components: common
Affects Versions: 3.0.0-alpha4
Environment: Ubuntu 14.04
x86, ppc64le
$ java -version
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-3~14.04.1-b14)
OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)
Reporter: Sonia Garudi
Priority: Minor
The build fails with the following error :
{code}
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-antrun-plugin:1.7:run (common-test-bats-driver)
on project hadoop-common: An Ant BuildException has occured: exec returned: 1
[ERROR] around Ant part ...<exec failonerror="true" dir="src/test/scripts"
executable="bash">... @ 4:69 in
/ws/hadoop/hadoop-common-project/hadoop-common/target/antrun/build-main.xml
{code}
There is a failure in the bats test as follows :
{code}
[exec] Running bats -t hadoop_mkdir.bats
[exec] 1..3
[exec] ok 1 hadoop_mkdir (create)
[exec] ok 2 hadoop_mkdir (exists)
[exec] not ok 3 hadoop_mkdir (failed)
[exec] # (in test file hadoop_mkdir.bats, line 41)
[exec] # `[ "${status}" != 0 ]' failed
[exec] # bindir:
/var/lib/jenkins/workspace/hadoop-master/hadoop-common-project/hadoop-common/src/test/scripts
{code}
The required directories are getting created, however still the test fails.
I am using the following bats version :
{code}
# bats -version
Bats 0.4.0
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]