New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 853401 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Jul 16
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Update mariadb to latest version

Project Member Reported by haddowk@chromium.org, Jun 15 2018

Issue description


LTS for the 5.x version of mariadb ends 2019

We have been having some unexplained DB crashes recently.

Upgrade to the latest version to see if that might solve the problem or provide better debugging tools, as it needs to be done in the next 6 months anyway.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Jun 27 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/22d28c1362fc57c9235f4907c4352a767a196f14

commit 22d28c1362fc57c9235f4907c4352a767a196f14
Author: Keith Haddow <haddowk@chromium.org>
Date: Wed Jun 27 06:44:19 2018

[moblab] Run a check on the DB that will upgrade if necessary

Looking at moving to mariadb 10.x - this check of the db will
upgrade existing db's after an AU.

TEST=tryjob:https://cros-goldeneye.corp.google.com/chromeos/healthmonitoring/buildDetails?buildbucketId=8942704005131858720wq
BUG= chromium:853401 

Change-Id: I6394aa7285aa8cc24d277130e471ad7ad729a98d
Reviewed-on: https://chromium-review.googlesource.com/1114388
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Matt Mallett <mattmallett@chromium.org>

[modify] https://crrev.com/22d28c1362fc57c9235f4907c4352a767a196f14/project-moblab/chromeos-base/chromeos-bsp-moblab/files/init/moblab-database-init.conf

Project Member

Comment 2 by bugdroid1@chromium.org, Jun 27 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/portage-stable/+/513b0e4a50aa3655b893cf003235ce15818930dd

commit 513b0e4a50aa3655b893cf003235ce15818930dd
Author: Keith Haddow <haddowk@chromium.org>
Date: Wed Jun 27 17:31:36 2018

libpcre, rhash: upgraded packages to upstream

Upgraded app-crypt/rhash to version 1.3.5 on amd64
Upgraded dev-libs/libpcre to version 8.41-r1 on amd64

veyron_minnie-paladin-tryjob
https://cros-goldeneye.corp.google.com/chromeos/healthmonitoring/buildDetails?buildbucketId=8942625495478859696

guado_moblab-paladin-tryjob
https://cros-goldeneye.corp.google.com/chromeos/healthmonitoring/buildDetails?buildbucketId=8942625496187301472

eve-paladin-tryjob
https://cros-goldeneye.corp.google.com/chromeos/healthmonitoring/buildDetails?buildbucketId=8942625496907788416

BUG= chromium:853401 
TEST=Build and tested on moblab, tryjobs

Change-Id: Ic0ef06af790247c440dfc1bb365b395320611cde
Reviewed-on: https://chromium-review.googlesource.com/1115909
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Jason Clinton <jclinton@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>

[delete] https://crrev.com/bddf217e86082109dd0ff5135ef2da73f796a70a/dev-libs/libpcre/files/libpcre-8.40-jit-else.patch
[add] https://crrev.com/513b0e4a50aa3655b893cf003235ce15818930dd/app-crypt/rhash/Manifest
[delete] https://crrev.com/bddf217e86082109dd0ff5135ef2da73f796a70a/dev-libs/libpcre/files/libpcre-8.40-pcregrep-multiline-1.patch
[add] https://crrev.com/513b0e4a50aa3655b893cf003235ce15818930dd/app-crypt/rhash/metadata.xml
[delete] https://crrev.com/bddf217e86082109dd0ff5135ef2da73f796a70a/dev-libs/libpcre/files/libpcre-8.40-pcregrep-multiline-2.patch
[add] https://crrev.com/513b0e4a50aa3655b893cf003235ce15818930dd/dev-libs/libpcre/files/libpcre-8.41-fix-stack-size-detection.patch
[add] https://crrev.com/513b0e4a50aa3655b893cf003235ce15818930dd/metadata/md5-cache/app-crypt/rhash-1.3.5
[rename] https://crrev.com/513b0e4a50aa3655b893cf003235ce15818930dd/dev-libs/libpcre/libpcre-8.41-r1.ebuild
[add] https://crrev.com/513b0e4a50aa3655b893cf003235ce15818930dd/app-crypt/rhash/files/rhash-1.3.6-no_echon.patch
[add] https://crrev.com/513b0e4a50aa3655b893cf003235ce15818930dd/app-crypt/rhash/rhash-1.3.5.ebuild
[add] https://crrev.com/513b0e4a50aa3655b893cf003235ce15818930dd/dev-libs/libpcre/files/libpcre-8.41-sljit_mips-label-statement-fix.patch
[rename] https://crrev.com/513b0e4a50aa3655b893cf003235ce15818930dd/metadata/md5-cache/dev-libs/libpcre-8.41-r1
[add] https://crrev.com/513b0e4a50aa3655b893cf003235ce15818930dd/app-crypt/rhash/files/unquote-cc.patch
[modify] https://crrev.com/513b0e4a50aa3655b893cf003235ce15818930dd/dev-libs/libpcre/Manifest

