Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] Build Failure

AFAIK on WIndows normal users don't have the permission to create symlinks by default.

The failing maven build should have more details about what's failing. You may try the -e option
to get stacktraces and -X for debug log

-Matthias

On Sat, Mar 12, 2016 at 1:27 AM, Fuxiang Chen <cfuxiang@xxxxxxxxx> wrote:
Thanks Greg.

I have re-cloned the repository and re-build it.

Environment: Java 1.8; Windows 7; set maven to skip tests (e.g. mvn clean install -Dmaven.test.skip=true)

The following is the error:

Failed tests:
  FileSystemResourceTest.testSymlink:595 alias
Expected: getAlias should return <file:/D:/1_subjects/jetty.project/jetty-util/target/tests/testSyml
in...rce.FileResource%5D/foo>
     but: was null

Tests run: 860, Failures: 1, Errors: 0, Skipped: 62

It seems like the tests are are not skipped when using "install".

I then change to mvn clean compile -Dmaven.test.skip=true

The following is the error:

[ERROR] Failed to execute goal on project jetty-servlet: Could not resolve dependencies for project org.eclipse.jetty:jetty-servlet:jar:9.4.0-SNAPSHOT: Could not find artifact org.eclipse.jetty:jetty-http:jar:tests:9.4.0-SNAPSHOT -> [Help 1]

It seems like maven failed to download/resolve the dependencies?

Please kindly advise.

Thanks.


On Sat, Mar 12, 2016 at 1:59 PM, Greg Wilkins <gregw@xxxxxxxxxxx> wrote:

We currently have a few intermittent test failures and are actively chasing them down to get a 100% reliable build.    Typically they are failing 1 in 4 builds for me, but we have already substantially improved them recently.

The test failures you list are not any that I have seen and we certainly don't have any compile problems?!?!?

So your results are not normal.  More info please!




On 12 March 2016 at 16:07, Fuxiang Chen <cfuxiang@xxxxxxxxx> wrote:
Hi,

I have several build failure when I run "mvn clean install" from the root directory as indicated in the readme.txt file.

Please see the following bundles that are having errors (I added the -fn to maven to check which bundles are having issues). Most of them are able to compile except for the following 7:

[INFO] Jetty :: Asynchronous HTTP Client .................. FAILURE [04:33 min]
[INFO] Test :: Jetty Proxy Webapp ......................... FAILURE [  0.867 s]
[INFO] Example Async Rest :: Webapp ....................... FAILURE [  0.288 s]
[INFO] Jetty :: Distribution Assemblies ................... FAILURE [  3.787 s]
[INFO] Jetty Tests :: Integrations ........................ FAILURE [  1.878 s]
[INFO] Jetty Tests :: JMX :: WebApp Integration Tests ..... FAILURE [  0.888 s]
[INFO] Jetty :: OSGi :: Test .............................. FAILURE [01:08 min]

Is it normal? I tried in both Windows and Linux environment. May I know how can I resolve these errors?

Thanks.

--
Warmest Regards,
    Fuxiang

_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-dev



--

_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-dev



--
Warmest Regards,
    Fuxiang

_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-dev


Back to the top