From 2af6dfb17cffa83914909baf5bc3d79b4469db02 Mon Sep 17 00:00:00 2001 From: samuel40791765 Date: Wed, 1 May 2024 22:15:17 +0000 Subject: [PATCH] runs as non-root target for mysql --- .../ci/cdk/cdk/codebuild/github_ci_integration_omnibus.yaml | 4 ++-- tests/ci/integration/run_mysql_integration.sh | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/tests/ci/cdk/cdk/codebuild/github_ci_integration_omnibus.yaml b/tests/ci/cdk/cdk/codebuild/github_ci_integration_omnibus.yaml index ce8bbc583b0..075c1eb183d 100644 --- a/tests/ci/cdk/cdk/codebuild/github_ci_integration_omnibus.yaml +++ b/tests/ci/cdk/cdk/codebuild/github_ci_integration_omnibus.yaml @@ -102,7 +102,7 @@ batch: # MySQL build is bloated without any obvious build configurations we can use to speed up the build, so we use a larger instance here. - identifier: mysql_integration_x86_64 - buildspec: tests/ci/codebuild/common/run_simple_target.yml + buildspec: tests/ci/codebuild/common/run_nonroot_target.yml env: type: LINUX_CONTAINER privileged-mode: false @@ -112,7 +112,7 @@ batch: AWS_LC_CI_TARGET: "tests/ci/integration/run_mysql_integration.sh" - identifier: mysql_integration_aarch - buildspec: tests/ci/codebuild/common/run_simple_target.yml + buildspec: tests/ci/codebuild/common/run_nonroot_target.yml env: type: ARM_CONTAINER privileged-mode: false diff --git a/tests/ci/integration/run_mysql_integration.sh b/tests/ci/integration/run_mysql_integration.sh index e40ba896221..b1dd999865b 100755 --- a/tests/ci/integration/run_mysql_integration.sh +++ b/tests/ci/integration/run_mysql_integration.sh @@ -65,11 +65,6 @@ function mysql_run_tests() { main.udf_bug35242734 : Bug#0000 mysqld is not managed by supervisor process main.file_contents : Bug#0000 Cannot open 'INFO_SRC' in '' main.resource_group_thr_prio_unsupported : Bug#0000 Invalid thread priority value -5 -main.dd_upgrade_error_cs : Bug#0000 running mysqld as root -main.basedir : Bug#0000 running mysqld as root -main.lowercase_fs_off : Bug#0000 running mysqld as root -main.upgrade : Bug#0000 running mysqld as root -main.mysqld_cmdline_warnings : Bug#0000 running mysqld as root main.mysqld_daemon : Bug#0000 failed, error: 256, status: 1, errno: 2. main.mysqld_safe : Bug#0000 nonexistent: No such file or directory main.grant_user_lock : Bug#0000 Access denied for user root at localhost