Project Member

Comment 3 by bugdroid1@chromium.org, Jun 28 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/e0014f2c231fa115cf145b9408925d714fb1348a

commit e0014f2c231fa115cf145b9408925d714fb1348a
Author: Keith Haddow <haddowk@chromium.org>
Date: Thu Jun 28 05:07:39 2018

[moblab] Allow mysql settings to be overridden

Provide a moblab specific defaults file and call the mysqld with
that configuration file as an option.

These setting override any global settings in other cnf files.

guado_moblab-paladin-tryjob:
https://cros-goldeneye.corp.google.com/chromeos/healthmonitoring/buildDetails?buildbucketId=8942613759606548592

TEST=tryjob, local moblab
BUG= chromium:853401 

Change-Id: I165a45da977de8929e89dfd7c73899c4c1430eb5
(cherry picked from commit 58735b1ecfec4960c49594298b7c74e981da34ee)
Reviewed-on: https://chromium-review.googlesource.com/1117126
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Matt Mallett <mattmallett@chromium.org>

[add] https://crrev.com/e0014f2c231fa115cf145b9408925d714fb1348a/project-moblab/chromeos-base/chromeos-bsp-moblab/files/mysql_defaults_extra.cnf
[modify] https://crrev.com/e0014f2c231fa115cf145b9408925d714fb1348a/project-moblab/chromeos-base/chromeos-bsp-moblab/chromeos-bsp-moblab-9999.ebuild
[modify] https://crrev.com/e0014f2c231fa115cf145b9408925d714fb1348a/project-moblab/chromeos-base/chromeos-bsp-moblab/files/init/moblab-database-init.conf

Project Member

Comment 4 by bugdroid1@chromium.org, Jul 1

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/d96d4b6ca75cf54cb1b4c240ba2a3ef7e80d2d57

commit d96d4b6ca75cf54cb1b4c240ba2a3ef7e80d2d57
Author: Keith Haddow <haddowk@chromium.org>
Date: Sun Jul 01 00:21:18 2018

[chromiumos-overlay] Upgrade mariadb to 10.1.31

Started from the gentoo current ebuild - following changes were made:

Copied over change that uses the profile GID/UID rather than eclass
Copied over change that fixes the different local libevent is built

Changed PCRE definition to auto, this results in using the PCRE that
is shipped with mariadb

Added CXX flags for standard include and library directorys so Cmake
can pick them up.

Added support for cross compile following the documentation in mariadb

guado_moblab-paladin-tryjob
https://cros-goldeneye.corp.google.com/chromeos/healthmonitoring/buildDetails?buildbucketId=8942465816806788896

CQ-DEPEND=CL:1118708
BUG= chromium:853401 
TEST=tryjob, manual testing on moblab

Change-Id: I5a76f62bb02366aa08a7979405b4e39820fa41a8
Reviewed-on: https://chromium-review.googlesource.com/1118748
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Jason Clinton <jclinton@chromium.org>

