4paradigm / 4paradigm/OpenMLDB

openmldb batch tests fails to bootstrap on mac

Đang mở
#3,407 1 bình luận 0 reaction 1 người được giao Được @aceforeverd nhận Xem trên GitHub
batch-engine bug build
Ngôn ngữ chính
C++
Star
1.7k
Fork
331
Merge trung bình
12 ngày 12 giờ
Pull request đã merge (30 ngày)
1

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
hadoop, java, scala, spark
Lĩnh vực
build-system, databases, machine-learning, testing
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.