Comments (14)
Are you using master?
Test suite runs fine for me (tested using OSX and Ubuntu 11.04), OpenJDK and Oracle JDK 1.7
from vert.x.
yes
from vert.x.
What filesystem are you using?
from vert.x.
Can you attach the stack trace / log output too? Thx
from vert.x.
ok, more on this: when checked out v0.2, i have 6 failures as well but in TLSTest, with the following error
java.io.FileNotFoundException: ./src/tests/resources/keystores/server-keystore.jks (No such file or directory)
actually ./src/tests/resources
does not exists in v0.2 but ./src/tests/keystores/
...
As for master, i could not reproduce the error for FileSysteTest (maybe a non cleaned target folder...) However i still have the TLSTest failing with a slightly different error:
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
from vert.x.
and my file system is ext4 ....
from vert.x.
Try doing a clean git clone from master, then rebuild again.
For the certificate issue, I believe this is an OpenJDK issue, see this thread for more info http://groups.google.com/group/dynjs-dev/browse_thread/thread/cddf168c94363b28#
from vert.x.
ok, for FileSystemTest, i reproduced the failure once (no error stacktrace) when i did a clean clone, and then redoing the tests (hitting ant java-tests
again), it passes!
I'll tell you for OpenJDK certificates issues.
from vert.x.
In case there's a race condition, I've run FileSystem tests in a loop for 10s of thousands of iterations, and it always passes for me.
If you see it fail again, please can you take a stack trace? Thanks.
from vert.x.
for openJDK certificates, i have 159 entries in my openjdk-7 cacerts, so it is hardly the issue. Trying to dig out more.
Also sometimes the FileSystemTest is failing every now and then. Doing something with the file system (chmod, touch...) solves the problem, until next failure. Odd!
from vert.x.
Ok got it again: here is the fail:
ubuntu@ubuntu:~/git/vert.x$ ant java-tests
Buildfile: build.xml
init:
compile-core:
jar-core:
compile-tests:
compile-test-apps:
java-tests:
[testng] [TestNG] Running:
[testng] Ant suite
[testng]
[testng] [main] 11:53:33,762 FINE [org.vertx.tests.core.TestBase] *** STARTING TEST org.vertx.tests.core.ConnectionPoolTest
[testng] [main] 11:53:34,011 FINE [org.vertx.tests.core.TestBase] *** STOPPING TEST org.vertx.tests.core.ConnectionPoolTest
[testng] [main] 11:53:34,012 FINE [org.vertx.tests.core.TestBase] *** STARTING TEST org.vertx.tests.core.GlobalHandlersTest
[testng] [main] 11:53:34,022 FINE [org.vertx.tests.core.TestBase] *** STOPPING TEST org.vertx.tests.core.GlobalHandlersTest
[testng] [main] 11:53:34,022 FINE [org.vertx.tests.core.TestBase] *** STARTING TEST org.vertx.tests.core.TimerTest
[testng] [main] 11:53:35,987 FINE [org.vertx.tests.core.TestBase] *** STOPPING TEST org.vertx.tests.core.TimerTest
[testng] [main] 11:53:35,987 FINE [org.vertx.tests.core.TestBase] *** STARTING TEST org.vertx.tests.core.appmanager.AppManagerTest
[testng] [vert.x-core-thread-0] 11:53:36,140 INFO [org.vertx.java.core.app.AppManager] Deploying application name : myapp type: JAVA main class: com.acme.someapp.TestApp2 instances: 4
[testng] [vert.x-core-thread-0] 11:53:36,148 INFO [org.vertx.java.core.app.AppManager] Started 4 instances ok
[testng] [vert.x-core-thread-0] 11:53:36,396 INFO [org.vertx.java.core.app.AppManager] Undeploying 4 instances of application: myapp
[testng] [vert.x-core-thread-0] 11:53:37,007 INFO [org.vertx.java.core.app.AppManager] Deploying application name : myapp type: JAVA main class: com.acme.someapp.TestApp1 instances: 4
[testng] Starting app
[testng] [vert.x-core-thread-0] 11:53:37,014 INFO [org.vertx.java.core.app.AppManager] Started 4 instances ok
[testng] Starting app
[testng] Starting app
[testng] Starting app
[testng] Stopping app
[testng] Stopping app
[testng] Stopping app
[testng] Stopping app
[testng] [vert.x-core-thread-0] 11:53:37,234 INFO [org.vertx.java.core.app.AppManager] Undeploying 4 instances of application: myapp
[testng] [main] 11:53:37,737 FINE [org.vertx.tests.core.TestBase] *** STOPPING TEST org.vertx.tests.core.appmanager.AppManagerTest
[testng] [main] 11:53:37,739 FINE [org.vertx.tests.core.TestBase] *** STARTING TEST org.vertx.tests.core.buffer.BufferTest
[testng] [main] 11:53:37,760 FINE [org.vertx.tests.core.TestBase] *** STOPPING TEST org.vertx.tests.core.buffer.BufferTest
[testng] [main] 11:53:37,761 FINE [org.vertx.tests.core.TestBase] *** STARTING TEST org.vertx.tests.core.composition.ComposerTest
[testng] [main] 11:53:37,765 FINE [org.vertx.tests.core.TestBase] *** STOPPING TEST org.vertx.tests.core.composition.ComposerTest
[testng] [main] 11:53:37,774 FINE [org.vertx.tests.core.TestBase] *** STARTING TEST org.vertx.tests.core.eventbus.EventBusTest
[testng] [vert.x-core-thread-0] 11:53:40,394 INFO [org.vertx.tests.core.eventbus.EventBusTest] ********** RUNNING TEST: doTestLocalHandler
[testng] [vert.x-core-thread-0] 11:53:40,406 INFO [org.vertx.tests.core.eventbus.EventBusTest] ********** RUNNING TEST: doTestNonLocalHandler
[testng] [vert.x-core-thread-0] 11:53:40,432 INFO [org.vertx.tests.core.eventbus.EventBusTest] ********** RUNNING TEST: doTestHandlersAll
[testng] [vert.x-core-thread-0] 11:53:40,460 INFO [org.vertx.tests.core.eventbus.EventBusTest] ********** RUNNING TEST: doTestHandlersAllMultiple
[testng] [vert.x-core-thread-0] 11:53:40,504 INFO [org.vertx.tests.core.eventbus.EventBusTest] ********** RUNNING TEST: doTestNonMatchingHandlers
[testng] [main] 11:53:47,793 INFO [org.vertx.tests.core.TestBase] ************************************************************************************************* netservers!!! 3 org.vertx.tests.core.eventbus.EventBusTest
[testng] [main] 11:53:47,795 FINE [org.vertx.tests.core.TestBase] *** STARTING TEST org.vertx.tests.core.file.FileSystemTest
[testng] [main] 11:53:48,746 INFO [org.vertx.tests.core.TestBase] ************************************************************************************************* netservers!!! 3 org.vertx.tests.core.file.FileSystemTest
[testng]
[testng] ===============================================
[testng] Ant suite
[testng] Total tests run: 152, Failures: 8, Skips: 56
[testng] Configuration Failures: 2, Skips: 28
[testng] ===============================================
[testng]
[testng] The tests failed.
from vert.x.
If you look in the test-output directory there is a file called testng-results which should contain more information (stacktrace etc). Can you post that please?
from vert.x.
ok, sorry, here it is https://gist.github.com/1533541
from vert.x.
for the record, it turned out that umask on recent ubuntu and fedora linux is set to 0002. To have the tests passed, do umask 0022
before running the test. It can automatically be set easily on gradle. I'll submit a patch.
from vert.x.
Related Issues (20)
- Vertx in native image throws error: This Java runtime does not support virtual threads HOT 18
- OutOfMemoryException after CRL update HOT 2
- Firefox WebSocket: server cannot upgrade manually HOT 1
- More load balancing policies HOT 2
- vertx.getOrCreateContext() returns different instances HOT 3
- Future#join then contract #transform break [Regression from 4.5.4] HOT 7
- Blocked thread during vertx startup HOT 1
- Configurable socket keep alive interval HOT 3
- Hash based load balancing policy
- ver.4.5.6 HttpServerRequest.isExpectMultipart wrong results returned.
- Vertx pooled allocator should be the same as Netty
- Fix for CVE-2024-29025
- Fix for CVE-2024-29025
- BlockedThreadChecker does not check a parking event loop virtual thread HOT 8
- Websocket batch processing / read completion event HOT 3
- webSocketHandler does not accept incoming websocket connection since vertx-core version 4.5.6 and later HOT 1
- Jackson's Hybrid pool should avoid using predicates to verify Thread::isVirtual HOT 1
- Provide an option to wait for all currently-being-processed / currently-queued requests / events to complete before closing vertx HOT 1
- JsonObject: The equals method fails when comparing integers with floats. HOT 1
- Request .send method invocation starts failing from 4.5.5 onward HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vert.x.