-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide and publish ppc64le images #68
Comments
Hi @wohali Currently I am pursuing this task. Can I get an update on the progress of this issue?? |
Still blocked by everything stated in my last update. |
Hi @wohali , Can we work to solve the first problem of the list at first? Can I know what is to be done yet to close the first problem? |
Start with: If you have access to a ppc64le machine, run https://github.com/apache/couchdb/issues as ppc64le specific failures. |
Hi @wohali raised a issue after observing a test case failure: apache/couchdb#1351 I am currently working to progress further. |
Hi @wohali So |
Hi @wohali any update?? |
@abdasgupta We need to add regression testing on ppc64le so that this good result continues. This requires ASF Jenkins work. Are you an ASF contributor/member? |
Hi @wohali , We have two ppc64le nodes on ASF jenkins. Please follow the link, https://issues.apache.org/jira/browse/INFRA-15887 . I am a contributor of Mesos of ASF. Can you please let me know what do I need to do to enable Jenkins CI on ppc64le? |
We need to update Jenkinsfile on apache/couchdb to run on this platform. Currently all builds on Jenkins are done in docker containers themselves to avoid having to install the prerequisites on the Jenkins nodes directly. Have a look at apache/couchdb-ci and see if you can set up the scripts to build a testing environnment on ppc64le. Pick the OS you think is most supported there - my guess would be Ubuntu 16.04 LTS or possibly 18.04. (I have no access to one of these systems so I can't tell you for sure). Make a PR on that repo and I'll review the code, and can push an image up to the couchdbdev Docker Hub organisation for the team. After that, make a PR on apache/couchdb that uses the image in Jenkinsfile. Name your branch jenkins- and we'll be able to test it before it is committed to master. Once we have proper CI on ppc64le, so we can look at failure situations with every commit to master, I'll greenlight updating this repo to have ppc64le support and we can push an apache/couchdb image that is ppc64le flavoured. |
@wohali @abdasgupta |
@sarveshtamba We have an issue with performance in our CI environment through which we cross-compile and test things. We're working the issues out with arm ( See apache/couchdb#2030 for progress and problems. Basically we need to up the timeouts across all of the CouchDB tests across the board for this to work. If you know Erlang and can help the team, we'd be appreciative of support. We don't need any more "platform porters" right now. |
Just to be clear - there's issues with the native node availability, and since CI runs are intended to gate checkins to the master branch of CouchDB, we shouldn't be relying on native |
Hi @wohali, thanks for the response. From the above I think we have two issues here:- 1.) Performance issue:- 2.) Native node availability:- Let me know if my understanding is correct. |
I am out until Monday but briefly, we need the tests to be able to pass
on cross-compile, not just native hardware. Donations of HW would be
appreciated but will not ungate this effort.
You finding any failing `make check` test cases and reporting them is
also critical, but again, will not ungate this effort.
|
@wohali could you please let us know the process for providing the hardware for ppc64le? |
@sarveshtamba Generally, ASF Infrastructure expects to manage the hardware themselves, using their puppet infrastructure. See https://github.com/apache/infrastructure-puppet/tree/deployment/modules/build_slaves and https://github.com/apache/infrastructure-puppet/blob/deployment/modules/build_slaves/files/toolchains.xml for detail. If this is not possible, there is an alternative where you can admin the machine, ensure the build dependencies are installed, and run the Jenkins agent yourself, and be authorized to connect the worker to Jenkins - but Infra will be asking if that hardware can be used by projects other than just CouchDB to remove the ppc64le single point of failure for all ASF projects. You need to be prepared to answer this question. If you can give me a heads up to the question above, I can put you in touch with the right people. |
@wohali Tested CouchDB v2.3(current master) with Erlang v21 and Elixir v1.8 on ppc64le, the build completes successfully and the entire test suite executes successfully with no test failures. Let us know if we still need additional dedicated ppc64le hardware for supporting CouchDB CI. |
@sarveshtamba Yes, we need 2x ppc64le machines against which to test. The hadoop machine is hands-off for us, and we can't rely on just the one other machine. I can push out packages for 2.3.1 but until we have those 2x machines I can't agree to a 3.0.0 package or image release. @kocolosk will the VM credits IBM is providing be able to cover 2x ppc64le Jenkins nodes? If so then there's no need for @sarveshtamba to look any further. |
Sure we can cover that. |
ppc64le binary packages for debian stretch are now published. These are the packages we need for the current Docker image. I'm unable to build using qemu for ppc64le for debian buster, unfortunately; I'm getting a qemu segmentation fault every time python is invoked. I'll try upgrading my qemu install to the latest (direct from source) and see if that works later - it's not a blocker here. |
If anyone watching this can test the debian stretch packages on real POWER hardware with a real CouchDB workload, we'd appreciate it. On a machine with debian stretch installed, follow the instructions here: |
Once again, we are in desperate need of someone to actually test these images and tell me if they work for your needs. I am starting to think no one actually cares about these builds, and that IBM only pushed for these builds to be available for publicity reasons, not because they have actual use cases in these spaces. Prove me wrong. /cc @sarveshtamba |
@wohali someone from my team will try to test this out and will let you know. |
Hi All, I have started building dockerfile - - https://github.com/apache/couchdb-docker/blob/master/2.3.1-ubi7/Dockerfile on Power , however observed that installing couchdb steps are failing with following error . I have checked that http://apache.bintray.com/couchdb-rpm/el7/ has only x86_64/ folder and this repo is not available for Power. Error while building dockerfile - Thanks, |
@snehlatamohite as per the comments above, only Debian stretch is supported at the moment. If you can follow the instructions for Debian at http://docs.couchdb.org/en/latest/install/unix.html#installation-using-the-apache-couchdb-convenience-binary-packages on a POWER machine, that would be helpful. |
@willholley - I will check. Thanks. |
passing on from an internal IBM team testing on Power:
|
I am trying to install couchdb on RHEL 7 for ppc64le as per http://docs.couchdb.org/en/latest/install/unix.html#installation-using-the-apache-couchdb-convenience-binary-packages
However after this step I see the following error:-
|
@sarveshtamba ppc64le packages are currently only provided for Debian. You'll need to build from source for RHEL/ppc64le. |
Images are now posted for |
This is now done in the downstream |
A few requests have come in for
ppc64le
images, see #66, #60, etc.This is blocked until:
ppc64le
build target, see Add multi-platform support to CI configuration couchdb#1121 for progress on thisThe text was updated successfully, but these errors were encountered: