You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2020/07/22 08:04:34 UTC

[GitHub] [hadoop-ozone] adoroszlai opened a new pull request #1236: HDDS-4000. Split acceptance tests to reduce CI feedback time

adoroszlai opened a new pull request #1236:
URL: https://github.com/apache/hadoop-ozone/pull/1236


   ## What changes were proposed in this pull request?o
   
   Reduce total CI time:
   
   1. Split acceptance tests into 3 groups executed in parallel using GitHub Actions matrix build.  Groups are defined to have similar run times.  `misc` has several unrelated items, some of which can be moved to another group if it grows too long.
    * secure: 50m 36s
    * unsecure: 48m 23s
    * misc: 50m 6s
   2. Merge some integration test groups, both to make them similar length and to reduce the number of checks.  Currently some groups have much shorter run time.  Since `client` is the longest one, others can take more time, too.  New run times:
    * client: 54m 37s
    * filesystem-hdds: 43m 58s
    * ozone: 55m 37s
   3. Start integration checks earlier: do not wait for `build` check to finish.  Both acceptance and integration checks perform a full build anyway.  The only reason to wait was that if there is a compile error, we wanted to avoid spawning too many checks that fail for the same reason.  But compile error is the least frequent CI problem, checkstyle, rat and various test failures are much more common.  So being optimistic helps in the most common scenarios.  (Ideally we should cache the results of `build` for later stages.  Then we could both depend on it and avoid duplicate builds.)
   
   https://issues.apache.org/jira/browse/HDDS-4000
   
   ## How was this patch tested?
   
   https://github.com/adoroszlai/hadoop-ozone/runs/897297500


----------------------------------------------------------------
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org


[GitHub] [hadoop-ozone] elek commented on pull request #1236: HDDS-4000. Split acceptance tests to reduce CI feedback time

Posted by GitBox <gi...@apache.org>.
elek commented on pull request #1236:
URL: https://github.com/apache/hadoop-ozone/pull/1236#issuecomment-662369123


   Nice idea (and nice Jira number BTW ;-) ).
   
   I like this tagging system especially because it can support optional tests. For example, I can create some optional ..._test.sh files with specific tags (like `restart-tests`) which are excluded by default pr runs but run by the daily builds.
   
   <brainstorming-mode on>
   
   It can be easy to forget adding `#suite:misc` to a new file. What do you think to support execution all the test files *without* suite tags. (--> misc is the default suite)?
   
   <brainstorming-mode off>
   


----------------------------------------------------------------
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org


[GitHub] [hadoop-ozone] codecov-commenter commented on pull request #1236: HDDS-4000. Split acceptance tests to reduce CI feedback time

Posted by GitBox <gi...@apache.org>.
codecov-commenter commented on pull request #1236:
URL: https://github.com/apache/hadoop-ozone/pull/1236#issuecomment-663530749


   # [Codecov](https://codecov.io/gh/apache/hadoop-ozone/pull/1236?src=pr&el=h1) Report
   > Merging [#1236](https://codecov.io/gh/apache/hadoop-ozone/pull/1236?src=pr&el=desc) into [master](https://codecov.io/gh/apache/hadoop-ozone/commit/a4f7e32b438a1ac74e23f70be3b24aac9a61e00c&el=desc) will **decrease** coverage by `0.05%`.
   > The diff coverage is `n/a`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/hadoop-ozone/pull/1236/graphs/tree.svg?width=650&height=150&src=pr&token=5YeeptJMby)](https://codecov.io/gh/apache/hadoop-ozone/pull/1236?src=pr&el=tree)
   
   ```diff
   @@             Coverage Diff              @@
   ##             master    #1236      +/-   ##
   ============================================
   - Coverage     73.73%   73.68%   -0.06%     
   + Complexity    10124    10113      -11     
   ============================================
     Files           974      974              
     Lines         50123    50123              
     Branches       4881     4881              
   ============================================
   - Hits          36958    36932      -26     
   - Misses        10835    10858      +23     
   - Partials       2330     2333       +3     
   ```
   
   
   | [Impacted Files](https://codecov.io/gh/apache/hadoop-ozone/pull/1236?src=pr&el=tree) | Coverage Δ | Complexity Δ | |
   |---|---|---|---|
   | [...e/hadoop/ozone/recon/tasks/OMUpdateEventBatch.java](https://codecov.io/gh/apache/hadoop-ozone/pull/1236/diff?src=pr&el=tree#diff-aGFkb29wLW96b25lL3JlY29uL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9oYWRvb3Avb3pvbmUvcmVjb24vdGFza3MvT01VcGRhdGVFdmVudEJhdGNoLmphdmE=) | `75.00% <0.00%> (-8.34%)` | `6.00% <0.00%> (-1.00%)` | |
   | [.../transport/server/ratis/ContainerStateMachine.java](https://codecov.io/gh/apache/hadoop-ozone/pull/1236/diff?src=pr&el=tree#diff-aGFkb29wLWhkZHMvY29udGFpbmVyLXNlcnZpY2Uvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2hhZG9vcC9vem9uZS9jb250YWluZXIvY29tbW9uL3RyYW5zcG9ydC9zZXJ2ZXIvcmF0aXMvQ29udGFpbmVyU3RhdGVNYWNoaW5lLmphdmE=) | `71.07% <0.00%> (-5.39%)` | `62.00% <0.00%> (-4.00%)` | |
   | [...ozone/container/ozoneimpl/ContainerController.java](https://codecov.io/gh/apache/hadoop-ozone/pull/1236/diff?src=pr&el=tree#diff-aGFkb29wLWhkZHMvY29udGFpbmVyLXNlcnZpY2Uvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2hhZG9vcC9vem9uZS9jb250YWluZXIvb3pvbmVpbXBsL0NvbnRhaW5lckNvbnRyb2xsZXIuamF2YQ==) | `63.15% <0.00%> (-5.27%)` | `11.00% <0.00%> (-1.00%)` | |
   | [.../apache/hadoop/ozone/protocolPB/OzonePBHelper.java](https://codecov.io/gh/apache/hadoop-ozone/pull/1236/diff?src=pr&el=tree#diff-aGFkb29wLW96b25lL2NvbW1vbi9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvaGFkb29wL296b25lL3Byb3RvY29sUEIvT3pvbmVQQkhlbHBlci5qYXZh) | `90.00% <0.00%> (-5.00%)` | `6.00% <0.00%> (-1.00%)` | |
   | [.../common/volume/RoundRobinVolumeChoosingPolicy.java](https://codecov.io/gh/apache/hadoop-ozone/pull/1236/diff?src=pr&el=tree#diff-aGFkb29wLWhkZHMvY29udGFpbmVyLXNlcnZpY2Uvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2hhZG9vcC9vem9uZS9jb250YWluZXIvY29tbW9uL3ZvbHVtZS9Sb3VuZFJvYmluVm9sdW1lQ2hvb3NpbmdQb2xpY3kuamF2YQ==) | `80.95% <0.00%> (-4.77%)` | `5.00% <0.00%> (-1.00%)` | |
   | [...e/commandhandler/CreatePipelineCommandHandler.java](https://codecov.io/gh/apache/hadoop-ozone/pull/1236/diff?src=pr&el=tree#diff-aGFkb29wLWhkZHMvY29udGFpbmVyLXNlcnZpY2Uvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2hhZG9vcC9vem9uZS9jb250YWluZXIvY29tbW9uL3N0YXRlbWFjaGluZS9jb21tYW5kaGFuZGxlci9DcmVhdGVQaXBlbGluZUNvbW1hbmRIYW5kbGVyLmphdmE=) | `87.23% <0.00%> (-4.26%)` | `8.00% <0.00%> (ø%)` | |
   | [...iner/common/transport/server/ratis/CSMMetrics.java](https://codecov.io/gh/apache/hadoop-ozone/pull/1236/diff?src=pr&el=tree#diff-aGFkb29wLWhkZHMvY29udGFpbmVyLXNlcnZpY2Uvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2hhZG9vcC9vem9uZS9jb250YWluZXIvY29tbW9uL3RyYW5zcG9ydC9zZXJ2ZXIvcmF0aXMvQ1NNTWV0cmljcy5qYXZh) | `70.76% <0.00%> (-3.08%)` | `20.00% <0.00%> (-1.00%)` | |
   | [.../statemachine/background/BlockDeletingService.java](https://codecov.io/gh/apache/hadoop-ozone/pull/1236/diff?src=pr&el=tree#diff-aGFkb29wLWhkZHMvY29udGFpbmVyLXNlcnZpY2Uvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2hhZG9vcC9vem9uZS9jb250YWluZXIva2V5dmFsdWUvc3RhdGVtYWNoaW5lL2JhY2tncm91bmQvQmxvY2tEZWxldGluZ1NlcnZpY2UuamF2YQ==) | `75.73% <0.00%> (-1.48%)` | `12.00% <0.00%> (-1.00%)` | |
   | [...apache/hadoop/ozone/client/io/KeyOutputStream.java](https://codecov.io/gh/apache/hadoop-ozone/pull/1236/diff?src=pr&el=tree#diff-aGFkb29wLW96b25lL2NsaWVudC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvaGFkb29wL296b25lL2NsaWVudC9pby9LZXlPdXRwdXRTdHJlYW0uamF2YQ==) | `79.58% <0.00%> (-1.25%)` | `46.00% <0.00%> (-2.00%)` | |
   | [...oop/ozone/recon/tasks/ReconTaskControllerImpl.java](https://codecov.io/gh/apache/hadoop-ozone/pull/1236/diff?src=pr&el=tree#diff-aGFkb29wLW96b25lL3JlY29uL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9oYWRvb3Avb3pvbmUvcmVjb24vdGFza3MvUmVjb25UYXNrQ29udHJvbGxlckltcGwuamF2YQ==) | `92.38% <0.00%> (-0.96%)` | `29.00% <0.00%> (-1.00%)` | |
   | ... and [9 more](https://codecov.io/gh/apache/hadoop-ozone/pull/1236/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/hadoop-ozone/pull/1236?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/hadoop-ozone/pull/1236?src=pr&el=footer). Last update [a4f7e32...d4e13e1](https://codecov.io/gh/apache/hadoop-ozone/pull/1236?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


----------------------------------------------------------------
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org


[GitHub] [hadoop-ozone] cxorm commented on a change in pull request #1236: HDDS-4000. Split acceptance tests to reduce CI feedback time

Posted by GitBox <gi...@apache.org>.
cxorm commented on a change in pull request #1236:
URL: https://github.com/apache/hadoop-ozone/pull/1236#discussion_r459284202



##########
File path: hadoop-ozone/dist/src/main/compose/ozonesecure-om-ha/test.sh
##########
@@ -15,6 +15,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+

Review comment:
       Seems we could not add this line here :wink: 




----------------------------------------------------------------
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org


[GitHub] [hadoop-ozone] adoroszlai commented on pull request #1236: HDDS-4000. Split acceptance tests to reduce CI feedback time

Posted by GitBox <gi...@apache.org>.
adoroszlai commented on pull request #1236:
URL: https://github.com/apache/hadoop-ozone/pull/1236#issuecomment-662381584


   > I like this tagging system especially because it can support optional tests. For example, I can create some optional ..._test.sh files with specific tags (like `restart-tests`) which are excluded by default pr runs but run by the daily builds.
   
   Note that they still need to be named exactly `test.sh`.
   
   > It can be easy to forget adding `#suite:misc` to a new file.
   
   Who writes such files from scratch? :)
   
   > What do you think to support execution all the test files _without_ suite tags. (--> misc is the default suite)?
   
   Agree, this is more safe.


----------------------------------------------------------------
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org


[GitHub] [hadoop-ozone] elek merged pull request #1236: HDDS-4000. Split acceptance tests to reduce CI feedback time

Posted by GitBox <gi...@apache.org>.
elek merged pull request #1236:
URL: https://github.com/apache/hadoop-ozone/pull/1236


   


----------------------------------------------------------------
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org