Skip to content

Conversation

@elek
Copy link
Member

@elek elek commented Jul 27, 2020

What changes were proposed in this pull request?

Acceptance test reports of today uses a generated name for each of the executed robot tests.

Instead of using a flat structure with generated name it seems to be better to use a hierarchical structure which represents the directory structure.

before:

image

after:

image

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-4033

How was this patch tested?

Running CI on my fork:

https://github.com/elek/hadoop-ozone/runs/911471446?check_suite_focus=true

See the attached artifacts

@elek elek changed the title HDDS-4033 Make the acceptance test reports hierarchical HDDS-4033. Make the acceptance test reports hierarchical Jul 27, 2020
@codecov-commenter
Copy link

Codecov Report

Merging #1263 into master will decrease coverage by 0.07%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1263      +/-   ##
============================================
- Coverage     73.95%   73.88%   -0.08%     
+ Complexity    10171    10148      -23     
============================================
  Files           974      974              
  Lines         50187    50187              
  Branches       4892     4892              
============================================
- Hits          37115    37079      -36     
- Misses        10756    10767      +11     
- Partials       2316     2341      +25     
Impacted Files Coverage Δ Complexity Δ
...on/statemachine/commandhandler/CommandHandler.java 40.00% <0.00%> (-60.00%) 2.00% <0.00%> (-1.00%)
...hdds/scm/container/common/helpers/ExcludeList.java 78.26% <0.00%> (-21.74%) 17.00% <0.00%> (-5.00%)
...doop/ozone/om/exceptions/OMNotLeaderException.java 48.48% <0.00%> (-18.19%) 3.00% <0.00%> (-2.00%)
...hdds/scm/container/CloseContainerEventHandler.java 72.41% <0.00%> (-17.25%) 6.00% <0.00%> (ø%)
...ache/hadoop/ozone/om/codec/S3SecretValueCodec.java 90.90% <0.00%> (-9.10%) 3.00% <0.00%> (-1.00%)
...e/hadoop/ozone/recon/tasks/OMUpdateEventBatch.java 75.00% <0.00%> (-8.34%) 6.00% <0.00%> (-1.00%)
...p/ozone/security/OzoneDelegationTokenSelector.java 72.22% <0.00%> (-5.56%) 7.00% <0.00%> (-1.00%)
.../apache/hadoop/ozone/protocolPB/OzonePBHelper.java 90.00% <0.00%> (-5.00%) 6.00% <0.00%> (-1.00%)
...apache/hadoop/hdds/server/events/EventWatcher.java 77.77% <0.00%> (-4.17%) 14.00% <0.00%> (ø%)
...apache/hadoop/ozone/client/io/KeyOutputStream.java 78.33% <0.00%> (-2.50%) 44.00% <0.00%> (-4.00%)
... and 18 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 093f556...51f78ff. Read the comment docs.

Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @elek for this nice improvement.

Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @elek for refactoring find_tests. I found two issues in acceptance tests, and couple of necessary changes for the new bats check.

@adoroszlai adoroszlai merged commit 5837e86 into apache:master Jul 30, 2020
errose28 added a commit to errose28/ozone that referenced this pull request Jul 31, 2020
* master: (55 commits)
  HDDS-4052. Remove master/slave terminology from Ozone (apache#1281)
  HDDS-4047. OzoneManager met NPE exception while getServiceList (apache#1277)
  HDDS-3990. Test Kubernetes examples with acceptance tests (apache#1223)
  HDDS-4045. Add more ignore rules to the RAT ignore list (apache#1273)
  HDDS-3970. Enabling TestStorageContainerManager with all failures addressed (apache#1257)
  HDDS-4033. Make the acceptance test reports hierarchical (apache#1263)
  HDDS-3423. Enabling TestContainerReplicationEndToEnd and addressing failures (apache#1260)
  HDDS-4027. Suppress ERROR message when SCM attempt to create additional pipelines. (apache#1265)
  HDDS-4024. Avoid while loop too soon when exception happen (apache#1253)
  HDDS-3809. Make number of open containers on a datanode a function of no of volumes reported by it. (apache#1081)
  HDDS-4019. Show the storageDir while need init om or scm (apache#1248)
  HDDS-3511. Fix javadoc comment in OmMetadataManager (apache#1247)
  HDDS-4041. Ozone /conf endpoint triggers kerberos replay error when SPNEGO is enabled. (apache#1267)
  HDDS-4031. Run shell tests in CI (apache#1261)
  HDDS-4038. Eliminate GitHub check warnings (apache#1268)
  HDDS-4011. Update S3 related documentation. (apache#1245)
  HDDS-4030. Remember the selected columns and make the X-axis scrollable in recon datanodes UI (apache#1259)
  HDDS-4032. Run author check without docker (apache#1262)
  HDDS-4026. Dir rename failed when sets 'ozone.om.enable.filesystem.paths' to true (apache#1256)
  HDDS-4017. Acceptance check may run against wrong commit (apache#1249)
  ...
rakeshadr pushed a commit to rakeshadr/hadoop-ozone that referenced this pull request Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants