You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by Frost Wong <ha...@foxmail.com> on 2021/02/06 09:30:07 UTC
回复:First development steps, broken build workarounds?
Hi Jack,
I've just packaged a brand new dist from source several days ago.
I think you should do `mvn clean install -DskipTest` from the project root and see the output.
In fact the project **NEEDS** some workaround to compile, for instance it will complain about `@ant-design/icons-angular-icons` is missing after `npm install` is executed, you have to run `ng add @ant-design/icons-angular` after that and every thing goes well.
PS: If you have modified your `$HOME/.m2/settings.xml` to third-party mirror (e.g. aliyun in mainland China), proberbly it will fail because some dependencies are missing, you'd better put it to another place.
Wish would help
------------------ 原始邮件 ------------------
发件人: "dev" <jack@bytesandwich.com>;
发送时间: 2021年2月6日(星期六) 中午11:36
收件人: "dev"<dev@flink.apache.org>;
主题: First development steps, broken build workarounds?
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
--
```
# Many many crashed vms
```
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /mnt/c/Users/jack/src/flink/flink-runtime && /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Xms256m -Xmx2048m -Dmvn.forkNumber=2 -XX:+UseG1GC -jar /mnt/c/Users/jack/src/flink/flink-runtime/target/surefire/surefirebooter15675874354821454443.jar /mnt/c/Users/jack/src/flink/flink-runtime/target/surefire 2021-02-05T17-53-07_512-jvmRun2 surefire14636922785903152248tmp surefire_7126512113205932057927tmp
[ERROR] Process Exit Code: 0
```
Jack Phelan
jack@bytesandwich.com