Skip to content
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

Create the MariaDB wmcore unittest database with the current unix user #10934

Merged
merged 1 commit into from
Dec 21, 2021

Conversation

amaltaro
Copy link
Contributor

@amaltaro amaltaro commented Dec 21, 2021

Fixes #10926

Status

ready

Description

From the docker build log:

Info: Using unique option prefix 'sock' is error-prone and can break in the future. Please use the full name 'socket' instead.
ERROR 1044 (42000) at line 1: Access denied for user ''@'localhost' to database 'wmcore_unittest'

there is something strange with the command above.

The unittest user name is explicitly passed in the command line, still it sees nothing (maybe the sock command...) anyhow, since this is all executed during the deployment, we can simply modify it to use the current unix user (`$USER).

Is it backward compatible (if not, which system it affects?)

YES

Related PRs

Yes, trying to fix:
dmwm/deployment#1117
then
#10932

External dependencies / deployment changes

Deployment changes coming up soon:

@amaltaro
Copy link
Contributor Author

I managed to test it with my gitlab/docker area and the images have been successfully built and unit tests can run.
Erik, feel free to leave any comments and I can follow those up later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Soft error while creating MariaDB user in 10.6.5 during deployment
1 participant