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

ASF GitHub Bot commented on HADOOP-19824:
-----------------------------------------

pan3793 commented on PR #8344:
URL: https://github.com/apache/hadoop/pull/8344#issuecomment-4095694917

   LGTM, Jenkins failure should be irrelevant.
   
   ```
   22:16:26  /opt/maven/bin/mvn --batch-mode 
-Dmaven.repo.local=/home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-8344/yetus-m2/hadoop-trunk-patch-1
 -Dsurefire.rerunFailingTestsCount=2 -Pparallel-tests -P!shelltest -Pnative 
-Drequire.fuse -Drequire.openssl -Drequire.snappy -Drequire.valgrind 
-Drequire.zstd -Drequire.test.libhadoop -Pyarn-ui clean test -fae > 
/home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-8344/ubuntu-noble/out/patch-unit-hadoop-mapreduce-project.txt
 2>&1
   00:22:46  Cannot contact hadoop21: hudson.remoting.ChannelClosedException: 
Channel "hudson.remoting.Channel@152a0a34:hadoop21": Remote call on hadoop21 
failed. The channel is closing down or has closed down
   00:40:08  ERROR: Caught signal TERM. Killing docker container
   ```




> Build failure: Could not find resource '${repo.root}' ...
> ---------------------------------------------------------
>
>                 Key: HADOOP-19824
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19824
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: hadoop-common
>    Affects Versions: 3.5.0
>            Reporter: Aaron Fabbri
>            Assignee: Aaron Fabbri
>            Priority: Minor
>              Labels: pull-request-available
>
> When trying to run `spotbugs` target on a submodule from the repo root, I'm 
> getting a failure to resolve ${repo.root}. Reproduction:
>  
> {{mvnd clean}}
> {{mvnd clean compile -pl hadoop-tools/hadoop-aws -am}}
> {{mvnd -pl hadoop-tools/hadoop-aws -am  spotbugs:spotbugs}}
> {{...}}
> {{Could not find resource 
> '${repo.root}/dev-support/findbugs-exclude-global.xml'}}
> Am I expected to `cd` into the submodule folder first? Do we really need this 
> `directory-maven-plugin` which is supposed to compute `repo.root` for us? Why 
> not just use relative paths (e.g. ../../)?  I'm not very skilled with maven 
> but this seems brittle.
> This repo.root thing was introduced for global excludes as part of a spotbugs 
> upgrade in HADOOP-19731.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to