4paradigm / 4paradigm/OpenMLDB

openmldb batch tests fails to bootstrap on mac

未关闭
#3,407 1 条评论 0 个 reaction 已指派 1 人 已被 @aceforeverd 认领 在 GitHub 查看
batch-engine bug build
主要语言
C++
星标
1.7k
派生
331
平均合并
12 天 12 小时
30 天内合并 PR
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 摘要。