ZEPPELIN-5543 Add CircleCI config to test on Linux ARM64#4238
Conversation
|
Test results could be seen at https://app.circleci.com/pipelines/github/martin-g/zeppelin?branch=zeppelin-5543-use-circle.ci-for-testing-on-linux-arm64 (probably you need to be logged in into CircleCI to be able to see it!). @zjffdu You will need to enable this repo at CircleCI so that the build there appears as a Currently the build fails with: |
- remove -DskipTests - delete ~/.m2/repository/org/apache/zeppelin after restoring the cache - always cache ~/.m2, not only on success. This should improve the speed - extract the JDK version as a parameter. This way it would be easy to add a new job for JDK 11, for example
|
The new build at CircleCI failed due to: https://dlcdn.apache.org//spark/spark-2.4.4/spark-2.4.4-bin-hadoop2.7.tgz gives 404. Update: It seems the archive is actually downloaded from the alternative url: It seems the problem is here: CircleCI allows to connect via SSH to the build node and debug! I will check the full stacktrace and debug the issue! |
It is needed by SparkInterpreterLauncherTest to download Apache Spark
|
Bad news, it seems CircleCI requires write permissions to the repo and Apache Infra does not like this: https://issues.apache.org/jira/browse/INFRA-22367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17421230#comment-17421230 Should I redo this PR to TravisCI ? |
|
@martin-g We used travis-ci before, but it only provides limited credit for open source project. We ran out of credit very quickly based on our experience. |
@martin-g |
|
The credits at TravisCI are for the whole I will contact CircleCI and ask them whether something could be done about the write access! |
There are no |
If you build spark module, there will be spark folder under interpreter/. It seems spark interpreter module is not bulit. Actually SparkInterpreterLauncherTest doesn't reply on spark interpreter module. It is in zeppelin-zengine module. |
|
What change should I do at https://github.com/apache/zeppelin/pull/4238/files#diff-78a8a19706dbd2a4425dd72bdab0502ed7a2cef16365ab7030a5a0588927bf47R58 to fix it ? |
Try do it in 2 steps:
|
There is some problem with the initial build of Zeppelin. 'mvn clean install' on fresh checkout does not build due to missing zeppelin-** dependencies from the Maven reactor
EmbeddedMongo does not support Linux ARM64
|
I have tested CircleCI, CirrusCI and Drone.io - all of them ask for write permissions for the GitHub repo. Something that Apache Infra team does not allow! The next options are:
Any preferences ? |
|
An update about TravisCI. |
|
At the moment it's a Partner Queue Solution. (https://docs.travis-ci.com/user/billing-overview/#partner-queue-solution) |
It is free! I face some problems with the Conda packages though: There is only Miniconda 3 for Linux Aarch64! |
|
Closing in favour of #4243 |
What is this PR for?
Execute basic/smoke tests on Linux ARM64 at CircleCI.
What type of PR is it?
Improvement
Todos
hadoop3,heliumand/origniteWhat is the Jira issue?
How should this be tested?
Questions: