build-stx-images.sh builds agains out of date base image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Scott Little |
Bug Description
Title
-----
build-stx-images.sh builds agains out od date base image
Brief Description
-----------------
build-stx-images.sh failed on cgts4. It appears that it was building against a base image from December. build-stx-images.sh needs to do a pull against the base image to ensure it is up to date.
Severity
--------
Provide the severity of the defect.
Critical: build failure, failure to build current software.
Steps to Reproduce
------------------
On a machine with a pre-existing but dated copy of docker.
build-stx-images.sh --prefix dev --latest-prefix dev --os centos --release master --version 2019-03-21_20-30-00 --base docker.
If the base image is old enough, the build of fails. If not, the age if the base image can be seen with ...
docker inspect <image-name>
Expected Behavior
------------------
Build succeeds, and the image has used the current dev-latest base image from cengn.
Actual Behavior
----------------
Build tries to use out of date local copy of starlingx/
Reproducibility
---------------
<Reproducible/
100%
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
2019-03-22
Timestamp/Logs
--------------
build-stx-images.sh --prefix dev --latest-prefix dev --os centos --release master --version 2019-03-21_20-30-00 --base docker.
...
--> Processing Conflict: 10:qemu-
--> Processing Conflict: 10:qemu-
Removing qemu-img.x86_64 10:1.5.
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package openssh-
--> Processing Dependency: openssh = 7.4p1-16.el7 for package: openssh-
---> Package qemu-img.x86_64 10:1.5.
--> Finished Dependency Resolution
[91mError: qemu-img conflicts with 10:qemu-
Error: qemu-img-ev conflicts with 10:qemu-
[0m[91mError: Package: openssh-
[0m You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
The command '/bin/sh -c /opt/loci/
summary: |
- build-stx-images.sh builds agains out od date base image + build-stx-images.sh builds agains out of date base image |
description: | updated |
tags: | added: stx.2019.05 stx.build |
Changed in starlingx: | |
status: | New → Triaged |
Changed in starlingx: | |
importance: | Undecided → High |
assignee: | nobody → Scott Little (slittle1) |
description: | updated |
tags: |
added: stx.2.0 removed: stx.2019.05 |
Does this means that this `docker pull` doesn't work to get the latest image in the registry?
https:/ /opendev. org/starlingx/ root/src/ branch/ master/ build-tools/ build-docker- images/ build-stx- images. sh#L566