-
Notifications
You must be signed in to change notification settings - Fork 934
Upgrade MySql client and remove allowed failures on CI builds #2501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
It is fixed in .22 which is not released yet. I’m waiting for the release. |
@bahusoid still does not work This is what I was trying to fix:
|
I got it. But it failed the same with you changes, so I assumed that such characters are 4-bytes long so changed to UTF8mb4. This issue is gone with this change . But other tests now failed with new error like
|
This comment has been minimized.
This comment has been minimized.
Ok. Combination of |
I was close :) Did you get why no explicit changes are required for appveyour?
Hm.. I made a quick search and found seems to working Firebird installation on xenial travis: Seems the relevant parts: |
Because AppVeyor already runs 5.7 with |
First link is what we do but with curl instead of nuget. The second one is what we also have. I think usermod command is the key. |
UPD: no effect. |
language: csharp | ||
mono: none | ||
dotnet: 2.1.300 | ||
sudo: required |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This option is obsolete
before_install: | ||
- curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - | ||
- curl https://packages.microsoft.com/config/ubuntu/14.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not needed
sudo service mysql restart | ||
fi | ||
- |- | ||
if [[ "$DB" == "Firebird" ]] | ||
then | ||
sudo apt-get install -y libicu-dev libtommath-dev curl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
libicu-dev
and curl
are already installed so no point to install them again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you change it back to libtommath-dev
? I suspect with libtommath0
hacky stuff below with ln
wouldn't be required for bionic and above. Or am I wrong?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The libtommath-dev
references either libtommath0
or libtommath1
depending on the distributive. 16.04 is the last version which will include libtommath0
. The 18.04 and above uses libtommath1
.
Firebird 3.x is built against libtommath0
and they refuse to rebuild it to libtommath1
, so the ln
will be required in 18.04 or above when using the official distribution.
However, it seems that 18.04 and above have Firebird 3.0 in the apt
.
sudo apt-get install -y libtommath-dev | ||
# This would be required on bionic and above | ||
# sudo ln -s /usr/lib/x86_64-linux-gnu/libtommath.so.1 /usr/lib/x86_64-linux-gnu/libtommath.so.0 | ||
wget -q https://github.com/FirebirdSQL/firebird/releases/download/R3_0_5/Firebird-3.0.5.33220-0.amd64.tar.gz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
curl -L -O URL
and wget URL
do exactly same. I decided to leave wget
as it is a standard GNU utility.
@@ -41,7 +37,7 @@ before_install: | |||
echo -e "nhibernate = /tmp/firebird/nhibernate.fdb" | sudo tee -a /opt/firebird/databases.conf | |||
echo -e "AuthServer = Srp\nAuthClient = Srp\nUserManager = Srp\nWireCrypt = Enabled" | sudo tee -a /opt/firebird/firebird.conf | |||
sudo /opt/firebird/bin/gsec -modify SYSDBA -pw masterkey -admin yes | |||
sudo service firebird restart | |||
sudo systemctl restart firebird-superserver |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The reason it was failing is because the service name on 3.0.x has changed. Probably 14.04 has some residue service definitions for firebird
service and so it was working as intended.
They claim issue is no longer reproduced on latest client: https://bugs.mysql.com/bug.php?id=90086