Hi all,
the MySQL 5 docker tests are failing on GitHub... the output does not say
much, it eventually gets killed
after 6 hours of wait:

Digest:
sha256:4279d155f8cab19149c6078b20d53976f1498e31d6f848ac83e11323909b41f1
Status: Downloaded newer image for mysql:5
docker.io/library/mysql:5
Starting MySQL 5 container, this could take a
while...8fc34809b7b3e4bd06a4c81b734a88a5e875c197028b2e3f71fb6c733d0aed29
Error: The operation was canceled.

I've tried locally pulling "mysql:5", it starts up, I'm guessing the issue
is in the loop that checks if mysql is up:

do
    printf " $_WAIT"
    # look for a line with: "mysqld: ready for connections."
    # followed by a line with "port: 3306 " (maybe on the same line)
    if $(docker logs geotools 2>&1 | grep -A2 'ready for connections' |
grep -q 'port: 3306 '); then
        printf "\nMySQL ready for connections\n\n"
        break
    fi

    sleep 10
    _WAIT=$(($_WAIT+10))
done

I don't see a "ready for connections" in the output of the image, but just
a "Ready for start-up"... that's the last message.
I've searched a bit on the bug tracker but getting nothing out of it...
does this ring a bell to anyone?

Cheers
Andrea
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to