Details

    Description

      I observed that the docker image build CI for s390x has been timing out since March 2023 therefore some images are missing from the docker registry. I was able to build the image on my s390x machine with no problem. Looks like it is an issue with the build pipeline. Could anyone from the MariaDB community take a look at this issue. I can provide any help if required. Thanks.
      pipeline link: https://doi-janky.infosiftr.net/job/multiarch/job/s390x/job/mariadb/
      screenshot:

      Attachments

        Issue Links

          Activity

            danblack Daniel Black added a comment -

            Thanks for the bug report.

            It appears to be something in the Docker CI (infosiftr was acquired by Docker Inc).

            I've forwarded the bug to them to understand: https://github.com/docker-library/official-images/issues/14923

            danblack Daniel Black added a comment - Thanks for the bug report. It appears to be something in the Docker CI (infosiftr was acquired by Docker Inc). I've forwarded the bug to them to understand: https://github.com/docker-library/official-images/issues/14923
            danblack Daniel Black added a comment - - edited

            I'm a bit worried that 10.5, 10.6 succeed and the others failed. This could distro kernel related, 10.9+ are jammy based and would be using iouring, 10.5/10.6 wouldn't). So this could be a s390x kernel uring problem.

            I removed the initialization in https://github.com/MariaDB/mariadb-docker/pull/518 that should make it quicker, and avoid the build time exercising of database functions. If there is really a problem in s390x initialization of a database in 10.9+ this needs to be found. I'll look at pushing a release early next week that passes hopefully and there should at least be a release there.

            Can you test quay.io/mariadb-foundation/mariadb-devel:$version images on real hardware as they haven't had trouble building at all.

            As a test clone https://github.com/MariaDB/mariadb-docker

            and:

            .test/run quay.io/mariadb-foundation/mariadb-devel:10.9

            Will start/stop exercise the functionality.

            Pushing a hammerdb/sysbench oltp (RW) at the container would be useful too.

            danblack Daniel Black added a comment - - edited I'm a bit worried that 10.5, 10.6 succeed and the others failed. This could distro kernel related, 10.9+ are jammy based and would be using iouring, 10.5/10.6 wouldn't). So this could be a s390x kernel uring problem. I removed the initialization in https://github.com/MariaDB/mariadb-docker/pull/518 that should make it quicker, and avoid the build time exercising of database functions. If there is really a problem in s390x initialization of a database in 10.9+ this needs to be found. I'll look at pushing a release early next week that passes hopefully and there should at least be a release there. Can you test quay.io/mariadb-foundation/mariadb-devel:$version images on real hardware as they haven't had trouble building at all. As a test clone https://github.com/MariaDB/mariadb-docker and: .test/run quay.io/mariadb-foundation/mariadb-devel:10.9 Will start/stop exercise the functionality. Pushing a hammerdb/sysbench oltp (RW) at the container would be useful too.
            danblack Daniel Black added a comment -

            The s390x released on Docker Hub on the official releases have been updated so are available in all 10.5+ containers like they should have been.

            There is still most likely an iouring problem with at least some kernels on s390x for mariadb containers 10.9+. To confirm, after exercising a stalling test case (like previous), disable the liburing with --innodb_use_native_aio=0 and see the same behaviour exists.

            danblack Daniel Black added a comment - The s390x released on Docker Hub on the official releases have been updated so are available in all 10.5+ containers like they should have been. There is still most likely an iouring problem with at least some kernels on s390x for mariadb containers 10.9+. To confirm, after exercising a stalling test case (like previous), disable the liburing with --innodb_use_native_aio=0 and see the same behaviour exists.

            Thanks @danblack for your help and support. I am deeply thankful.

            ehsankianifar Ehsan Kiani Far added a comment - Thanks @danblack for your help and support. I am deeply thankful.

            People

              danblack Daniel Black
              ehsankianifar Ehsan Kiani Far
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.