On 2019-11-12 17:24, Lance Yang (Arm Technology China) wrote:
Hi,

For pip missing issue, we have a workaround.  In
.travis/linux-prepare.sh. You can install pip or something else with
package management commands.

For arm64 on travis, we check the environment variables in the
container and found a variable called "TRAVIS_ARCH". Thus we can use
this variable to install specific software for a specific CPU
architecture.

You can find a successful build here:
https://urldefense.proofpoint.com/v2/url?u=https-3A__travis-2Dci.org_yzyuestc_ovs_jobs_610716477&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=7ndxyKjH9UrBD68Us2WP1wI4BwEBQbeAyz8i_vwCCaI&m=WN9SDoyPaU_O5oa3DAKsM2wYQpKnc2bhF_O-3r50JVs&s=p5lQOFy_H4apDm3OJqyJFVo04orvtxDBtLgMzLs0cZ4&e=


Thank you for your workaround Lance. It would be best if the multi-arch images were congruent. I fear this may be an ongoing issue as distro's content can very between architectures. I am waiting for travis's response on the issue. I will submit an update to my ppc64le commit in a few days if travis cant resolve it.

-----Original Message-----
From: ovs-dev-boun...@openvswitch.org
<ovs-dev-boun...@openvswitch.org> On Behalf Of dwilder
Sent: Wednesday, November 13, 2019 8:29 AM
To: Ilya Maximets <i.maxim...@ovn.org>
Cc: ovs-dev@openvswitch.org; wil...@us.ibm.com
Subject: Re: [ovs-dev] [PATCH v3] travis: support ppc64le builds

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=7ndxyKjH9UrBD68Us2WP1wI4BwEBQ
beAyz8i_vwCCaI&m=_UtshYcJsj4Pt3b9hfgEiyaEIT3j9gPEIgmBatCEqCo&s=r0fB
Os-21CKcV4kyZGnzh3fcjrpR8caYSl8K2i1St54&e=
[1]
https://urldefense.proofpoint.com/v2/url?u=https-3A__travis-2Dci.or
g_djlwilder_ovs_builds_607851729&d=DwICaQ&c=jf_iaSHvJObTbx-siA1ZOg&
r=7ndxyKjH9UrBD68Us2WP1wI4BwEBQbeAyz8i_vwCCaI&m=_UtshYcJsj4Pt3b9hfg
EiyaEIT3j9gPEIgmBatCEqCo&s=7t2rzVasH7Xq_R7jWkWZO9rkgm4KHMH-WavBzCRb
F74&e=
Signed-off-by: David Wilder <dwil...@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=7ndx
yKjH9UrBD68Us2WP1wI4BwEBQbeAyz8i_vwCCaI&m=_UtshYcJsj4Pt3b9hfgEiyaEIT
3j9gPEIgmBatCEqCo&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=7n
dxyKjH9UrBD68Us2WP1wI4BwEBQbeAyz8i_vwCCaI&m=rVTSRTh9jExG_mX8boqA-OQcZ
kWmbO2g7TjgtUe6jws&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-2D
z&d=DwIDaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=7ndxyKjH9UrBD68Us2WP1wI4BwEBQbeA
yz8i_vwCCaI&m=rVTSRTh9jExG_mX8boqA-OQcZkWmbO2g7TjgtUe6jws&s=CRYw9o6At3
rFT_gd_5r1Uw07mv_SEPvQ6LgBLfMyqgg&e=

That is great news!
I reported the issue to travis:
https://urldefense.proofpoint.com/v2/url?u=https-3A__travis-2Dci.community_t_pip-2Dis-2Dnot-2Dinstalled-2Din-2Dppc64le-2Dand-2Darm64-2Dimages_5902-3Fu-3Ddjlwilder&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=7ndxyKjH9UrBD68Us2WP1wI4BwEBQbeAyz8i_vwCCaI&m=WN9SDoyPaU_O5oa3DAKsM2wYQpKnc2bhF_O-3r50JVs&s=dIOPvVHVZcpNxq8BgX026yL8uhzxz19lOzjBJhB15xg&e=

I added a workaround if we need it. This is my latest travis run.
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.travis-2Dci.org_djlwilder_ovs_builds_611123734&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=7ndxyKjH9UrBD68Us2WP1wI4BwEBQbeAyz8i_vwCCaI&m=WN9SDoyPaU_O5oa3DAKsM2wYQpKnc2bhF_O-3r50JVs&s=QcFJcytLX5PkWH1FK5SZDaFwSijTPi01rCNT02pBsms&e=
_______________________________________________
dev mailing list
d...@openvswitch.org
https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.openvswitch.org_mailman_listinfo_ovs-2Ddev&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=7ndxyKjH9UrBD68Us2WP1wI4BwEBQbeAyz8i_vwCCaI&m=WN9SDoyPaU_O5oa3DAKsM2wYQpKnc2bhF_O-3r50JVs&s=-7D2JckHdipRQOlruoQ4SoKf808HMZP3dXSHwEUZFfU&e=
IMPORTANT NOTICE: The contents of this email and any attachments are
confidential and may also be privileged. If you are not the intended
recipient, please notify the sender immediately and do not disclose
the contents to any other person, use it for any purpose, or store or
copy the information in any medium. Thank you.
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to