[
https://issues.apache.org/jira/browse/YETUS-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15059736#comment-15059736
]
Kengo Seki commented on YETUS-234:
----------------------------------
I tried PR #1 and got a strange result.
asflicense once failed (probably this is because my environment was
insufficient), but finally succeeded.
I suspect there is something wrong with asflicense.sh. I'll file this as
another JIRA.
{code}
[sekikn@mobile yetus]$ precommit/test-patch.sh --basedir=../zookeeper
--project=zookeeper --resetrepo /tmp/p
(snip)
============================================================================
============================================================================
Determining number of patched ASF License errors
============================================================================
============================================================================
cd /Users/sekikn/zookeeper
ant releaseaudit > /private/tmp/yetus-19663.15052/patch-asflicense-root.txt 2>&1
Elapsed: 0m 43s
root in the patch failed.
There appear to be 0 ASF License warnings after applying the patch.
Total Elapsed time: 0m 50s
+1 overall
____ _
/ ___| _ _ ___ ___ ___ ___ ___| |
\___ \| | | |/ __/ __/ _ \/ __/ __| |
___) | |_| | (_| (_| __/\__ \__ \_|
|____/ \__,_|\___\___\___||___/___(_)
| Vote | Subsystem | Runtime | Comment
============================================================================
| +1 | @author | 0m 00s | The patch does not contain any @author
| | | | tags.
| +1 | whitespace | 0m 00s | Patch has no whitespace issues.
| -1 | asflicense | 0m 43s | root in the patch failed.
| +1 | asflicense | 0m 43s | Patch does not generate ASF License
| | | | warnings.
| | | 0m 50s |
|| Subsystem || Report/Notes ||
============================================================================
| Optional Tests | asflicense |
| uname | Darwin mobile.local 15.0.0 Darwin Kernel Version 15.0.0: Sat Sep 19
15:53:46 PDT 2015; root:xnu-3247.10.11~1/RELEASE_X86_64 x86_64 |
| Build tool | ant |
| Personality | /Users/sekikn/yetus/precommit/personality/zookeeper.sh |
| git revision | trunk / 92707a6 |
| asflicense | /private/tmp/yetus-19663.15052/patch-asflicense-root.txt |
| modules | C: . U: . |
| Powered by | Apache Yetus 0.2.0-SNAPSHOT http://yetus.apache.org |
============================================================================
============================================================================
Finished build.
============================================================================
============================================================================
[sekikn@mobile yetus]$ tail -20
/private/tmp/yetus-19663.15052/patch-asflicense-root.txt
create-cppunit-configure:
[exec] aclocal: warning: couldn't open directory '/usr/share/aclocal': No
such file or directory
[exec] configure.ac:37: warning: macro 'AM_PATH_CPPUNIT' not found in
library
[exec] glibtoolize: putting auxiliary files in '.'.
[exec] glibtoolize: copying file './ltmain.sh'
[exec] glibtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to
configure.ac,
[exec] glibtoolize: and rerunning glibtoolize and aclocal.
[exec] glibtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in
Makefile.am.
[exec] aclocal: warning: couldn't open directory '/usr/share/aclocal': No
such file or directory
[exec] configure.ac:37: warning: macro 'AM_PATH_CPPUNIT' not found in
library
[exec] configure.ac:37: error: possibly undefined macro: AM_PATH_CPPUNIT
[exec] If this token and others are legitimate, please use
m4_pattern_allow.
[exec] See the Autoconf documentation.
[exec] autoreconf: /usr/local/Cellar/autoconf/2.69/bin/autoconf failed
with exit status: 1
BUILD FAILED
/Users/sekikn/zookeeper/build.xml:1471: exec returned: 1
Total time: 42 seconds
{code}
> Define a pre-commit personality for ZooKeeper.
> ----------------------------------------------
>
> Key: YETUS-234
> URL: https://issues.apache.org/jira/browse/YETUS-234
> Project: Yetus
> Issue Type: Improvement
> Components: Test Patch
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
>
> I plan to propose migrating to Yetus for ZooKeeper's pre-commit. This issue
> tracks implementation of a ZooKeeper personality.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)