Uploaded image for project: 'MariaDB Foundation Development'
  1. MariaDB Foundation Development
  2. MDBF-347

bb 10.2 packages generated in CI ubuntu repository unusable

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • N/A
    • None
    • None

    Description

      The docker library builder cannot install mariadb packages from the generated repo.

      The result is the continuous delivery of 10.2 container images from quay.io is no-longer updating.

      All 10.3+ repositories are generated ok and are building on the docker-library buildbot.

      from https://buildbot.mariadb.org/#/builders/311/builds/6783/steps/2/logs/stdio

      Get:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [242 kB]
      Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB]
      Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB]
      Ign:4 https://ci.mariadb.org/22519/aarch64-ubuntu-1804-deb-autobake/debs ./ InRelease
      Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB]
      Ign:6 https://ci.mariadb.org/22519/aarch64-ubuntu-1804-deb-autobake/debs ./ Release
      Get:7 https://ci.mariadb.org/22519/aarch64-ubuntu-1804-deb-autobake/debs ./ Packages [10.2 kB]
      Get:8 http://ports.ubuntu.com/ubuntu-ports bionic/universe arm64 Packages [11.0 MB]
      Get:9 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 Packages [1285 kB]
      Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/restricted arm64 Packages [572 B]
      Get:11 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse arm64 Packages [153 kB]
      Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [4824 B]
      Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [1798 kB]
      Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [5351 B]
      Get:15 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [2005 kB]
      Get:16 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [12.2 kB]
      Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [11.6 kB]
      Get:18 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [1307 kB]
      Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [1412 kB]
      Get:20 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted arm64 Packages [4146 B]
      Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse arm64 Packages [2759 B]
      Fetched 19.5 MB in 10s (1894 kB/s)
      Reading package lists...
      + apt-get install -y mariadb-server=1:10.2.44+maria~bionic mariadb-backup-10.2 socat
      Reading package lists...
      Building dependency tree...
      Reading state information...
      Some packages could not be installed. This may mean that you have
      requested an impossible situation or if you are using the unstable
      distribution that some required packages have not yet been created
      or been moved out of Incoming.
      The following information may help to resolve the situation:
      The following packages have unmet dependencies:
       mariadb-server : Depends: mariadb-server-10.2 (>= 1:10.2.44+maria~bionic) but it is not going to be installed
      

      This is used for the 10.2 based releases.

      Changing the build to:

      diff from https://github.com/MariaDB/mariadb-docker

      diff --git a/10.2/Dockerfile b/10.2/Dockerfile
      index 6ef285d..d298bed 100644
      --- a/10.2/Dockerfile
      +++ b/10.2/Dockerfile
      @@ -1,5 +1,5 @@
       # vim:set ft=dockerfile:
      -FROM ubuntu:bionic
      +FROM ubuntu:focal
       
       # add our user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added
       RUN groupadd -r mysql && useradd -r -g mysql mysql
      @@ -51,7 +51,7 @@ RUN mkdir /docker-entrypoint-initdb.d
       RUN set -ex; \
              apt-get update; \
              DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
      -               libjemalloc1 \
      +               libjemalloc2 \
                      pwgen \
                      tzdata \
                      xz-utils \
      
      

      Rebuilding with this in the same buildah command line as the bb generates the same error.

      This would eliminate the bionic vs focal apt versions being a cause of difference.

      This is generated with buildbot.mariadb.org/master.cfg -> dpkgDeb the same for all repos.

      I checked the Packages.gz paths and they seem fine.

      Supple differences in 10.2 packaging maybe?

      Attachments

        Issue Links

          Activity

            People

              faust Faustin Lammler
              danblack Daniel Black
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 1h
                  1h