Skip to content

Artifact GC still acting up for failed Workflows #12845

Closed Locked Answered by agilgur5
static-moonlight asked this question in Q&A
Discussion options

You must be logged in to vote

Summarizing this very long and winding and discussion:

  1. The error message is occurring due to some incomplete status / results in a few places, specifically a missing s3.key. So the code finds an artifactLocation but then doesn't know how to process it and defaults to "configure an artifact repository" error.
  2. This occurs when an artifact was never written to the location, e.g. due to activeDeadlineSeconds being hit or the main container otherwise being stopped.
  3. A PR was made to fix this bug by ensuring an incomplete artifact is not written
  4. A test image was made and OP confirmed that it fixes the bug.
  5. A regression test case was added to the PR

Replies: 24 comments 62 replies

Comment options

You must be logged in to vote
2 replies
@agilgur5
Comment options

@static-moonlight
Comment options

Comment options

You must be logged in to vote
2 replies
@agilgur5
Comment options

@agilgur5
Comment options

Comment options

You must be logged in to vote
1 reply
@agilgur5
Comment options

Comment options

You must be logged in to vote
1 reply
@Garett-MacGowan
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Garett-MacGowan
Comment options

Comment options

You must be logged in to vote
1 reply
@agilgur5
Comment options

Comment options

You must be logged in to vote
1 reply
@agilgur5
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@agilgur5
Comment options

Comment options

You must be logged in to vote
1 reply
@agilgur5
Comment options

Comment options

You must be logged in to vote
15 replies
@agilgur5
Comment options

@agilgur5
Comment options

@static-moonlight
Comment options

@agilgur5
Comment options

@agilgur5
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@agilgur5
Comment options

@juliev0
Comment options

juliev0 May 19, 2024
Collaborator

@juliev0
Comment options

juliev0 May 19, 2024
Collaborator

@juliev0
Comment options

juliev0 May 19, 2024
Collaborator

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Garett-MacGowan
Comment options

Comment options

You must be logged in to vote
2 replies
@Garett-MacGowan
Comment options

@juliev0
Comment options

juliev0 May 19, 2024
Collaborator

Comment options

You must be logged in to vote
1 reply
@agilgur5
Comment options

Comment options

You must be logged in to vote
6 replies
@juliev0
Comment options

juliev0 May 29, 2024
Collaborator

@agilgur5
Comment options

@agilgur5
Comment options

@juliev0
Comment options

juliev0 May 29, 2024
Collaborator

@juliev0
Comment options

juliev0 May 30, 2024
Collaborator

Comment options

You must be logged in to vote
1 reply
@agilgur5
Comment options

Comment options

You must be logged in to vote
5 replies
@juliev0
Comment options

juliev0 May 30, 2024
Collaborator

@static-moonlight
Comment options

@static-moonlight
Comment options

@juliev0
Comment options

juliev0 May 30, 2024
Collaborator

@juliev0
Comment options

juliev0 May 31, 2024
Collaborator

Comment options

You must be logged in to vote
16 replies
@juliev0
Comment options

juliev0 Jun 6, 2024
Collaborator

@agilgur5
Comment options

@juliev0
Comment options

juliev0 Jun 9, 2024
Collaborator

@agilgur5
Comment options

@agilgur5
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by agilgur5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
type/bug area/artifacts S3/GCP/OSS/Git/HDFS etc area/gc Garbage collection, such as TTLs, retentionPolicy, delays, and more
4 participants