Skip to content

Ignore "file changed as we read it" error for integration tests artifacts#28220

Closed
azat wants to merge 1 commit intoClickHouse:masterfrom
azat:tests-integration--no-file-changed
Closed

Ignore "file changed as we read it" error for integration tests artifacts#28220
azat wants to merge 1 commit intoClickHouse:masterfrom
azat:tests-integration--no-file-changed

Conversation

@azat
Copy link
Copy Markdown
Member

@azat azat commented Aug 27, 2021

CI reported failure 1:

...
tar: test_mysql_database_engine/_instances_0/node1/database/store/a9e/a9e3fd27-b61c-4239-a9e3-fd27b61c2239: file changed as we read it

And we cannot be sure that there are no clickhouse-service alive since
restart/cleanup of old containers will happens only after the test group
will run.

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

…acts

CI reported failure [1]:

    ...
    tar: test_mysql_database_engine/_instances_0/node1/database/store/a9e/a9e3fd27-b61c-4239-a9e3-fd27b61c2239: file changed as we read it

  [1]: https://clickhouse-test-reports.s3.yandex.net/28213/91621cfcd2bf83e71931697ae1de9a1b3abdfa14/integration_tests_(release).html#fail1

And we cannot be sure that there are no clickhouse-service alive since
restart/cleanup of old containers will happens only after the test group
will run.
@alesapin
Copy link
Copy Markdown
Member

Actually not so good, but will fix the issue.

@azat
Copy link
Copy Markdown
Member Author

azat commented Aug 27, 2021

Actually not so good

Indeed. Need to take a closer look how to shutdown containers properly before tar.

@azat azat marked this pull request as draft August 27, 2021 09:15
@azat
Copy link
Copy Markdown
Member Author

azat commented Aug 28, 2021

It can be fixed by moving container cleanup after running tests, but anyway there should be no containers after tests had been finished.
The problem is that tests had been killed - #28197 (comment)

@azat azat closed this Aug 28, 2021
@azat azat deleted the tests-integration--no-file-changed branch August 28, 2021 16:28
@azat
Copy link
Copy Markdown
Member Author

azat commented Nov 13, 2021

Actually maybe it should be reopened, since in case of such errors you will not get the artifacts, while it is required for the investigation.
However the downside of this is that it may skip some errors.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants