You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by HeartSaVioR <gi...@git.apache.org> on 2015/03/26 23:07:30 UTC

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

GitHub user HeartSaVioR opened a pull request:

    https://github.com/apache/storm/pull/486

    STORM-704 Apply Travis CI to Apache Storm Project

    * support build matrix (openjdk6, openjdk7, oraclejdk7, oraclejdk8)
    * change log level to WARN while running unit tests
    * print out clojure test reports (only errors)
    
    Sure we should ask Apache Infra to set up Travis CI (with asfgit account), which is not an issue cause many projects on Apache already uses Travis CI.
    ex. https://issues.apache.org/jira/browse/INFRA-6161

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/HeartSaVioR/storm travis

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/storm/pull/486.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #486
    
----
commit db813c7781c4359229ddee58bbe40dc763ec0eab
Author: Jungtaek Lim <ka...@gmail.com>
Date:   2015-03-26T22:00:35Z

    STORM-704 Apply Travis CI to Apache Storm Project
    
    * support build matrix (openjdk6, openjdk7, oraclejdk7, oraclejdk8)
    * change log level to WARN while running unit tests
    * print out clojure test reports (only errors)

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by HeartSaVioR <gi...@git.apache.org>.
Github user HeartSaVioR commented on a diff in the pull request:

    https://github.com/apache/storm/pull/486#discussion_r29001690
  
    --- Diff: dev-tools/travis/travis-build.sh ---
    @@ -0,0 +1,35 @@
    +#!/bin/bash
    +#  Licensed under the Apache License, Version 2.0 (the "License");
    +#  you may not use this file except in compliance with the License.
    +#  You may obtain a copy of the License at
    +#
    +#    http://www.apache.org/licenses/LICENSE-2.0
    +#
    +#  Unless required by applicable law or agreed to in writing, software
    +#  distributed under the License is distributed on an "AS IS" BASIS,
    +#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +#  See the License for the specific language governing permissions and
    +#  limitations under the License.
    +
    +STORM_SRC_ROOT_DIR=$1
    +
    +TRAVIS_SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
    +
    +cd ${STORM_SRC_ROOT_DIR}
    +
    +# Travis CI doesn't allow stdout bigger than 4M, so we have to reduce log while running tests
    +export LOG_LEVEL=WARN
    +# We should concern that Travis CI could be very slow cause it uses VM
    +export export STORM_TEST_TIMEOUT_MS=100000
    +
    +mvn clean test
    --- End diff --
    
    Yes, it should be changed for now.
    I don't want to lean on Travis CI's behavior, but we would love to let test run as fast as possible, so just run ```mvn test``` with describing would be great.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by knusbaum <gi...@git.apache.org>.
Github user knusbaum commented on the pull request:

    https://github.com/apache/storm/pull/486#issuecomment-96681572
  
    I'm +1 for merging. I'd rather have it in so it can yell at us about fixing the broken tests.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by revans2 <gi...@git.apache.org>.
Github user revans2 commented on the pull request:

    https://github.com/apache/storm/pull/486#issuecomment-95732261
  
    Yes, so the issue that we have run into before, and may be the same now, is that ruby does not come with JSON support by default on ubuntu.  But that was a much older version or ruby and ubuntu.  So who knows.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by HeartSaVioR <gi...@git.apache.org>.
Github user HeartSaVioR commented on the pull request:

    https://github.com/apache/storm/pull/486#issuecomment-86740796
  
    Failing build (from storm-core) output for example : https://s3.amazonaws.com/archive.travis-ci.org/jobs/56016756/log.txt


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by revans2 <gi...@git.apache.org>.
Github user revans2 commented on the pull request:

    https://github.com/apache/storm/pull/486#issuecomment-95691020
  
    @HeartSaVioR Sorry it has taken me so long to take a look.  It appears that for https://travis-ci.org/HeartSaVioR/storm/jobs/56016756 you are missing one of the shell bolt/spout dependencies.  We currently need ruby, python, and nodejs installed.  The errors about 
    ```39877 [Thread-128] ERROR backtype.storm.task.ShellBolt - Halting process: ShellBolt died.
    java.lang.RuntimeException: backtype.storm.multilang.NoOutputException: Pipe to subprocess seems to be broken! No output read.```
    
    indicate that one of these is not installed/on the path.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by HeartSaVioR <gi...@git.apache.org>.
Github user HeartSaVioR commented on the pull request:

    https://github.com/apache/storm/pull/486#issuecomment-96100695
  
    Btw, I modified .travis.yml to install recent version of ruby and node, and still have no luck with multilang tests. It doesn't print out any helpful outputs, but I'll keep giving a try.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by HeartSaVioR <gi...@git.apache.org>.