[rename] https://crrev.com/d96d4b6ca75cf54cb1b4c240ba2a3ef7e80d2d57/dev-db/mariadb/files/my.cnf-5.6
[add] https://crrev.com/d96d4b6ca75cf54cb1b4c240ba2a3ef7e80d2d57/dev-db/mariadb/files/my.cnf.distro-server
[delete] https://crrev.com/17103902114536805d20d2c002ae2aa3461de741/dev-db/mariadb/files/mariadb-5.5.32-workaround-cros-build.patch
[delete] https://crrev.com/17103902114536805d20d2c002ae2aa3461de741/dev-db/mariadb/mariadb-5.5.32-r11.ebuild
[add] https://crrev.com/d96d4b6ca75cf54cb1b4c240ba2a3ef7e80d2d57/dev-db/mariadb/files/my.cnf.distro-client
[delete] https://crrev.com/17103902114536805d20d2c002ae2aa3461de741/dev-db/mariadb/files/mariadb-5.5.32-sql-bison-compatibility.patch
[delete] https://crrev.com/17103902114536805d20d2c002ae2aa3461de741/dev-db/mariadb/files/mariadb-5.5.32-mysql-narrowing.patch
[delete] https://crrev.com/17103902114536805d20d2c002ae2aa3461de741/dev-db/mariadb/README
[modify] https://crrev.com/d96d4b6ca75cf54cb1b4c240ba2a3ef7e80d2d57/dev-db/mariadb/Manifest
[add] https://crrev.com/d96d4b6ca75cf54cb1b4c240ba2a3ef7e80d2d57/dev-db/mariadb/mariadb-10.1.31-r1.ebuild
[delete] https://crrev.com/17103902114536805d20d2c002ae2aa3461de741/dev-db/mariadb/mariadb-5.5.32.ebuild
[delete] https://crrev.com/17103902114536805d20d2c002ae2aa3461de741/dev-db/mariadb/files/mariadb-5.5.32-mysql-type-mismatch.patch
[modify] https://crrev.com/d96d4b6ca75cf54cb1b4c240ba2a3ef7e80d2d57/dev-db/mariadb/metadata.xml

Project Member

Comment 5 by bugdroid1@chromium.org, Jul 1

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/portage-stable/+/cc536c7404fc27d1f3893945cd2464a8e7e8218c

commit cc536c7404fc27d1f3893945cd2464a8e7e8218c
Author: Keith Haddow <haddowk@chromium.org>
Date: Sun Jul 01 00:21:19 2018

libmysqlclient, mysql: upgraded packages to upstream

Upgraded virtual/libmysqlclient to version 18 on amd64
Upgraded virtual/mysql to version 5.6-r12 on amd64

dev-db/mariadb is in chromeos-overlay cleaning up from here.
adding mysql-multilib-r1.eclass required by latest mariadb
version.

guado_moblab-paladin-tryjob
https://cros-goldeneye.corp.google.com/chromeos/healthmonitoring/buildDetails?buildbucketId=8942465816806788896

CQ-DEPEND=CL:1118748
TEST=tryjob
BUG= chromium:853401 

Change-Id: Id68bbd343844ce17ea56261da6d4406d6aaade6d
Reviewed-on: https://chromium-review.googlesource.com/1118708
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Jason Clinton <jclinton@chromium.org>

