You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2021/08/17 06:33:06 UTC

[GitHub] [netbeans] YunLemon opened a new pull request #3110: Improve Travis CI build Performance

YunLemon opened a new pull request #3110:
URL: https://github.com/apache/netbeans/pull/3110


   
   Does travis_retry really solve the build issues? According to the data in paper [An empirical study of the long duration of continuous integration builds](https://dl.acm.org/doi/10.1007/s10664-019-09695-9), travis_retry can only solve 3% of the build failures. And it may cause unstable build and increase build time.
   
   According to [Build times out because no output was received](https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received), we should carefully use travis_wait, as it may make the build unstable and extend the build time.
   
   =====================
   If there are any inappropriate modifications in this PR, please give me a reply and I will change them.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] YunLemon commented on pull request #3110: Improve Travis CI build Performance

Posted by GitBox <gi...@apache.org>.
YunLemon commented on pull request #3110:
URL: https://github.com/apache/netbeans/pull/3110#issuecomment-900732525


   Can the root causes of these problems be solved? 
   `travis_retry` and  `travis_wait` means the result of the command is uncertain. However, the build process has to be deterministic. Flaky behavior, e.g., tests that sometimes fail, should be avoided, because this causes maintenance issues. Addressing this issue through retries after failures might not only hide the underlying problem, but makes issues also harder to debug when they only occur sometimes.
   And a lot of time will be wasted if the command fails multiple times.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] YunLemon commented on pull request #3110: Improve Travis CI build Performance

Posted by GitBox <gi...@apache.org>.
YunLemon commented on pull request #3110:
URL: https://github.com/apache/netbeans/pull/3110#issuecomment-900732525


   Can the root causes of these problems be solved? 
   `travis_retry` and  `travis_wait` means the result of the command is uncertain. However, the build process has to be deterministic. Flaky behavior, e.g., tests that sometimes fail, should be avoided, because this causes maintenance issues. Addressing this issue through retries after failures might not only hide the underlying problem, but makes issues also harder to debug when they only occur sometimes.
   And a lot of time will be wasted if the command fails multiple times.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] matthiasblaesing commented on pull request #3110: Improve Travis CI build Performance

Posted by GitBox <gi...@apache.org>.
matthiasblaesing commented on pull request #3110:
URL: https://github.com/apache/netbeans/pull/3110#issuecomment-900409323


   @YunLemon the changes were added because there were problems. Do you have prove, that your changes don't make the situation worse?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] matthiasblaesing commented on pull request #3110: Improve Travis CI build Performance

Posted by GitBox <gi...@apache.org>.
matthiasblaesing commented on pull request #3110:
URL: https://github.com/apache/netbeans/pull/3110#issuecomment-900409323


   @YunLemon the changes were added because there were problems. Do you have prove, that your changes don't make the situation worse?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists