Skip to content

MDEV-39829/MDEV-33532 s3.debug test#5214

Open
grooverdan wants to merge 1 commit into
MariaDB:10.6from
grooverdan:MDEV-39829
Open

MDEV-39829/MDEV-33532 s3.debug test#5214
grooverdan wants to merge 1 commit into
MariaDB:10.6from
grooverdan:MDEV-39829

Conversation

@grooverdan

@grooverdan grooverdan commented Jun 10, 2026

Copy link
Copy Markdown
Member

This test has incorrect results, ps-protocol and after fixing the curl interface.

Second last commit in BB is 10.11 that does s3 tests:

https://buildbot.mariadb.org/#/grid?branch=refs%2Fpull%2F5214%2Fhead

@grooverdan grooverdan added the MariaDB Foundation Pull requests created by MariaDB Foundation label Jun 10, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request make the s3.debug test reliable across curl versions. It reworks the counting of s3_test lines to test for $database/t1. To validate the s3_debug could be disabled search for $database/t2, and as there's NOT_FOUND as a result, the s3_debug was correctly disabled.

@grooverdan grooverdan changed the base branch from 10.6 to 10.11 June 11, 2026 06:28
@grooverdan grooverdan force-pushed the MDEV-39829 branch 2 times, most recently from dcde7d0 to 96466a8 Compare June 11, 2026 22:09
MDEV-39516 corrected the interface with curl particularly around
passing options.

After this the s3.debug actually enabled curl debugging like is
was meant to. With this enabled, there are addition s3_test_ pattens
in the result file, from the error log where curl correctly provide
debug message.

ps-protocol test also failed under MDEV-33532 where a differnet
number of entries was recored.

Correct variations by using the $databas/$table rather than just the
s3_test_ pattern.

As the purpose of this test is to check if s3_debug is dynamic, the
second part of the test searches for a previously, under s3_debug=1,
table t2 interaction, where the results should be NOT_FOUND.

Remove count from the result file to allow for different curl versions
and the possibiliy of being run under ps-protocol.
@grooverdan grooverdan changed the base branch from 10.11 to 10.6 June 12, 2026 04:43
@grooverdan grooverdan requested a review from sanja-byelkin June 12, 2026 04:43
@MariaDB MariaDB deleted a comment from CLAassistant Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

MariaDB Foundation Pull requests created by MariaDB Foundation

Development

Successfully merging this pull request may close these issues.

2 participants