You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by ki...@apache.org on 2015/06/15 16:23:57 UTC

[1/4] storm git commit: STORM-864 Exclude storm-kafka from Travis CI build

Repository: storm
Updated Branches:
  refs/heads/master 9c8e880d8 -> 247e149aa


STORM-864 Exclude storm-kafka from Travis CI build

* some tests on storm-kafka shows random fails on slow machine
* Build box in Travis CI is almost run slow, so we need this


Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/99cfe282
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/99cfe282
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/99cfe282

Branch: refs/heads/master
Commit: 99cfe28296ad82f4e9d5672b16be7de94f4d7223
Parents: 58372f0
Author: Jungtaek Lim <ka...@gmail.com>
Authored: Thu Jun 11 21:56:39 2015 +0900
Committer: Jungtaek Lim <ka...@gmail.com>
Committed: Thu Jun 11 21:56:39 2015 +0900

----------------------------------------------------------------------
 dev-tools/travis/travis-build.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/99cfe282/dev-tools/travis/travis-build.sh
----------------------------------------------------------------------
diff --git a/dev-tools/travis/travis-build.sh b/dev-tools/travis/travis-build.sh
index a06151c..e2e2e13 100755
--- a/dev-tools/travis/travis-build.sh
+++ b/dev-tools/travis/travis-build.sh
@@ -33,7 +33,7 @@ export LOG_LEVEL=WARN
 export STORM_TEST_TIMEOUT_MS=100000
 
 # We now lean on Travis CI's implicit behavior, ```mvn clean install -DskipTests``` before running script
-mvn test -fae
+mvn -fae -pl '!external/storm-kafka' test
 
 BUILD_RET_VAL=$?
 
@@ -47,4 +47,4 @@ else
     egrep -iq '<fail|<error' */target/test-reports/*.xml
 fi
 
-exit ${BUILD_RET_VAL}
\ No newline at end of file
+exit ${BUILD_RET_VAL}


[2/4] storm git commit: STORM-864 Adjust drpc timeout to 2 times of TEST-TIMEOUT-MS

Posted by ki...@apache.org.
STORM-864 Adjust drpc timeout to 2 times of TEST-TIMEOUT-MS

* also print traceback to find out why exception happens


Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/cebe1364
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/cebe1364
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/cebe1364

Branch: refs/heads/master
Commit: cebe13641939dc213ac98e40a3ee43b9f3b147a2
Parents: 99cfe28
Author: Jungtaek Lim <ka...@gmail.com>
Authored: Fri Jun 12 00:17:48 2015 +0900
Committer: Jungtaek Lim <ka...@gmail.com>
Committed: Fri Jun 12 09:10:31 2015 +0900

----------------------------------------------------------------------
 dev-tools/travis/print-errors-from-clojure-test-reports.py     | 2 ++
 .../test/clj/backtype/storm/security/auth/drpc_auth_test.clj   | 6 ++++--
 2 files changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/cebe1364/dev-tools/travis/print-errors-from-clojure-test-reports.py
----------------------------------------------------------------------
diff --git a/dev-tools/travis/print-errors-from-clojure-test-reports.py b/dev-tools/travis/print-errors-from-clojure-test-reports.py
index 1cb88fc..3d08c8a 100644
--- a/dev-tools/travis/print-errors-from-clojure-test-reports.py
+++ b/dev-tools/travis/print-errors-from-clojure-test-reports.py
@@ -15,6 +15,7 @@
 import os
 import sys
 import glob
+import traceback
 from xml.etree.ElementTree import ElementTree
 
 
@@ -48,6 +49,7 @@ def main(report_dir_path):
         except Exception, e:
             print "Error while reading report file, %s" % file_path
             print "Exception: %s" % e
+            traceback.print_exc()
 
 
 if __name__ == "__main__":

http://git-wip-us.apache.org/repos/asf/storm/blob/cebe1364/storm-core/test/clj/backtype/storm/security/auth/drpc_auth_test.clj
----------------------------------------------------------------------
diff --git a/storm-core/test/clj/backtype/storm/security/auth/drpc_auth_test.clj b/storm-core/test/clj/backtype/storm/security/auth/drpc_auth_test.clj
index b6ede3b..1149a60 100644
--- a/storm-core/test/clj/backtype/storm/security/auth/drpc_auth_test.clj
+++ b/storm-core/test/clj/backtype/storm/security/auth/drpc_auth_test.clj
@@ -31,6 +31,8 @@
 
 (def drpc-timeout (Integer. 30))
 
+(def DRPC-TIMEOUT-SEC (* (/ TEST-TIMEOUT-MS 1000) 2))
+
 (defn launch-server [conf drpcAznClass transportPluginClass login-cfg client-port invocations-port]
   (let [conf (if drpcAznClass (assoc conf DRPC-AUTHORIZER drpcAznClass) conf)
         conf (if transportPluginClass (assoc conf STORM-THRIFT-TRANSPORT-PLUGIN transportPluginClass) conf)
@@ -145,7 +147,7 @@
 
 (deftest drpc-per-function-auth-strict-test
   (with-simple-drpc-test-scenario [true alice-client bob-client charlie-client alice-invok charlie-invok]
-    (let [drpc-timeout-seconds 10]
+    (let [drpc-timeout-seconds DRPC-TIMEOUT-SEC]
       (testing "Permitted user can execute a function in the ACL"
         (let [func "jump"
               exec-ftr (future (.execute alice-client func "some args"))
@@ -221,7 +223,7 @@
 
 (deftest drpc-per-function-auth-non-strict-test
   (with-simple-drpc-test-scenario [false alice-client bob-client charlie-client alice-invok charlie-invok]
-    (let [drpc-timeout-seconds 10]
+    (let [drpc-timeout-seconds DRPC-TIMEOUT-SEC]
       (testing "Permitted user can execute a function in the ACL"
         (let [func "jump"
               exec-ftr (future (.execute alice-client func "some args"))


[3/4] storm git commit: Merge branch 'STORM-864' of https://github.com/HeartSaVioR/storm

Posted by ki...@apache.org.
Merge branch 'STORM-864' of https://github.com/HeartSaVioR/storm


Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/ca4cbe8d
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/ca4cbe8d
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/ca4cbe8d

Branch: refs/heads/master
Commit: ca4cbe8dbc990e46e89f9eec67e53caa042b6164
Parents: 9c8e880 cebe136
Author: Kishor Patil <kp...@yahoo-inc.com>
Authored: Mon Jun 15 09:22:22 2015 -0500
Committer: Kishor Patil <kp...@yahoo-inc.com>
Committed: Mon Jun 15 09:22:22 2015 -0500

----------------------------------------------------------------------
 dev-tools/travis/print-errors-from-clojure-test-reports.py     | 2 ++
 dev-tools/travis/travis-build.sh                               | 4 ++--
 .../test/clj/backtype/storm/security/auth/drpc_auth_test.clj   | 6 ++++--
 3 files changed, 8 insertions(+), 4 deletions(-)
----------------------------------------------------------------------



[4/4] storm git commit: Add STORM-864 to Changelog

Posted by ki...@apache.org.
Add STORM-864 to Changelog


Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/247e149a
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/247e149a
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/247e149a

Branch: refs/heads/master
Commit: 247e149aa83adef18e941a5ba4d383f4248c6637
Parents: ca4cbe8
Author: Kishor Patil <kp...@yahoo-inc.com>
Authored: Mon Jun 15 09:23:33 2015 -0500
Committer: Kishor Patil <kp...@yahoo-inc.com>
Committed: Mon Jun 15 09:23:33 2015 -0500

----------------------------------------------------------------------
 CHANGELOG.md | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/247e149a/CHANGELOG.md
----------------------------------------------------------------------
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f08ffbb..414ad10 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,6 @@
 ## 0.11.0
  * STORM-847: Add cli to get the last storm error from the topology
+ * STORM-864: Exclude storm-kafka tests from Travis CI build
 
 ## 0.10.0
  * STORM-856: use serialized value of delay secs for topo actions