When running the tests in WSL you will run into 2 issues:
a) building the WebUI can be unbearably so such that it pretty much
never finishes; you may want to activate the skip-webui-build profile
b) certain tests check how port conflicts are being handled, but WSL has
broken behavior in that regard. Multiple sockets can be created on the
same port without throwing an exception. As such, certain tests will
categorically fail on WSL. There is no switch to turn these tests off;
because bar myself I'm not aware of any other Flink developer using
Windows/WSL.
2/6/2021 4:36 AM, Jack Phelan wrote:
Hi All,
How do you start a fresh ticket in the flink repo for you guys' workflows?
Master doesn't seem to build `mvn clean package` after trying a few different
commits and a few tweaks to fork settings.
Is there maybe some workaround part of the development setup? Maybe it's just
windows linux subsystem that's the issue?
Specifically, I've tried building a few commits on master as a first development project
and I keep seeing a huge wall of: "The forked VM terminated without properly saying
goodbye".
It also looks like the build has been failing for a few months? Am I seeing
that right?
http://mail-archives.apache.org/mod_mbox/flink-builds/202101.mbox/browser
That's why I think maybe we have a regular practices of skipping some tests or
setting some flags or something like that?
It looks like my builds are repeatedly dying in the "Runtime" test suite.
# Specific Failure:
```
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] BlobServerRangeTest.testOnePortAvailable:106
Expected: (a value equal to or greater than <50000> and a value less than or equal to
<50050>)
but: a value equal to or greater than <50000> <49877> was less than
<50000>
[ERROR] BlobServerRangeTest.testPortUnavailable Expected exception:
java.io.IOException
[ERROR]
BootstrapToolsTest.testActorSystemInstantiationFailureWhenPortOccupied:528
Expected to fail with a BindException
[ERROR] RestClientTest.testConnectionTimeout:78
Expected: an instance of
org.apache.flink.shaded.netty4.io.netty.channel.ConnectTimeoutException
but:
<org.apache.flink.shaded.netty4.io.netty.channel.AbstractChannel$AnnotatedConnectException:
Connection refused: /240.0.0.0:80> is a
org.apache.flink.shaded.netty4.io.netty.channel.AbstractChannel$AnnotatedConnectException
[ERROR]
TaskManagerRunnerStartupTest.testStartupWhenNetworkStackFailsToInitialize:163
Should throw IOException when the network stack cannot be initialized.
[INFO]
[ERROR] Tests run: 5072, Failures: 5, Errors: 0, Skipped: 51
```
# Stopping at suite: Runtime
```
[ERROR] Tests run: 5072, Failures: 5, Errors: 0, Skipped: 51
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Flink : 1.13-SNAPSHOT:
[INFO]
[INFO] Flink : Tools : Force Shading ...................... SUCCESS [ 11.719 s]
[INFO] Flink : ............................................ SUCCESS [ 22.373 s]
[INFO] Flink : Annotations ................................ SUCCESS [ 4.312 s]
[INFO] Flink : Test utils : ............................... SUCCESS [ 0.384 s]
[INFO] Flink : Test utils : Junit ......................... SUCCESS [ 6.516 s]
[INFO] Flink : Metrics : .................................. SUCCESS [ 0.461 s]
[INFO] Flink : Metrics : Core ............................. SUCCESS [ 4.643 s]
[INFO] Flink : Core ....................................... SUCCESS [02:00 min]
[INFO] Flink : Java ....................................... SUCCESS [ 48.244 s]
[INFO] Flink : Queryable state : .......................... SUCCESS [ 0.315 s]
[INFO] Flink : Queryable state : Client Java .............. SUCCESS [ 5.269 s]
[INFO] Flink : FileSystems : .............................. SUCCESS [ 0.461 s]
[INFO] Flink : FileSystems : Hadoop FS .................... SUCCESS [ 17.152 s]
[INFO] Flink : Runtime .................................... FAILURE [09:08 min]
[INFO] Flink : Scala ...................................... SKIPPED
[INFO] Flink : FileSystems : Mapr FS ...................... SKIPPED
[INFO] Flink : FileSystems : Hadoop FS shaded ............. SKIPPED
[INFO] Flink : FileSystems : S3 FS Base ................... SKIPPED