Github user HeartSaVioR commented on the pull request:

    https://github.com/apache/storm/pull/486#issuecomment-95734278
  
    https://travis-ci.org/HeartSaVioR/storm/builds/59794019 succeed and https://travis-ci.org/HeartSaVioR/storm/builds/59795636 failed, which means failed tests could be a kind of random failures or relied on machine power.
    
    First one is DisruptorQueueTest, as you already know.
    
    Failed tests:   testMessageDisorder(backtype.storm.utils.DisruptorQueueTest): We expect to receive first published message first, but received null expected:<1> but was:<null>
    
    Second one is Kafka Tests, which I met intermittently from my dev. machine.
     
      testKeyValue(storm.kafka.TridentKafkaTest): Could not send message with key = key-123 to topic = test
      generateTuplesWithKeyAndKeyValueScheme(storm.kafka.KafkaUtilsTest): Error fetching data from [Partition{host=localhost:52047, partition=0}] for topic [testTopic]: [OFFSET_OUT_OF_RANGE]


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by HeartSaVioR <gi...@git.apache.org>.
Github user HeartSaVioR commented on a diff in the pull request:

    https://github.com/apache/storm/pull/486#discussion_r29002804
  
    --- Diff: .travis.yml ---
    @@ -0,0 +1,7 @@
    +language: java
    +jdk:
    +  - openjdk6
    +  - openjdk7
    --- End diff --
    
    We can start with removing two things now and make new branch which targets two JDKs sometimes.
    Travis CI will test all PRs and branches, so it would be fine.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by HeartSaVioR <gi...@git.apache.org>.
Github user HeartSaVioR commented on the pull request:

    https://github.com/apache/storm/pull/486#issuecomment-96083831
  
    mvn with -fae makes sense since retrying tests may require at least collaborator to github repository so even committers are not authorized to retry tests.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by HeartSaVioR <gi...@git.apache.org>.
Github user HeartSaVioR commented on the pull request:

    https://github.com/apache/storm/pull/486#issuecomment-95734570
  
    Infra setup seems to be completed. I can see current PR's build status.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by knusbaum <gi...@git.apache.org>.
Github user knusbaum commented on a diff in the pull request:

    https://github.com/apache/storm/pull/486#discussion_r28996914
  
    --- Diff: dev-tools/travis/travis-build.sh ---
    @@ -0,0 +1,35 @@
    +#!/bin/bash
    +#  Licensed under the Apache License, Version 2.0 (the "License");
    +#  you may not use this file except in compliance with the License.
    +#  You may obtain a copy of the License at
    +#
    +#    http://www.apache.org/licenses/LICENSE-2.0
    +#
    +#  Unless required by applicable law or agreed to in writing, software
    +#  distributed under the License is distributed on an "AS IS" BASIS,
    +#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +#  See the License for the specific language governing permissions and
    +#  limitations under the License.
    +
    +STORM_SRC_ROOT_DIR=$1
    +
    +TRAVIS_SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
    +
    +cd ${STORM_SRC_ROOT_DIR}
    +
    +# Travis CI doesn't allow stdout bigger than 4M, so we have to reduce log while running tests
    +export LOG_LEVEL=WARN
    +# We should concern that Travis CI could be very slow cause it uses VM
    +export export STORM_TEST_TIMEOUT_MS=100000
    --- End diff --
    
    Double export?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by HeartSaVioR <gi...@git.apache.org>.
Github user HeartSaVioR commented on the pull request:

    https://github.com/apache/storm/pull/486#issuecomment-95721463
  
    Last build is successful except multilang tests.
    https://travis-ci.org/HeartSaVioR/storm/builds/59788403


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by revans2 <gi...@git.apache.org>.
Github user revans2 commented on the pull request:

    https://github.com/apache/storm/pull/486#issuecomment-96680987
  
    OK I am +1 for merging this in.  We can adjust things as with error reporting and logging as time goes on.
    
    But I would like others opinions on this too.  @d2r @knusbaum @ptgoetz or any others do you have an opinion on merging this in?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by revans2 <gi...@git.apache.org>.
Github user revans2 commented on the pull request:

    https://github.com/apache/storm/pull/486#issuecomment-95938335
  
    @HeartSaVioR great to hear that the setup is complete.  I'm not sure if we want to merge this in as is, knowing that the majority of test cases will fail, or if we want to wait for the tests to pass more regularly.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by HeartSaVioR <gi...@git.apache.org>.
