4paradigm / 4paradigm/OpenMLDB

openmldb batch tests fails to bootstrap on mac

オープン
#3,407 コメント 1 件 リアクション 0 件 担当者 1 名 @aceforeverd が担当を希望しています GitHub で見る
batch-engine bug build
主要言語
C++
スター
1.7k
フォーク
331
平均マージ
12日 12時間
マージ済み PR(30日)
1

説明

https://github.com/aceforeverd/fedb/actions/runs/5693624689/job/15433110146

```
[INFO] --- scalatest-maven-plugin:1.0:test (test) @ openmldb-batch ---
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=2048m; support was removed in 8.0
Discovery starting.
Discovery completed in 968 milliseconds.
Run starting. Expected test count is: 97
TestDate:
org.apache.spark.util.Utils.logWarning(Logging.scala:69) - WARN: Your hostname, Mac-1690546465826.local resolves to a loopback address: 127.0.0.1; using 10.79.15.250 instead (on interface en0)
org.apache.spark.util.Utils.logWarning(Logging.scala:69) - WARN: Set SPARK_LOCAL_IP if you need to bind to another address
org.apache.hadoop.util.NativeCodeLoader.(NativeCodeLoader.java:60) - WARN: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
ERROR: something wrong with flag 'logtostderr' in file 'src/logging.cc'. One possibility: file 'src/logging.cc' is being linked both statically and dynamically into this executable.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for openmldb 0.7.0-SNAPSHOT:
[INFO]
[INFO] openmldb ........................................... SUCCESS [ 0.558 s]
[INFO] hybridse-proto ..................................... SUCCESS [ 1.169 s]
[INFO] hybridse-native .................................... SUCCESS [ 0.199 s]
[INFO] hybridse-sdk ....................................... SUCCESS [ 11.834 s]
[INFO] openmldb-native .................................... SUCCESS [ 0.124 s]
[INFO] openmldb-jdbc ...................................... SUCCESS [ 27.822 s]
[INFO] openmldb-common .................................... SUCCESS [ 4.800 s]
[INFO] openmldb-synctool .................................. SUCCESS [ 0.644 s]
[INFO] openmldb-spark-connector ........................... SUCCESS [ 39.203 s]
[INFO] openmldb-batch ..................................... FAILURE [02:25 min]
[INFO] openmldb-batchjob .................................. SKIPPED
[INFO] openmldb-taskmanager ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:53 min
[INFO] Finished at: 2023-07-28T12:52:30Z
[INFO] ------------------------------------------------------------------------
Error: Failed to execute goal org.scalatest:scalatest-maven-plugin:1.0:test (test) on project openmldb-batch: There are test failures -> [Help 1]
Error:
Error: To see the full stack trace of the errors, re-run Maven with the -e switch.
Error: Re-run Maven using the -X switch to enable full debug logging.
Error:
Error: For more information about the errors and possible solutions, please read the following articles:
Error: [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Error:
Error: After correcting the problems, you can resume the build with the command
Error: mvn -rf :openmldb-batch
Error: Process completed with exit code 1.
```

shared library has runtime issue with gflags

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

The issue is about a macOS bootstrap failure in the openmldb-batch module's tests, with an error related to gflags and a shared library. Look at the GitHub Actions log linked in the issue to see the full error. The failing module is openmldb-batch, and the test uses scalatest-maven-plugin. Investigate the gflags library linking in the native components (likely in openmldb-native or hybridse-native). Check the build configuration for macOS, especially around the 'logtostderr' flag and shared library dependencies. Running the tests locally on macOS with debug flags may help reproduce the issue.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
hadoop, java, scala, spark
領域
build-system, databases, machine-learning, testing
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。