Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Altinity/clickhouse-regression
Browse files Browse the repository at this point in the history
  • Loading branch information
alsugiliazova committed Jun 13, 2024
2 parents d76a928 + cbc5870 commit 59f101b
Show file tree
Hide file tree
Showing 6 changed files with 192 additions and 123 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/scheduled-regression-altinity-23-3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Scheduled Altinity 23.3 Regression
run-name: Scheduled Altinity 23.3 Regression
on:
workflow_dispatch:
inputs:
suite:
type: string
description: "Test suite to run. Default: all"
default: all
artifacts:
description: "Artifact S3 bucket"
type: string
default: public
output_format:
description: "Testflows output style."
type: string
default: new-fails
ref:
description: "Commit SHA to checkout. Default: current (empty string)."
type: string
default: ""
extra_args:
description: "Extra test program arguments. Default: none (empty string)."
type: string
default: ""
schedule:
- cron: "0 0 * * *"

jobs:
altinitystable-23-3:
uses: ./.github/workflows/test-reusable-workflow.yml
with:
package: docker://altinity/clickhouse-server:23.3.19.33.altinitystable
version: '23.3.19.33'
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_REPORT_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_REPORT_SECRET_ACCESS_KEY }}
AWS_REPORT_REGION: ${{ secrets.AWS_REPORT_REGION }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
AWS_BUCKET: ${{ secrets.AWS_BUCKET }}
AWS_REGION: ${{ secrets.AWS_REGION }}
AWS_KEY_ID: ${{ secrets.AWS_KEY_ID }}
AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
GCS_URI: ${{ secrets.GCS_URI }}
GCS_KEY_ID: ${{ secrets.GCS_KEY_ID }}
GCS_KEY_SECRET: ${{ secrets.GCS_KEY_SECRET }}
47 changes: 47 additions & 0 deletions .github/workflows/scheduled-regression-altinity-23-8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Scheduled Altinity 23.8 Regression
run-name: Scheduled Altinity 23.8 Regression
on:
workflow_dispatch:
inputs:
suite:
type: string
description: "Test suite to run. Default: all"
default: all
artifacts:
description: "Artifact S3 bucket"
type: string
default: public
output_format:
description: "Testflows output style."
type: string
default: new-fails
ref:
description: "Commit SHA to checkout. Default: current (empty string)."
type: string
default: ""
extra_args:
description: "Extra test program arguments. Default: none (empty string)."
type: string
default: ""
schedule:
- cron: "0 0 * * *"

jobs:
altinitystable-23-8:
uses: ./.github/workflows/test-reusable-workflow.yml
with:
package: docker://altinity/clickhouse-server:23.8.11.29.altinitystable
version: '23.8.11.29'
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_REPORT_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_REPORT_SECRET_ACCESS_KEY }}
AWS_REPORT_REGION: ${{ secrets.AWS_REPORT_REGION }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
AWS_BUCKET: ${{ secrets.AWS_BUCKET }}
AWS_REGION: ${{ secrets.AWS_REGION }}
AWS_KEY_ID: ${{ secrets.AWS_KEY_ID }}
AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
GCS_URI: ${{ secrets.GCS_URI }}
GCS_KEY_ID: ${{ secrets.GCS_KEY_ID }}
GCS_KEY_SECRET: ${{ secrets.GCS_KEY_SECRET }}
47 changes: 47 additions & 0 deletions .github/workflows/scheduled-regression-clickhouse-24-3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Scheduled ClickHouse 24.3 Regression
run-name: Scheduled ClickHouse 24.3 Regression
on:
workflow_dispatch:
inputs:
suite:
type: string
description: "Test suite to run. Default: all"
default: all
artifacts:
description: "Artifact S3 bucket"
type: string
default: public
output_format:
description: "Testflows output style."
type: string
default: new-fails
ref:
description: "Commit SHA to checkout. Default: current (empty string)."
type: string
default: ""
extra_args:
description: "Extra test program arguments. Default: none (empty string)."
type: string
default: ""
schedule:
- cron: "0 0 * * *"

jobs:
clickhouse-24-3:
uses: ./.github/workflows/test-reusable-workflow.yml
with:
package: docker://clickhouse/clickhouse-server:24.3
version: '24.3'
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_REPORT_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_REPORT_SECRET_ACCESS_KEY }}
AWS_REPORT_REGION: ${{ secrets.AWS_REPORT_REGION }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
AWS_BUCKET: ${{ secrets.AWS_BUCKET }}
AWS_REGION: ${{ secrets.AWS_REGION }}
AWS_KEY_ID: ${{ secrets.AWS_KEY_ID }}
AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
GCS_URI: ${{ secrets.GCS_URI }}
GCS_KEY_ID: ${{ secrets.GCS_KEY_ID }}
GCS_KEY_SECRET: ${{ secrets.GCS_KEY_SECRET }}
47 changes: 47 additions & 0 deletions .github/workflows/scheduled-regression-clickhouse-24-4.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Scheduled ClickHouse 24.4 Regression
run-name: Scheduled ClickHouse 24.4 Regression
on:
workflow_dispatch:
inputs:
suite:
type: string
description: "Test suite to run. Default: all"
default: all
artifacts:
description: "Artifact S3 bucket"
type: string
default: public
output_format:
description: "Testflows output style."
type: string
default: new-fails
ref:
description: "Commit SHA to checkout. Default: current (empty string)."
type: string
default: ""
extra_args:
description: "Extra test program arguments. Default: none (empty string)."
type: string
default: ""
schedule:
- cron: "0 0 * * *"

jobs:
clickhouse-24-4:
uses: ./.github/workflows/test-reusable-workflow.yml
with:
package: docker://clickhouse/clickhouse-server:24.4
version: '24.4'
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_REPORT_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_REPORT_SECRET_ACCESS_KEY }}
AWS_REPORT_REGION: ${{ secrets.AWS_REPORT_REGION }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
AWS_BUCKET: ${{ secrets.AWS_BUCKET }}
AWS_REGION: ${{ secrets.AWS_REGION }}
AWS_KEY_ID: ${{ secrets.AWS_KEY_ID }}
AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
GCS_URI: ${{ secrets.GCS_URI }}
GCS_KEY_ID: ${{ secrets.GCS_KEY_ID }}
GCS_KEY_SECRET: ${{ secrets.GCS_KEY_SECRET }}
119 changes: 0 additions & 119 deletions .github/workflows/scheduled-regression.yml

This file was deleted.

8 changes: 4 additions & 4 deletions aes_encryption/tests/performance.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def encrypt_decrypt_stress(
exitcode=0,
step=When,
):
"""Use the `encrypt` and `decrypt` functions on a number sequence."""
"""Use the encrypt and decrypt functions on a number sequence."""
params = [key]
if iv is not None:
params.append(iv)
Expand All @@ -35,7 +35,7 @@ def encrypt_decrypt_stress(
@TestScenario
@Requirements(RQ_SRS008_AES_Functions_Check_Performance("1.0"))
def encryption_decryption(self):
"""TODO"""
"""Check that all modes of encrypt and decrypt finish in a reasonable time."""
key = f"{'1' * 36}"
iv = f"{'2' * 16}"
aad = "some random aad"
Expand Down Expand Up @@ -69,7 +69,7 @@ def encrypt_decrypt_mysql_stress(
exitcode=0,
step=When,
):
"""Use the `encrypt` and `decrypt` functions on a number sequence."""
"""Use the aes_encrypt_mysql and aes_decrypt_mysql functions on a number sequence."""
params = [key]
if iv is not None:
params.append(iv)
Expand All @@ -83,7 +83,7 @@ def encrypt_decrypt_mysql_stress(
@TestScenario
@Requirements(RQ_SRS008_AES_Functions_Check_Performance("1.0"))
def encryption_decryption_mysql(self):
"""TODO"""
"""Check that all modes of aes_encrypt_mysql and aes_decrypt_mysql finish in a reasonable time."""
key = f"{'1' * 36}"
iv = f"{'2' * 16}"
aad = "some random aad"
Expand Down

0 comments on commit 59f101b

Please sign in to comment.