See https://builds.apache.org/job/ZooKeeper-trunk/3169/

###################################################################################
########################## LAST 60 LINES OF THE CONSOLE 
###########################
[...truncated 481984 lines...]
     [exec] 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/src/c/src/zookeeper.c:4712:12:
 error: (near initialization for 'h') [-Werror]
     [exec] 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/src/c/src/zookeeper.c:4712:26:
 error: storage size of 'h' isn't known
     [exec]      struct RequestHeader h = { get_xid(), ZOO_REMOVE_WATCHES };
     [exec]                           ^
     [exec] 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/src/c/src/zookeeper.c:4713:12:
 error: variable 'req' has initializer but incomplete type
     [exec]      struct RemoveWatchesRequest req =  { (char*)server_path, wtype 
};
     [exec]             ^
     [exec] 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/src/c/src/zookeeper.c:4713:12:
 error: excess elements in struct initializer [-Werror]
     [exec] 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/src/c/src/zookeeper.c:4713:12:
 error: (near initialization for 'req') [-Werror]
     [exec] 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/src/c/src/zookeeper.c:4713:12:
 error: excess elements in struct initializer [-Werror]
     [exec] 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/src/c/src/zookeeper.c:4713:12:
 error: (near initialization for 'req') [-Werror]
     [exec] 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/src/c/src/zookeeper.c:4713:33:
 error: storage size of 'req' isn't known
     [exec]      struct RemoveWatchesRequest req =  { (char*)server_path, wtype 
};
     [exec]                                  ^
     [exec] 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/src/c/src/zookeeper.c:4740:5:
 error: implicit declaration of function 'serialize_RemoveWatchesRequest' 
[-Werror=implicit-function-declaration]
     [exec]      rc = rc < 0 ? rc : serialize_RemoveWatchesRequest(oa, "req", 
&req);
     [exec]      ^
     [exec] 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/src/c/src/zookeeper.c:4713:33:
 error: unused variable 'req' [-Werror=unused-variable]
     [exec]      struct RemoveWatchesRequest req =  { (char*)server_path, wtype 
};
     [exec]                                  ^
     [exec] 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/src/c/src/zookeeper.c:4712:26:
 error: unused variable 'h' [-Werror=unused-variable]
     [exec]      struct RequestHeader h = { get_xid(), ZOO_REMOVE_WATCHES };
     [exec]                           ^
     [exec] 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/src/c/src/zookeeper.c: At 
top level:
     [exec] 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/src/c/src/zookeeper.c:141:19:
 error: '_OPEN_ACL_UNSAFE_ACL' defined but not used [-Werror=unused-variable]
     [exec]  static struct ACL _OPEN_ACL_UNSAFE_ACL[] = {{0x1f, {"world", 
"anyone"}}};
     [exec]                    ^
     [exec] 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/src/c/src/zookeeper.c:142:19:
 error: '_READ_ACL_UNSAFE_ACL' defined but not used [-Werror=unused-variable]
     [exec]  static struct ACL _READ_ACL_UNSAFE_ACL[] = {{0x01, {"world", 
"anyone"}}};
     [exec]                    ^
     [exec] 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/src/c/src/zookeeper.c:143:19:
 error: '_CREATOR_ALL_ACL_ACL' defined but not used [-Werror=unused-variable]
     [exec]  static struct ACL _CREATOR_ALL_ACL_ACL[] = {{0x1f, {"auth", ""}}};
     [exec]                    ^
     [exec] cc1: all warnings being treated as errors
     [exec] make: *** [zookeeper.lo] Error 1

BUILD FAILED
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/build.xml:1324: The 
following error occurred while executing this line:
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/build.xml:1284: The 
following error occurred while executing this line:
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/build.xml:1294: exec 
returned: 2

Total time: 13 minutes 36 seconds
Build step 'Execute shell' marked build as failure
[FINDBUGS] Skipping publisher since build result is FAILURE
[WARNINGS] Skipping publisher since build result is FAILURE
Archiving artifacts
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Recording fingerprints
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Updating ZOOKEEPER-2628
Recording test results
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Publishing Javadoc
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7



###################################################################################
############################## FAILED TESTS (if any) 
##############################
All tests passed

Reply via email to