Skip to content

Conversation

@strtgbb
Copy link
Collaborator

@strtgbb strtgbb commented Mar 26, 2025

  • CI Fix or Improvement (changelog entry is not required)

Exclude tests:

  • All Regression
  • Disable CI Cache

Scan all plain text S3 uploads for strings that may reference secrets and for secrets found in the environment.
Upon finding such a fail, an error is raised and the workflow should abort.

Currently, I log the line number of the offending string, but since the full log might not be uploaded, would more context be desired?

Do we want to add scanning inside tgz/rpm/deb packages?

@altinity-robot
Copy link
Collaborator

altinity-robot commented Mar 26, 2025

This is an automated comment for commit 79ce999 with description of existing statuses. It's updated for the latest CI running

❌ Click here to open a full report in a separate page

Check nameDescriptionStatus
AST fuzzerRuns randomly generated queries to catch program errors. The build type is optionally given in parenthesis. If it fails, ask a maintainer for help❌ failure
Integration testsThe integration tests report. In parenthesis the package type is given, and in square brackets are the optional part/total tests❌ failure
Sign aarch64There's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS❌ error
Sign releaseThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS❌ error
Stateless testsRuns stateless functional tests for ClickHouse binaries built in various configurations -- release, debug, with sanitizers, etc❌ failure
Successful checks
Check nameDescriptionStatus
BuildsThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Compatibility checkChecks that clickhouse binary runs on distributions with old libc versions. If it fails, ask a maintainer for help✅ success
Docker keeper imageThe check to build and optionally push the mentioned image to docker hub✅ success
Docker server imageThe check to build and optionally push the mentioned image to docker hub✅ success
Install packagesChecks that the built packages are installable in a clear environment✅ success
Ready for releaseThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Stateful testsRuns stateful functional tests for ClickHouse binaries built in various configurations -- release, debug, with sanitizers, etc✅ success
Stress testRuns stateless functional tests concurrently from several clients to detect concurrency-related errors✅ success

@strtgbb strtgbb changed the title Scan files for secrets in _upload_file_to_s3 24.8 Scan files for secrets in _upload_file_to_s3 Mar 26, 2025
@strtgbb
Copy link
Collaborator Author

strtgbb commented Mar 27, 2025

There's a common false positive MINIO_ROOT_PASSWORD.

A few possible solutions

  • Ignore *MINIO*
  • Ignore =clickhouse
  • Don't check for sensitive variables at all, just check sensitive values from the environment.

@strtgbb strtgbb requested review from Enmk and MyroTk March 29, 2025 00:20
@strtgbb strtgbb mentioned this pull request Apr 10, 2025
13 tasks
@MyroTk MyroTk merged commit 79e8e99 into customizations/24.8.14 Apr 10, 2025
167 of 189 checks passed
@strtgbb strtgbb added the cicd Improvements and fixes to the CICD process label May 23, 2025
@strtgbb strtgbb deleted the 24.8_leak_check_2 branch June 6, 2025 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cicd Improvements and fixes to the CICD process

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants