[ https://issues.apache.org/jira/browse/HADOOP-12493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14964178#comment-14964178 ]
Allen Wittenauer commented on HADOOP-12493: ------------------------------------------- {code} [exec] Running bats -t hadoop_add_to_classpath_userpath.bats [exec] 1..7 [exec] ok 1 hadoop_add_to_classpath_userpath (nothing) [exec] ok 2 hadoop_add_to_classpath_userpath (none) [exec] not ok 3 hadoop_add_to_classpath_userpath (only) [exec] # (from function `hadoop_add_to_classpath_userpath' in file ../../main/bin/hadoop-functions.sh, line 966, [exec] # in test file hadoop_add_to_classpath_userpath.bats, line 54) [exec] # `hadoop_add_to_classpath_userpath' failed [exec] # bindir: /testptch/hadoop/hadoop-common-project/hadoop-common/src/test/scripts [exec] not ok 4 hadoop_add_to_classpath_userpath (classloader) [exec] # (from function `hadoop_add_to_classpath_userpath' in file ../../main/bin/hadoop-functions.sh, line 966, [exec] # in test file hadoop_add_to_classpath_userpath.bats, line 63) [exec] # `hadoop_add_to_classpath_userpath' failed [exec] # bindir: /testptch/hadoop/hadoop-common-project/hadoop-common/src/test/scripts [exec] not ok 5 hadoop_add_to_classpath_userpath (1+1 dupe) [exec] # (from function `hadoop_add_to_classpath_userpath' in file ../../main/bin/hadoop-functions.sh, line 966, [exec] # in test file hadoop_add_to_classpath_userpath.bats, line 73) [exec] # `hadoop_add_to_classpath_userpath' failed [exec] # bindir: /testptch/hadoop/hadoop-common-project/hadoop-common/src/test/scripts [exec] ok 6 hadoop_add_to_classpath_userpath (3+2 after) [exec] ok 7 hadoop_add_to_classpath_userpath (3+2 before) {code} {code} [exec] Running bats -t hadoop_basic_init.bats [exec] 1..3 [exec] ok 1 hadoop_basic_init (bad dir errors) [exec] not ok 2 hadoop_basic_init (no non-dir overrides) [exec] # (from function `check_var_values' in file hadoop_basic_init.bats, line 53, [exec] # in test file hadoop_basic_init.bats, line 80) [exec] # `check_var_values' failed [exec] # bindir: /testptch/hadoop/hadoop-common-project/hadoop-common/src/test/scripts [exec] # DEBUG: Initialize CLASSPATH [exec] # Verifying HADOOP_IDENT_STRING has a value {code} {code} [exec] Running bats -t hadoop_ssh.bats [exec] 1..7 [exec] ok 1 # skip (Not implemented) hadoop_actual_ssh [exec] ok 2 # skip (Not implemented) hadoop_connect_to_hosts [exec] ok 3 # skip (Not implemented) hadoop_connect_to_hosts_without_pdsh [exec] ok 4 hadoop_common_slave_mode_execute (--slaves 1) [exec] not ok 5 hadoop_common_slave_mode_execute (--slaves 2) [exec] # (in test file hadoop_ssh.bats, line 40) [exec] # `[ ${output} = "command1 command2" ]' failed with status 2 [exec] # bindir: /testptch/hadoop/hadoop-common-project/hadoop-common/src/test/scripts [exec] # /tmp/bats.10694.src: line 40: [: too many arguments [exec] ok 6 hadoop_common_slave_mode_execute (--hosts) [exec] not ok 7 hadoop_common_slave_mode_execute (--hostnames 2) [exec] # (in test file hadoop_ssh.bats, line 50) [exec] # `[ ${output} = "command1 command2" ]' failed with status 2 [exec] # bindir: /testptch/hadoop/hadoop-common-project/hadoop-common/src/test/scripts [exec] # /tmp/bats.10694.src: line 50: [: too many arguments {code} > bash unit tests are failing > ---------------------------- > > Key: HADOOP-12493 > URL: https://issues.apache.org/jira/browse/HADOOP-12493 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 3.0.0 > Reporter: Allen Wittenauer > > Running bats in a docker container on jenkins fails. -- This message was sent by Atlassian JIRA (v6.3.4#6332)