Hi all,

We created the arm64 jobs as ARM organization is interested on having ONAP 
Dublic release capable to run on arm64 platforms,
We make some investigations and fix some of the issues but of course some of 
them are discovered along the way,
This one for example relates to this issue:
https://issues.sonatype.org/browse/NEXUS-18546
Merely that nexus3 does not support muliti-arch images (or manifest lists), in 
it's implementation of docker registry.
And the docker registry (proxy) has made a local copy of

*         python: 2.7-alpine3.8 (single arch (amd64 only)
One quick fix is to refer the original dockerhub image for python (at least on 
the arm64 build servers as to not affect the x86_64 build performace) because 
docker hub supports multi-arch and actually has many achitectures for this 
image, and the docker client on the build server will download the apropriate 
architecture acording to the host.

Best Regards,
Paul Vaduva

From: [email protected] <[email protected]> On Behalf Of 
Vitaliy Emporopulo
Sent: Monday, December 31, 2018 6:41 PM
To: [email protected]
Cc: Avi Gaffa <[email protected]>; Adolfo Perez-Duran 
<[email protected]>; Paul Vaduva <[email protected]>
Subject: Re: [onap-discuss] [cia][sdc] Docker build fails on ARM #cia #sdc

We got additional details by enabling verbose output for Docker build

13:57:03 [INFO] DOCKER> [onap/workflow-init:latest]: Created docker-build.tar 
in 113 milliseconds
13:57:03 [INFO] DOCKER> Step 1/6 : FROM alpine:3.7
13:57:03 [INFO] DOCKER>
13:57:03 [INFO] DOCKER> ---> 9bea9e12e381
13:57:03 [INFO] DOCKER> Step 2/6 : RUN apk add --no-cache 'python<3' py-pip && 
pip install cqlsh==4.0.1
13:57:03 [INFO] DOCKER>
13:57:03 [INFO] DOCKER> ---> Running in 1fbfad806866
13:57:03 [INFO] DOCKER> [91mstandard_init_linux.go:190: exec user process 
caused "exec format error"

Googling around shows that this sort of errors happens due to an 
incompatibility between Docker/image/build platform.

I believe this has to do with the configuration of the build job.  According to 
https://wiki.onap.org/display/DW/Building+a+Multi-CPU+Architecture+Container+Image<https://url10.mailanyone.net/v1/?m=1ge0eV-0000cC-4Y&i=57e1b682&c=8d1_FZlDrxbGnoyIP4tDQPtZ7QegB5QiGyc26AfUIql0bA7gNE3eFgUBMT_FOmfrp_AbxdLu0twCcU_VoMgcoPexQe2oNIo5YOkvAFDRyKHASxqrc6it7KyL8uqPFCb24yuNm8-5dyEOQbIhGUmGWBgBcGcrG0mlX5-Xkh-sW2HZiAFdcudVTz6MeilKpR07g4D7hpbUsdcoYawVaLzd43u9p3rdcUv0IBtcE79UGA6dFq3Kn4ShufbuPdGZmWjPx3m4OWHfsJnCeWDu2Pcd7q12dFU8DYNfTY8SHCH0gEiqt5GdTDWA7VsIWLGTnwHQ>,
 no special changes to the Dockerfile are required.

I also came across 
https://wiki.onap.org/display/DW/Container+Images+Build+Process<https://url10.mailanyone.net/v1/?m=1ge0eV-0000cC-4Y&i=57e1b682&c=sXqlYIl4colA7ZlePY_KM_JEZncO92EiEPkZnKzfwQz8bbkEcmKCjPdicQItEtVxOHfA0GwhVKbkbQYUZEq11PFseLqiDXgEk75FwiEqtAPxrCNqrgndOk3_NOuFTuLXejUB_Gxxx2jAqN-bftoNmOuE1PJoPnlHcPLBhAVjnz0RBwRjJID-GN2GGM0bvvtNaPXkifvNh6jk06OdQyQcmnxDgjGcvSHmdAfbcznFVobAdPAV0p7-XLOstflDH8-BH378GYUsCXJo25L3GKR1bg>,
 which states that "Build issues have not been fully addressed (as of 
12/18/2018)." If so, am I correct assuming that the failure is an expected 
behavior until the project has been made to support ARM? Does it make sense to 
run ARM builds on projects that do not support them yet?

Thanks,
Vitaliy Emporopulo


From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> On Behalf Of 
Vitaliy Emporopulo
Sent: Monday, December 31, 2018 10:14
To: [email protected]<mailto:[email protected]>
Cc: Avi Gaffa <[email protected]<mailto:[email protected]>>
Subject: Re: [onap-discuss] [cia][sdc] Docker build fails on ARM #cia #sdc

Dear community,

After upgrading the docker-maven-plugin to 0.28.0, we are seeing a different 
error. This time the failure is in the command that installs a python library.

14:17:26 [ERROR] DOCKER> Unable to build image [onap/workflow-init] : "The 
command '/bin/sh -c apk add --no-cache 'python<3' py-pip && pip install 
cqlsh==4.0.1' returned a non-zero code: 1"  ["The command '/bin/sh -c apk add 
--no-cache 'python<3' py-pip && pip install cqlsh==4.0.1' returned a non-zero 
code: 1" ]

Any thoughts?

Best regards,
Vitaliy Emporopulo

From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> On Behalf Of 
Vitaliy Emporopulo
Sent: Thursday, December 27, 2018 12:17
To: [email protected]<mailto:[email protected]>
Cc: Avi Gaffa <[email protected]<mailto:[email protected]>>
Subject: [onap-discuss] [cia][sdc] Docker build fails on ARM #cia #sdc

Hi,

We have started seeing Docker build failures in sdc/sdc-workflow-designer. They 
seem to be related to building on ARM platform, which is a recent change.

We are using fabric8's docker-maven-plugin, version 0.23.0, and it fails to 
determine CPU (via FFI provider).

https://jenkins.onap.org/job/sdc-sdc-workflow-designer-arm64-master-docker-java-daily/18/console<https://url10.mailanyone.net/v1/?m=1ge0eV-0000cC-4Y&i=57e1b682&c=Ve2KRYmezrlexBEdWnOLv2K81Lpm-kZv-gas2n2Z6IEiTyXQ8vCxtILO4jtHWVB6XH27RS1_JcT_oDpGS2Xio5RYDXtiajy_SlWYEWC7iQXMxM8yNgepVXsGCcXXOrMGmvFwdUtkGOZbapaZQKmOIlU7Yj3BRG5Yqtos-NVBtFL9-6fugjEGW8wNbGhlDxXhb5RdY0dX9Ez0hEUgNpUlttcW2ksKS1ZGpUuNT790u70mp8qt0lm_Eth-amWzICBVx-53wfOHaAPJmlVl1jrCvLTVPSX_QUBkA0jNgqF1mmY0CmUD1tAsh_Rb_eEP2aYi>
 (also attached).

Does anybody else experience this issue?

Any help will be appreciated.

Best regards,
Vitaliy Emporopulo

This email and the information contained herein is proprietary and confidential 
and subject to the Amdocs Email Terms of Service, which you may review at 
https://www.amdocs.com/about/email-terms-of-service<https://url10.mailanyone.net/v1/?m=1ge0eV-0000cC-4Y&i=57e1b682&c=adbvrkt81hl4fQvWHD-4h4nlWZyc4gNOwK_5ESoTSpeFMgcDTDZ6Yrwh_24irxGvxRc95l4zqFMq89YBlCovZEX7k6Swhq9HvKybhBAVg-dsBx_2kVlbV0uqFm8LIuTnUWIuUTQfa9nEOYjnl5ejwsQYSUWfFb-lXDZx3hTZI1GuZwZoFd2t3I69RyFfO8C7h9pXbbSLJyCPWkSWjdbLhbE--hMQpGa1Qh0EL7t-pfV8H8p8RQAWlUNwceVpkQUlIiBboiU85pDMthAsRzTKaQ>
This email and the information contained herein is proprietary and confidential 
and subject to the Amdocs Email Terms of Service, which you may review at 
https://www.amdocs.com/about/email-terms-of-service<https://url10.mailanyone.net/v1/?m=1ge0eV-0000cC-4Y&i=57e1b682&c=adbvrkt81hl4fQvWHD-4h4nlWZyc4gNOwK_5ESoTSpeFMgcDTDZ6Yrwh_24irxGvxRc95l4zqFMq89YBlCovZEX7k6Swhq9HvKybhBAVg-dsBx_2kVlbV0uqFm8LIuTnUWIuUTQfa9nEOYjnl5ejwsQYSUWfFb-lXDZx3hTZI1GuZwZoFd2t3I69RyFfO8C7h9pXbbSLJyCPWkSWjdbLhbE--hMQpGa1Qh0EL7t-pfV8H8p8RQAWlUNwceVpkQUlIiBboiU85pDMthAsRzTKaQ>
This email and the information contained herein is proprietary and confidential 
and subject to the Amdocs Email Terms of Service, which you may review at 
https://www.amdocs.com/about/email-terms-of-service<https://url10.mailanyone.net/v1/?m=1ge0eV-0000cC-4Y&i=57e1b682&c=adbvrkt81hl4fQvWHD-4h4nlWZyc4gNOwK_5ESoTSpeFMgcDTDZ6Yrwh_24irxGvxRc95l4zqFMq89YBlCovZEX7k6Swhq9HvKybhBAVg-dsBx_2kVlbV0uqFm8LIuTnUWIuUTQfa9nEOYjnl5ejwsQYSUWfFb-lXDZx3hTZI1GuZwZoFd2t3I69RyFfO8C7h9pXbbSLJyCPWkSWjdbLhbE--hMQpGa1Qh0EL7t-pfV8H8p8RQAWlUNwceVpkQUlIiBboiU85pDMthAsRzTKaQ>


This message, including attachments, is CONFIDENTIAL. It may also be privileged 
or otherwise protected by law. If you received this email by mistake please let 
us know by reply and then delete it from your system; you should not copy it or 
disclose its contents to anyone. All messages sent to and from Enea may be 
monitored to ensure compliance with internal policies and to protect our 
business. Emails are not secure and cannot be guaranteed to be error free as 
they can be intercepted, a mended, lost or destroyed, or contain viruses. The 
sender therefore does not accept liability for any errors or omissions in the 
contents of this message, which arise as a result of email transmission. Anyone 
who communicates with us by email accepts these risks.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14961): https://lists.onap.org/g/onap-discuss/message/14961
Mute This Topic: https://lists.onap.org/mt/28864012/21656
Mute #sdc: https://lists.onap.org/mk?hashtag=sdc&subid=2740164
Mute #cia: https://lists.onap.org/mk?hashtag=cia&subid=2740164
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to