Attempt to properly wait for mysql to start to avoid random test failures

Created on 1 November 2024, about 2 months ago

Problem/Motivation

Tests are, to quote another issue

> aggressively failing due to problems with MySQL not starting

Here is an attempt at using a package I created and have been using in CI systems for many years.

Steps to reproduce

Probably look at some of the other open MRs

Proposed resolution

Try to wait for the port to be accepting connections

Remaining tasks

Review, test and commit

User interface changes

n/a

API changes

n/a

Data model changes

n/a

πŸ“Œ Task
Status

Active

Component

Infrastructure

Created by

πŸ‡³πŸ‡΄Norway eiriksm Norway

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @eiriksm
  • Merge request !169Try to install and wait β†’ (Open) created by eiriksm
  • Pipeline finished with Failed
    about 2 months ago
    Total: 327s
    #326800
  • Pipeline finished with Failed
    about 2 months ago
    Total: 338s
    #326803
  • Pipeline finished with Failed
    about 2 months ago
    Total: 369s
    #326802
  • Pipeline finished with Failed
    about 2 months ago
    Total: 479s
    #326815
  • Pipeline finished with Failed
    about 2 months ago
    Total: 506s
    #326814
  • Pipeline finished with Failed
    about 2 months ago
    Total: 586s
    #326822
  • Pipeline finished with Failed
    about 2 months ago
    Total: 776s
    #326821
  • Pipeline finished with Failed
    about 2 months ago
    Total: 457s
    #326841
  • Pipeline finished with Failed
    about 2 months ago
    Total: 492s
    #326840
  • Pipeline finished with Failed
    about 2 months ago
    Total: 444s
    #326847
  • Pipeline finished with Failed
    about 2 months ago
    Total: 455s
    #326846
  • Pipeline finished with Failed
    about 2 months ago
    Total: 545s
    #326853
  • Pipeline finished with Failed
    about 2 months ago
    Total: 617s
    #326854
  • Pipeline finished with Failed
    about 2 months ago
    Total: 755s
    #326861
  • Pipeline finished with Failed
    about 2 months ago
    Total: 1216s
    #326860
  • Pipeline finished with Failed
    about 2 months ago
    Total: 624s
    #326923
  • Pipeline finished with Failed
    about 2 months ago
    Total: 628s
    #326924
  • Pipeline finished with Failed
    about 2 months ago
    Total: 2060s
    #326936
  • Pipeline finished with Failed
    about 2 months ago
    Total: 2425s
    #326937
  • Pipeline finished with Failed
    about 2 months ago
    #327004
  • Pipeline finished with Failed
    about 2 months ago
    #327005
  • Pipeline finished with Failed
    about 2 months ago
    Total: 637s
    #326996
  • Pipeline finished with Failed
    about 2 months ago
    Total: 699s
    #326995
  • Pipeline finished with Failed
    about 2 months ago
    #327034
  • Pipeline finished with Success
    about 2 months ago
    Total: 2232s
    #327036
  • Pipeline finished with Failed
    about 2 months ago
    Total: 2249s
    #327037
  • Pipeline finished with Success
    about 2 months ago
    Total: 670s
    #327086
  • Pipeline finished with Failed
    about 2 months ago
    Total: 738s
    #327087
  • Pipeline finished with Failed
    about 2 months ago
    Total: 495s
    #327105
  • Pipeline finished with Failed
    about 2 months ago
    Total: 511s
    #327106
  • Pipeline finished with Failed
    about 2 months ago
    Total: 623s
    #327115
  • Pipeline finished with Failed
    about 2 months ago
    Total: 651s
    #327114
  • πŸ‡³πŸ‡΄Norway eiriksm Norway

    Huh well I guess maybe the waiting might not be the problem after all? Anyway, leaving for review in case anyone has any input

  • πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

    The problem isn't waiting; it's that somehow the server just fails to start. I don't know why - it maybe is some problem with the MySQL Docker image itself.

    One possibility might be to use MySQL 5.7 or something (assuming that's D11 compatible) instead of MySQL 8.

  • πŸ‡¦πŸ‡ΊAustralia pameeela

    So can we close this?

Production build 0.71.5 2024