4paradigm / 4paradigm/OpenMLDB

openmldb batch tests fails to bootstrap on mac

Ouverte
#3,407 1 commentaire 0 réactions 1 personne assignée Réclamée par @aceforeverd Voir sur GitHub
batch-engine bug build
Langage dominant
C++
Étoiles
1.7k
Forks
331
Merge moyen
12 j 12 h
PR mergées (30 j)
1

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
hadoop, java, scala, spark
Domaine
build-system, databases, machine-learning, testing
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.