Re: global-jjb vs. packer vs. Jenkins jobs
Robert Varga
On 03/02/2021 00:03, Anil Belur wrote:
Greetings Robert:Hello Anil, lf-env.sh: Creates a virtual env and sets up the environment, while theUnderstood. At the end of the day, though, we have only a few classes of jobs and there is a ton of commonalities between them. We have discussed this in the past, installing PyPI dependencies duringI do not believe this is the case for OpenDaylight jobs. For example each and every job I looked at performs two things: - python-tools-install.sh (70 seconds) - job-cost.sh (39 seconds) 2. All releng/global-jjb (templates) scripts do not require all of theWhile that is true, this line of reasoning completely ignores the failure mode and recovery. As it stands any of: - busted global-jjb - PyPi package updates - PyPi repository unavailability As we have seen in these past weeks, any such failure immediately propagates to all jobs and breaks them -- resulting in nothing working anymore, with no real avenue for recovery without help of LF IT. We actually went through exactly this discussion when we had Sigul failures -- and Sigul is now part of base images. It is deemed sufficient to update our cloud images once a month -- and that includes all sorts security fixes and similar. As a community we are free to decide when to spin new images and can do that completely without LF IT intervention. I am sorry, but I fail to see how Python packages special enough to inflict: - breakages occurring at completely random times - incur 2-5 minutes of infra install to *each and every job* we run[*] I am sorry to say that the world has changed in the past 5 years and we no longer have the attention of LF IT staff that made resolution of these failures a matter of hours -- it really is multiple days. That fact alone makes a huge difference when weighing pros and cons. Regards, Robert [*] Just take a good look at what https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/aaa-maven-verify-master-mvn35-openjdk11/3/console-timestamp.log.gz did: Total job runtime: 9m56s Useful build time: 7m16s Setup/teardown time: 2m40s That's **27%** of the time spent on infra, amounting to **37%** overhead.
|
|