Skip to content

[CI] Fix issue in uploading surefire reports and container logs#15446

Merged
merlimat merged 3 commits intoapache:masterfrom
lhotari:lh-upload-artifact-v3
May 5, 2022
Merged

[CI] Fix issue in uploading surefire reports and container logs#15446
merlimat merged 3 commits intoapache:masterfrom
lhotari:lh-upload-artifact-v3

Conversation

@lhotari
Copy link
Member

@lhotari lhotari commented May 5, 2022

Motivation

Uploading surefire reports and container logs has been broken in the new Pulsar CI workflow.

Example failure: https://github.com/apache/pulsar/runs/6301697885?check_suite_focus=true

Error: Create Artifact Container failed: The artifact name Unit-BROKER_GROUP_2-surefire-reports is not valid. Request URL https://pipelines.actions.githubusercontent.com/EXIZfX8ixSbQEfqDA00dMJrEtloTMSwjlUs9NqJqrTcJfd7NaR/_apis/pipelines/workflows/2269710766/artifacts?api-version=6.0-preview

This seems to be caused by the solution in Pulsar CI which attempts to delete logs from a previous test run.

Modifications

  • remove solution to delete possible previous logs
  • upgrade upload-artifact to v3
  • set retention to 7 days to save storage space

@lhotari lhotari added doc-not-needed Your PR changes do not impact docs area/ci labels May 5, 2022
@lhotari lhotari requested review from eolivelli and nicoloboschi May 5, 2022 10:36
@lhotari lhotari self-assigned this May 5, 2022
@merlimat merlimat merged commit e4cbdce into apache:master May 5, 2022
@lhotari lhotari mentioned this pull request May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci doc-not-needed Your PR changes do not impact docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants