[ 
https://issues.apache.org/jira/browse/HDDS-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16918037#comment-16918037
 ] 

Arpit Agarwal edited comment on HDDS-1554 at 8/28/19 7:44 PM:
--------------------------------------------------------------

Thanks for the updated patch [~eyang]. It looks like the tests are still 
getting skipped.
{code:java}
$ mvn -T 1C clean install -DskipTests=true -Pdist -Dtar -DskipShade -am -pl 
:hadoop-ozone-dist -Pdocker-build -Ddocker.image=apache/ozone:0.5.0-SNAPSHOT

<Build succeeded>

$ cd hadoop-ozone/fault-injection-test/disk-tests/
$ mvn test -Pit -Ddocker.image=apache/ozone:0.5.0-SNAPSHOT

...

[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ 
hadoop-ozone-read-write-tests ---
[INFO] Compiling 2 source files to 
/Users/agarwal/src/hadoop/hadoop-ozone/fault-injection-test/disk-tests/read-write-test/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ 
hadoop-ozone-read-write-tests ---
[INFO] Tests are skipped.
 {code}


was (Author: arpitagarwal):
Thanks for the updated patch [~eyang]. It looks like the tests are still 
getting skipped.
{code:java}
$ mvn -T 1C clean install -DskipTests=true -Pdist -Dtar -DskipShade -am -pl 
:hadoop-ozone-dist -Pdocker-build -Ddocker.image=apache/ozone:0.5.0-SNAPSHOT

<Build succeeded>

$ mvn test -Pit -Ddocker.image=apache/ozone:0.5.0-SNAPSHOT

...

[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ 
hadoop-ozone-read-write-tests ---
[INFO] Compiling 2 source files to 
/Users/agarwal/src/hadoop/hadoop-ozone/fault-injection-test/disk-tests/read-write-test/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ 
hadoop-ozone-read-write-tests ---
[INFO] Tests are skipped.
 {code}

> Create disk tests for fault injection test
> ------------------------------------------
>
>                 Key: HDDS-1554
>                 URL: https://issues.apache.org/jira/browse/HDDS-1554
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>          Components: build
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HDDS-1554.001.patch, HDDS-1554.002.patch, 
> HDDS-1554.003.patch, HDDS-1554.004.patch, HDDS-1554.005.patch, 
> HDDS-1554.006.patch, HDDS-1554.007.patch, HDDS-1554.008.patch, 
> HDDS-1554.009.patch, HDDS-1554.010.patch, HDDS-1554.011.patch, 
> HDDS-1554.012.patch, HDDS-1554.013.patch, HDDS-1554.014.patch
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The current plan for fault injection disk tests are:
>  # Scenario 1 - Read/Write test
>  ## Run docker-compose to bring up a cluster
>  ## Initialize scm and om
>  ## Upload data to Ozone cluster
>  ## Verify data is correct
>  ## Shutdown cluster
>  # Scenario 2 - Read/Only test
>  ## Repeat Scenario 1
>  ## Mount data disk as read only
>  ## Try to write data to Ozone cluster
>  ## Validate error message is correct
>  ## Shutdown cluster
>  # Scenario 3 - Corruption test
>  ## Repeat Scenario 2
>  ## Shutdown cluster
>  ## Modify data disk data
>  ## Restart cluster
>  ## Validate error message for read from corrupted data
>  ## Validate error message for write to corrupted volume



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to