diff --git a/.github/workflows/scheduled-regression-altinity-23-3.yml b/.github/workflows/scheduled-regression-altinity-23-3.yml new file mode 100644 index 000000000..8136dc228 --- /dev/null +++ b/.github/workflows/scheduled-regression-altinity-23-3.yml @@ -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 }} diff --git a/.github/workflows/scheduled-regression-altinity-23-8.yml b/.github/workflows/scheduled-regression-altinity-23-8.yml new file mode 100644 index 000000000..12dc1873d --- /dev/null +++ b/.github/workflows/scheduled-regression-altinity-23-8.yml @@ -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 }} \ No newline at end of file diff --git a/.github/workflows/scheduled-regression-clickhouse-24-3.yml b/.github/workflows/scheduled-regression-clickhouse-24-3.yml new file mode 100644 index 000000000..8abda9fa8 --- /dev/null +++ b/.github/workflows/scheduled-regression-clickhouse-24-3.yml @@ -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 }} \ No newline at end of file diff --git a/.github/workflows/scheduled-regression-clickhouse-24-4.yml b/.github/workflows/scheduled-regression-clickhouse-24-4.yml new file mode 100644 index 000000000..68b84ef10 --- /dev/null +++ b/.github/workflows/scheduled-regression-clickhouse-24-4.yml @@ -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 }} \ No newline at end of file diff --git a/.github/workflows/scheduled-regression.yml b/.github/workflows/scheduled-regression.yml deleted file mode 100644 index 6b7c505ea..000000000 --- a/.github/workflows/scheduled-regression.yml +++ /dev/null @@ -1,119 +0,0 @@ -name: Run scheduled CI/CD regression tests -run-name: Scheduled 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-11-29: - 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 }} - altinitystable-23-3-19-33: - 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 }} - altinitystable-22-8-15-25: - uses: ./.github/workflows/test-reusable-workflow.yml - with: - package: docker://altinity/clickhouse-server:22.8.15.25.altinitystable - version: '22.8.15.25' - 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 }} - 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 }} - 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 }} \ No newline at end of file diff --git a/aes_encryption/tests/performance.py b/aes_encryption/tests/performance.py index be032a5e8..924d05a9a 100644 --- a/aes_encryption/tests/performance.py +++ b/aes_encryption/tests/performance.py @@ -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) @@ -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" @@ -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) @@ -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"