[MDBF-453] WSL testing in Buildbot Created: 2022-07-22  Updated: 2022-09-19

Status: Open
Project: MariaDB Foundation Development
Component/s: Buildbot
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: Daniel Black Assignee: Vlad Bogolin
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MDBF-468 Add new Windows machine and automate ... Closed

 Description   

People are using it, have had trouble in the past (and possibly currently on non-updated Windows core)

I did some testing of running MTR tests under windows 10/11 recently.

Extensive runs on 10.8/10.6 innodb, main, rocksdb --big-test all passed with the exception of replication STOP slave on 10.8 due to MDEV-25633.

Requirements:

Container build:

FROM quay.io/mariadb-foundation/mariadb-devel:10.8
RUN apt-get update && apt-get install -y gdb patch mariadb-test {other plugins?} && rm -rf /var/li {oldpackages} && chown -R mysql: /usr/share/mysql/mysql-test

Entrypoint:

chown -R mysql: /var/lib/mysql
cd /usr/share/mysql/mysql-test
gosu mysql ./mtr --vardir=/var/lib/mysql .....

Note: chown on mysql-test directory is because the test run patches the results file in place for test runs, ugly, but that's what's there.

Which comes to the integration question. The current rhel8 docker-library can certainly do a few steps to create a container, passed via quay or the ci.mariadb.org is some package format. Windows steps seen pretty simple to docker run --rm container as a test run.


Generated at Thu Feb 08 03:37:59 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.