I got the same error in Eclipse when I ran the test there, and by running that command that you did. But, when I run the test by itself, it only gets the error *sometimes*.
mvn clean package -Phadoop3 -Dtest=VfsClassLoaderTest I found a discussion online that led me down a rabbit hole looking at the Jetty dependency. It turns out Hadoop 2 (which Accumulo 1.10 still supports) still depends on the old Mortbay Jetty, but Hadoop 3.0.3 actually uses Eclipse Jetty 9.3, not the 9.2 we were using to avoid requiring Java 8. Since we now require Java 8 for 1.10, I think bumping to 9.3 will fix this issue with hadoop-minicluster and the Hadoop3 profile in the least disruptive way (will still need to run all tests using both profiles to be sure). https://github.com/apache/accumulo/pull/3280 (Also note that `-Psunny` constrains the ITs, not the unit tests, so using it with `package` is meaningless here. It would only be useful if you used `verify` instead of `package` to run ITs in addition to UTs) On Thu, Apr 6, 2023 at 1:48 PM Dave Marion <dmario...@gmail.com> wrote: > > `mvn -Dtimeout.factor=2 clean package -Psunny` works, but `mvn > -Dtimeout.factor=2 clean package -Psunny,hadoop3` fails with: > > [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: > 1.153 s <<< FAILURE! - in > org.apache.accumulo.start.classloader.vfs.providers.VfsClassLoaderTest > [ERROR] > org.apache.accumulo.start.classloader.vfs.providers.VfsClassLoaderTest > Time elapsed: 1.15 s <<< ERROR! > java.lang.NoSuchMethodError: 'boolean > org.eclipse.jetty.servlet.ServletMapping.containsPathSpec(java.lang.String)' > > On Thu, Apr 6, 2023 at 1:36 PM Dave Marion <dmario...@gmail.com> wrote: > > > `mvn -Dtimeout.factor=2 clean package` worked. Thanks! > > > > On Thu, Apr 6, 2023 at 1:19 PM Christopher <ctubb...@apache.org> wrote: > > > >> Might just be a coincidence. If it's still failing with a higher timeout, > >> I > >> can look into it. > >> > >> On Thu, Apr 6, 2023, 12:51 Dave Marion <dmario...@gmail.com> wrote: > >> > >> > I just thought it was odd that it was working in one place (git > >> workspace), > >> > but not from the source tarball. > >> > > >> > On Thu, Apr 6, 2023 at 12:48 PM Christopher <ctubb...@apache.org> > >> wrote: > >> > > >> > > Those are timeouts. The tests are passing in Jenkins. I suspect your > >> > > machine is a little slower, but would finish with more time. You can > >> set > >> > > -Dtimeout.factor=2 to try to work around it for a local build on a > >> > machine > >> > > with more constrained resources. I wouldn't be surprised if 1.10 tests > >> > were > >> > > a bit more flaky than newer branches, also, just because of test > >> > > improvements over time, but timeouts can happen for any of our > >> branches. > >> > So > >> > > overriding the arbitrary timeout by some factor can help. > >> > > > >> > > On Thu, Apr 6, 2023, 12:41 Dave Marion <dmario...@gmail.com> wrote: > >> > > > >> > > > Verified sha1 & md5 signatures > >> > > > Verified signing key > >> > > > > >> > > > Ran into an issue trying to build from the source tarball. I tried 3 > >> > > times > >> > > > with the command `mvn clean package` and the build failed in the > >> same > >> > > spot > >> > > > every time (see below). Note that on the same machine I ran `mvn > >> clean > >> > > > package` on my local git workspace copy of the 1.10 branch (at > >> > > > commit fb09e7e2594c451317ce6294b9dd27bd0c5e6c05) with no issues. > >> > > > > >> > > > [ERROR] Tests run: 6, Failures: 0, Errors: 2, Skipped: 0, Time > >> elapsed: > >> > > > 96.173 s <<< FAILURE! - in > >> > > > org.apache.accumulo.minicluster.MiniAccumuloClusterTest > >> > > > [ERROR] > >> > > > > >> > > > > >> > > > >> > > >> org.apache.accumulo.minicluster.MiniAccumuloClusterTest.testPerTableClasspath > >> > > > Time elapsed: 60.009 s <<< ERROR! > >> > > > org.junit.runners.model.TestTimedOutException: test timed out after > >> > 60000 > >> > > > milliseconds > >> > > > at > >> > > > > >> > > > > >> > > > >> > > >> app//org.apache.accumulo.minicluster.MiniAccumuloClusterTest.testPerTableClasspath(MiniAccumuloClusterTest.java:169) > >> > > > > >> > > > [ERROR] org.apache.accumulo.minicluster.MiniAccumuloClusterTest.test > >> > > Time > >> > > > elapsed: 30.001 s <<< ERROR! > >> > > > org.junit.runners.model.TestTimedOutException: test timed out after > >> > 30000 > >> > > > milliseconds > >> > > > at > >> > > > > >> > > > > >> > > > >> > > >> app//org.apache.accumulo.minicluster.MiniAccumuloClusterTest.test(MiniAccumuloClusterTest.java:157) > >> > > > > >> > > > On Wed, Apr 5, 2023 at 7:24 PM dev1 <d...@etcoleman.com> wrote: > >> > > > > >> > > > > I did some quick checks and all looks good. > >> > > > > > >> > > > > - verified sha512 signatures > >> > > > > - verified signing key > >> > > > > - sunny tests pass. > >> > > > > > >> > > > > Ed Coleman > >> > > > > > >> > > > > -----Original Message----- > >> > > > > From: Christopher <ctubb...@apache.org> > >> > > > > Sent: Wednesday, April 5, 2023 4:25 PM > >> > > > > To: accumulo-dev <dev@accumulo.apache.org> > >> > > > > Subject: [TEST][VOTE] Apache Accumulo 1.10.3-rc0 > >> > > > > > >> > > > > Accumulo Developers, > >> > > > > > >> > > > > This is not an actual vote. > >> > > > > I have prepared the following release candidate as a test build > >> for > >> > > > > 1.10.3. If there are no immediate objections or issues, I intend > >> to > >> > > > create > >> > > > > an RC1 release candidate in the next day or so, to vote on. > >> > > > > > >> > > > > Git Commit: > >> > > > > ed75b4521094faa6f6e1037a444747390a120068 > >> > > > > Branch: > >> > > > > 1.10.3-rc0 > >> > > > > > >> > > > > If this vote passes, a gpg-signed tag will be created using: > >> > > > > git tag -f -s -m 'Apache Accumulo 1.10.3' rel/1.10.3 \ > >> > > > > ed75b4521094faa6f6e1037a444747390a120068 > >> > > > > > >> > > > > Staging repo: > >> > > > > > >> > > > > >> > > > >> > > >> https://repository.apache.org/content/repositories/orgapacheaccumulo-1099 > >> > > > > Source (official release artifact): > >> > > > > > >> > > > > > >> > > > > >> > > > >> > > >> https://repository.apache.org/content/repositories/orgapacheaccumulo-1099/org/apache/accumulo/accumulo/1.10.3/accumulo-1.10.3-src.tar.gz > >> > > > > Binary: > >> > > > > > >> > > > > >> > > > >> > > >> https://repository.apache.org/content/repositories/orgapacheaccumulo-1099/org/apache/accumulo/accumulo/1.10.3/accumulo-1.10.3-bin.tar.gz > >> > > > > > >> > > > > Append ".asc" to download the cryptographic signature for a given > >> > > > artifact. > >> > > > > (You can also append ".sha1" or ".md5" instead in order to verify > >> the > >> > > > > checksums generated by Maven to verify the integrity of the Nexus > >> > > > > repository staging area.) > >> > > > > > >> > > > > Signing keys are available at > >> > > https://www.apache.org/dist/accumulo/KEYS > >> > > > > (Expected fingerprint: 8CC4F8A2B29C2B040F2B835D6F0CDAE700B6899D) > >> > > > > > >> > > > > In addition to the tarballs and their signatures, the following > >> > > checksum > >> > > > > files will be added to the dist/release SVN area after release: > >> > > > > accumulo-1.10.3-src.tar.gz.sha512 will contain: > >> > > > > SHA512 (accumulo-1.10.3-src.tar.gz) = > >> > > > > > >> > > > > > >> > > > > >> > > > >> > > >> 5ec3baab85a0338b273fb5bd79bf2146c855077333f8a170c9e7093810f8591c458479bcebb5d57a4134a00f02b1c060db159e6ff086241aac6532d0e3e033f2 > >> > > > > accumulo-1.10.3-bin.tar.gz.sha512 will contain: > >> > > > > SHA512 (accumulo-1.10.3-bin.tar.gz) = > >> > > > > > >> > > > > > >> > > > > >> > > > >> > > >> f8465b81c37067001b31ee109648760d51b78d91cff7ac93735af1735c2b6ee4f37e58cbd64253e257590fdc03fe784ef85782cc5b5039a8db170ca965c8628c > >> > > > > > >> > > > > Release notes (in progress) can be found at: > >> > > > > https://accumulo.staged.apache.org/release/accumulo-1.10.3 > >> > > > > > >> > > > > Release testing instructions: > >> > > > > https://accumulo.apache.org/contributor/verifying-release > >> > > > > > >> > > > > Please vote one of: > >> > > > > [ ] +1 - I have verified and accept... > >> > > > > [ ] +0 - I have reservations, but not strong enough to vote > >> > against... > >> > > > > [ ] -1 - Because..., I do not accept... > >> > > > > ... these artifacts as the 1.10.3 release of Apache Accumulo. > >> > > > > > >> > > > > This vote will remain open until at least Sat Apr 8 08:30:00 PM > >> UTC > >> > > > 2023. > >> > > > > (Sat Apr 8 04:30:00 PM EDT 2023 / Sat Apr 8 01:30:00 PM PDT > >> 2023) > >> > > > Voting > >> > > > > can continue after this deadline until the release manager sends > >> an > >> > > email > >> > > > > ending the vote. > >> > > > > > >> > > > > Thanks! > >> > > > > > >> > > > > P.S. Hint: download the whole staging repo with > >> > > > > wget -erobots=off -r -l inf -np -nH \ > >> > > > > > >> > > > > > >> > > > > >> > > > >> > > >> https://repository.apache.org/content/repositories/orgapacheaccumulo-1099/ > >> > > > > # note the trailing slash is needed > >> > > > > > >> > > > > >> > > > >> > > >> > >