You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by felixcheung <gi...@git.apache.org> on 2016/02/19 03:55:46 UTC

[GitHub] incubator-zeppelin pull request: [WIP] Get travis to retry downloa...

GitHub user felixcheung opened a pull request:

    https://github.com/apache/incubator-zeppelin/pull/727

    [WIP] Get travis to retry download of Spark release

    ### What is this PR for?
    Refactor download and use travis' builtin mechanism to retry on failure - hopefully it will then hit a different apache mirror; this should mitigate the intermitted download failures that result in test failures
    
    ### What type of PR is it?
    Improvement
    
    ### Todos
    * [x] - Separate download script
    * [x] - Travis to retry download step
    * [x] - Add timeout to kill download if not complete in 5 min (need to tune this)
    * [x] - Add timer to log how long download takes
    
    ### Is there a relevant Jira issue?
    N/A
    
    ### How should this be tested?
    Travis
    
    ### Screenshots (if appropriate)
    N/A
    
    ### Questions:
    * Does the licenses files need update? No
    * Is there breaking changes for older versions? No
    * Does this needs documentation? No

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

    $ git pull https://github.com/felixcheung/incubator-zeppelin retrydownload

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

    https://github.com/apache/incubator-zeppelin/pull/727.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 #727
    
----
commit baf73a30bbb64b05d4ff37c4e388a9e87b0475a1
Author: Felix Cheung <fe...@hotmail.com>
Date:   2016-02-12T04:46:20Z

    separate download, travis to retry download

commit e9b22722799b85aea9f8d451bfb1c7aa3afdcb80
Author: Felix Cheung <fe...@hotmail.com>
Date:   2016-02-12T22:42:24Z

    change timeout value

commit 1e9e64296bb7c6c2455ecf068ab7c192c811a62e
Author: Felix Cheung <fe...@hotmail.com>
Date:   2016-02-14T05:01:11Z

    fix version check

----


---
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] incubator-zeppelin pull request: Get travis to retry download of S...

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

    https://github.com/apache/incubator-zeppelin/pull/727


---
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] incubator-zeppelin pull request: [WIP] Get travis to retry downloa...

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

    https://github.com/apache/incubator-zeppelin/pull/727#issuecomment-186383703
  
    https://s3.amazonaws.com/archive.travis-ci.org/jobs/110306654/log.txt
    it retried 3 times - 2x timeout after 5 min, 1x partial/corrupted download.


---
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] incubator-zeppelin pull request: Get travis to retry download of S...

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

    https://github.com/apache/incubator-zeppelin/pull/727


---
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] incubator-zeppelin pull request: Get travis to retry download of S...

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

    https://github.com/apache/incubator-zeppelin/pull/727#issuecomment-187510015
  
    more download errors:
    https://s3.amazonaws.com/archive.travis-ci.org/jobs/110955308/log.txt
    
    I suspect we should travis_retry build as well - they could fail with network/download errors? eg. https://s3.amazonaws.com/archive.travis-ci.org/jobs/111070007/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] incubator-zeppelin pull request: [WIP] Get travis to retry downloa...

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

    https://github.com/apache/incubator-zeppelin/pull/727#issuecomment-186431206
  
    It passed.  I'm going trigger CI a few more times.


---
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] incubator-zeppelin pull request: Get travis to retry download of S...

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

    https://github.com/apache/incubator-zeppelin/pull/727#issuecomment-186735968
  
    :+1: 


---
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] incubator-zeppelin pull request: [WIP] Get travis to retry downloa...

Posted by felixcheung <gi...@git.apache.org>.
GitHub user felixcheung reopened a pull request:

    https://github.com/apache/incubator-zeppelin/pull/727

    [WIP] Get travis to retry download of Spark release

    ### What is this PR for?
    Refactor download and use travis' builtin mechanism to retry on failure - hopefully it will then hit a different apache mirror; this should mitigate the intermitted download failures that result in test failures
    
    ### What type of PR is it?
    Improvement
    
    ### Todos
    * [x] - Separate download script
    * [x] - Travis to retry download step
    * [x] - Add timeout to kill download if not complete in 5 min (need to tune this)
    * [x] - Add timer to log how long download takes
    
    ### Is there a relevant Jira issue?
    N/A
    
    ### How should this be tested?
    Travis
    
    ### Screenshots (if appropriate)
    N/A
    
    ### Questions:
    * Does the licenses files need update? No
    * Is there breaking changes for older versions? No
    * Does this needs documentation? No

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

    $ git pull https://github.com/felixcheung/incubator-zeppelin retrydownload

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

    https://github.com/apache/incubator-zeppelin/pull/727.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 #727
    
----
commit baf73a30bbb64b05d4ff37c4e388a9e87b0475a1
Author: Felix Cheung <fe...@hotmail.com>
Date:   2016-02-12T04:46:20Z

    separate download, travis to retry download

