[ovs-dev] [PATCH v3] travis: support ppc64le builds

dwilder dwilder at us.ibm.com
Wed Nov 13 00:28:56 UTC 2019


On 2019-11-12 11:30, Ilya Maximets wrote:
> On 12.11.2019 18:57, dwilder wrote:
>> On 2019-11-08 14:52, Ilya Maximets wrote:
>>> On 06.11.2019 20:20, David Wilder wrote:
>>>> Add support for travis-ci ppc64le builds.
>>>> 
>>>> - Updated matrix in .travis.yml to include an arch: ppc64le build.
>>>> - Move package install needed for 32bit builds to 
>>>> .travis/linux-prepare.sh.
>>>> 
>>>> To keep the total build time at an acceptable level only a single 
>>>> build
>>>> job is included in the matrix for ppc64le.
>>>> 
>>>> A build report example can be found here [1]
>>>> [0] 
>>>> https://urldefense.proofpoint.com/v2/url?u=http-3A__travis-2Dci.org_&d=DwICaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=7ndxyKjH9UrBD68Us2WP1wI4BwEBQbeAyz8i_vwCCaI&m=_UtshYcJsj4Pt3b9hfgEiyaEIT3j9gPEIgmBatCEqCo&s=r0fBOs-21CKcV4kyZGnzh3fcjrpR8caYSl8K2i1St54&e= 
>>>> [1] 
>>>> https://urldefense.proofpoint.com/v2/url?u=https-3A__travis-2Dci.org_djlwilder_ovs_builds_607851729&d=DwICaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=7ndxyKjH9UrBD68Us2WP1wI4BwEBQbeAyz8i_vwCCaI&m=_UtshYcJsj4Pt3b9hfgEiyaEIT3j9gPEIgmBatCEqCo&s=7t2rzVasH7Xq_R7jWkWZO9rkgm4KHMH-WavBzCRbF74&e= 
>>>> Signed-off-by: David Wilder <dwilder at us.ibm.com>
>>>> ---
>>>> Addressed review comments:
>>>> - Cleaned up linux-prepare.sh (v2)
>>>> - Switch from os: linux-ppc64le to arch: ppc64le (v3)
>>> 
>>> What a wonderful world of undocumented features. :)
>>> 
>>> Anyway, I just tried this patch and it fails for me because of 
>>> missing pip:
>>> 
>>> https://urldefense.proofpoint.com/v2/url?u=https-3A__travis-2Dci.org_igsilya_ovs_jobs_609402867&d=DwICaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=7ndxyKjH9UrBD68Us2WP1wI4BwEBQbeAyz8i_vwCCaI&m=_UtshYcJsj4Pt3b9hfgEiyaEIT3j9gPEIgmBatCEqCo&s=PF1oO_KkZFd_RRKToj6UBN2t2YhvTVE5XnVD1GF9u60&e=
>>> 
>>> pip install --disable-pip-version-check --user six flake8 hacking
>>> ./.travis/linux-prepare.sh: line 15: pip: command not found
>>> 
>>> Restarting the job doesn't help.
>>> 
>>> I'm wondering what is the base image and who controls preinstalled 
>>> software?
>>> Maybe it makes sense to hold on until travis will start supporting 
>>> ppc64le
>>> officially?
>>> 
>>> Best regards, Ilya Maximets.
>> 
>> Unfortunately it not just ppc the arm64 image has the same issue :)  
>> I added a arm64 build on this attempt.
>> 
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__travis-2Dci.org_djlwilder_ovs_builds_610517731&d=DwIDaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=7ndxyKjH9UrBD68Us2WP1wI4BwEBQbeAyz8i_vwCCaI&m=rVTSRTh9jExG_mX8boqA-OQcZkWmbO2g7TjgtUe6jws&s=sCvTr8MwXrqa7AEOs60tuqnquBqbRKlp_7-WacGzJWc&e=
>> 
>> I will attempt to adjust the package list.
> 
> I think, you could just report this to TravisCI support and see what 
> they
> will answer.  It'll be much better if they will just update their 
> images.
> 
> And the good news that ppc64le is officially supported now:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__blog.travis-2Dci.com_2019-2D11-2D12-2Dmulti-2Dcpu-2Darchitecture-2Dibm-2Dpower-2Dibm-2Dz&d=DwIDaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=7ndxyKjH9UrBD68Us2WP1wI4BwEBQbeAyz8i_vwCCaI&m=rVTSRTh9jExG_mX8boqA-OQcZkWmbO2g7TjgtUe6jws&s=CRYw9o6At3rFT_gd_5r1Uw07mv_SEPvQ6LgBLfMyqgg&e=

That is great news!
I reported the issue to travis:
https://travis-ci.community/t/pip-is-not-installed-in-ppc64le-and-arm64-images/5902?u=djlwilder

I added a workaround if we need it. This is my latest travis run.
https://www.travis-ci.org/djlwilder/ovs/builds/611123734


More information about the dev mailing list