Skip to content

CI: Remove hdfs from Integration tests - #74295

Merged
maxknv merged 4 commits into
masterfrom
ci_remove_hdfs_from_int_test
Jan 9, 2025
Merged

maxknv merged 4 commits into
masterfrom
ci_remove_hdfs_from_int_test

Conversation

@maxknv

@maxknv maxknv commented Jan 8, 2025 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

...

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

Information about CI checks: https://clickhouse.com/docs/en/development/continuous-integration/

CI Settings (Only check the boxes if you know what you are doing)

All builds in Builds_1 and Builds_2 stages are always mandatory
and will run independently of the checks below:

  • Allow: All Required Checks
  • Allow: Stateless tests
  • Allow: Stateful tests
  • Allow: Integration Tests
  • Allow: Performance tests
  • Allow: All Builds
  • Allow: batch 1, 2 for multi-batch jobs
  • Allow: batch 3, 4, 5, 6 for multi-batch jobs

  • Exclude: Style check
  • Exclude: Fast test
  • Exclude: All with ASAN
  • Exclude: All with TSAN, MSAN, UBSAN, Coverage
  • Exclude: All with aarch64
  • Exclude: All with release
  • Exclude: All with debug

  • Run only fuzzers related jobs (libFuzzer fuzzers, AST fuzzers, BuzzHouse, etc.)
  • Exclude: AST fuzzers

  • Do not test
  • Woolen Wolfdog
  • Upload binaries for special builds
  • Disable merge-commit
  • Disable CI cache

@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-not-for-changelog This PR should not be mentioned in the changelog label Jan 8, 2025
@robot-ch-test-poll4

robot-ch-test-poll4 commented Jan 8, 2025 •

Copy link
Copy Markdown
Contributor

This is an automated comment for commit cd569c7 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
Flaky testsChecks if new added or modified tests are flaky by running them repeatedly, in parallel, with more randomization. Functional tests are run 100 times with address sanitizer, and additional randomization of thread scheduling. Integration tests are run up to 10 times. If at least once a new test has failed, or was too long, this check will be red. We don't allow flaky tests, read the doc❌ 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
ClickBenchRuns ClickBench with instant-attach table✅ 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
Docs checkBuilds and tests the documentation✅ success
Fast testNormally this is the first check that is ran for a PR. It builds ClickHouse and runs most of stateless functional tests, omitting some. If it fails, further checks are not started until it is fixed. Look at the report to see which tests fail, then reproduce the failure locally as described here✅ success
Install packagesChecks that the built packages are installable in a clear environment✅ success
Integration testsThe integration tests report. In parenthesis the package type is given, and in square brackets are the optional part/total tests✅ success
Performance ComparisonMeasure changes in query performance. The performance test report is described in detail here. In square brackets are the optional part/total tests✅ success
Stateful testsRuns stateful functional tests for ClickHouse binaries built in various configurations -- release, debug, with sanitizers, etc✅ success
Stateless testsRuns stateless 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
Style checkRuns a set of checks to keep the code style clean. If some of tests failed, see the related log from the report✅ success
Unit testsRuns the unit tests for different release types✅ success
Upgrade checkRuns stress tests on server version from last release and then tries to upgrade it to the version from the PR. It checks if the new server can successfully startup without any errors, crashes or sanitizer asserts✅ success

@alexey-milovidov alexey-milovidov self-assigned this Jan 9, 2025
@maxknv
maxknv enabled auto-merge January 9, 2025 17:44
@maxknv
maxknv added this pull request to the merge queue Jan 9, 2025
Merged via the queue into master with commit 3ffe2e7 Jan 9, 2025
@maxknv
maxknv deleted the ci_remove_hdfs_from_int_test branch January 9, 2025 18:28
@robot-ch-test-poll3 robot-ch-test-poll3 added the pr-synced-to-cloud The PR is synced to the cloud repo label Jan 9, 2025
kute1654 pushed a commit to kute1654/ClickHouse that referenced this pull request Aug 10, 2026
Bring back the HDFS integration tests that were removed in ClickHouse#74295
("CI: Remove hdfs from Integration tests", January 2025) while the
HDFS support itself (the hdfs/hdfsCluster table functions, the HDFS
table engine, the hdfs disk type and DatabaseHDFS) stayed in the tree.

Restored:
- tests/integration/compose/docker_compose_hdfs.yml
- helpers/hdfs_api.py - without the Kerberos machinery, because the
  support for Kerberized HDFS was removed from ClickHouse in ClickHouse#66765
- with_hdfs support in helpers/cluster.py
- test_storage_hdfs, test_merge_tree_hdfs, test_log_family_hdfs,
  test_redirect_url_storage
- the HDFS cases of test_allowed_url_from_config and the
  "system drop schema cache for hdfs" cross-checks in
  test_storage_azure_blob_storage
- PyHDFS in the integration tests runner image requirements

Adapted to the current master where the expectations drifted since
January 2025:
- every part now writes columns_substreams.txt, so the per-part file
  counts in test_merge_tree_hdfs gained FILES_OVERHEAD_COLUMNS_SUBSTREAMS
- auto_statistics_types defaults to "minmax, uniq" now and would add
  statistics files to parts, so the test tables disable it, matching
  test_merge_tree_s3
- detached parts now keep their metadata_version.txt, so DETACH
  PARTITION no longer reduces the object count
- object count assertions poll until convergence instead of asserting
  immediately, matching the current test_log_family_s3
- ruff fixes (f-string and unused-variable cleanups)

The tests are skipped on ARM, as before, because the
prasanthj/docker-hadoop image is published for amd64 only.

Not restored: the Kerberized HDFS tests (the feature is gone), the HDFS
bits of test_disk_types, test_endpoint_macro_substitution and
test_keeper_disks (these suites were since restructured to keep a
single config for the public and private repos), and the icebergHDFS
cases of the Iceberg suites (restructured into many modules; can be
restored separately).

Co-Authored-By: Claude Fable 5 <[email protected]>
PedroTadim added a commit that referenced this pull request Sep 18, 2026
The test needs a live HDFS, which the integration test framework cannot start here:

    TypeError: ClickHouseCluster.add_instance() got an unexpected keyword argument
    'with_hdfs'. Did you mean 'with_nats'?

HDFS was taken out of the integration tests in #74295 ("CI: Remove hdfs from
Integration tests", January 2025) while the HDFS support in the server stayed. It
was only brought back in #113396 ("Restore HDFS integration tests", August 2026),
which is after this branch was cut: `with_hdfs` in `helpers/cluster.py`,
`helpers/hdfs_api.py` and `compose/docker_compose_hdfs.yml` are all absent here.
The 26.8 and 26.9 backports of this change have all three and merged as they were.

The test cannot be adapted: it writes files through `hdfs_api.write_data` and reads
them back over `hdfs://hdfs1:9000`, so there is nothing to assert without a running
namenode. Restoring the framework support instead would add three files of shared
test infrastructure and a third-party Docker Hub image to a release branch for one
test, so the test is dropped here and the `DatabaseHDFS.cpp` fix is kept as-is. The
test still runs on master, 26.8 and 26.9.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
PedroTadim added a commit that referenced this pull request Sep 18, 2026
The test needs a live HDFS, which the integration test framework cannot start here:

    TypeError: ClickHouseCluster.add_instance() got an unexpected keyword argument
    'with_hdfs'. Did you mean 'with_nats'?

HDFS was taken out of the integration tests in #74295 ("CI: Remove hdfs from
Integration tests", January 2025) while the HDFS support in the server stayed. It
was only brought back in #113396 ("Restore HDFS integration tests", August 2026),
which is after this branch was cut: `with_hdfs` in `helpers/cluster.py`,
`helpers/hdfs_api.py` and `compose/docker_compose_hdfs.yml` are all absent here.
The 26.8 and 26.9 backports of this change have all three and merged as they were.

The test cannot be adapted: it writes files through `hdfs_api.write_data` and reads
them back over `hdfs://hdfs1:9000`, so there is nothing to assert without a running
namenode. Restoring the framework support instead would add three files of shared
test infrastructure and a third-party Docker Hub image to a release branch for one
test, so the test is dropped here and the `DatabaseHDFS.cpp` fix is kept as-is. The
test still runs on master, 26.8 and 26.9.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants