<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><b>This was an interesting failure</b></div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">An update to distributed cloud changed
the minimum version of python-oslo-concurrency</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">
/cgcs-root/stx/distributedcloud/distributedcloud/centos/distributedcloud.spec:BuildRequires:
python-oslo-concurrency<font color="#cc0000"> >= 3.29.1</font><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">A corresponding change was attempted in
...</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">
stx-tools/centos-mirror-tools/config/centos/distro/rpms_centos.lst<br>
-python2-oslo-concurrency-3.27.0-1.el7.noarch.rpm<br>
+python2-oslo-concurrency-3.29.1-1.el7.noarch.rpm</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">but it was not made in ...</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">
stx-tools/centos-mirror-tools/config/centos/flock/rpms_centos.lst<br>
python2-oslo-concurrency-3.27.0-1.el7.noarch.rpm</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><b>The monolithic build was ok, but not
the flock layer build failed. Why? </b><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Distributed cloud builds under the
flock layer. The flock layer build only uses flock layer lst
file. So it needs 3.29.1, but only 3.27.0 is available. Build
fails.</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">The monolithic build merges the lst
files of all layers. We ended up with two copies of
python2-oslo-concurrency, 3.27.0 and 3.29.1, and the highest
version was used in the build. So all would seem ok if the
designer tested with a monolithic build rather than a flock layer
build.</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">The monolithic build is going away.</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><b>Designers need to do layer builds to
test their changes!</b></div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Other thoughts ...<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><b>Does </b><b>python2-oslo-concurrency
need to be listed in two places?</b> <br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Yes. <br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">There are distro layer components that
BuildRequire python2-oslo-concurrency as well. A distro layer
build would look at
stx-tools/centos-mirror-tools/config/centos/distro/rpms_centos.lst</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><b>What if I only upversion the flock
layer and not the distro layer?</b></div>
<div class="moz-cite-prefix"><b><br>
</b></div>
<div class="moz-cite-prefix">While it would have passed build on all
layers, I don't think it's a good idea. The iso is built from the
flock layer, and will use the newer version. The distro layer
packages would have run there tox tests versus an older version of
the library than would be used at runtime. An error that might
have been caught by a unit test will now only be caught at
runtime.</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">All lst files should agree on the
version to use.</div>
<div class="moz-cite-prefix"><br>
<b></b></div>
<div class="moz-cite-prefix"><b>What if the need to upversion was
being driven by a distro layer package? Would I still need to
upversion the flock layer lst file in addition to the distro
layer lst?</b><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Yes. <br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">A package with a 'BuildRequire' on a
newer version will also usually have a 'Require' on the newer
version as well. Updating the distro layer lst will allow the
distro layer build-pkgs to succeed. However, build-iso runs under
the flock layer, only uses the flock layer lst. Omitting the
flock layer lst update will fail on the 'Require' when build-iso
is run.<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 2020-02-24 2:35 p.m.,
<a class="moz-txt-link-abbreviated" href="mailto:build.starlingx@gmail.com">build.starlingx@gmail.com</a> wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1920916225.872.1582572935463.JavaMail.javamailuser@localhost">
<pre class="moz-quote-pre" wrap="">Project: STX_build_pre_installer_layered
Build #: 53
Status: Failure
Timestamp: 20200224T192300Z
Check logs at:
<a class="moz-txt-link-freetext" href="http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/flock/20200224T185245Z/logs">http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/flock/20200224T185245Z/logs</a>
--------------------------------------------------------------------------------
Parameters
MY_WORKSPACE: /localdisk/loadbuild/jenkins/master-flock/20200224T185245Z
DOCKER_BUILD_ID: jenkins-master-flock-20200224T185245Z-builder
OS: centos
MY_REPO: /localdisk/designer/jenkins/master-flock/cgcs-root
PUBLISH_LOGS_URL: <a class="moz-txt-link-freetext" href="http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/flock/20200224T185245Z/logs">http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/flock/20200224T185245Z/logs</a>
PUBLISH_LOGS_BASE: /export/mirror/starlingx/master/centos/flock/20200224T185245Z/logs
MASTER_JOB_NAME: STX_build_layer_flock_master_master
LAYER: flock
MY_REPO_ROOT: /localdisk/designer/jenkins/master-flock
BUILD_ISO: true</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Starlingx-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Starlingx-discuss@lists.starlingx.io">Starlingx-discuss@lists.starlingx.io</a>
<a class="moz-txt-link-freetext" href="http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss">http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss</a>
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>