Github user HeartSaVioR commented on the pull request:

    https://github.com/apache/storm/pull/486#issuecomment-95720834
  
    Mailed to Travis CI support to how can I get python, ruby, nodejs installed.
    If we really need to install these manually, I'll lend a debug VM from Travis CI.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/storm/pull/486


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by revans2 <gi...@git.apache.org>.
Github user revans2 commented on a diff in the pull request:

    https://github.com/apache/storm/pull/486#discussion_r28995728
  
    --- Diff: dev-tools/travis/travis-build.sh ---
    @@ -0,0 +1,35 @@
    +#!/bin/bash
    +#  Licensed under the Apache License, Version 2.0 (the "License");
    +#  you may not use this file except in compliance with the License.
    +#  You may obtain a copy of the License at
    +#
    +#    http://www.apache.org/licenses/LICENSE-2.0
    +#
    +#  Unless required by applicable law or agreed to in writing, software
    +#  distributed under the License is distributed on an "AS IS" BASIS,
    +#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +#  See the License for the specific language governing permissions and
    +#  limitations under the License.
    +
    +STORM_SRC_ROOT_DIR=$1
    +
    +TRAVIS_SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
    +
    +cd ${STORM_SRC_ROOT_DIR}
    +
    +# Travis CI doesn't allow stdout bigger than 4M, so we have to reduce log while running tests
    +export LOG_LEVEL=WARN
    +# We should concern that Travis CI could be very slow cause it uses VM
    +export export STORM_TEST_TIMEOUT_MS=100000
    +
    +mvn clean test
    --- End diff --
    
    After some new changes went in around packaging shell dependencies this need to be changed to 
    ```mvn clean package```
    or maven gets angry about unpacking something that was not already packaged


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by HeartSaVioR <gi...@git.apache.org>.
Github user HeartSaVioR commented on the pull request:

    https://github.com/apache/storm/pull/486#issuecomment-96090760
  
    Seems like multilang tests cannot verify it runs properly after initialized. 
    NoOutputException has raised at Travis tests all the time but test-reports doesn't have fail or error.
    
    https://travis-ci.org/HeartSaVioR/storm/jobs/59953593


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by HeartSaVioR <gi...@git.apache.org>.
Github user HeartSaVioR commented on the pull request:

    https://github.com/apache/storm/pull/486#issuecomment-95941524
  
    @revans2 
    I'm trying to resolve multilang tests, so I'll let you know.
    Regarding random failure, IMO we already addressed these to JIRA issue, and it's better to expose instead of hiding so we all know tests issue and will try to resolve.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by revans2 <gi...@git.apache.org>.
Github user revans2 commented on a diff in the pull request:

    https://github.com/apache/storm/pull/486#discussion_r28999818
  
    --- Diff: dev-tools/travis/travis-build.sh ---
    @@ -0,0 +1,35 @@
    +#!/bin/bash
    +#  Licensed under the Apache License, Version 2.0 (the "License");
    +#  you may not use this file except in compliance with the License.
    +#  You may obtain a copy of the License at
    +#
    +#    http://www.apache.org/licenses/LICENSE-2.0
    +#
    +#  Unless required by applicable law or agreed to in writing, software
    +#  distributed under the License is distributed on an "AS IS" BASIS,
    +#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +#  See the License for the specific language governing permissions and
    +#  limitations under the License.
    +
    +STORM_SRC_ROOT_DIR=$1
    +
    +TRAVIS_SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
    +
    +cd ${STORM_SRC_ROOT_DIR}
    +
    +# Travis CI doesn't allow stdout bigger than 4M, so we have to reduce log while running tests
    +export LOG_LEVEL=WARN
    +# We should concern that Travis CI could be very slow cause it uses VM
    +export export STORM_TEST_TIMEOUT_MS=100000
    +
    +mvn clean test
    --- End diff --
    
    Actually I was wrong.  travis-ci runs mvn clean install -DskipTests before building, so we probably just want to run ```mvn test``` and skip the clean.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by HeartSaVioR <gi...@git.apache.org>.
Github user HeartSaVioR commented on the pull request:

    https://github.com/apache/storm/pull/486#issuecomment-90273015
  
    @revans2 
    Could you take a look? 
    We were talking about adopting Travis CI and I feel you would like this, and there're no hurdle left (except Apache Infra)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by HeartSaVioR <gi...@git.apache.org>.
Github user HeartSaVioR commented on the pull request:

    https://github.com/apache/storm/pull/486#issuecomment-96102989
  
    Please note that ```mvn with -fae``` still ban external modules to test when storm-core failed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by revans2 <gi...@git.apache.org>.
Github user revans2 commented on a diff in the pull request:

    https://github.com/apache/storm/pull/486#discussion_r29002272
  
    --- Diff: .travis.yml ---
    @@ -0,0 +1,7 @@
    +language: java
    +jdk:
    +  - openjdk6
    +  - openjdk7
    --- End diff --
    
    Both openjdk6 and openjdk7 seem to be failing all the time.
    
    https://travis-ci.org/revans2/incubator-storm/jobs/59783142
    
    This looks like a bug in openjdk and glibc combining together.  We may not want to test with them if it is not something that we cannot fix.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by revans2 <gi...@git.apache.org>.