[delete] https://crrev.com/513b0e4a50aa3655b893cf003235ce15818930dd/dev-db/mariadb/files/my.cnf-4.1
[delete] https://crrev.com/513b0e4a50aa3655b893cf003235ce15818930dd/dev-db/mariadb/files/my.cnf-5.5
[add] https://crrev.com/cc536c7404fc27d1f3893945cd2464a8e7e8218c/metadata/md5-cache/virtual/libmysqlclient-18
[delete] https://crrev.com/513b0e4a50aa3655b893cf003235ce15818930dd/dev-db/mariadb/files/my.cnf-5.1
[add] https://crrev.com/cc536c7404fc27d1f3893945cd2464a8e7e8218c/metadata/md5-cache/virtual/mysql-5.6-r12
[add] https://crrev.com/cc536c7404fc27d1f3893945cd2464a8e7e8218c/virtual/mysql/mysql-5.6-r12.ebuild
[add] https://crrev.com/cc536c7404fc27d1f3893945cd2464a8e7e8218c/virtual/libmysqlclient/metadata.xml
[modify] https://crrev.com/cc536c7404fc27d1f3893945cd2464a8e7e8218c/virtual/mysql/metadata.xml
[delete] https://crrev.com/513b0e4a50aa3655b893cf003235ce15818930dd/dev-db/mariadb/mariadb-5.5.32.ebuild
[add] https://crrev.com/cc536c7404fc27d1f3893945cd2464a8e7e8218c/eclass/mysql-multilib-r1.eclass
[delete] https://crrev.com/513b0e4a50aa3655b893cf003235ce15818930dd/virtual/mysql/mysql-5.5.ebuild
[delete] https://crrev.com/513b0e4a50aa3655b893cf003235ce15818930dd/dev-db/mariadb/Manifest
[delete] https://crrev.com/513b0e4a50aa3655b893cf003235ce15818930dd/metadata/md5-cache/virtual/mysql-5.5
[add] https://crrev.com/cc536c7404fc27d1f3893945cd2464a8e7e8218c/virtual/libmysqlclient/libmysqlclient-18.ebuild
[delete] https://crrev.com/513b0e4a50aa3655b893cf003235ce15818930dd/dev-db/mariadb/metadata.xml
[delete] https://crrev.com/513b0e4a50aa3655b893cf003235ce15818930dd/metadata/md5-cache/dev-db/mariadb-5.5.32

Status: Fixed (was: Assigned)
Project Member

Comment 7 by bugdroid1@chromium.org, Aug 17

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/abd255aaf73734c38945ce2f287193111421381c

commit abd255aaf73734c38945ce2f287193111421381c
Author: Keith Haddow <haddowk@chromium.org>
Date: Fri Aug 17 18:17:59 2018

cmake: update to 3.9.6

Upgraded cmake to version 3.9.6

BUG= chromium:853401 
TEST=None

Change-Id: I910a9275014085a085a95e794c695932ad496d31
Reviewed-on: https://chromium-review.googlesource.com/1120859
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[modify] https://crrev.com/abd255aaf73734c38945ce2f287193111421381c/profiles/targets/chromeos/package.provided

Project Member

Comment 8 by bugdroid1@chromium.org, Aug 30

Labels: merge-merged-release-R68-10718.B
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/05346a5e764c985fc52236409310e6887e2c8ec3

commit 05346a5e764c985fc52236409310e6887e2c8ec3
Author: Keith Haddow <haddowk@chromium.org>
Date: Thu Aug 30 16:35:37 2018

[moblab] Allow mysql settings to be overridden

Provide a moblab specific defaults file and call the mysqld with
that configuration file as an option.

These setting override any global settings in other cnf files.

guado_moblab-paladin-tryjob:
https://cros-goldeneye.corp.google.com/chromeos/healthmonitoring/buildDetails?buildbucketId=8942613759606548592

TEST=tryjob, local moblab
BUG= chromium:853401 

Change-Id: I165a45da977de8929e89dfd7c73899c4c1430eb5
(cherry picked from commit 58735b1ecfec4960c49594298b7c74e981da34ee)
Reviewed-on: https://chromium-review.googlesource.com/1117126
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Matt Mallett <mattmallett@chromium.org>
(cherry picked from commit e0014f2c231fa115cf145b9408925d714fb1348a)
Reviewed-on: https://chromium-review.googlesource.com/1196829
Commit-Queue: Keith Haddow <haddowk@chromium.org>
Trybot-Ready: Keith Haddow <haddowk@chromium.org>

[add] https://crrev.com/05346a5e764c985fc52236409310e6887e2c8ec3/project-moblab/chromeos-base/chromeos-bsp-moblab/files/mysql_defaults_extra.cnf
[modify] https://crrev.com/05346a5e764c985fc52236409310e6887e2c8ec3/project-moblab/chromeos-base/chromeos-bsp-moblab/chromeos-bsp-moblab-9999.ebuild
[modify] https://crrev.com/05346a5e764c985fc52236409310e6887e2c8ec3/project-moblab/chromeos-base/chromeos-bsp-moblab/files/init/moblab-database-init.conf

Sign in to add a comment