[ 
https://issues.apache.org/jira/browse/HADOOP-18093?focusedWorklogId=715340&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-715340
 ]

ASF GitHub Bot logged work on HADOOP-18093:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 25/Jan/22 22:08
            Start Date: 25/Jan/22 22:08
    Worklog Time Spent: 10m 
      Work Description: hadoop-yetus commented on pull request #3932:
URL: https://github.com/apache/hadoop/pull/3932#issuecomment-1021654982


   :broken_heart: **-1 overall**
   
   
   
   
   
   
   | Vote | Subsystem | Runtime |  Logfile | Comment |
   |:----:|----------:|--------:|:--------:|:-------:|
   | +0 :ok: |  reexec  |   9m  5s |  |  Docker mode activated.  |
   |||| _ Prechecks _ |
   | +1 :green_heart: |  dupname  |   0m  0s |  |  No case conflicting files 
found.  |
   | +0 :ok: |  codespell  |   0m  0s |  |  codespell was not available.  |
   | +1 :green_heart: |  @author  |   0m  0s |  |  The patch does not contain 
any @author tags.  |
   | +1 :green_heart: |  test4tests  |   0m  0s |  |  The patch appears to 
include 1 new or modified test files.  |
   |||| _ branch-3.1 Compile Tests _ |
   | -1 :x: |  mvninstall  |  27m 24s | 
[/branch-mvninstall-root.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3932/1/artifact/out/branch-mvninstall-root.txt)
 |  root in branch-3.1 failed.  |
   | -1 :x: |  compile  |   9m 26s | 
[/branch-compile-root.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3932/1/artifact/out/branch-compile-root.txt)
 |  root in branch-3.1 failed.  |
   | +1 :green_heart: |  checkstyle  |   0m 50s |  |  branch-3.1 passed  |
   | +1 :green_heart: |  mvnsite  |   1m 21s |  |  branch-3.1 passed  |
   | +1 :green_heart: |  javadoc  |   1m 13s |  |  branch-3.1 passed  |
   | -1 :x: |  spotbugs  |   2m  8s | 
[/branch-spotbugs-hadoop-common-project_hadoop-common-warnings.html](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3932/1/artifact/out/branch-spotbugs-hadoop-common-project_hadoop-common-warnings.html)
 |  hadoop-common-project/hadoop-common in branch-3.1 has 2 extant spotbugs 
warnings.  |
   | +1 :green_heart: |  shadedclient  |  14m 14s |  |  branch has no errors 
when building and testing our client artifacts.  |
   |||| _ Patch Compile Tests _ |
   | +1 :green_heart: |  mvninstall  |   0m 48s |  |  the patch passed  |
   | -1 :x: |  compile  |  12m 54s | 
[/patch-compile-root.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3932/1/artifact/out/patch-compile-root.txt)
 |  root in the patch failed.  |
   | -1 :x: |  javac  |  12m 54s | 
[/patch-compile-root.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3932/1/artifact/out/patch-compile-root.txt)
 |  root in the patch failed.  |
   | +1 :green_heart: |  blanks  |   0m  0s |  |  The patch has no blanks 
issues.  |
   | +1 :green_heart: |  checkstyle  |   0m 49s |  |  
hadoop-common-project/hadoop-common: The patch generated 0 new + 93 unchanged - 
1 fixed = 93 total (was 94)  |
   | +1 :green_heart: |  mvnsite  |   1m 19s |  |  the patch passed  |
   | +1 :green_heart: |  javadoc  |   1m  8s |  |  the patch passed  |
   | +1 :green_heart: |  spotbugs  |   2m 16s |  |  the patch passed  |
   | +1 :green_heart: |  shadedclient  |  14m 21s |  |  patch has no errors 
when building and testing our client artifacts.  |
   |||| _ Other Tests _ |
   | -1 :x: |  unit  |  15m 15s | 
[/patch-unit-hadoop-common-project_hadoop-common.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3932/1/artifact/out/patch-unit-hadoop-common-project_hadoop-common.txt)
 |  hadoop-common in the patch failed.  |
   | +1 :green_heart: |  asflicense  |   0m 51s |  |  The patch does not 
generate ASF License warnings.  |
   |  |   | 114m 49s |  |  |
   
   
   | Reason | Tests |
   |-------:|:------|
   | Failed junit tests | hadoop.fs.sftp.TestSFTPFileSystem |
   |   | hadoop.io.compress.snappy.TestSnappyCompressorDecompressor |
   |   | hadoop.io.compress.TestCompressorDecompressor |
   
   
   | Subsystem | Report/Notes |
   |----------:|:-------------|
   | Docker | ClientAPI=1.41 ServerAPI=1.41 base: 
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3932/1/artifact/out/Dockerfile
 |
   | GITHUB PR | https://github.com/apache/hadoop/pull/3932 |
   | Optional Tests | dupname asflicense compile javac javadoc mvninstall 
mvnsite unit shadedclient spotbugs checkstyle codespell |
   | uname | Linux 7412df3d7202 4.15.0-156-generic #163-Ubuntu SMP Thu Aug 19 
23:31:58 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux |
   | Build tool | maven |
   | Personality | dev-support/bin/hadoop.sh |
   | git revision | branch-3.1 / 71656ddbed7a31533b1b1a2f0e8fa4e566451708 |
   | Default Java | Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07 |
   |  Test Results | 
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3932/1/testReport/ |
   | Max. process+thread count | 1258 (vs. ulimit of 5500) |
   | modules | C: hadoop-common-project/hadoop-common U: 
hadoop-common-project/hadoop-common |
   | Console output | 
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3932/1/console |
   | versions | git=2.17.1 maven=3.6.0 spotbugs=4.2.2 |
   | Powered by | Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org |
   
   
   This message was automatically generated.
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 715340)
    Time Spent: 3h 20m  (was: 3h 10m)

> Better exception handling for testFileStatusOnMountLink() in 
> ViewFsBaseTest.java
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-18093
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18093
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Xing Lin
>            Assignee: Xing Lin
>            Priority: Trivial
>              Labels: pull-request-available
>             Fix For: 3.4.0
>
>          Time Spent: 3h 20m
>  Remaining Estimate: 0h
>
> The following exception handling code section in testFileStatusOnMountLink() 
>  
> {code:java}
>     try {
>       fcView.getFileStatus(new Path("/danglingLink"));
>       Assert.fail("Excepted a not found exception here");
>     } catch ( FileNotFoundException e) {
>       // as excepted
>     }{code}
> can be replaced with a single in the @Test 
> {code:java}
> @Test(expected = FileNotFoundException.class){code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to