Github user revans2 commented on the pull request:

    https://github.com/apache/storm/pull/486#issuecomment-95945759
  
    Can we try and do something like 
    
    ```
    mvn test -fae
    BUILD_RET_VAL=$?
    ```
    
    or even better not fail ever, but check the output files for failures. I tend to use the following but you could update your script to do something similar.
    
    ```
    mvn test -Pnative -fn
    echo "Errors or Failures:"
    egrep -il '<fail|<error' ../*/target/test-reports/*.xml | xargs -I '{}' bash -c "echo -n '{}':' '; egrep -ic '<fail|<error' '{}'"
    egrep -iq '<fail|<error' ../*/target/test-reports/*.xml 
    BUILD_RET_VAL=$? 
    ```
    
    It doesn't print out the full error stack traces, but it does capture any failures


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by HeartSaVioR <gi...@git.apache.org>.
Github user HeartSaVioR commented on the pull request:

    https://github.com/apache/storm/pull/486#issuecomment-95716644
  
    @revans2 
    About multilang, I missed due to not failing tests. We may like to make multilang tests more reliable.
    I'll find a reason about what dependencies are missing, and find a way to install such things.
    About test failures, we can control STORM_TEST_TIMEOUT_MS to respect slow box, but maybe some tests are still needs fast (maybe not very slow) machine.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by HeartSaVioR <gi...@git.apache.org>.
Github user HeartSaVioR commented on a diff in the pull request:

    https://github.com/apache/storm/pull/486#discussion_r29001777
  
    --- Diff: dev-tools/travis/travis-build.sh ---
    @@ -0,0 +1,35 @@
    +#!/bin/bash
    +#  Licensed under the Apache License, Version 2.0 (the "License");
    +#  you may not use this file except in compliance with the License.
    +#  You may obtain a copy of the License at
    +#
    +#    http://www.apache.org/licenses/LICENSE-2.0
    +#
    +#  Unless required by applicable law or agreed to in writing, software
    +#  distributed under the License is distributed on an "AS IS" BASIS,
    +#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +#  See the License for the specific language governing permissions and
    +#  limitations under the License.
    +
    +STORM_SRC_ROOT_DIR=$1
    +
    +TRAVIS_SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
    +
    +cd ${STORM_SRC_ROOT_DIR}
    +
    +# Travis CI doesn't allow stdout bigger than 4M, so we have to reduce log while running tests
    +export LOG_LEVEL=WARN
    +# We should concern that Travis CI could be very slow cause it uses VM
    +export export STORM_TEST_TIMEOUT_MS=100000
    --- End diff --
    
    Thanks for finding! I'll fix it.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by revans2 <gi...@git.apache.org>.
Github user revans2 commented on the pull request:

    https://github.com/apache/storm/pull/486#issuecomment-95710637
  
    I cloned your changes and have been playing around with them.  For me the test all fail before reaching the clojure test.
    
    https://travis-ci.org/revans2/incubator-storm/jobs/59781670
    
    I think @kishorvpatil is looking into the test failures.  I don't see them on my box, so I think it has something to do with how fast the box is.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by HeartSaVioR <gi...@git.apache.org>.
Github user HeartSaVioR commented on the pull request:

    https://github.com/apache/storm/pull/486#issuecomment-86739674
  
    Applied first on my forked repo: https://travis-ci.org/HeartSaVioR/storm/jobs/56021892
    
    Could any committers help requesting set up Travis CI to Apache Infra?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by HeartSaVioR <gi...@git.apache.org>.
Github user HeartSaVioR commented on the pull request:

    https://github.com/apache/storm/pull/486#issuecomment-96094057
  
    If we have file "a" containing "abc"...
    
    > egrep -il 'abc' a | xargs -I '{}' bash -c "echo -n '{}':' '; egrep -ic 'abc' '{}'"
    a: 1
    > echo $?
    0
    > egrep -il 'fg' a | xargs -I '{}' bash -c "echo -n '{}':' '; egrep -ic 'fg' '{}'"
    > echo $?
    0
    
    It could capture count of string matching patterns in files, but it shouldn't be used to retval.
    
    Note: I've tested it with OSX, with zsh.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by HeartSaVioR <gi...@git.apache.org>.
Github user HeartSaVioR commented on the pull request:

    https://github.com/apache/storm/pull/486#issuecomment-96102788
  
    I'm about to be sure that we're better to introduce Travis CI now though some digging points still exist.
    Cause it just catches storm-eventhubs build issue (https://issues.apache.org/jira/browse/STORM-800) automatically.
    https://travis-ci.org/apache/storm/builds/59957899


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] storm pull request: STORM-704 Apply Travis CI to Apache Storm Proj...

Posted by HeartSaVioR <gi...@git.apache.org>.
Github user HeartSaVioR commented on the pull request:

    https://github.com/apache/storm/pull/486#issuecomment-96080554
  
    @revans2 
    Thanks! I'll try it.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---