commit e9b22722799b85aea9f8d451bfb1c7aa3afdcb80
Author: Felix Cheung <fe...@hotmail.com>
Date:   2016-02-12T22:42:24Z

    change timeout value

commit 1e9e64296bb7c6c2455ecf068ab7c192c811a62e
Author: Felix Cheung <fe...@hotmail.com>
Date:   2016-02-14T05:01:11Z

    fix version check

commit 44ac10f2159902e507dcad52af2e88ff73752682
Author: Felix Cheung <fe...@hotmail.com>
Date:   2016-02-19T03:07:01Z

    change permission

commit 653c5bf9321468f6994d5c001ede3a8710dfe2a4
Author: Felix Cheung <fe...@hotmail.com>
Date:   2016-02-19T05:34:36Z

    fix start spark script

commit 5bfebea4b195c4ae63348cab67e6afa8ee930bb0
Author: Felix Cheung <fe...@hotmail.com>
Date:   2016-02-19T20:10:26Z

    up timeout duration

----


---
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] incubator-zeppelin pull request: Get travis to retry download of S...

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

    https://github.com/apache/incubator-zeppelin/pull/727#issuecomment-187510088
  
    Merging this then since it seems to help..


---
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] incubator-zeppelin pull request: [WIP] Get travis to retry downloa...

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

    https://github.com/apache/incubator-zeppelin/pull/727#issuecomment-186424052
  
    Change looks good to me!


---
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] incubator-zeppelin pull request: Get travis to retry download of S...

Posted by felixcheung <gi...@git.apache.org>.
GitHub user felixcheung reopened a pull request:

    https://github.com/apache/incubator-zeppelin/pull/727

    Get travis to retry download of Spark release

    ### What is this PR for?
    Refactor download and use travis' builtin mechanism to retry on failure - hopefully it will then hit a different apache mirror; this should mitigate the intermitted download failures that result in test failures
    
    ### What type of PR is it?
    Improvement
    
    ### Todos
    * [x] - Separate download script
    * [x] - Travis to retry download step
    * [x] - Add timeout to kill download if not complete in 5 min (need to tune this)
    * [x] - Add timer to log how long download takes
    
    ### Is there a relevant Jira issue?
    N/A
    
    ### How should this be tested?
    Travis
    
    ### Screenshots (if appropriate)
    N/A
    
    ### Questions:
    * Does the licenses files need update? No
    * Is there breaking changes for older versions? No
    * Does this needs documentation? No

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

    $ git pull https://github.com/felixcheung/incubator-zeppelin retrydownload

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

    https://github.com/apache/incubator-zeppelin/pull/727.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 #727
    
----
commit baf73a30bbb64b05d4ff37c4e388a9e87b0475a1
Author: Felix Cheung <fe...@hotmail.com>
Date:   2016-02-12T04:46:20Z

    separate download, travis to retry download

commit e9b22722799b85aea9f8d451bfb1c7aa3afdcb80
Author: Felix Cheung <fe...@hotmail.com>
Date:   2016-02-12T22:42:24Z

    change timeout value

commit 1e9e64296bb7c6c2455ecf068ab7c192c811a62e
Author: Felix Cheung <fe...@hotmail.com>
Date:   2016-02-14T05:01:11Z

    fix version check

commit 44ac10f2159902e507dcad52af2e88ff73752682
Author: Felix Cheung <fe...@hotmail.com>
Date:   2016-02-19T03:07:01Z

    change permission

commit 653c5bf9321468f6994d5c001ede3a8710dfe2a4
Author: Felix Cheung <fe...@hotmail.com>
Date:   2016-02-19T05:34:36Z

    fix start spark script

commit 5bfebea4b195c4ae63348cab67e6afa8ee930bb0
Author: Felix Cheung <fe...@hotmail.com>
Date:   2016-02-19T20:10:26Z

    up timeout duration

----


---
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] incubator-zeppelin pull request: [WIP] Get travis to retry downloa...

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

    https://github.com/apache/incubator-zeppelin/pull/727


---
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] incubator-zeppelin pull request: Get travis to retry download of S...

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

    https://github.com/apache/incubator-zeppelin/pull/727#issuecomment-186503335
  
    Everything still passing, download time has been super fast (like 4 sec) I will hold and retry on Monday during the day.


---
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] incubator-zeppelin pull request: Get travis to retry download of S...

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

    https://github.com/apache/incubator-zeppelin/pull/727#issuecomment-189016612
  
    Maybe pre-caching is the only way to make this more stable.. I have seen more than a few times download fails even after 3 tries either from timing out or partial/corrupted file
    
    ```
    +tar zxf spark-1.4.1-bin-hadoop2.3.tgz
    
    gzip: stdin: unexpected end of file
    tar: Unexpected EOF in archive
    tar: Unexpected EOF in archive
    tar: Error is not recoverable: exiting now
    
    The command "./testing/downloadSpark.sh 1.4.1 2.3" failed 3 times.
    ```
    https://s3.amazonaws.com/archive.travis-ci.org/jobs/111662284/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.
---