Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ArtifactGC Fails for Stopped Workflows. Fixes #11879 #11947

Merged

Conversation

Garett-MacGowan
Copy link
Contributor

@Garett-MacGowan Garett-MacGowan commented Oct 5, 2023

Fixes #11879

Motivation

Currently, stopped workflows will happily save artifacts to a storage bucket but the artifacts won't get garbage collected after workflow deletion. The changes make it so that a stopped workflow's artifacts are properly garbage collected upon workflow deletion.

Modifications

The operator.go's call to woc.taskResultReconciliation() previously occurred after Artifact Garbage Collection (ArtifactGC) and an early return due to if woc.wf.Labels[common.LabelKeyCompleted] == "true", leading to a scenerio in which garbage collection would fail upon workflow deletion. This in turn would cause workflow deletion to get blocked by the ArtifactGC finalizer. woc.taskResultReconciliation() is responsible for updating the node status in the workflow based on the artifact outputs saved during workflow execution with reportOutputs() in executor.go.

Verification

I tested the changes by adding an e2e test called TestStoppedWorkflow which uses a custom workflow with the following logic.

  1. Ensure no artifact exists in the bucket.
  2. Start the workflow.
  3. Workflow runs and creates a test artifact.
  4. Verifiy the artifact exists in the bucket.
  5. The workflow submits a CLI-based stop event for itself.
  6. The workflow is deleted by the test.
  7. Artifacts are verified to have been deleted.
  8. Finalizer is removed incase the test failed.

I made some additional minor tweaks to other files, most notably, timeout = v - 30*time.Second + defaultTimeout in when.go which would cause custom timeout settings to be incorrect when using the WaitForWorkflow() e2e testing utility.

…ction to ensure that stopped workflow artifacts are garbage collected. Remove bug in e2e testing WaitForWorkflow() timeout option in when.go. Improve robustness of TestStoppedWorkflow e2e test. Fixes argoproj#11879

Signed-off-by: Garett MacGowan <[email protected]>
@agilgur5 agilgur5 added the area/artifacts S3/GCP/OSS/Git/HDFS etc label Oct 5, 2023
Copy link
Member

@terrytangyuan terrytangyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@juliev0 Could you help review when you get a chance?

@juliev0
Copy link
Contributor

juliev0 commented Oct 5, 2023

@juliev0 Could you help review when you get a chance?

Yes. It may be more than a couple of weeks from now, though, as I have a vacation followed by a Hackathon week at work. (It looks like this is still in "Draft" state as well.)

BTW, thanks for doing this @Garett-MacGowan !

@@ -258,7 +258,7 @@ func (w *When) WaitForWorkflow(options ...interface{}) *When {
for _, opt := range options {
switch v := opt.(type) {
case time.Duration:
timeout = v - 30*time.Second + defaultTimeout
timeout = v
Copy link
Contributor

@juliev0 juliev0 Oct 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

curious why you ended up changing this? It does seem less kludgey and more intuitive than the old way, but I also see it was changed on purpose here. defaultTimeout was set to the E2E_TIMEOUT environment variable, or otherwise 30 seconds. Looking at that PR, it seems like in the CI the E2E_TIMEOUT was specifically made longer than the default 30 seconds back then. So, there was some notion that all tests should be delayed by x amount if that environment variable is set. (Your change won't make use of the environment variable if some overall offset is needed.) Of course, now I see the CI doesn't use that environment variable but instead uses something called E2E_SUITE_TIMEOUT cc @agilgur5
In any case, I do see the time.Duration comment above isn't correct as far as "30s by default"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed this because I was using different timeouts to debug my test case and I noticed it wasn't using my manually specified timeout. Subtracting 30 seconds and adding the default timeout to a manually specified value makes no sense to me.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's what I'm thinking: this environment variable which used to be called E2E_TIMEOUT and is now called E2E_WAIT_TIMEOUT appears to be something that will allow things to run more slowly in certain environments. Is it possible to both 1. preserve the ability to run everything more slowly across the board in certain environments, and 2. have the parameters/comments be named in an intuitive way so that it's not a surprise to the caller of the function what the actual behavior is?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(sorry, I know this wasn't the original intention of this particular issue, but I'm thinking we shouldn't remove the intention of the E2E_WAIT_TIMEOUT environment variable.)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

defaultTimeout is set here

var defaultTimeout = env.LookupEnvDurationOr("E2E_WAIT_TIMEOUT", 60*time.Second)

the default value for timeout is set to defaultTimeout here

I think implementation in this PR is working as it should. Perhaps I'm misunderstanding your ask.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line timeout = v - 30*time.Second + defaultTimeout only matters when a manual timeout value is specified. So it's basically saying "add the default timeout to the manually specified value" (ignoring the -30 which makes no sense). In this case renaming the variable to include bias makes sense.

It makes less sense when it's used in the true default case timeout := defaultTimeout

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about this small modification?:

var timeoutBias = env.LookupEnvDurationOr("E2E_WAIT_TIMEOUT_BIAS", 0*time.Second)
var defaultTimeout = env.LookupEnvDurationOr("E2E_WAIT_TIMEOUT", 60*time.Second) + timeoutBias

in the method:

timeout := defaultTimeout

And then in the switch statement, you could add the bias.

timeout = v + timeoutBias

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Just thinking, if you see any of the tests which call this and pass a duration in intermittently fail, then it could possibly be that before they were getting an additional 30 seconds added on (E2E_WAIT_TIMEOUT=60 - 30). If so, could you bump up the duration passed in?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, no problem.

@@ -276,6 +266,19 @@ func (woc *wfOperationCtx) operate(ctx context.Context) {
woc.computeMetrics(woc.execWf.Spec.Metrics.Prometheus, localScope, realTimeScope, true)
}

// Reconciliation of Outputs (Artifacts). See reportOutputs() of executor.go
woc.taskResultReconciliation()
Copy link
Contributor

@juliev0 juliev0 Oct 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do see this will now get executed in the case of woc.wf.Status.Phase == wfv1.WorkflowUnknown which before it wouldn't. This may be right but want to make sure. I also like not having the if statement if it's unnecessary. I believe wfv1.WorkflowUnknown would happen for a just submitted workflow, or it appears a resubmitted workflow. It does seem like this probably won't ever be harmful - if there's a WorkflowTaskResult of the same name then we probably ought to use it, right?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(unless there's some weird case that a previous Workflow of the same name still had a WorkflowTaskResult lying around from before...but I believe a WorkflowTaskResult should get deleted at the same time as the Workflow it relates to)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@juliev0 if I'm not mistaken, this change resolved some intermittent test failures I was receiving. I believe the issue was that artifacts could be created and garbage collected while wfv1.WorkflowUnknown was set. This would cause taskReconciliation to not run and garbage collection to fail since the node status wouldn't get updated with the artifact info.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

huh - that's weird that artifacts were created and garbage collected while wfv1.WorkflowUnknown was set. I wonder if there could be a case of wfv1.WorkflowUnknown that I'm unaware of if so. Anyway, it seems to be harmless.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. I'm not 100% on this, but as you say the change should be harmless.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick update here: irrespective of if artifacts can be written when wfv1.WorkflowUnknown is set, the more important thing with this change is that the reconciliation runs even when the workflow is marked as complete as per woc.wf.Labels[common.LabelKeyCompleted] == "true"

@Garett-MacGowan Garett-MacGowan marked this pull request as ready for review October 7, 2023 20:38
@Garett-MacGowan
Copy link
Contributor Author

Failing test is RetryTestSuite/TestRetryBackoff

…ias for test timeouts in slow environments. Adjust WaitForWorkflow timeout parameter in retry_test.go (added 30 seconds) to be in line with the previously defined timeout before fixing the WaitForWorkflow custom timeout logic in commit 4ffeb5f. Fixes argoproj#11879

Signed-off-by: Garett MacGowan <[email protected]>
@Garett-MacGowan
Copy link
Contributor Author

Failing test is RetryTestSuite/TestRetryBackoff

This was fixed by adding the 30s. Good catch @juliev0

@Garett-MacGowan
Copy link
Contributor Author

Sadly my test (TestStoppedWorkflow) ran into the intermittent error I was receiving earlier. I'll try and debug it.

@juliev0
Copy link
Contributor

juliev0 commented Oct 10, 2023

Sadly my test (TestStoppedWorkflow) ran into the intermittent error I was receiving earlier. I'll try and debug it.

Sorry to hear. Thank you!

@Garett-MacGowan
Copy link
Contributor Author

Garett-MacGowan commented Oct 11, 2023

@agilgur5 @juliev0

I'm having a hard time debugging this. The failure rate is like 1/30+ test runs on my local machine. The artifacts are being saved, but the task reconciliation never receives the on-deletion-wf-stopped artifact for some reason. Task reconciliation does, however, receive the main-logs artifact. My best guess is that somehow the artifact gets saved in the wait container but fails to be properly written in reportOutputs / reportResult.

Is there an easy way to write the wait container logs to a file in the same way that the controller logs are written to a file in the logs directory? Without this, It's basically impossible for me to debug it.

@juliev0
Copy link
Contributor

juliev0 commented Oct 11, 2023

@agilgur5 @juliev0

I'm having a hard time debugging this. The failure rate is like 1/30+ test runs on my local machine. The artifacts are being saved, but the task reconciliation never receives the on-deletion-wf-stopped artifact for some reason. Task reconciliation does, however, receive the main-logs artifact. My best guess is that somehow the artifact gets saved in the wait container but fails to be properly written in reportOutputs / reportResult.

Is there an easy way to write the wait container logs to a file in the same way that the controller logs are written to a file in the logs directory? Without this, It's basically impossible for me to debug it.

Interesting. So, is the difference between state of "latest" branch and this one that basically it fails for stopped workflows 1/30 times (at least in this unit test) vs 100%? Are you seeing it fail more often than that in the CI, though?

As far as the wait container logs, no, I don't know of a wait container log artifact unfortunately. But maybe you could run something like: kubectl logs --follow -lworkflows.argoproj.io/workflow=<name> --container=wait. Based on this post, it seems like that should follow newly created pods after you start running.

@Garett-MacGowan
Copy link
Contributor Author

Garett-MacGowan commented Oct 11, 2023

Interesting. So, is the difference between state of "latest" branch and this one that basically it fails for stopped workflows 1/30 times (at least in this unit test) vs 100%?

Yeah, it should fail 100% of the time on the latest branch. I'll double check tomorrow by undoing my changes locally and run the test a few times.

Are you seeing it fail more often than that in the CI, though?

I will resubmit the CI job tomorrow to see. If it fails again, then yes.

kubectl logs --follow -lworkflows.argoproj.io/workflow= --container=wait

Thanks for this, I will test it out.

@Garett-MacGowan
Copy link
Contributor Author

Garett-MacGowan commented Oct 11, 2023

Interesting. So, is the difference between state of "latest" branch and this one that basically it fails for stopped workflows 1/30 times (at least in this unit test) vs 100%? Are you seeing it fail more often than that in the CI, though?

I've confirmed the test fails 100% of the time on latest.

But maybe you could run something like: kubectl logs --follow -lworkflows.argoproj.io/workflow= --container=wait. Based on this post, it seems like that should follow newly created pods after you start running.

I ended up using the following command to watch the logs between multiple test runs so that I can rapid fire the tests until I hit a failure. Note that I added the template=artgc-dag-artifact-creator label to the artgc-dag-artifact-creator template locally.

kubectl get pods -l 'template=artgc-dag-artifact-creator' --watch -o name | while read -r pod; do kubectl logs -f -c wait "$pod"; done

As a result of the above, I was able to confirm that the workflowtaskresults are being properly created (Create workflowtaskresults 201).

Maybe a fresh set of eyes can help.

Here is an excerpt of the controller logs of a failure (this is from near the end of the test):

time="2023-10-11T20:02:54.540Z" level=info msg="Processing workflow" namespace=argo workflow=artgc-dag-wf-stopped-hllgt
time="2023-10-11T20:02:54.541Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=0 workflow=artgc-dag-wf-stopped-hllgt
time="2023-10-11T20:02:54.541Z" level=debug msg="woc wf status nodes: map[artgc-dag-wf-stopped-hllgt:{artgc-dag-wf-stopped-hllgt artgc-dag-wf-stopped-hllgt artgc-dag-wf-stopped-hllgt DAG artgc-dag-wf-stopped-main nil local/artgc-dag-wf-stopped-hllgt Failed   2023-10-11 20:02:25 +0000 UTC 2023-10-11 20:02:48 +0000 UTC %!s(v1alpha1.EstimatedDuration=0) 1/3 6s*(1 cpu),4s*(100Mi memory)  %!s(*bool=<nil>) nil nil [artgc-dag-wf-stopped-hllgt-3193530808 artgc-dag-wf-stopped-hllgt-2203728917] [artgc-dag-wf-stopped-hllgt-3193530808 artgc-dag-wf-stopped-hllgt-3113225067]  nil nil} artgc-dag-wf-stopped-hllgt-2203728917:{artgc-dag-wf-stopped-hllgt-2203728917 artgc-dag-wf-stopped-hllgt.delay-stop-workflow delay-stop-workflow Pod artgc-dag-delay-stop nil local/artgc-dag-wf-stopped-hllgt Succeeded artgc-dag-wf-stopped-hllgt  2023-10-11 20:02:25 +0000 UTC 2023-10-11 20:02:41 +0000 UTC %!s(v1alpha1.EstimatedDuration=0) 1/1 6s*(1 cpu),4s*(100Mi memory)  %!s(*bool=<nil>) nil &Outputs{Parameters:[]Parameter{},Artifacts:[]Artifact{Artifact{Name:main-logs,Path:,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-hllgt/artgc-dag-wf-stopped-hllgt-artgc-dag-delay-stop-2203728917/main.log,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:nil,Deleted:false,},},Result:nil,ExitCode:*0,} [artgc-dag-wf-stopped-hllgt-3113225067] [] k3d-k3s-default-server-0 nil nil} artgc-dag-wf-stopped-hllgt-3113225067:{artgc-dag-wf-stopped-hllgt-3113225067 artgc-dag-wf-stopped-hllgt.stop-workflow stop-workflow Pod artgc-dag-workflow-stopper nil local/artgc-dag-wf-stopped-hllgt Failed artgc-dag-wf-stopped-hllgt workflow shutdown with strategy:  Stop 2023-10-11 20:02:43 +0000 UTC 2023-10-11 20:02:48 +0000 UTC %!s(v1alpha1.EstimatedDuration=0) 0/1   %!s(*bool=<nil>) nil &Outputs{Parameters:[]Parameter{},Artifacts:[]Artifact{Artifact{Name:main-logs,Path:,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-hllgt/artgc-dag-wf-stopped-hllgt-artgc-dag-workflow-stopper-3113225067/main.log,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:nil,Deleted:false,},},Result:nil,ExitCode:nil,} [] [] k3d-k3s-default-server-0 nil nil} artgc-dag-wf-stopped-hllgt-3193530808:{artgc-dag-wf-stopped-hllgt-3193530808 artgc-dag-wf-stopped-hllgt.create-artifact create-artifact Pod artgc-dag-artifact-creator nil local/artgc-dag-wf-stopped-hllgt Failed artgc-dag-wf-stopped-hllgt workflow shutdown with strategy:  Stop 2023-10-11 20:02:25 +0000 UTC 2023-10-11 20:02:48 +0000 UTC %!s(v1alpha1.EstimatedDuration=0) 0/1   %!s(*bool=<nil>) nil nil [] [] k3d-k3s-default-server-0 nil nil}]" namespace=argo workflow=artgc-dag-wf-stopped-hllgt
time="2023-10-11T20:02:54.541Z" level=debug msg="woc wf status outputs: nil" namespace=argo workflow=artgc-dag-wf-stopped-hllgt
time="2023-10-11T20:02:54.541Z" level=debug msg="woc wf artifactgc status: &ArtGCStatus{StrategiesProcessed:map[ArtifactGCStrategy]bool{OnWorkflowCompletion: true,OnWorkflowDeletion: true,},PodsRecouped:map[string]bool{},NotSpecified:false,}" namespace=argo workflow=artgc-dag-wf-stopped-hllgt
time="2023-10-11T20:02:54.541Z" level=info msg="reconciling artifact-gc pod" message= namespace=argo phase=Succeeded pod=artgc-dag-wf-stopped-hllgt-artgc-wfdel-2470140894 workflow=artgc-dag-wf-stopped-hllgt
time="2023-10-11T20:02:54.541Z" level=info msg="processing completed Artifact GC Pod \"artgc-dag-wf-stopped-hllgt-artgc-wfdel-2470140894\"" namespace=argo workflow=artgc-dag-wf-stopped-hllgt
time="2023-10-11T20:02:54.545Z" level=debug msg="List workflowartifactgctasks 200"
time="2023-10-11T20:02:54.546Z" level=debug msg="processing WorkflowArtifactGCTask artgc-dag-wf-stopped-hllgt-artgc-wfdel-2470140894-0" namespace=argo workflow=artgc-dag-wf-stopped-hllgt
time="2023-10-11T20:02:54.546Z" level=debug msg="deleting WorkflowArtifactGCTask: artgc-dag-wf-stopped-hllgt-artgc-wfdel-2470140894-0" namespace=argo workflow=artgc-dag-wf-stopped-hllgt
time="2023-10-11T20:02:54.556Z" level=debug msg="Delete workflowartifactgctasks 200"
time="2023-10-11T20:02:54.556Z" level=info msg="no remaining artifacts to GC, removing artifact GC finalizer (forceFinalizerRemoval=false)" namespace=argo workflow=artgc-dag-wf-stopped-hllgt
time="2023-10-11T20:02:54.557Z" level=debug msg="Log changes patch: {\"metadata\":{\"finalizers\":null},\"status\":{\"artifactGCStatus\":{\"podsRecouped\":{\"artgc-dag-wf-stopped-hllgt-artgc-wfdel-2470140894\":true}},\"nodes\":{\"artgc-dag-wf-stopped-hllgt-2203728917\":{\"outputs\":{\"artifacts\":[{\"deleted\":true,\"name\":\"main-logs\",\"s3\":{\"key\":\"artgc-dag-wf-stopped-hllgt/artgc-dag-wf-stopped-hllgt-artgc-dag-delay-stop-2203728917/main.log\"}}]}},\"artgc-dag-wf-stopped-hllgt-3113225067\":{\"outputs\":{\"artifacts\":[{\"deleted\":true,\"name\":\"main-logs\",\"s3\":{\"key\":\"artgc-dag-wf-stopped-hllgt/artgc-dag-wf-stopped-hllgt-artgc-dag-workflow-stopper-3113225067/main.log\"}}]}}}}}"
time="2023-10-11T20:02:54.557Z" level=info msg="Workflow to be dehydrated" Workflow Size=4597
time="2023-10-11T20:02:54.573Z" level=debug msg="Update workflows 200"
time="2023-10-11T20:02:54.573Z" level=info msg="Workflow update successful" namespace=argo phase=Failed resourceVersion=392281 workflow=artgc-dag-wf-stopped-hllgt
time="2023-10-11T20:02:54.590Z" level=debug msg="DeleteCollection workflowtaskresults 200"

Here is an excerpt of the controller logs of a success (this is from near the end of the test):

time="2023-10-11T20:02:00.286Z" level=info msg="Processing workflow" namespace=argo workflow=artgc-dag-wf-stopped-7zxmc
time="2023-10-11T20:02:00.287Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=0 workflow=artgc-dag-wf-stopped-7zxmc
time="2023-10-11T20:02:00.287Z" level=debug msg="woc wf status nodes: map[artgc-dag-wf-stopped-7zxmc:{artgc-dag-wf-stopped-7zxmc artgc-dag-wf-stopped-7zxmc artgc-dag-wf-stopped-7zxmc DAG artgc-dag-wf-stopped-main nil local/artgc-dag-wf-stopped-7zxmc Failed   2023-10-11 20:01:29 +0000 UTC 2023-10-11 20:01:53 +0000 UTC %!s(v1alpha1.EstimatedDuration=0) 1/3 6s*(1 cpu),4s*(100Mi memory)  %!s(*bool=<nil>) nil nil [artgc-dag-wf-stopped-7zxmc-141800804 artgc-dag-wf-stopped-7zxmc-1982811905] [artgc-dag-wf-stopped-7zxmc-141800804 artgc-dag-wf-stopped-7zxmc-2210815367]  nil nil} artgc-dag-wf-stopped-7zxmc-141800804:{artgc-dag-wf-stopped-7zxmc-141800804 artgc-dag-wf-stopped-7zxmc.create-artifact create-artifact Pod artgc-dag-artifact-creator nil local/artgc-dag-wf-stopped-7zxmc Failed artgc-dag-wf-stopped-7zxmc workflow shutdown with strategy:  Stop 2023-10-11 20:01:29 +0000 UTC 2023-10-11 20:01:53 +0000 UTC %!s(v1alpha1.EstimatedDuration=0) 0/1   %!s(*bool=<nil>) nil &Outputs{Parameters:[]Parameter{},Artifacts:[]Artifact{Artifact{Name:on-deletion-wf-stopped,Path:/mnt/vol/test.txt,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:minio:9000,Bucket:my-bucket-3,Region:,Insecure:*true,AccessKeySecret:&v1.SecretKeySelector{LocalObjectReference:LocalObjectReference{Name:my-minio-cred,},Key:accesskey,Optional:nil,},SecretKeySecret:&v1.SecretKeySelector{LocalObjectReference:LocalObjectReference{Name:my-minio-cred,},Key:secretkey,Optional:nil,},RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:on-deletion-wf-stopped,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:&ArtifactGC{Strategy:OnWorkflowDeletion,PodMetadata:nil,ServiceAccountName:,},Deleted:false,},Artifact{Name:main-logs,Path:,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-7zxmc/artgc-dag-wf-stopped-7zxmc-artgc-dag-artifact-creator-141800804/main.log,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:nil,Deleted:false,},},Result:nil,ExitCode:nil,} [] [] k3d-k3s-default-server-0 nil nil} artgc-dag-wf-stopped-7zxmc-1982811905:{artgc-dag-wf-stopped-7zxmc-1982811905 artgc-dag-wf-stopped-7zxmc.delay-stop-workflow delay-stop-workflow Pod artgc-dag-delay-stop nil local/artgc-dag-wf-stopped-7zxmc Succeeded artgc-dag-wf-stopped-7zxmc  2023-10-11 20:01:29 +0000 UTC 2023-10-11 20:01:44 +0000 UTC %!s(v1alpha1.EstimatedDuration=0) 1/1 4s*(100Mi memory),6s*(1 cpu)  %!s(*bool=<nil>) nil &Outputs{Parameters:[]Parameter{},Artifacts:[]Artifact{Artifact{Name:main-logs,Path:,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-7zxmc/artgc-dag-wf-stopped-7zxmc-artgc-dag-delay-stop-1982811905/main.log,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:nil,Deleted:false,},},Result:nil,ExitCode:*0,} [artgc-dag-wf-stopped-7zxmc-2210815367] [] k3d-k3s-default-server-0 nil nil} artgc-dag-wf-stopped-7zxmc-2210815367:{artgc-dag-wf-stopped-7zxmc-2210815367 artgc-dag-wf-stopped-7zxmc.stop-workflow stop-workflow Pod artgc-dag-workflow-stopper nil local/artgc-dag-wf-stopped-7zxmc Failed artgc-dag-wf-stopped-7zxmc workflow shutdown with strategy:  Stop 2023-10-11 20:01:47 +0000 UTC 2023-10-11 20:01:53 +0000 UTC %!s(v1alpha1.EstimatedDuration=0) 0/1   %!s(*bool=<nil>) nil &Outputs{Parameters:[]Parameter{},Artifacts:[]Artifact{Artifact{Name:main-logs,Path:,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-7zxmc/artgc-dag-wf-stopped-7zxmc-artgc-dag-workflow-stopper-2210815367/main.log,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:nil,Deleted:false,},},Result:nil,ExitCode:nil,} [] [] k3d-k3s-default-server-0 nil nil}]" namespace=argo workflow=artgc-dag-wf-stopped-7zxmc
time="2023-10-11T20:02:00.287Z" level=debug msg="woc wf status outputs: nil" namespace=argo workflow=artgc-dag-wf-stopped-7zxmc
time="2023-10-11T20:02:00.287Z" level=debug msg="woc wf artifactgc status: &ArtGCStatus{StrategiesProcessed:map[ArtifactGCStrategy]bool{OnWorkflowCompletion: true,OnWorkflowDeletion: true,},PodsRecouped:map[string]bool{},NotSpecified:false,}" namespace=argo workflow=artgc-dag-wf-stopped-7zxmc
time="2023-10-11T20:02:00.287Z" level=info msg="reconciling artifact-gc pod" message= namespace=argo phase=Succeeded pod=artgc-dag-wf-stopped-7zxmc-artgc-wfdel-2470140894 workflow=artgc-dag-wf-stopped-7zxmc
time="2023-10-11T20:02:00.287Z" level=info msg="processing completed Artifact GC Pod \"artgc-dag-wf-stopped-7zxmc-artgc-wfdel-2470140894\"" namespace=argo workflow=artgc-dag-wf-stopped-7zxmc
time="2023-10-11T20:02:00.292Z" level=debug msg="List workflowartifactgctasks 200"
time="2023-10-11T20:02:00.292Z" level=debug msg="processing WorkflowArtifactGCTask artgc-dag-wf-stopped-7zxmc-artgc-wfdel-2470140894-0" namespace=argo workflow=artgc-dag-wf-stopped-7zxmc
time="2023-10-11T20:02:00.292Z" level=debug msg="deleting WorkflowArtifactGCTask: artgc-dag-wf-stopped-7zxmc-artgc-wfdel-2470140894-0" namespace=argo workflow=artgc-dag-wf-stopped-7zxmc
time="2023-10-11T20:02:00.364Z" level=debug msg="Delete workflowartifactgctasks 200"
time="2023-10-11T20:02:00.364Z" level=info msg="no remaining artifacts to GC, removing artifact GC finalizer (forceFinalizerRemoval=false)" namespace=argo workflow=artgc-dag-wf-stopped-7zxmc
time="2023-10-11T20:02:00.365Z" level=debug msg="Log changes patch: {\"metadata\":{\"finalizers\":null},\"status\":{\"artifactGCStatus\":{\"podsRecouped\":{\"artgc-dag-wf-stopped-7zxmc-artgc-wfdel-2470140894\":true}},\"nodes\":{\"artgc-dag-wf-stopped-7zxmc-141800804\":{\"outputs\":{\"artifacts\":[{\"artifactGC\":{\"strategy\":\"OnWorkflowDeletion\"},\"deleted\":true,\"name\":\"on-deletion-wf-stopped\",\"path\":\"/mnt/vol/test.txt\",\"s3\":{\"accessKeySecret\":{\"key\":\"accesskey\",\"name\":\"my-minio-cred\"},\"bucket\":\"my-bucket-3\",\"endpoint\":\"minio:9000\",\"insecure\":true,\"key\":\"on-deletion-wf-stopped\",\"secretKeySecret\":{\"key\":\"secretkey\",\"name\":\"my-minio-cred\"}}},{\"deleted\":true,\"name\":\"main-logs\",\"s3\":{\"key\":\"artgc-dag-wf-stopped-7zxmc/artgc-dag-wf-stopped-7zxmc-artgc-dag-artifact-creator-141800804/main.log\"}}]}},\"artgc-dag-wf-stopped-7zxmc-1982811905\":{\"outputs\":{\"artifacts\":[{\"deleted\":true,\"name\":\"main-logs\",\"s3\":{\"key\":\"artgc-dag-wf-stopped-7zxmc/artgc-dag-wf-stopped-7zxmc-artgc-dag-delay-stop-1982811905/main.log\"}}]}},\"artgc-dag-wf-stopped-7zxmc-2210815367\":{\"outputs\":{\"artifacts\":[{\"deleted\":true,\"name\":\"main-logs\",\"s3\":{\"key\":\"artgc-dag-wf-stopped-7zxmc/artgc-dag-wf-stopped-7zxmc-artgc-dag-workflow-stopper-2210815367/main.log\"}}]}}}}}"
time="2023-10-11T20:02:00.365Z" level=info msg="Workflow to be dehydrated" Workflow Size=4950
time="2023-10-11T20:02:00.384Z" level=debug msg="Update workflows 200"
time="2023-10-11T20:02:00.385Z" level=info msg="Workflow update successful" namespace=argo phase=Failed resourceVersion=392104 workflow=artgc-dag-wf-stopped-7zxmc
time="2023-10-11T20:02:00.407Z" level=debug msg="DeleteCollection workflowtaskresults 200"
time="2023-10-11T20:02:01.388Z" level=debug msg="Won't process Workflow since it's completed" key=argo/artgc-dag-wf-stopped-7zxmc

The woc wf status nodes and woc wf artifactgc status logs are after woc.taskResultReconciliation in operator.go. Notice how the on-deletion-wf-stopped is present in the success case and not present in the failure case. I've verified the result passed in reportResult of executor.go includes both the on-deletion-wf-stopped and main-logs artifacts.

For example, here is a result logged from reportResult for a failure case:

{  &Outputs{Parameters:[]Parameter{},Artifacts:[]Artifact{Artifact{Name:on-deletion-wf-stopped,Path:/mnt/vol/test.txt,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:minio:9000,Bucket:my-bucket-3,Region:,Insecure:*true,AccessKeySecret:&v1.SecretKeySelector{LocalObjectReference:LocalObjectReference{Name:my-minio-cred,},Key:accesskey,Optional:nil,},SecretKeySecret:&v1.SecretKeySelector{LocalObjectReference:LocalObjectReference{Name:my-minio-cred,},Key:secretkey,Optional:nil,},RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:on-deletion-wf-stopped,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:&ArtifactGC{Strategy:OnWorkflowDeletion,PodMetadata:nil,ServiceAccountName:,},Deleted:false,},Artifact{Name:main-logs,Path:,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-hllgt/artgc-dag-wf-stopped-hllgt-artgc-dag-artifact-creator-3193530808/main.log,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:nil,Deleted:false,},},Result:nil,ExitCode:nil,} }"

At this point, I'm peppering logs in taskResultReconciliation to see if there may be an issue there. Perhaps there is a bug in the reconciliation logic? Will follow up shortly.

@Garett-MacGowan
Copy link
Contributor Author

Garett-MacGowan commented Oct 11, 2023

on-deletion-wf-stopped is not referenced a single time during taskResultReconciliation() in the failure case. I'm lost.

Here's the logs, the ones I added are result: woc.wf.Status.Nodes.Get err, old:, and newNode::

time="2023-10-11T22:19:51.054Z" level=info msg="Processing workflow" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.055Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main"
time="2023-10-11T22:19:51.055Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:51.055Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:51.055Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:51.055Z" level=debug msg="Getting the template by name: artgc-dag-artifact-creator"
time="2023-10-11T22:19:51.055Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:19:51.055Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:19:51.055Z" level=debug msg="Getting the template by name: artgc-dag-artifact-creator" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:19:51.055Z" level=debug msg="Getting the template by name: artgc-dag-delay-stop" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:19:51.055Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:19:51.055Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:19:51.055Z" level=debug msg="Getting the template by name: artgc-dag-delay-stop" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:19:51.055Z" level=debug msg="Getting the template by name: artgc-dag-workflow-stopper" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:19:51.055Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-workflow-stopper)"
time="2023-10-11T22:19:51.055Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-workflow-stopper)"
time="2023-10-11T22:19:51.055Z" level=debug msg="Getting the template by name: artgc-dag-workflow-stopper" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-workflow-stopper)"
time="2023-10-11T22:19:51.055Z" level=debug msg="Getting the template by name: artgc-dag-artifact-creator" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-workflow-stopper)"
time="2023-10-11T22:19:51.055Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:19:51.055Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:19:51.055Z" level=debug msg="Getting the template by name: artgc-dag-artifact-creator" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:19:51.056Z" level=debug msg="Getting the template by name: artgc-dag-delay-stop" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:19:51.056Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:19:51.056Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:19:51.056Z" level=debug msg="Getting the template by name: artgc-dag-delay-stop" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:19:51.056Z" level=debug msg="Getting the template by name: artgc-dag-workflow-stopper" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:19:51.056Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-workflow-stopper)"
time="2023-10-11T22:19:51.056Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-workflow-stopper)"
time="2023-10-11T22:19:51.056Z" level=debug msg="Getting the template by name: artgc-dag-workflow-stopper" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-workflow-stopper)"
time="2023-10-11T22:19:51.056Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:51.056Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:51.056Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:51.056Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:51.056Z" level=debug msg="Getting the template by name: artgc-dag-delay-stop" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:51.056Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-delay-stop)"
time="2023-10-11T22:19:51.056Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-delay-stop)"
time="2023-10-11T22:19:51.056Z" level=debug msg="Getting the template by name: artgc-dag-delay-stop" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-delay-stop)"
time="2023-10-11T22:19:51.056Z" level=debug msg="Getting the template by name: artgc-dag-workflow-stopper" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-delay-stop)"
time="2023-10-11T22:19:51.056Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-workflow-stopper)"
time="2023-10-11T22:19:51.056Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-workflow-stopper)"
time="2023-10-11T22:19:51.056Z" level=debug msg="Getting the template by name: artgc-dag-workflow-stopper" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-workflow-stopper)"
time="2023-10-11T22:19:51.056Z" level=debug msg="Getting the template by name: artgc-dag-artifact-creator" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-workflow-stopper)"
time="2023-10-11T22:19:51.056Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-artifact-creator)"
time="2023-10-11T22:19:51.056Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-artifact-creator)"
time="2023-10-11T22:19:51.056Z" level=debug msg="Getting the template by name: artgc-dag-artifact-creator" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-artifact-creator)"
time="2023-10-11T22:19:51.062Z" level=debug msg="Get configmaps 200"
time="2023-10-11T22:19:51.062Z" level=info msg="resolved artifact repository" artifactRepositoryRef="argo/#"
time="2023-10-11T22:19:51.062Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=0 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.062Z" level=info msg="adding artifact GC finalizer" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.062Z" level=info msg="Updated phase  -> Running" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.062Z" level=info msg="Creating pvc artgc-dag-wf-stopped-kg8tk-artifacts" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.063Z" level=debug msg="Event(v1.ObjectReference{Kind:\"Workflow\", Namespace:\"argo\", Name:\"artgc-dag-wf-stopped-kg8tk\", UID:\"a79f56c0-9c76-444e-b499-749078a78c6a\", APIVersion:\"argoproj.io/v1alpha1\", ResourceVersion:\"405097\", FieldPath:\"\"}): type: 'Normal' reason: 'WorkflowRunning' Workflow Running"
time="2023-10-11T22:19:51.071Z" level=debug msg="Create events 201"
time="2023-10-11T22:19:51.076Z" level=debug msg="Create persistentvolumeclaims 201"
time="2023-10-11T22:19:51.077Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk: template: *v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main), boundaryID: " namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.077Z" level=warning msg="Node was nil, will be initialized as type Skipped" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.077Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:51.077Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:51.077Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:51.077Z" level=debug msg="Initializing node artgc-dag-wf-stopped-kg8tk: template: *v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main), boundaryID: " namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.077Z" level=info msg="was unable to obtain node for , letting display name to be nodeName" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.077Z" level=info msg="DAG node artgc-dag-wf-stopped-kg8tk initialized Running" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.077Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-3846913764, taskName create-artifact"
time="2023-10-11T22:19:51.077Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-3846913764, taskName create-artifact"
time="2023-10-11T22:19:51.077Z" level=info msg="All of node artgc-dag-wf-stopped-kg8tk.create-artifact dependencies [] completed" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.077Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk.create-artifact: template: *v1alpha1.DAGTask (artgc-dag-artifact-creator), boundaryID: artgc-dag-wf-stopped-kg8tk" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.077Z" level=warning msg="Node was nil, will be initialized as type Skipped" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.077Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:19:51.077Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:19:51.077Z" level=debug msg="Getting the template by name: artgc-dag-artifact-creator" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:19:51.078Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:51.078Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:51.078Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:51.078Z" level=debug msg="Initializing node artgc-dag-wf-stopped-kg8tk.create-artifact: template: *v1alpha1.DAGTask (artgc-dag-artifact-creator), boundaryID: artgc-dag-wf-stopped-kg8tk" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.078Z" level=info msg="Pod node artgc-dag-wf-stopped-kg8tk-3846913764 initialized Pending" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.078Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:51.078Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:51.078Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:51.078Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.create-artifact with container template: artgc-dag-artifact-creator\n" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.078Z" level=debug namespace=argo needLocation=true workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.086Z" level=debug msg="Get serviceaccounts 200"
time="2023-10-11T22:19:51.089Z" level=debug msg="Creating Pod: artgc-dag-wf-stopped-kg8tk.create-artifact (artgc-dag-wf-stopped-kg8tk-artgc-dag-artifact-creator-3846913764)" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.098Z" level=debug msg="Create pods 201"
W1011 22:19:51.098305   22635 warnings.go:70] metadata.name: this is used in the Pod's hostname, which can result in surprising behavior; a DNS label is recommended: [must be no more than 63 characters]
time="2023-10-11T22:19:51.099Z" level=info msg="Created pod: artgc-dag-wf-stopped-kg8tk.create-artifact (artgc-dag-wf-stopped-kg8tk-artgc-dag-artifact-creator-3846913764)" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.099Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-1504799495, taskName stop-workflow"
time="2023-10-11T22:19:51.099Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-3444961409, taskName delay-stop-workflow"
time="2023-10-11T22:19:51.099Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-3444961409, taskName delay-stop-workflow"
time="2023-10-11T22:19:51.099Z" level=info msg="All of node artgc-dag-wf-stopped-kg8tk.delay-stop-workflow dependencies [] completed" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.099Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk.delay-stop-workflow: template: *v1alpha1.DAGTask (artgc-dag-delay-stop), boundaryID: artgc-dag-wf-stopped-kg8tk" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.099Z" level=warning msg="Node was nil, will be initialized as type Skipped" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.099Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:19:51.099Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:19:51.099Z" level=debug msg="Getting the template by name: artgc-dag-delay-stop" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:19:51.099Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:51.099Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:51.099Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:51.099Z" level=debug msg="Initializing node artgc-dag-wf-stopped-kg8tk.delay-stop-workflow: template: *v1alpha1.DAGTask (artgc-dag-delay-stop), boundaryID: artgc-dag-wf-stopped-kg8tk" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.099Z" level=info msg="Pod node artgc-dag-wf-stopped-kg8tk-3444961409 initialized Pending" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.099Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:51.099Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:51.099Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:51.099Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.delay-stop-workflow with container template: artgc-dag-delay-stop\n" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.099Z" level=debug namespace=argo needLocation=true workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.104Z" level=debug msg="Get serviceaccounts 200"
time="2023-10-11T22:19:51.106Z" level=debug msg="Creating Pod: artgc-dag-wf-stopped-kg8tk.delay-stop-workflow (artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409)" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.114Z" level=debug msg="Create pods 201"
time="2023-10-11T22:19:51.115Z" level=info msg="Created pod: artgc-dag-wf-stopped-kg8tk.delay-stop-workflow (artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409)" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.115Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-1504799495, taskName stop-workflow"
time="2023-10-11T22:19:51.115Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-1504799495, taskName stop-workflow"
time="2023-10-11T22:19:51.115Z" level=info msg="TaskSet Reconciliation" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.115Z" level=info msg=reconcileAgentPod namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.116Z" level=debug msg="Log changes patch: {\"metadata\":{\"annotations\":{\"workflows.argoproj.io/pod-name-format\":\"v2\"},\"finalizers\":[\"workflows.argoproj.io/artifact-gc\"],\"labels\":{\"workflows.argoproj.io/phase\":\"Running\"}},\"spec\":{\"activeDeadlineSeconds\":300,\"podSpecPatch\":\"terminationGracePeriodSeconds: 3\\n\"},\"status\":{\"artifactGCStatus\":{},\"artifactRepositoryRef\":{\"artifactRepository\":{\"archiveLogs\":true,\"s3\":{\"accessKeySecret\":{\"key\":\"accesskey\",\"name\":\"my-minio-cred\"},\"bucket\":\"my-bucket\",\"endpoint\":\"minio:9000\",\"insecure\":true,\"secretKeySecret\":{\"key\":\"secretkey\",\"name\":\"my-minio-cred\"}}},\"configMap\":\"artifact-repositories\",\"key\":\"default-v1\",\"namespace\":\"argo\"},\"nodes\":{\"artgc-dag-wf-stopped-kg8tk\":{\"children\":[\"artgc-dag-wf-stopped-kg8tk-3846913764\",\"artgc-dag-wf-stopped-kg8tk-3444961409\"],\"displayName\":\"artgc-dag-wf-stopped-kg8tk\",\"finishedAt\":null,\"id\":\"artgc-dag-wf-stopped-kg8tk\",\"name\":\"artgc-dag-wf-stopped-kg8tk\",\"phase\":\"Running\",\"startedAt\":\"2023-10-11T22:19:51Z\",\"templateName\":\"artgc-dag-wf-stopped-main\",\"templateScope\":\"local/artgc-dag-wf-stopped-kg8tk\",\"type\":\"DAG\"},\"artgc-dag-wf-stopped-kg8tk-3444961409\":{\"boundaryID\":\"artgc-dag-wf-stopped-kg8tk\",\"displayName\":\"delay-stop-workflow\",\"finishedAt\":null,\"id\":\"artgc-dag-wf-stopped-kg8tk-3444961409\",\"name\":\"artgc-dag-wf-stopped-kg8tk.delay-stop-workflow\",\"phase\":\"Pending\",\"startedAt\":\"2023-10-11T22:19:51Z\",\"templateName\":\"artgc-dag-delay-stop\",\"templateScope\":\"local/artgc-dag-wf-stopped-kg8tk\",\"type\":\"Pod\"},\"artgc-dag-wf-stopped-kg8tk-3846913764\":{\"boundaryID\":\"artgc-dag-wf-stopped-kg8tk\",\"displayName\":\"create-artifact\",\"finishedAt\":null,\"id\":\"artgc-dag-wf-stopped-kg8tk-3846913764\",\"name\":\"artgc-dag-wf-stopped-kg8tk.create-artifact\",\"phase\":\"Pending\",\"startedAt\":\"2023-10-11T22:19:51Z\",\"templateName\":\"artgc-dag-artifact-creator\",\"templateScope\":\"local/artgc-dag-wf-stopped-kg8tk\",\"type\":\"Pod\"}},\"persistentVolumeClaims\":[{\"name\":\"artifacts\",\"persistentVolumeClaim\":{\"claimName\":\"artgc-dag-wf-stopped-kg8tk-artifacts\"}}],\"phase\":\"Running\",\"startedAt\":\"2023-10-11T22:19:51Z\"}}"
time="2023-10-11T22:19:51.116Z" level=info msg="Workflow to be dehydrated" Workflow Size=3063
time="2023-10-11T22:19:51.125Z" level=debug msg="Update workflows 200"
time="2023-10-11T22:19:51.126Z" level=info msg="Workflow update successful" namespace=argo phase=Running resourceVersion=405106 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:51.128Z" level=debug msg="Event(v1.ObjectReference{Kind:\"Workflow\", Namespace:\"argo\", Name:\"artgc-dag-wf-stopped-kg8tk\", UID:\"a79f56c0-9c76-444e-b499-749078a78c6a\", APIVersion:\"argoproj.io/v1alpha1\", ResourceVersion:\"405106\", FieldPath:\"\"}): type: 'Normal' reason: 'WorkflowNodeRunning' Running node artgc-dag-wf-stopped-kg8tk"
time="2023-10-11T22:19:51.135Z" level=debug msg="Create events 201"
time="2023-10-11T22:19:52.055Z" level=info msg="Processing workflow" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:52.056Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=0 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:52.056Z" level=info msg="node unchanged" namespace=argo nodeID=artgc-dag-wf-stopped-kg8tk-3444961409 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:52.056Z" level=info msg="node unchanged" namespace=argo nodeID=artgc-dag-wf-stopped-kg8tk-3846913764 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:52.056Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk: template: *v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main), boundaryID: " namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:52.056Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:52.056Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:52.056Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:52.056Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk of DAG is Running" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:52.056Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk.create-artifact: template: *v1alpha1.DAGTask (artgc-dag-artifact-creator), boundaryID: artgc-dag-wf-stopped-kg8tk" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:52.057Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:19:52.057Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:19:52.057Z" level=debug msg="Getting the template by name: artgc-dag-artifact-creator" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:19:52.057Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.create-artifact of Pod is Pending" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:52.057Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:52.057Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:52.057Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:52.057Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.create-artifact with container template: artgc-dag-artifact-creator\n" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:52.057Z" level=debug msg="Skipped pod artgc-dag-wf-stopped-kg8tk.create-artifact (artgc-dag-wf-stopped-kg8tk-3846913764) creation: already exists" namespace=argo podPhase=Pending workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:52.057Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-1504799495, taskName stop-workflow"
time="2023-10-11T22:19:52.057Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk.delay-stop-workflow: template: *v1alpha1.DAGTask (artgc-dag-delay-stop), boundaryID: artgc-dag-wf-stopped-kg8tk" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:52.057Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:19:52.057Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:19:52.057Z" level=debug msg="Getting the template by name: artgc-dag-delay-stop" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:19:52.057Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.delay-stop-workflow of Pod is Pending" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:52.057Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:52.057Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:52.057Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:52.057Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.delay-stop-workflow with container template: artgc-dag-delay-stop\n" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:52.057Z" level=debug msg="Skipped pod artgc-dag-wf-stopped-kg8tk.delay-stop-workflow (artgc-dag-wf-stopped-kg8tk-3444961409) creation: already exists" namespace=argo podPhase=Pending workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:52.057Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-1504799495, taskName stop-workflow"
time="2023-10-11T22:19:52.057Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-1504799495, taskName stop-workflow"
time="2023-10-11T22:19:52.057Z" level=info msg="TaskSet Reconciliation" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:52.057Z" level=info msg=reconcileAgentPod namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:52.540Z" level=debug msg="Get leases 200"
time="2023-10-11T22:19:52.545Z" level=debug msg="Update leases 200"
time="2023-10-11T22:19:54.341Z" level=debug msg="Syncing all CronWorkflows"
time="2023-10-11T22:19:56.114Z" level=info msg="Processing workflow" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:56.115Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=0 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:56.116Z" level=info msg="node changed" namespace=argo new.message=PodInitializing new.phase=Pending new.progress=0/1 nodeID=artgc-dag-wf-stopped-kg8tk-3444961409 old.message= old.phase=Pending old.progress=0/1 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:56.116Z" level=info msg="node changed" namespace=argo new.message=PodInitializing new.phase=Pending new.progress=0/1 nodeID=artgc-dag-wf-stopped-kg8tk-3846913764 old.message= old.phase=Pending old.progress=0/1 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:56.116Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk: template: *v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main), boundaryID: " namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:56.116Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:56.116Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:56.116Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:56.116Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk of DAG is Running" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:56.116Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk.create-artifact: template: *v1alpha1.DAGTask (artgc-dag-artifact-creator), boundaryID: artgc-dag-wf-stopped-kg8tk" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:56.116Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:19:56.116Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:19:56.116Z" level=debug msg="Getting the template by name: artgc-dag-artifact-creator" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:19:56.116Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.create-artifact of Pod is Pending" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:56.116Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:56.116Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:56.116Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:56.116Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.create-artifact with container template: artgc-dag-artifact-creator\n" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:56.116Z" level=debug msg="Skipped pod artgc-dag-wf-stopped-kg8tk.create-artifact (artgc-dag-wf-stopped-kg8tk-3846913764) creation: already exists" namespace=argo podPhase=Pending workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:56.116Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-1504799495, taskName stop-workflow"
time="2023-10-11T22:19:56.117Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk.delay-stop-workflow: template: *v1alpha1.DAGTask (artgc-dag-delay-stop), boundaryID: artgc-dag-wf-stopped-kg8tk" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:56.117Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:19:56.117Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:19:56.117Z" level=debug msg="Getting the template by name: artgc-dag-delay-stop" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:19:56.117Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.delay-stop-workflow of Pod is Pending" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:56.117Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:56.117Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:56.117Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:56.117Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.delay-stop-workflow with container template: artgc-dag-delay-stop\n" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:56.117Z" level=debug msg="Skipped pod artgc-dag-wf-stopped-kg8tk.delay-stop-workflow (artgc-dag-wf-stopped-kg8tk-3444961409) creation: already exists" namespace=argo podPhase=Pending workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:56.117Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-1504799495, taskName stop-workflow"
time="2023-10-11T22:19:56.117Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-1504799495, taskName stop-workflow"
time="2023-10-11T22:19:56.117Z" level=info msg="TaskSet Reconciliation" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:56.117Z" level=info msg=reconcileAgentPod namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:56.118Z" level=debug msg="Log changes patch: {\"status\":{\"conditions\":[{\"status\":\"False\",\"type\":\"PodRunning\"}],\"nodes\":{\"artgc-dag-wf-stopped-kg8tk-3444961409\":{\"hostNodeName\":\"k3d-k3s-default-server-0\",\"message\":\"PodInitializing\"},\"artgc-dag-wf-stopped-kg8tk-3846913764\":{\"hostNodeName\":\"k3d-k3s-default-server-0\",\"message\":\"PodInitializing\"}}}}"
time="2023-10-11T22:19:56.118Z" level=info msg="Workflow to be dehydrated" Workflow Size=3450
time="2023-10-11T22:19:56.143Z" level=debug msg="Update workflows 200"
time="2023-10-11T22:19:56.143Z" level=info msg="Workflow update successful" namespace=argo phase=Running resourceVersion=405136 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:57.549Z" level=debug msg="Get leases 200"
time="2023-10-11T22:19:57.554Z" level=debug msg="Update leases 200"
time="2023-10-11T22:19:57.936Z" level=info msg="Processing workflow" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:57.937Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=0 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:57.937Z" level=info msg="node unchanged" namespace=argo nodeID=artgc-dag-wf-stopped-kg8tk-3444961409 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:57.937Z" level=info msg="node unchanged" namespace=argo nodeID=artgc-dag-wf-stopped-kg8tk-3846913764 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:57.937Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk: template: *v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main), boundaryID: " namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:57.937Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:57.937Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:57.937Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:57.939Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk of DAG is Running" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:57.939Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk.create-artifact: template: *v1alpha1.DAGTask (artgc-dag-artifact-creator), boundaryID: artgc-dag-wf-stopped-kg8tk" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:57.939Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:19:57.939Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:19:57.939Z" level=debug msg="Getting the template by name: artgc-dag-artifact-creator" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:19:57.940Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.create-artifact of Pod is Pending" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:57.940Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:57.940Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:57.940Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:57.940Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.create-artifact with container template: artgc-dag-artifact-creator\n" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:57.940Z" level=debug msg="Skipped pod artgc-dag-wf-stopped-kg8tk.create-artifact (artgc-dag-wf-stopped-kg8tk-3846913764) creation: already exists" namespace=argo podPhase=Pending workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:57.940Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-1504799495, taskName stop-workflow"
time="2023-10-11T22:19:57.940Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk.delay-stop-workflow: template: *v1alpha1.DAGTask (artgc-dag-delay-stop), boundaryID: artgc-dag-wf-stopped-kg8tk" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:57.940Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:19:57.940Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:19:57.940Z" level=debug msg="Getting the template by name: artgc-dag-delay-stop" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:19:57.940Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.delay-stop-workflow of Pod is Pending" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:57.940Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:57.940Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:57.940Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:19:57.940Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.delay-stop-workflow with container template: artgc-dag-delay-stop\n" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:57.940Z" level=debug msg="Skipped pod artgc-dag-wf-stopped-kg8tk.delay-stop-workflow (artgc-dag-wf-stopped-kg8tk-3444961409) creation: already exists" namespace=argo podPhase=Pending workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:57.940Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-1504799495, taskName stop-workflow"
time="2023-10-11T22:19:57.940Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-1504799495, taskName stop-workflow"
time="2023-10-11T22:19:57.940Z" level=info msg="TaskSet Reconciliation" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:19:57.940Z" level=info msg=reconcileAgentPod namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:02.559Z" level=debug msg="Get leases 200"
time="2023-10-11T22:20:02.566Z" level=debug msg="Update leases 200"
time="2023-10-11T22:20:02.902Z" level=info msg="Processing workflow" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:02.902Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=0 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:02.902Z" level=info msg="node unchanged" namespace=argo nodeID=artgc-dag-wf-stopped-kg8tk-3444961409 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:02.903Z" level=info msg="node unchanged" namespace=argo nodeID=artgc-dag-wf-stopped-kg8tk-3846913764 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:02.903Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk: template: *v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main), boundaryID: " namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:02.903Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:02.903Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:02.903Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:02.903Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk of DAG is Running" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:02.903Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk.create-artifact: template: *v1alpha1.DAGTask (artgc-dag-artifact-creator), boundaryID: artgc-dag-wf-stopped-kg8tk" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:02.903Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:02.903Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:02.903Z" level=debug msg="Getting the template by name: artgc-dag-artifact-creator" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:02.903Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.create-artifact of Pod is Pending" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:02.903Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:02.903Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:02.903Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:02.903Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.create-artifact with container template: artgc-dag-artifact-creator\n" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:02.903Z" level=debug msg="Skipped pod artgc-dag-wf-stopped-kg8tk.create-artifact (artgc-dag-wf-stopped-kg8tk-3846913764) creation: already exists" namespace=argo podPhase=Pending workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:02.903Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-1504799495, taskName stop-workflow"
time="2023-10-11T22:20:02.903Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk.delay-stop-workflow: template: *v1alpha1.DAGTask (artgc-dag-delay-stop), boundaryID: artgc-dag-wf-stopped-kg8tk" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:02.903Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:20:02.903Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:20:02.903Z" level=debug msg="Getting the template by name: artgc-dag-delay-stop" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:20:02.903Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.delay-stop-workflow of Pod is Pending" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:02.903Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:02.903Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:02.903Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:02.904Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.delay-stop-workflow with container template: artgc-dag-delay-stop\n" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:02.904Z" level=debug msg="Skipped pod artgc-dag-wf-stopped-kg8tk.delay-stop-workflow (artgc-dag-wf-stopped-kg8tk-3444961409) creation: already exists" namespace=argo podPhase=Pending workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:02.904Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-1504799495, taskName stop-workflow"
time="2023-10-11T22:20:02.904Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-1504799495, taskName stop-workflow"
time="2023-10-11T22:20:02.904Z" level=info msg="TaskSet Reconciliation" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:02.904Z" level=info msg=reconcileAgentPod namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:04.342Z" level=debug msg="Syncing all CronWorkflows"
time="2023-10-11T22:20:04.907Z" level=info msg="Processing workflow" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:04.907Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=0 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:04.908Z" level=info msg="node changed" namespace=argo new.message= new.phase=Running new.progress=0/1 nodeID=artgc-dag-wf-stopped-kg8tk-3444961409 old.message=PodInitializing old.phase=Pending old.progress=0/1 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:04.908Z" level=info msg="node changed" namespace=argo new.message= new.phase=Running new.progress=0/1 nodeID=artgc-dag-wf-stopped-kg8tk-3846913764 old.message=PodInitializing old.phase=Pending old.progress=0/1 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:04.908Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk: template: *v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main), boundaryID: " namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:04.908Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:04.908Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:04.908Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:04.908Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk of DAG is Running" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:04.908Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk.create-artifact: template: *v1alpha1.DAGTask (artgc-dag-artifact-creator), boundaryID: artgc-dag-wf-stopped-kg8tk" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:04.908Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:04.908Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:04.908Z" level=debug msg="Getting the template by name: artgc-dag-artifact-creator" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:04.908Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.create-artifact of Pod is Running" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:04.908Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:04.908Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:04.908Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:04.908Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.create-artifact with container template: artgc-dag-artifact-creator\n" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:04.908Z" level=debug msg="Skipped pod artgc-dag-wf-stopped-kg8tk.create-artifact (artgc-dag-wf-stopped-kg8tk-3846913764) creation: already exists" namespace=argo podPhase=Running workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:04.908Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-1504799495, taskName stop-workflow"
time="2023-10-11T22:20:04.908Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk.delay-stop-workflow: template: *v1alpha1.DAGTask (artgc-dag-delay-stop), boundaryID: artgc-dag-wf-stopped-kg8tk" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:04.908Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:20:04.908Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:20:04.908Z" level=debug msg="Getting the template by name: artgc-dag-delay-stop" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:20:04.909Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.delay-stop-workflow of Pod is Running" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:04.909Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:04.909Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:04.909Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:04.909Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.delay-stop-workflow with container template: artgc-dag-delay-stop\n" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:04.909Z" level=debug msg="Skipped pod artgc-dag-wf-stopped-kg8tk.delay-stop-workflow (artgc-dag-wf-stopped-kg8tk-3444961409) creation: already exists" namespace=argo podPhase=Running workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:04.909Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-1504799495, taskName stop-workflow"
time="2023-10-11T22:20:04.909Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-1504799495, taskName stop-workflow"
time="2023-10-11T22:20:04.909Z" level=info msg="TaskSet Reconciliation" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:04.909Z" level=info msg=reconcileAgentPod namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:04.909Z" level=debug msg="Log changes patch: {\"status\":{\"conditions\":[{\"status\":\"True\",\"type\":\"PodRunning\"}],\"nodes\":{\"artgc-dag-wf-stopped-kg8tk-3444961409\":{\"message\":null,\"phase\":\"Running\"},\"artgc-dag-wf-stopped-kg8tk-3846913764\":{\"message\":null,\"phase\":\"Running\"}}}}"
time="2023-10-11T22:20:04.909Z" level=info msg="Workflow to be dehydrated" Workflow Size=3419
time="2023-10-11T22:20:04.917Z" level=debug msg="Update workflows 200"
time="2023-10-11T22:20:04.918Z" level=info msg="Workflow update successful" namespace=argo phase=Running resourceVersion=405164 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:04.918Z" level=debug msg="Event(v1.ObjectReference{Kind:\"Workflow\", Namespace:\"argo\", Name:\"artgc-dag-wf-stopped-kg8tk\", UID:\"a79f56c0-9c76-444e-b499-749078a78c6a\", APIVersion:\"argoproj.io/v1alpha1\", ResourceVersion:\"405164\", FieldPath:\"\"}): type: 'Normal' reason: 'WorkflowNodeRunning' Running node artgc-dag-wf-stopped-kg8tk.delay-stop-workflow"
time="2023-10-11T22:20:04.919Z" level=debug msg="Event(v1.ObjectReference{Kind:\"Workflow\", Namespace:\"argo\", Name:\"artgc-dag-wf-stopped-kg8tk\", UID:\"a79f56c0-9c76-444e-b499-749078a78c6a\", APIVersion:\"argoproj.io/v1alpha1\", ResourceVersion:\"405164\", FieldPath:\"\"}): type: 'Normal' reason: 'WorkflowNodeRunning' Running node artgc-dag-wf-stopped-kg8tk.create-artifact"
time="2023-10-11T22:20:04.924Z" level=debug msg="Create events 201"
time="2023-10-11T22:20:04.930Z" level=debug msg="Create events 201"
time="2023-10-11T22:20:06.919Z" level=info msg="Processing workflow" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:06.920Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=1 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:06.920Z" level=debug msg="result: &WorkflowTaskResult{ObjectMeta:{artgc-dag-wf-stopped-kg8tk-3444961409  argo  574562ae-7d3e-444e-962b-ae0a52e6f226 405168 1 2023-10-11 22:20:06 +0000 UTC <nil> <nil> map[workflows.argoproj.io/workflow:artgc-dag-wf-stopped-kg8tk] map[] [{v1 Pod artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409 f496561d-e39a-43b8-b930-15b8c2ee14c2 <nil> <nil>}] []  [{argoexec Update argoproj.io/v1alpha1 2023-10-11 22:20:06 +0000 UTC FieldsV1 {\"f:metadata\":{\"f:labels\":{\".\":{},\"f:workflows.argoproj.io/workflow\":{}},\"f:ownerReferences\":{\".\":{},\"k:{\\\"uid\\\":\\\"f496561d-e39a-43b8-b930-15b8c2ee14c2\\\"}\":{}}},\"f:outputs\":{\".\":{},\"f:artifacts\":{}}} }]},NodeResult:NodeResult{Phase:,Message:,Outputs:&Outputs{Parameters:[]Parameter{},Artifacts:[]Artifact{Artifact{Name:main-logs,Path:,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409/main.log,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:nil,Deleted:false,},},Result:nil,ExitCode:nil,},Progress:,},}" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:06.920Z" level=debug msg="woc.wf.Status.Nodes.Get err: %!s(<nil>)" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:06.920Z" level=debug msg="old: &NodeStatus{ID:artgc-dag-wf-stopped-kg8tk-3444961409,Name:artgc-dag-wf-stopped-kg8tk.delay-stop-workflow,DisplayName:delay-stop-workflow,Type:Pod,TemplateName:artgc-dag-delay-stop,TemplateRef:nil,Phase:Running,BoundaryID:artgc-dag-wf-stopped-kg8tk,Message:,StartedAt:2023-10-11 22:19:51 +0000 UTC,FinishedAt:0001-01-01 00:00:00 +0000 UTC,PodIP:,Daemoned:nil,Inputs:nil,Outputs:nil,Children:[],OutboundNodes:[],TemplateScope:local/artgc-dag-wf-stopped-kg8tk,ResourcesDuration:ResourcesDuration{},HostNodeName:k3d-k3s-default-server-0,MemoizationStatus:nil,EstimatedDuration:0,SynchronizationStatus:nil,Progress:0/1,}" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:06.920Z" level=debug msg="newNode: &NodeStatus{ID:artgc-dag-wf-stopped-kg8tk-3444961409,Name:artgc-dag-wf-stopped-kg8tk.delay-stop-workflow,DisplayName:delay-stop-workflow,Type:Pod,TemplateName:artgc-dag-delay-stop,TemplateRef:nil,Phase:Running,BoundaryID:artgc-dag-wf-stopped-kg8tk,Message:,StartedAt:2023-10-11 22:19:51 +0000 UTC,FinishedAt:0001-01-01 00:00:00 +0000 UTC,PodIP:,Daemoned:nil,Inputs:nil,Outputs:&Outputs{Parameters:[]Parameter{},Artifacts:[]Artifact{Artifact{Name:main-logs,Path:,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409/main.log,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:nil,Deleted:false,},},Result:nil,ExitCode:nil,},Children:[],OutboundNodes:[],TemplateScope:local/artgc-dag-wf-stopped-kg8tk,ResourcesDuration:ResourcesDuration{},HostNodeName:k3d-k3s-default-server-0,MemoizationStatus:nil,EstimatedDuration:0,SynchronizationStatus:nil,Progress:0/1,}" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:06.920Z" level=info msg="task-result changed" namespace=argo nodeID=artgc-dag-wf-stopped-kg8tk-3444961409 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:06.920Z" level=info msg="node changed" namespace=argo new.message= new.phase=Running new.progress=0/1 nodeID=artgc-dag-wf-stopped-kg8tk-3444961409 old.message= old.phase=Running old.progress=0/1 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:06.921Z" level=info msg="node unchanged" namespace=argo nodeID=artgc-dag-wf-stopped-kg8tk-3846913764 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:06.921Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk: template: *v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main), boundaryID: " namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:06.921Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:06.921Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:06.921Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:06.921Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk of DAG is Running" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:06.921Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk.create-artifact: template: *v1alpha1.DAGTask (artgc-dag-artifact-creator), boundaryID: artgc-dag-wf-stopped-kg8tk" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:06.921Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:06.921Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:06.921Z" level=debug msg="Getting the template by name: artgc-dag-artifact-creator" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:06.921Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.create-artifact of Pod is Running" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:06.921Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:06.921Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:06.921Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:06.921Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.create-artifact with container template: artgc-dag-artifact-creator\n" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:06.921Z" level=debug msg="Skipped pod artgc-dag-wf-stopped-kg8tk.create-artifact (artgc-dag-wf-stopped-kg8tk-3846913764) creation: already exists" namespace=argo podPhase=Running workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:06.921Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-1504799495, taskName stop-workflow"
time="2023-10-11T22:20:06.921Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk.delay-stop-workflow: template: *v1alpha1.DAGTask (artgc-dag-delay-stop), boundaryID: artgc-dag-wf-stopped-kg8tk" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:06.921Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:20:06.921Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:20:06.921Z" level=debug msg="Getting the template by name: artgc-dag-delay-stop" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:20:06.922Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.delay-stop-workflow of Pod is Running" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:06.922Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:06.922Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:06.922Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:06.922Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.delay-stop-workflow with container template: artgc-dag-delay-stop\n" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:06.922Z" level=debug msg="Skipped pod artgc-dag-wf-stopped-kg8tk.delay-stop-workflow (artgc-dag-wf-stopped-kg8tk-3444961409) creation: already exists" namespace=argo podPhase=Running workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:06.922Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-1504799495, taskName stop-workflow"
time="2023-10-11T22:20:06.922Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-1504799495, taskName stop-workflow"
time="2023-10-11T22:20:06.922Z" level=info msg="TaskSet Reconciliation" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:06.922Z" level=info msg=reconcileAgentPod namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:06.922Z" level=debug msg="Log changes patch: {\"status\":{\"nodes\":{\"artgc-dag-wf-stopped-kg8tk-3444961409\":{\"outputs\":{\"artifacts\":[{\"name\":\"main-logs\",\"s3\":{\"key\":\"artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409/main.log\"}}],\"exitCode\":\"0\"}}}}}"
time="2023-10-11T22:20:06.922Z" level=info msg="Workflow to be dehydrated" Workflow Size=3567
time="2023-10-11T22:20:06.926Z" level=info msg="cleaning up pod" action=terminateContainers key=argo/artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409/terminateContainers
time="2023-10-11T22:20:06.926Z" level=info msg="https://0.0.0.0:42429/api/v1/namespaces/argo/pods/artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409/exec?command=%2Fvar%2Frun%2Fargo%2Fargoexec&command=kill&command=15&command=1&container=wait&stderr=true&stdout=true&tty=false"
time="2023-10-11T22:20:06.926Z" level=debug msg="exec container command" command="[/var/run/argo/argoexec kill 15 1]" container=wait error="<nil>" namespace=argo pod=artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409
time="2023-10-11T22:20:06.934Z" level=debug msg="Update workflows 200"
time="2023-10-11T22:20:06.934Z" level=info msg="Workflow update successful" namespace=argo phase=Running resourceVersion=405170 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:06.951Z" level=debug msg="Create pods/exec 500"
time="2023-10-11T22:20:06.951Z" level=info msg="signaled container" container=wait error="unable to upgrade connection: container not found (\"wait\")" namespace=argo pod=artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409 stderr="<nil>" stdout="<nil>"
time="2023-10-11T22:20:07.572Z" level=debug msg="Get leases 200"
time="2023-10-11T22:20:07.578Z" level=debug msg="Update leases 200"
time="2023-10-11T22:20:07.932Z" level=info msg="Processing workflow" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:07.933Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=1 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:07.933Z" level=debug msg="result: &WorkflowTaskResult{ObjectMeta:{artgc-dag-wf-stopped-kg8tk-3444961409  argo  574562ae-7d3e-444e-962b-ae0a52e6f226 405168 1 2023-10-11 22:20:06 +0000 UTC <nil> <nil> map[workflows.argoproj.io/workflow:artgc-dag-wf-stopped-kg8tk] map[] [{v1 Pod artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409 f496561d-e39a-43b8-b930-15b8c2ee14c2 <nil> <nil>}] []  [{argoexec Update argoproj.io/v1alpha1 2023-10-11 22:20:06 +0000 UTC FieldsV1 {\"f:metadata\":{\"f:labels\":{\".\":{},\"f:workflows.argoproj.io/workflow\":{}},\"f:ownerReferences\":{\".\":{},\"k:{\\\"uid\\\":\\\"f496561d-e39a-43b8-b930-15b8c2ee14c2\\\"}\":{}}},\"f:outputs\":{\".\":{},\"f:artifacts\":{}}} }]},NodeResult:NodeResult{Phase:,Message:,Outputs:&Outputs{Parameters:[]Parameter{},Artifacts:[]Artifact{Artifact{Name:main-logs,Path:,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409/main.log,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:nil,Deleted:false,},},Result:nil,ExitCode:nil,},Progress:,},}" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:07.933Z" level=debug msg="woc.wf.Status.Nodes.Get err: %!s(<nil>)" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:07.933Z" level=debug msg="old: &NodeStatus{ID:artgc-dag-wf-stopped-kg8tk-3444961409,Name:artgc-dag-wf-stopped-kg8tk.delay-stop-workflow,DisplayName:delay-stop-workflow,Type:Pod,TemplateName:artgc-dag-delay-stop,TemplateRef:nil,Phase:Running,BoundaryID:artgc-dag-wf-stopped-kg8tk,Message:,StartedAt:2023-10-11 22:19:51 +0000 UTC,FinishedAt:0001-01-01 00:00:00 +0000 UTC,PodIP:,Daemoned:nil,Inputs:nil,Outputs:&Outputs{Parameters:[]Parameter{},Artifacts:[]Artifact{Artifact{Name:main-logs,Path:,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409/main.log,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:nil,Deleted:false,},},Result:nil,ExitCode:*0,},Children:[],OutboundNodes:[],TemplateScope:local/artgc-dag-wf-stopped-kg8tk,ResourcesDuration:ResourcesDuration{},HostNodeName:k3d-k3s-default-server-0,MemoizationStatus:nil,EstimatedDuration:0,SynchronizationStatus:nil,Progress:0/1,}" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:07.933Z" level=debug msg="newNode: &NodeStatus{ID:artgc-dag-wf-stopped-kg8tk-3444961409,Name:artgc-dag-wf-stopped-kg8tk.delay-stop-workflow,DisplayName:delay-stop-workflow,Type:Pod,TemplateName:artgc-dag-delay-stop,TemplateRef:nil,Phase:Running,BoundaryID:artgc-dag-wf-stopped-kg8tk,Message:,StartedAt:2023-10-11 22:19:51 +0000 UTC,FinishedAt:0001-01-01 00:00:00 +0000 UTC,PodIP:,Daemoned:nil,Inputs:nil,Outputs:&Outputs{Parameters:[]Parameter{},Artifacts:[]Artifact{Artifact{Name:main-logs,Path:,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409/main.log,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:nil,Deleted:false,},},Result:nil,ExitCode:*0,},Children:[],OutboundNodes:[],TemplateScope:local/artgc-dag-wf-stopped-kg8tk,ResourcesDuration:ResourcesDuration{},HostNodeName:k3d-k3s-default-server-0,MemoizationStatus:nil,EstimatedDuration:0,SynchronizationStatus:nil,Progress:0/1,}" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:07.933Z" level=info msg="task-result changed" namespace=argo nodeID=artgc-dag-wf-stopped-kg8tk-3444961409 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:07.933Z" level=info msg="node unchanged" namespace=argo nodeID=artgc-dag-wf-stopped-kg8tk-3444961409 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:07.933Z" level=info msg="node unchanged" namespace=argo nodeID=artgc-dag-wf-stopped-kg8tk-3846913764 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:07.934Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk: template: *v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main), boundaryID: " namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:07.934Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:07.934Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:07.934Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:07.934Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk of DAG is Running" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:07.934Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk.create-artifact: template: *v1alpha1.DAGTask (artgc-dag-artifact-creator), boundaryID: artgc-dag-wf-stopped-kg8tk" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:07.934Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:07.934Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:07.934Z" level=debug msg="Getting the template by name: artgc-dag-artifact-creator" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:07.934Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.create-artifact of Pod is Running" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:07.934Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:07.934Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:07.934Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:07.934Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.create-artifact with container template: artgc-dag-artifact-creator\n" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:07.934Z" level=debug msg="Skipped pod artgc-dag-wf-stopped-kg8tk.create-artifact (artgc-dag-wf-stopped-kg8tk-3846913764) creation: already exists" namespace=argo podPhase=Running workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:07.934Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-1504799495, taskName stop-workflow"
time="2023-10-11T22:20:07.934Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk.delay-stop-workflow: template: *v1alpha1.DAGTask (artgc-dag-delay-stop), boundaryID: artgc-dag-wf-stopped-kg8tk" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:07.935Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:20:07.935Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:20:07.935Z" level=debug msg="Getting the template by name: artgc-dag-delay-stop" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:20:07.935Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.delay-stop-workflow of Pod is Running" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:07.935Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:07.935Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:07.935Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:07.935Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.delay-stop-workflow with container template: artgc-dag-delay-stop\n" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:07.935Z" level=debug msg="Skipped pod artgc-dag-wf-stopped-kg8tk.delay-stop-workflow (artgc-dag-wf-stopped-kg8tk-3444961409) creation: already exists" namespace=argo podPhase=Running workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:07.935Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-1504799495, taskName stop-workflow"
time="2023-10-11T22:20:07.935Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-1504799495, taskName stop-workflow"
time="2023-10-11T22:20:07.935Z" level=info msg="TaskSet Reconciliation" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:07.935Z" level=info msg=reconcileAgentPod namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:07.935Z" level=debug msg="Log changes patch: {\"status\":{\"conditions\":[{\"status\":\"False\",\"type\":\"PodRunning\"}]}}"
time="2023-10-11T22:20:07.935Z" level=info msg="Workflow to be dehydrated" Workflow Size=3568
time="2023-10-11T22:20:07.939Z" level=info msg="cleaning up pod" action=terminateContainers key=argo/artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409/terminateContainers
time="2023-10-11T22:20:07.943Z" level=debug msg="Update workflows 200"
time="2023-10-11T22:20:07.944Z" level=info msg="Workflow update successful" namespace=argo phase=Running resourceVersion=405173 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:08.946Z" level=info msg="Processing workflow" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:08.947Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=1 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:08.947Z" level=debug msg="result: &WorkflowTaskResult{ObjectMeta:{artgc-dag-wf-stopped-kg8tk-3444961409  argo  574562ae-7d3e-444e-962b-ae0a52e6f226 405168 1 2023-10-11 22:20:06 +0000 UTC <nil> <nil> map[workflows.argoproj.io/workflow:artgc-dag-wf-stopped-kg8tk] map[] [{v1 Pod artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409 f496561d-e39a-43b8-b930-15b8c2ee14c2 <nil> <nil>}] []  [{argoexec Update argoproj.io/v1alpha1 2023-10-11 22:20:06 +0000 UTC FieldsV1 {\"f:metadata\":{\"f:labels\":{\".\":{},\"f:workflows.argoproj.io/workflow\":{}},\"f:ownerReferences\":{\".\":{},\"k:{\\\"uid\\\":\\\"f496561d-e39a-43b8-b930-15b8c2ee14c2\\\"}\":{}}},\"f:outputs\":{\".\":{},\"f:artifacts\":{}}} }]},NodeResult:NodeResult{Phase:,Message:,Outputs:&Outputs{Parameters:[]Parameter{},Artifacts:[]Artifact{Artifact{Name:main-logs,Path:,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409/main.log,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:nil,Deleted:false,},},Result:nil,ExitCode:nil,},Progress:,},}" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:08.947Z" level=debug msg="woc.wf.Status.Nodes.Get err: %!s(<nil>)" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:08.947Z" level=debug msg="old: &NodeStatus{ID:artgc-dag-wf-stopped-kg8tk-3444961409,Name:artgc-dag-wf-stopped-kg8tk.delay-stop-workflow,DisplayName:delay-stop-workflow,Type:Pod,TemplateName:artgc-dag-delay-stop,TemplateRef:nil,Phase:Running,BoundaryID:artgc-dag-wf-stopped-kg8tk,Message:,StartedAt:2023-10-11 22:19:51 +0000 UTC,FinishedAt:0001-01-01 00:00:00 +0000 UTC,PodIP:,Daemoned:nil,Inputs:nil,Outputs:&Outputs{Parameters:[]Parameter{},Artifacts:[]Artifact{Artifact{Name:main-logs,Path:,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409/main.log,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:nil,Deleted:false,},},Result:nil,ExitCode:*0,},Children:[],OutboundNodes:[],TemplateScope:local/artgc-dag-wf-stopped-kg8tk,ResourcesDuration:ResourcesDuration{},HostNodeName:k3d-k3s-default-server-0,MemoizationStatus:nil,EstimatedDuration:0,SynchronizationStatus:nil,Progress:0/1,}" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:08.947Z" level=debug msg="newNode: &NodeStatus{ID:artgc-dag-wf-stopped-kg8tk-3444961409,Name:artgc-dag-wf-stopped-kg8tk.delay-stop-workflow,DisplayName:delay-stop-workflow,Type:Pod,TemplateName:artgc-dag-delay-stop,TemplateRef:nil,Phase:Running,BoundaryID:artgc-dag-wf-stopped-kg8tk,Message:,StartedAt:2023-10-11 22:19:51 +0000 UTC,FinishedAt:0001-01-01 00:00:00 +0000 UTC,PodIP:,Daemoned:nil,Inputs:nil,Outputs:&Outputs{Parameters:[]Parameter{},Artifacts:[]Artifact{Artifact{Name:main-logs,Path:,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409/main.log,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:nil,Deleted:false,},},Result:nil,ExitCode:*0,},Children:[],OutboundNodes:[],TemplateScope:local/artgc-dag-wf-stopped-kg8tk,ResourcesDuration:ResourcesDuration{},HostNodeName:k3d-k3s-default-server-0,MemoizationStatus:nil,EstimatedDuration:0,SynchronizationStatus:nil,Progress:0/1,}" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:08.947Z" level=info msg="task-result changed" namespace=argo nodeID=artgc-dag-wf-stopped-kg8tk-3444961409 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:08.947Z" level=info msg="node changed" namespace=argo new.message= new.phase=Succeeded new.progress=0/1 nodeID=artgc-dag-wf-stopped-kg8tk-3444961409 old.message= old.phase=Running old.progress=0/1 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:08.947Z" level=info msg="node unchanged" namespace=argo nodeID=artgc-dag-wf-stopped-kg8tk-3846913764 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:08.947Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk: template: *v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main), boundaryID: " namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:08.947Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:08.947Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:08.947Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:08.947Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk of DAG is Running" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:08.947Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk.create-artifact: template: *v1alpha1.DAGTask (artgc-dag-artifact-creator), boundaryID: artgc-dag-wf-stopped-kg8tk" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:08.947Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:08.947Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:08.947Z" level=debug msg="Getting the template by name: artgc-dag-artifact-creator" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:08.948Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.create-artifact of Pod is Running" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:08.948Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:08.948Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:08.948Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:08.948Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.create-artifact with container template: artgc-dag-artifact-creator\n" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:08.948Z" level=debug msg="Skipped pod artgc-dag-wf-stopped-kg8tk.create-artifact (artgc-dag-wf-stopped-kg8tk-3846913764) creation: already exists" namespace=argo podPhase=Running workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:08.948Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-1504799495, taskName stop-workflow"
time="2023-10-11T22:20:08.948Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:20:08.948Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:20:08.948Z" level=debug msg="Getting the template by name: artgc-dag-delay-stop" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:20:08.948Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-1504799495, taskName stop-workflow"
time="2023-10-11T22:20:08.948Z" level=warning msg="was unable to obtain the node for artgc-dag-wf-stopped-kg8tk-1504799495, taskName stop-workflow"
time="2023-10-11T22:20:08.948Z" level=info msg="All of node artgc-dag-wf-stopped-kg8tk.stop-workflow dependencies [delay-stop-workflow] completed" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:08.948Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-delay-stop)"
time="2023-10-11T22:20:08.948Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-delay-stop)"
time="2023-10-11T22:20:08.948Z" level=debug msg="Getting the template by name: artgc-dag-delay-stop" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-delay-stop)"
time="2023-10-11T22:20:08.948Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk.stop-workflow: template: *v1alpha1.DAGTask (artgc-dag-workflow-stopper), boundaryID: artgc-dag-wf-stopped-kg8tk" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:08.948Z" level=warning msg="Node was nil, will be initialized as type Skipped" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:08.948Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-workflow-stopper)"
time="2023-10-11T22:20:08.948Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-workflow-stopper)"
time="2023-10-11T22:20:08.948Z" level=debug msg="Getting the template by name: artgc-dag-workflow-stopper" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-workflow-stopper)"
time="2023-10-11T22:20:08.948Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:08.948Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:08.948Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:08.948Z" level=debug msg="Initializing node artgc-dag-wf-stopped-kg8tk.stop-workflow: template: *v1alpha1.DAGTask (artgc-dag-workflow-stopper), boundaryID: artgc-dag-wf-stopped-kg8tk" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:08.948Z" level=info msg="Pod node artgc-dag-wf-stopped-kg8tk-1504799495 initialized Pending" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:08.948Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:08.948Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:08.948Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:08.948Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.stop-workflow with container template: artgc-dag-workflow-stopper\n" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:08.948Z" level=debug namespace=argo needLocation=true workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:08.952Z" level=debug msg="Get serviceaccounts 200"
time="2023-10-11T22:20:08.954Z" level=debug msg="Cache hit" cmd="&{[argo] []}" image="argoproj/argocli:latest"
time="2023-10-11T22:20:08.954Z" level=debug msg="Creating Pod: artgc-dag-wf-stopped-kg8tk.stop-workflow (artgc-dag-wf-stopped-kg8tk-artgc-dag-workflow-stopper-1504799495)" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:08.961Z" level=debug msg="Create pods 201"
W1011 22:20:08.961687   22635 warnings.go:70] metadata.name: this is used in the Pod's hostname, which can result in surprising behavior; a DNS label is recommended: [must be no more than 63 characters]
time="2023-10-11T22:20:08.962Z" level=info msg="Created pod: artgc-dag-wf-stopped-kg8tk.stop-workflow (artgc-dag-wf-stopped-kg8tk-artgc-dag-workflow-stopper-1504799495)" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:08.962Z" level=info msg="TaskSet Reconciliation" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:08.962Z" level=info msg=reconcileAgentPod namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:08.963Z" level=debug msg="Log changes patch: {\"status\":{\"nodes\":{\"artgc-dag-wf-stopped-kg8tk-1504799495\":{\"boundaryID\":\"artgc-dag-wf-stopped-kg8tk\",\"displayName\":\"stop-workflow\",\"finishedAt\":null,\"id\":\"artgc-dag-wf-stopped-kg8tk-1504799495\",\"name\":\"artgc-dag-wf-stopped-kg8tk.stop-workflow\",\"phase\":\"Pending\",\"startedAt\":\"2023-10-11T22:20:08Z\",\"templateName\":\"artgc-dag-workflow-stopper\",\"templateScope\":\"local/artgc-dag-wf-stopped-kg8tk\",\"type\":\"Pod\"},\"artgc-dag-wf-stopped-kg8tk-3444961409\":{\"children\":[\"artgc-dag-wf-stopped-kg8tk-1504799495\"],\"finishedAt\":\"2023-10-11T22:20:06Z\",\"phase\":\"Succeeded\",\"resourcesDuration\":{\"cpu\":6,\"memory\":4}}}}}"
time="2023-10-11T22:20:08.963Z" level=info msg="Workflow to be dehydrated" Workflow Size=3936
time="2023-10-11T22:20:08.972Z" level=debug msg="Update workflows 200"
time="2023-10-11T22:20:08.973Z" level=info msg="Workflow update successful" namespace=argo phase=Running resourceVersion=405178 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:08.973Z" level=debug msg="Event(v1.ObjectReference{Kind:\"Workflow\", Namespace:\"argo\", Name:\"artgc-dag-wf-stopped-kg8tk\", UID:\"a79f56c0-9c76-444e-b499-749078a78c6a\", APIVersion:\"argoproj.io/v1alpha1\", ResourceVersion:\"405178\", FieldPath:\"\"}): type: 'Normal' reason: 'WorkflowNodeSucceeded' Succeeded node artgc-dag-wf-stopped-kg8tk.delay-stop-workflow"
time="2023-10-11T22:20:08.978Z" level=info msg="cleaning up pod" action=labelPodCompleted key=argo/artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409/labelPodCompleted
time="2023-10-11T22:20:08.994Z" level=debug msg="Patch pods 200"
time="2023-10-11T22:20:09.013Z" level=debug msg="Create events 201"
time="2023-10-11T22:20:09.952Z" level=info msg="cleaning up pod" action=killContainers key=argo/artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409/killContainers
time="2023-10-11T22:20:09.964Z" level=info msg="Processing workflow" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:09.966Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=1 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:09.966Z" level=debug msg="result: &WorkflowTaskResult{ObjectMeta:{artgc-dag-wf-stopped-kg8tk-3444961409  argo  574562ae-7d3e-444e-962b-ae0a52e6f226 405168 1 2023-10-11 22:20:06 +0000 UTC <nil> <nil> map[workflows.argoproj.io/workflow:artgc-dag-wf-stopped-kg8tk] map[] [{v1 Pod artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409 f496561d-e39a-43b8-b930-15b8c2ee14c2 <nil> <nil>}] []  [{argoexec Update argoproj.io/v1alpha1 2023-10-11 22:20:06 +0000 UTC FieldsV1 {\"f:metadata\":{\"f:labels\":{\".\":{},\"f:workflows.argoproj.io/workflow\":{}},\"f:ownerReferences\":{\".\":{},\"k:{\\\"uid\\\":\\\"f496561d-e39a-43b8-b930-15b8c2ee14c2\\\"}\":{}}},\"f:outputs\":{\".\":{},\"f:artifacts\":{}}} }]},NodeResult:NodeResult{Phase:,Message:,Outputs:&Outputs{Parameters:[]Parameter{},Artifacts:[]Artifact{Artifact{Name:main-logs,Path:,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409/main.log,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:nil,Deleted:false,},},Result:nil,ExitCode:nil,},Progress:,},}" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:09.966Z" level=debug msg="woc.wf.Status.Nodes.Get err: %!s(<nil>)" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:09.966Z" level=debug msg="old: &NodeStatus{ID:artgc-dag-wf-stopped-kg8tk-3444961409,Name:artgc-dag-wf-stopped-kg8tk.delay-stop-workflow,DisplayName:delay-stop-workflow,Type:Pod,TemplateName:artgc-dag-delay-stop,TemplateRef:nil,Phase:Succeeded,BoundaryID:artgc-dag-wf-stopped-kg8tk,Message:,StartedAt:2023-10-11 22:19:51 +0000 UTC,FinishedAt:2023-10-11 22:20:06 +0000 UTC,PodIP:,Daemoned:nil,Inputs:nil,Outputs:&Outputs{Parameters:[]Parameter{},Artifacts:[]Artifact{Artifact{Name:main-logs,Path:,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409/main.log,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:nil,Deleted:false,},},Result:nil,ExitCode:*0,},Children:[artgc-dag-wf-stopped-kg8tk-1504799495],OutboundNodes:[],TemplateScope:local/artgc-dag-wf-stopped-kg8tk,ResourcesDuration:ResourcesDuration{cpu: 6s,memory: 4s,},HostNodeName:k3d-k3s-default-server-0,MemoizationStatus:nil,EstimatedDuration:0,SynchronizationStatus:nil,Progress:1/1,}" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:09.966Z" level=debug msg="newNode: &NodeStatus{ID:artgc-dag-wf-stopped-kg8tk-3444961409,Name:artgc-dag-wf-stopped-kg8tk.delay-stop-workflow,DisplayName:delay-stop-workflow,Type:Pod,TemplateName:artgc-dag-delay-stop,TemplateRef:nil,Phase:Succeeded,BoundaryID:artgc-dag-wf-stopped-kg8tk,Message:,StartedAt:2023-10-11 22:19:51 +0000 UTC,FinishedAt:2023-10-11 22:20:06 +0000 UTC,PodIP:,Daemoned:nil,Inputs:nil,Outputs:&Outputs{Parameters:[]Parameter{},Artifacts:[]Artifact{Artifact{Name:main-logs,Path:,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409/main.log,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:nil,Deleted:false,},},Result:nil,ExitCode:*0,},Children:[artgc-dag-wf-stopped-kg8tk-1504799495],OutboundNodes:[],TemplateScope:local/artgc-dag-wf-stopped-kg8tk,ResourcesDuration:ResourcesDuration{cpu: 6s,memory: 4s,},HostNodeName:k3d-k3s-default-server-0,MemoizationStatus:nil,EstimatedDuration:0,SynchronizationStatus:nil,Progress:1/1,}" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:09.966Z" level=info msg="task-result changed" namespace=argo nodeID=artgc-dag-wf-stopped-kg8tk-3444961409 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:09.966Z" level=info msg="node changed" namespace=argo new.message=PodInitializing new.phase=Pending new.progress=0/1 nodeID=artgc-dag-wf-stopped-kg8tk-1504799495 old.message= old.phase=Pending old.progress=0/1 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:09.966Z" level=info msg="node unchanged" namespace=argo nodeID=artgc-dag-wf-stopped-kg8tk-3846913764 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:09.967Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk: template: *v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main), boundaryID: " namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:09.967Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:09.967Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:09.967Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:09.968Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk of DAG is Running" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:09.969Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk.create-artifact: template: *v1alpha1.DAGTask (artgc-dag-artifact-creator), boundaryID: artgc-dag-wf-stopped-kg8tk" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:09.969Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:09.969Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:09.969Z" level=debug msg="Getting the template by name: artgc-dag-artifact-creator" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:09.969Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.create-artifact of Pod is Running" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:09.969Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:09.969Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:09.969Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:09.969Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.create-artifact with container template: artgc-dag-artifact-creator\n" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:09.969Z" level=debug msg="Skipped pod artgc-dag-wf-stopped-kg8tk.create-artifact (artgc-dag-wf-stopped-kg8tk-3846913764) creation: already exists" namespace=argo podPhase=Running workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:09.970Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:20:09.970Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:20:09.970Z" level=debug msg="Getting the template by name: artgc-dag-delay-stop" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:20:09.970Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk.stop-workflow: template: *v1alpha1.DAGTask (artgc-dag-workflow-stopper), boundaryID: artgc-dag-wf-stopped-kg8tk" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:09.970Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-workflow-stopper)"
time="2023-10-11T22:20:09.970Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-workflow-stopper)"
time="2023-10-11T22:20:09.970Z" level=debug msg="Getting the template by name: artgc-dag-workflow-stopper" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-workflow-stopper)"
time="2023-10-11T22:20:09.970Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.stop-workflow of Pod is Pending" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:09.970Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:09.970Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:09.970Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:09.970Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.stop-workflow with container template: artgc-dag-workflow-stopper\n" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:09.970Z" level=debug msg="Skipped pod artgc-dag-wf-stopped-kg8tk.stop-workflow (artgc-dag-wf-stopped-kg8tk-1504799495) creation: already exists" namespace=argo podPhase=Pending workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:09.970Z" level=info msg="TaskSet Reconciliation" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:09.970Z" level=info msg=reconcileAgentPod namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:09.972Z" level=debug msg="Log changes patch: {\"status\":{\"nodes\":{\"artgc-dag-wf-stopped-kg8tk-1504799495\":{\"hostNodeName\":\"k3d-k3s-default-server-0\",\"message\":\"PodInitializing\"}}}}"
time="2023-10-11T22:20:09.972Z" level=info msg="Workflow to be dehydrated" Workflow Size=3975
time="2023-10-11T22:20:09.985Z" level=debug msg="Update workflows 200"
time="2023-10-11T22:20:09.986Z" level=info msg="Workflow update successful" namespace=argo phase=Running resourceVersion=405188 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:10.988Z" level=info msg="Processing workflow" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:10.990Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=1 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:10.991Z" level=debug msg="result: &WorkflowTaskResult{ObjectMeta:{artgc-dag-wf-stopped-kg8tk-3444961409  argo  574562ae-7d3e-444e-962b-ae0a52e6f226 405168 1 2023-10-11 22:20:06 +0000 UTC <nil> <nil> map[workflows.argoproj.io/workflow:artgc-dag-wf-stopped-kg8tk] map[] [{v1 Pod artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409 f496561d-e39a-43b8-b930-15b8c2ee14c2 <nil> <nil>}] []  [{argoexec Update argoproj.io/v1alpha1 2023-10-11 22:20:06 +0000 UTC FieldsV1 {\"f:metadata\":{\"f:labels\":{\".\":{},\"f:workflows.argoproj.io/workflow\":{}},\"f:ownerReferences\":{\".\":{},\"k:{\\\"uid\\\":\\\"f496561d-e39a-43b8-b930-15b8c2ee14c2\\\"}\":{}}},\"f:outputs\":{\".\":{},\"f:artifacts\":{}}} }]},NodeResult:NodeResult{Phase:,Message:,Outputs:&Outputs{Parameters:[]Parameter{},Artifacts:[]Artifact{Artifact{Name:main-logs,Path:,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409/main.log,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:nil,Deleted:false,},},Result:nil,ExitCode:nil,},Progress:,},}" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:10.991Z" level=debug msg="woc.wf.Status.Nodes.Get err: %!s(<nil>)" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:10.991Z" level=debug msg="old: &NodeStatus{ID:artgc-dag-wf-stopped-kg8tk-3444961409,Name:artgc-dag-wf-stopped-kg8tk.delay-stop-workflow,DisplayName:delay-stop-workflow,Type:Pod,TemplateName:artgc-dag-delay-stop,TemplateRef:nil,Phase:Succeeded,BoundaryID:artgc-dag-wf-stopped-kg8tk,Message:,StartedAt:2023-10-11 22:19:51 +0000 UTC,FinishedAt:2023-10-11 22:20:06 +0000 UTC,PodIP:,Daemoned:nil,Inputs:nil,Outputs:&Outputs{Parameters:[]Parameter{},Artifacts:[]Artifact{Artifact{Name:main-logs,Path:,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409/main.log,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:nil,Deleted:false,},},Result:nil,ExitCode:*0,},Children:[artgc-dag-wf-stopped-kg8tk-1504799495],OutboundNodes:[],TemplateScope:local/artgc-dag-wf-stopped-kg8tk,ResourcesDuration:ResourcesDuration{cpu: 6s,memory: 4s,},HostNodeName:k3d-k3s-default-server-0,MemoizationStatus:nil,EstimatedDuration:0,SynchronizationStatus:nil,Progress:1/1,}" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:10.991Z" level=debug msg="newNode: &NodeStatus{ID:artgc-dag-wf-stopped-kg8tk-3444961409,Name:artgc-dag-wf-stopped-kg8tk.delay-stop-workflow,DisplayName:delay-stop-workflow,Type:Pod,TemplateName:artgc-dag-delay-stop,TemplateRef:nil,Phase:Succeeded,BoundaryID:artgc-dag-wf-stopped-kg8tk,Message:,StartedAt:2023-10-11 22:19:51 +0000 UTC,FinishedAt:2023-10-11 22:20:06 +0000 UTC,PodIP:,Daemoned:nil,Inputs:nil,Outputs:&Outputs{Parameters:[]Parameter{},Artifacts:[]Artifact{Artifact{Name:main-logs,Path:,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409/main.log,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:nil,Deleted:false,},},Result:nil,ExitCode:*0,},Children:[artgc-dag-wf-stopped-kg8tk-1504799495],OutboundNodes:[],TemplateScope:local/artgc-dag-wf-stopped-kg8tk,ResourcesDuration:ResourcesDuration{cpu: 6s,memory: 4s,},HostNodeName:k3d-k3s-default-server-0,MemoizationStatus:nil,EstimatedDuration:0,SynchronizationStatus:nil,Progress:1/1,}" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:10.991Z" level=info msg="task-result changed" namespace=argo nodeID=artgc-dag-wf-stopped-kg8tk-3444961409 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:10.991Z" level=info msg="node unchanged" namespace=argo nodeID=artgc-dag-wf-stopped-kg8tk-1504799495 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:10.991Z" level=info msg="node unchanged" namespace=argo nodeID=artgc-dag-wf-stopped-kg8tk-3846913764 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:10.992Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk: template: *v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main), boundaryID: " namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:10.992Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:10.992Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:10.992Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:10.992Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk of DAG is Running" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:10.992Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk.create-artifact: template: *v1alpha1.DAGTask (artgc-dag-artifact-creator), boundaryID: artgc-dag-wf-stopped-kg8tk" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:10.992Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:10.992Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:10.992Z" level=debug msg="Getting the template by name: artgc-dag-artifact-creator" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:10.992Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.create-artifact of Pod is Running" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:10.992Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:10.992Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:10.992Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:10.992Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.create-artifact with container template: artgc-dag-artifact-creator\n" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:10.992Z" level=debug msg="Skipped pod artgc-dag-wf-stopped-kg8tk.create-artifact (artgc-dag-wf-stopped-kg8tk-3846913764) creation: already exists" namespace=argo podPhase=Running workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:10.992Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:20:10.992Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:20:10.992Z" level=debug msg="Getting the template by name: artgc-dag-delay-stop" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:20:10.993Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk.stop-workflow: template: *v1alpha1.DAGTask (artgc-dag-workflow-stopper), boundaryID: artgc-dag-wf-stopped-kg8tk" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:10.993Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-workflow-stopper)"
time="2023-10-11T22:20:10.993Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-workflow-stopper)"
time="2023-10-11T22:20:10.993Z" level=debug msg="Getting the template by name: artgc-dag-workflow-stopper" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-workflow-stopper)"
time="2023-10-11T22:20:10.993Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.stop-workflow of Pod is Pending" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:10.993Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:10.993Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:10.993Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:10.993Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.stop-workflow with container template: artgc-dag-workflow-stopper\n" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:10.993Z" level=debug msg="Skipped pod artgc-dag-wf-stopped-kg8tk.stop-workflow (artgc-dag-wf-stopped-kg8tk-1504799495) creation: already exists" namespace=argo podPhase=Pending workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:10.993Z" level=info msg="TaskSet Reconciliation" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:10.993Z" level=info msg=reconcileAgentPod namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:10.994Z" level=debug msg="Log changes patch: {}"
time="2023-10-11T22:20:10.994Z" level=info msg="Workflow to be dehydrated" Workflow Size=3975
time="2023-10-11T22:20:11.003Z" level=debug msg="Update workflows 200"
time="2023-10-11T22:20:11.003Z" level=info msg="Workflow update successful" namespace=argo phase=Running resourceVersion=405188 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:12.582Z" level=debug msg="Get leases 200"
time="2023-10-11T22:20:12.588Z" level=debug msg="Update leases 200"
time="2023-10-11T22:20:12.949Z" level=info msg="Processing workflow" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:12.950Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=1 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:12.950Z" level=debug msg="result: &WorkflowTaskResult{ObjectMeta:{artgc-dag-wf-stopped-kg8tk-3444961409  argo  574562ae-7d3e-444e-962b-ae0a52e6f226 405168 1 2023-10-11 22:20:06 +0000 UTC <nil> <nil> map[workflows.argoproj.io/workflow:artgc-dag-wf-stopped-kg8tk] map[] [{v1 Pod artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409 f496561d-e39a-43b8-b930-15b8c2ee14c2 <nil> <nil>}] []  [{argoexec Update argoproj.io/v1alpha1 2023-10-11 22:20:06 +0000 UTC FieldsV1 {\"f:metadata\":{\"f:labels\":{\".\":{},\"f:workflows.argoproj.io/workflow\":{}},\"f:ownerReferences\":{\".\":{},\"k:{\\\"uid\\\":\\\"f496561d-e39a-43b8-b930-15b8c2ee14c2\\\"}\":{}}},\"f:outputs\":{\".\":{},\"f:artifacts\":{}}} }]},NodeResult:NodeResult{Phase:,Message:,Outputs:&Outputs{Parameters:[]Parameter{},Artifacts:[]Artifact{Artifact{Name:main-logs,Path:,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409/main.log,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:nil,Deleted:false,},},Result:nil,ExitCode:nil,},Progress:,},}" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:12.950Z" level=debug msg="woc.wf.Status.Nodes.Get err: %!s(<nil>)" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:12.950Z" level=debug msg="old: &NodeStatus{ID:artgc-dag-wf-stopped-kg8tk-3444961409,Name:artgc-dag-wf-stopped-kg8tk.delay-stop-workflow,DisplayName:delay-stop-workflow,Type:Pod,TemplateName:artgc-dag-delay-stop,TemplateRef:nil,Phase:Succeeded,BoundaryID:artgc-dag-wf-stopped-kg8tk,Message:,StartedAt:2023-10-11 22:19:51 +0000 UTC,FinishedAt:2023-10-11 22:20:06 +0000 UTC,PodIP:,Daemoned:nil,Inputs:nil,Outputs:&Outputs{Parameters:[]Parameter{},Artifacts:[]Artifact{Artifact{Name:main-logs,Path:,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409/main.log,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:nil,Deleted:false,},},Result:nil,ExitCode:*0,},Children:[artgc-dag-wf-stopped-kg8tk-1504799495],OutboundNodes:[],TemplateScope:local/artgc-dag-wf-stopped-kg8tk,ResourcesDuration:ResourcesDuration{cpu: 6s,memory: 4s,},HostNodeName:k3d-k3s-default-server-0,MemoizationStatus:nil,EstimatedDuration:0,SynchronizationStatus:nil,Progress:1/1,}" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:12.950Z" level=debug msg="newNode: &NodeStatus{ID:artgc-dag-wf-stopped-kg8tk-3444961409,Name:artgc-dag-wf-stopped-kg8tk.delay-stop-workflow,DisplayName:delay-stop-workflow,Type:Pod,TemplateName:artgc-dag-delay-stop,TemplateRef:nil,Phase:Succeeded,BoundaryID:artgc-dag-wf-stopped-kg8tk,Message:,StartedAt:2023-10-11 22:19:51 +0000 UTC,FinishedAt:2023-10-11 22:20:06 +0000 UTC,PodIP:,Daemoned:nil,Inputs:nil,Outputs:&Outputs{Parameters:[]Parameter{},Artifacts:[]Artifact{Artifact{Name:main-logs,Path:,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409/main.log,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:nil,Deleted:false,},},Result:nil,ExitCode:*0,},Children:[artgc-dag-wf-stopped-kg8tk-1504799495],OutboundNodes:[],TemplateScope:local/artgc-dag-wf-stopped-kg8tk,ResourcesDuration:ResourcesDuration{cpu: 6s,memory: 4s,},HostNodeName:k3d-k3s-default-server-0,MemoizationStatus:nil,EstimatedDuration:0,SynchronizationStatus:nil,Progress:1/1,}" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:12.950Z" level=info msg="task-result changed" namespace=argo nodeID=artgc-dag-wf-stopped-kg8tk-3444961409 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:12.950Z" level=info msg="node unchanged" namespace=argo nodeID=artgc-dag-wf-stopped-kg8tk-1504799495 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:12.951Z" level=info msg="node unchanged" namespace=argo nodeID=artgc-dag-wf-stopped-kg8tk-3846913764 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:12.951Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk: template: *v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main), boundaryID: " namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:12.951Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:12.951Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:12.951Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:12.951Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk of DAG is Running" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:12.951Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk.create-artifact: template: *v1alpha1.DAGTask (artgc-dag-artifact-creator), boundaryID: artgc-dag-wf-stopped-kg8tk" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:12.951Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:12.951Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:12.951Z" level=debug msg="Getting the template by name: artgc-dag-artifact-creator" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:12.952Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.create-artifact of Pod is Running" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:12.952Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:12.952Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:12.952Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:12.952Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.create-artifact with container template: artgc-dag-artifact-creator\n" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:12.952Z" level=debug msg="Skipped pod artgc-dag-wf-stopped-kg8tk.create-artifact (artgc-dag-wf-stopped-kg8tk-3846913764) creation: already exists" namespace=argo podPhase=Running workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:12.952Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:20:12.952Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:20:12.952Z" level=debug msg="Getting the template by name: artgc-dag-delay-stop" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-delay-stop)"
time="2023-10-11T22:20:12.952Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk.stop-workflow: template: *v1alpha1.DAGTask (artgc-dag-workflow-stopper), boundaryID: artgc-dag-wf-stopped-kg8tk" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:12.952Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-workflow-stopper)"
time="2023-10-11T22:20:12.952Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-workflow-stopper)"
time="2023-10-11T22:20:12.952Z" level=debug msg="Getting the template by name: artgc-dag-workflow-stopper" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-workflow-stopper)"
time="2023-10-11T22:20:12.952Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.stop-workflow of Pod is Pending" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:12.952Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:12.952Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:12.952Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:12.953Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk.stop-workflow with container template: artgc-dag-workflow-stopper\n" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:12.953Z" level=debug msg="Skipped pod artgc-dag-wf-stopped-kg8tk.stop-workflow (artgc-dag-wf-stopped-kg8tk-1504799495) creation: already exists" namespace=argo podPhase=Pending workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:12.953Z" level=info msg="TaskSet Reconciliation" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:12.953Z" level=info msg=reconcileAgentPod namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:12.954Z" level=debug msg="Log changes patch: {}"
time="2023-10-11T22:20:12.954Z" level=info msg="Workflow to be dehydrated" Workflow Size=3975
time="2023-10-11T22:20:12.962Z" level=debug msg="Update workflows 200"
time="2023-10-11T22:20:12.963Z" level=info msg="Workflow update successful" namespace=argo phase=Running resourceVersion=405188 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.051Z" level=debug msg="Check the workflow existence"
time="2023-10-11T22:20:14.162Z" level=info msg="Processing workflow" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.163Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=1 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.163Z" level=debug msg="result: &WorkflowTaskResult{ObjectMeta:{artgc-dag-wf-stopped-kg8tk-3444961409  argo  574562ae-7d3e-444e-962b-ae0a52e6f226 405168 1 2023-10-11 22:20:06 +0000 UTC <nil> <nil> map[workflows.argoproj.io/workflow:artgc-dag-wf-stopped-kg8tk] map[] [{v1 Pod artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409 f496561d-e39a-43b8-b930-15b8c2ee14c2 <nil> <nil>}] []  [{argoexec Update argoproj.io/v1alpha1 2023-10-11 22:20:06 +0000 UTC FieldsV1 {\"f:metadata\":{\"f:labels\":{\".\":{},\"f:workflows.argoproj.io/workflow\":{}},\"f:ownerReferences\":{\".\":{},\"k:{\\\"uid\\\":\\\"f496561d-e39a-43b8-b930-15b8c2ee14c2\\\"}\":{}}},\"f:outputs\":{\".\":{},\"f:artifacts\":{}}} }]},NodeResult:NodeResult{Phase:,Message:,Outputs:&Outputs{Parameters:[]Parameter{},Artifacts:[]Artifact{Artifact{Name:main-logs,Path:,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409/main.log,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:nil,Deleted:false,},},Result:nil,ExitCode:nil,},Progress:,},}" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.163Z" level=debug msg="woc.wf.Status.Nodes.Get err: %!s(<nil>)" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.163Z" level=debug msg="old: &NodeStatus{ID:artgc-dag-wf-stopped-kg8tk-3444961409,Name:artgc-dag-wf-stopped-kg8tk.delay-stop-workflow,DisplayName:delay-stop-workflow,Type:Pod,TemplateName:artgc-dag-delay-stop,TemplateRef:nil,Phase:Succeeded,BoundaryID:artgc-dag-wf-stopped-kg8tk,Message:,StartedAt:2023-10-11 22:19:51 +0000 UTC,FinishedAt:2023-10-11 22:20:06 +0000 UTC,PodIP:,Daemoned:nil,Inputs:nil,Outputs:&Outputs{Parameters:[]Parameter{},Artifacts:[]Artifact{Artifact{Name:main-logs,Path:,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409/main.log,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:nil,Deleted:false,},},Result:nil,ExitCode:*0,},Children:[artgc-dag-wf-stopped-kg8tk-1504799495],OutboundNodes:[],TemplateScope:local/artgc-dag-wf-stopped-kg8tk,ResourcesDuration:ResourcesDuration{cpu: 6s,memory: 4s,},HostNodeName:k3d-k3s-default-server-0,MemoizationStatus:nil,EstimatedDuration:0,SynchronizationStatus:nil,Progress:1/1,}" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.164Z" level=debug msg="newNode: &NodeStatus{ID:artgc-dag-wf-stopped-kg8tk-3444961409,Name:artgc-dag-wf-stopped-kg8tk.delay-stop-workflow,DisplayName:delay-stop-workflow,Type:Pod,TemplateName:artgc-dag-delay-stop,TemplateRef:nil,Phase:Succeeded,BoundaryID:artgc-dag-wf-stopped-kg8tk,Message:,StartedAt:2023-10-11 22:19:51 +0000 UTC,FinishedAt:2023-10-11 22:20:06 +0000 UTC,PodIP:,Daemoned:nil,Inputs:nil,Outputs:&Outputs{Parameters:[]Parameter{},Artifacts:[]Artifact{Artifact{Name:main-logs,Path:,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409/main.log,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:nil,Deleted:false,},},Result:nil,ExitCode:*0,},Children:[artgc-dag-wf-stopped-kg8tk-1504799495],OutboundNodes:[],TemplateScope:local/artgc-dag-wf-stopped-kg8tk,ResourcesDuration:ResourcesDuration{cpu: 6s,memory: 4s,},HostNodeName:k3d-k3s-default-server-0,MemoizationStatus:nil,EstimatedDuration:0,SynchronizationStatus:nil,Progress:1/1,}" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.164Z" level=info msg="task-result changed" namespace=argo nodeID=artgc-dag-wf-stopped-kg8tk-3444961409 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.164Z" level=info msg="node changed" namespace=argo new.message= new.phase=Running new.progress=0/1 nodeID=artgc-dag-wf-stopped-kg8tk-1504799495 old.message=PodInitializing old.phase=Pending old.progress=0/1 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.164Z" level=info msg="Terminating pod as part of workflow shutdown" namespace=argo podName=artgc-dag-wf-stopped-kg8tk-artgc-dag-workflow-stopper-1504799495 shutdownStrategy=Stop workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.164Z" level=info msg="node artgc-dag-wf-stopped-kg8tk-1504799495 phase Running -> Failed" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.164Z" level=info msg="node artgc-dag-wf-stopped-kg8tk-1504799495 message: workflow shutdown with strategy:  Stop" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.164Z" level=info msg="node artgc-dag-wf-stopped-kg8tk-1504799495 finished: 2023-10-11 22:20:14.1644284 +0000 UTC" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.164Z" level=info msg="node unchanged" namespace=argo nodeID=artgc-dag-wf-stopped-kg8tk-3846913764 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.164Z" level=info msg="Terminating pod as part of workflow shutdown" namespace=argo podName=artgc-dag-wf-stopped-kg8tk-artgc-dag-artifact-creator-3846913764 shutdownStrategy=Stop workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.164Z" level=info msg="node artgc-dag-wf-stopped-kg8tk-3846913764 phase Running -> Failed" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.164Z" level=info msg="node artgc-dag-wf-stopped-kg8tk-3846913764 message: workflow shutdown with strategy:  Stop" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.164Z" level=info msg="node artgc-dag-wf-stopped-kg8tk-3846913764 finished: 2023-10-11 22:20:14.1647255 +0000 UTC" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.164Z" level=debug msg="Evaluating node artgc-dag-wf-stopped-kg8tk: template: *v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main), boundaryID: " namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.164Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:14.164Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:14.164Z" level=debug msg="Getting the template by name: artgc-dag-wf-stopped-main" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.WorkflowStep (artgc-dag-wf-stopped-main)"
time="2023-10-11T22:20:14.164Z" level=debug msg="Executing node artgc-dag-wf-stopped-kg8tk of DAG is Running" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.165Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:14.165Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:14.165Z" level=debug msg="Getting the template by name: artgc-dag-artifact-creator" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:14.165Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-workflow-stopper)"
time="2023-10-11T22:20:14.165Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-workflow-stopper)"
time="2023-10-11T22:20:14.165Z" level=debug msg="Getting the template by name: artgc-dag-workflow-stopper" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.DAGTask (artgc-dag-workflow-stopper)"
time="2023-10-11T22:20:14.165Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:14.165Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:14.165Z" level=debug msg="Getting the template by name: artgc-dag-artifact-creator" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-artifact-creator)"
time="2023-10-11T22:20:14.165Z" level=debug msg="Resolving the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-workflow-stopper)"
time="2023-10-11T22:20:14.165Z" level=debug msg="Getting the template" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-workflow-stopper)"
time="2023-10-11T22:20:14.165Z" level=debug msg="Getting the template by name: artgc-dag-workflow-stopper" base="*v1alpha1.Workflow (namespace=argo,name=artgc-dag-wf-stopped-kg8tk)" tmpl="*v1alpha1.NodeStatus (artgc-dag-workflow-stopper)"
time="2023-10-11T22:20:14.165Z" level=info msg="Outbound nodes of artgc-dag-wf-stopped-kg8tk set to [artgc-dag-wf-stopped-kg8tk-3846913764 artgc-dag-wf-stopped-kg8tk-1504799495]" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.165Z" level=info msg="node artgc-dag-wf-stopped-kg8tk phase Running -> Failed" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.165Z" level=info msg="node artgc-dag-wf-stopped-kg8tk finished: 2023-10-11 22:20:14.1658436 +0000 UTC" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.165Z" level=debug msg="Checking daemoned children of artgc-dag-wf-stopped-kg8tk" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.165Z" level=info msg="TaskSet Reconciliation" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.166Z" level=info msg=reconcileAgentPod namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.166Z" level=info msg="Updated phase Running -> Failed" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.166Z" level=info msg="Updated message  -> Stopped with strategy 'Stop'" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.166Z" level=info msg="Marking workflow completed" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.166Z" level=debug msg="Event(v1.ObjectReference{Kind:\"Workflow\", Namespace:\"argo\", Name:\"artgc-dag-wf-stopped-kg8tk\", UID:\"a79f56c0-9c76-444e-b499-749078a78c6a\", APIVersion:\"argoproj.io/v1alpha1\", ResourceVersion:\"405198\", FieldPath:\"\"}): type: 'Warning' reason: 'WorkflowFailed' Stopped with strategy 'Stop'"
time="2023-10-11T22:20:14.167Z" level=debug msg="Log changes patch: {\"metadata\":{\"labels\":{\"workflows.argoproj.io/completed\":\"true\",\"workflows.argoproj.io/phase\":\"Failed\"}},\"status\":{\"conditions\":[{\"status\":\"True\",\"type\":\"PodRunning\"},{\"status\":\"True\",\"type\":\"Completed\"}],\"finishedAt\":\"2023-10-11T22:20:14Z\",\"message\":\"Stopped with strategy 'Stop'\",\"nodes\":{\"artgc-dag-wf-stopped-kg8tk\":{\"finishedAt\":\"2023-10-11T22:20:14Z\",\"outboundNodes\":[\"artgc-dag-wf-stopped-kg8tk-3846913764\",\"artgc-dag-wf-stopped-kg8tk-1504799495\"],\"phase\":\"Failed\"},\"artgc-dag-wf-stopped-kg8tk-1504799495\":{\"finishedAt\":\"2023-10-11T22:20:14Z\",\"message\":\"workflow shutdown with strategy:  Stop\",\"phase\":\"Failed\"},\"artgc-dag-wf-stopped-kg8tk-3846913764\":{\"finishedAt\":\"2023-10-11T22:20:14Z\",\"message\":\"workflow shutdown with strategy:  Stop\",\"phase\":\"Failed\"}},\"phase\":\"Failed\"}}"
time="2023-10-11T22:20:14.167Z" level=info msg="Workflow to be dehydrated" Workflow Size=4325
time="2023-10-11T22:20:14.170Z" level=info msg="cleaning up pod" action=terminateContainers key=argo/artgc-dag-wf-stopped-kg8tk-artgc-dag-workflow-stopper-1504799495/terminateContainers
time="2023-10-11T22:20:14.170Z" level=info msg="cleaning up pod" action=terminateContainers key=argo/artgc-dag-wf-stopped-kg8tk-artgc-dag-artifact-creator-3846913764/terminateContainers
time="2023-10-11T22:20:14.170Z" level=info msg="https://0.0.0.0:42429/api/v1/namespaces/argo/pods/artgc-dag-wf-stopped-kg8tk-artgc-dag-artifact-creator-3846913764/exec?command=%2Fvar%2Frun%2Fargo%2Fargoexec&command=kill&command=15&command=1&container=main&stderr=true&stdout=true&tty=false"
time="2023-10-11T22:20:14.170Z" level=info msg="https://0.0.0.0:42429/api/v1/namespaces/argo/pods/artgc-dag-wf-stopped-kg8tk-artgc-dag-workflow-stopper-1504799495/exec?command=%2Fvar%2Frun%2Fargo%2Fargoexec&command=kill&command=15&command=1&container=main&stderr=true&stdout=true&tty=false"
time="2023-10-11T22:20:14.170Z" level=debug msg="exec container command" command="[/var/run/argo/argoexec kill 15 1]" container=main error="<nil>" namespace=argo pod=artgc-dag-wf-stopped-kg8tk-artgc-dag-artifact-creator-3846913764
time="2023-10-11T22:20:14.170Z" level=debug msg="exec container command" command="[/var/run/argo/argoexec kill 15 1]" container=main error="<nil>" namespace=argo pod=artgc-dag-wf-stopped-kg8tk-artgc-dag-workflow-stopper-1504799495
time="2023-10-11T22:20:14.171Z" level=info msg="cleaning up pod" action=deletePod key=argo/artgc-dag-wf-stopped-kg8tk-1340600742-agent/deletePod
time="2023-10-11T22:20:14.179Z" level=debug msg="Create events 201"
time="2023-10-11T22:20:14.185Z" level=debug msg="Update workflows 200"
time="2023-10-11T22:20:14.186Z" level=info msg="Workflow update successful" namespace=argo phase=Failed resourceVersion=405201 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:14.186Z" level=debug msg="Event(v1.ObjectReference{Kind:\"Workflow\", Namespace:\"argo\", Name:\"artgc-dag-wf-stopped-kg8tk\", UID:\"a79f56c0-9c76-444e-b499-749078a78c6a\", APIVersion:\"argoproj.io/v1alpha1\", ResourceVersion:\"405201\", FieldPath:\"\"}): type: 'Normal' reason: 'WorkflowNodeRunning' Running node artgc-dag-wf-stopped-kg8tk.stop-workflow: workflow shutdown with strategy:  Stop"
time="2023-10-11T22:20:14.187Z" level=debug msg="Event(v1.ObjectReference{Kind:\"Workflow\", Namespace:\"argo\", Name:\"artgc-dag-wf-stopped-kg8tk\", UID:\"a79f56c0-9c76-444e-b499-749078a78c6a\", APIVersion:\"argoproj.io/v1alpha1\", ResourceVersion:\"405201\", FieldPath:\"\"}): type: 'Warning' reason: 'WorkflowNodeFailed' Failed node artgc-dag-wf-stopped-kg8tk.stop-workflow: workflow shutdown with strategy:  Stop"
time="2023-10-11T22:20:14.187Z" level=debug msg="Event(v1.ObjectReference{Kind:\"Workflow\", Namespace:\"argo\", Name:\"artgc-dag-wf-stopped-kg8tk\", UID:\"a79f56c0-9c76-444e-b499-749078a78c6a\", APIVersion:\"argoproj.io/v1alpha1\", ResourceVersion:\"405201\", FieldPath:\"\"}): type: 'Warning' reason: 'WorkflowNodeFailed' Failed node artgc-dag-wf-stopped-kg8tk.create-artifact: workflow shutdown with strategy:  Stop"
time="2023-10-11T22:20:14.187Z" level=debug msg="Event(v1.ObjectReference{Kind:\"Workflow\", Namespace:\"argo\", Name:\"artgc-dag-wf-stopped-kg8tk\", UID:\"a79f56c0-9c76-444e-b499-749078a78c6a\", APIVersion:\"argoproj.io/v1alpha1\", ResourceVersion:\"405201\", FieldPath:\"\"}): type: 'Warning' reason: 'WorkflowNodeFailed' Failed node artgc-dag-wf-stopped-kg8tk"
time="2023-10-11T22:20:14.188Z" level=info msg="Queueing Failed workflow argo/artgc-dag-wf-stopped-v9k8t for delete due to max rention(2 workflows)"
time="2023-10-11T22:20:14.188Z" level=info msg="Deleting garbage collected workflow 'argo/artgc-dag-wf-stopped-v9k8t'"
time="2023-10-11T22:20:14.188Z" level=debug msg="Delete pods 404"
time="2023-10-11T22:20:14.213Z" level=debug msg="Create events 201"
time="2023-10-11T22:20:14.216Z" level=debug msg="Delete workflows 404"
time="2023-10-11T22:20:14.217Z" level=info msg="Workflow already deleted 'argo/artgc-dag-wf-stopped-v9k8t'"
time="2023-10-11T22:20:14.229Z" level=debug msg="DeleteCollection workflowtaskresults 200"
time="2023-10-11T22:20:14.235Z" level=info msg="cleaning up pod" action=labelPodCompleted key=argo/artgc-dag-wf-stopped-kg8tk-artgc-dag-workflow-stopper-1504799495/labelPodCompleted
time="2023-10-11T22:20:14.235Z" level=info msg="cleaning up pod" action=labelPodCompleted key=argo/artgc-dag-wf-stopped-kg8tk-artgc-dag-artifact-creator-3846913764/labelPodCompleted
time="2023-10-11T22:20:14.239Z" level=debug msg="Create events 201"
time="2023-10-11T22:20:14.242Z" level=debug msg="Create pods/exec 500"
time="2023-10-11T22:20:14.242Z" level=info msg="signaled container" container=main error="unable to upgrade connection: container not found (\"main\")" namespace=argo pod=artgc-dag-wf-stopped-kg8tk-artgc-dag-workflow-stopper-1504799495 stderr="<nil>" stdout="<nil>"
time="2023-10-11T22:20:14.243Z" level=info msg="https://0.0.0.0:42429/api/v1/namespaces/argo/pods/artgc-dag-wf-stopped-kg8tk-artgc-dag-workflow-stopper-1504799495/exec?command=%2Fvar%2Frun%2Fargo%2Fargoexec&command=kill&command=15&command=1&container=wait&stderr=true&stdout=true&tty=false"
time="2023-10-11T22:20:14.243Z" level=debug msg="exec container command" command="[/var/run/argo/argoexec kill 15 1]" container=wait error="<nil>" namespace=argo pod=artgc-dag-wf-stopped-kg8tk-artgc-dag-workflow-stopper-1504799495
time="2023-10-11T22:20:14.244Z" level=debug msg="Create pods/exec 101"
time="2023-10-11T22:20:14.255Z" level=debug msg="Create events 201"
time="2023-10-11T22:20:14.267Z" level=debug msg="Create events 201"
time="2023-10-11T22:20:14.284Z" level=debug msg="Patch pods 200"
time="2023-10-11T22:20:14.284Z" level=debug msg="Patch pods 200"
time="2023-10-11T22:20:14.305Z" level=debug msg="Create pods/exec 101"
time="2023-10-11T22:20:14.343Z" level=debug msg="Syncing all CronWorkflows"
time="2023-10-11T22:20:14.367Z" level=info msg="signaled container" container=main error="<nil>" namespace=argo pod=artgc-dag-wf-stopped-kg8tk-artgc-dag-artifact-creator-3846913764 stderr= stdout="killing 1 with terminated\n"
time="2023-10-11T22:20:14.367Z" level=info msg="https://0.0.0.0:42429/api/v1/namespaces/argo/pods/artgc-dag-wf-stopped-kg8tk-artgc-dag-artifact-creator-3846913764/exec?command=%2Fvar%2Frun%2Fargo%2Fargoexec&command=kill&command=15&command=1&container=wait&stderr=true&stdout=true&tty=false"
time="2023-10-11T22:20:14.367Z" level=debug msg="exec container command" command="[/var/run/argo/argoexec kill 15 1]" container=wait error="<nil>" namespace=argo pod=artgc-dag-wf-stopped-kg8tk-artgc-dag-artifact-creator-3846913764
time="2023-10-11T22:20:14.386Z" level=debug msg="Create pods/exec 101"
time="2023-10-11T22:20:14.388Z" level=info msg="signaled container" container=wait error="Internal error occurred: error executing command in container: failed to exec in container: failed to create exec \"62b51bd59bb0a40d311c0b4fb64a5c55bec4ece6b598892df0c1b2a9683e9dfa\": task 41567c8e8f2f708d06d5e3aefd1fe01fa0fc8cf61b7143a733d15b76f77a4d10 not found: not found" namespace=argo pod=artgc-dag-wf-stopped-kg8tk-artgc-dag-workflow-stopper-1504799495 stderr="<nil>" stdout="<nil>"
time="2023-10-11T22:20:14.476Z" level=info msg="signaled container" container=wait error="<nil>" namespace=argo pod=artgc-dag-wf-stopped-kg8tk-artgc-dag-artifact-creator-3846913764 stderr= stdout="killing 1 with terminated\n"
time="2023-10-11T22:20:15.283Z" level=info msg="Processing workflow" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:15.283Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=1 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:15.283Z" level=debug msg="result: &WorkflowTaskResult{ObjectMeta:{artgc-dag-wf-stopped-kg8tk-1504799495  argo  7f404222-678e-4b3a-abb9-7e0139b7113a 405207 1 2023-10-11 22:20:14 +0000 UTC <nil> <nil> map[workflows.argoproj.io/workflow:artgc-dag-wf-stopped-kg8tk] map[] [{v1 Pod artgc-dag-wf-stopped-kg8tk-artgc-dag-workflow-stopper-1504799495 66d0f8f6-9b33-4aa2-8048-07d74777df64 <nil> <nil>}] []  [{argoexec Update argoproj.io/v1alpha1 2023-10-11 22:20:14 +0000 UTC FieldsV1 {\"f:metadata\":{\"f:labels\":{\".\":{},\"f:workflows.argoproj.io/workflow\":{}},\"f:ownerReferences\":{\".\":{},\"k:{\\\"uid\\\":\\\"66d0f8f6-9b33-4aa2-8048-07d74777df64\\\"}\":{}}},\"f:outputs\":{\".\":{},\"f:artifacts\":{}}} }]},NodeResult:NodeResult{Phase:,Message:,Outputs:&Outputs{Parameters:[]Parameter{},Artifacts:[]Artifact{Artifact{Name:main-logs,Path:,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-workflow-stopper-1504799495/main.log,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:nil,Deleted:false,},},Result:nil,ExitCode:nil,},Progress:,},}" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:15.284Z" level=debug msg="woc.wf.Status.Nodes.Get err: %!s(<nil>)" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:15.284Z" level=debug msg="old: &NodeStatus{ID:artgc-dag-wf-stopped-kg8tk-1504799495,Name:artgc-dag-wf-stopped-kg8tk.stop-workflow,DisplayName:stop-workflow,Type:Pod,TemplateName:artgc-dag-workflow-stopper,TemplateRef:nil,Phase:Failed,BoundaryID:artgc-dag-wf-stopped-kg8tk,Message:workflow shutdown with strategy:  Stop,StartedAt:2023-10-11 22:20:08 +0000 UTC,FinishedAt:2023-10-11 22:20:14 +0000 UTC,PodIP:,Daemoned:nil,Inputs:nil,Outputs:nil,Children:[],OutboundNodes:[],TemplateScope:local/artgc-dag-wf-stopped-kg8tk,ResourcesDuration:ResourcesDuration{},HostNodeName:k3d-k3s-default-server-0,MemoizationStatus:nil,EstimatedDuration:0,SynchronizationStatus:nil,Progress:0/1,}" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:15.284Z" level=debug msg="newNode: &NodeStatus{ID:artgc-dag-wf-stopped-kg8tk-1504799495,Name:artgc-dag-wf-stopped-kg8tk.stop-workflow,DisplayName:stop-workflow,Type:Pod,TemplateName:artgc-dag-workflow-stopper,TemplateRef:nil,Phase:Failed,BoundaryID:artgc-dag-wf-stopped-kg8tk,Message:workflow shutdown with strategy:  Stop,StartedAt:2023-10-11 22:20:08 +0000 UTC,FinishedAt:2023-10-11 22:20:14 +0000 UTC,PodIP:,Daemoned:nil,Inputs:nil,Outputs:&Outputs{Parameters:[]Parameter{},Artifacts:[]Artifact{Artifact{Name:main-logs,Path:,Mode:nil,From:,ArtifactLocation:ArtifactLocation{ArchiveLogs:nil,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-workflow-stopper-1504799495/main.log,},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,},GlobalName:,Archive:nil,Optional:false,SubPath:,RecurseMode:false,FromExpression:,ArtifactGC:nil,Deleted:false,},},Result:nil,ExitCode:nil,},Children:[],OutboundNodes:[],TemplateScope:local/artgc-dag-wf-stopped-kg8tk,ResourcesDuration:ResourcesDuration{},HostNodeName:k3d-k3s-default-server-0,MemoizationStatus:nil,EstimatedDuration:0,SynchronizationStatus:nil,Progress:0/1,}" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:15.284Z" level=info msg="task-result changed" namespace=argo nodeID=artgc-dag-wf-stopped-kg8tk-1504799495 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:15.284Z" level=debug msg="processing Artifact GC Strategy OnWorkflowCompletion" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:15.284Z" level=debug msg="processing Artifact GC Strategy OnWorkflowCompletion" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:15.284Z" level=debug msg="No Artifact Search Results returned from strategy OnWorkflowCompletion" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:15.284Z" level=debug msg="Log changes patch: {\"status\":{\"artifactGCStatus\":{\"strategiesProcessed\":{\"OnWorkflowCompletion\":true}},\"nodes\":{\"artgc-dag-wf-stopped-kg8tk-1504799495\":{\"outputs\":{\"artifacts\":[{\"name\":\"main-logs\",\"s3\":{\"key\":\"artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-workflow-stopper-1504799495/main.log\"}}]}}}}}"
time="2023-10-11T22:20:15.284Z" level=info msg="Workflow to be dehydrated" Workflow Size=4541
time="2023-10-11T22:20:15.294Z" level=debug msg="Update workflows 200"
time="2023-10-11T22:20:15.295Z" level=info msg="Workflow update successful" namespace=argo phase=Failed resourceVersion=405214 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:15.322Z" level=debug msg="DeleteCollection workflowtaskresults 200"
time="2023-10-11T22:20:16.287Z" level=info msg="Processing workflow" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:16.288Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=0 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:16.288Z" level=debug msg="processing Artifact GC Strategy OnWorkflowDeletion" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:16.288Z" level=debug msg="processing Artifact GC Strategy OnWorkflowDeletion" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:16.289Z" level=debug msg="list of artifacts pertaining to template artgc-dag-workflow-stopper to WorkflowArtifactGCTask \"artgc-dag-wf-stopped-kg8tk-artgc-wfdel-2470140894-0\": map[artgc-dag-wf-stopped-kg8tk-1504799495:{ArchiveLocation:&ArtifactLocation{ArchiveLogs:*true,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:minio:9000,Bucket:my-bucket,Region:,Insecure:*true,AccessKeySecret:&v1.SecretKeySelector{LocalObjectReference:LocalObjectReference{Name:my-minio-cred,},Key:accesskey,Optional:nil,},SecretKeySecret:&v1.SecretKeySelector{LocalObjectReference:LocalObjectReference{Name:my-minio-cred,},Key:secretkey,Optional:nil,},RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:{{workflow.name}}/{{pod.name}},},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,} Artifacts:map[main-logs:{Name:main-logs Path: Mode:<nil> From: ArtifactLocation:{ArchiveLogs:<nil> S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-workflow-stopper-1504799495/main.log,} Git:nil HTTP:nil Artifactory:nil HDFS:nil Raw:nil OSS:nil GCS:nil Azure:nil} GlobalName: Archive:nil Optional:false SubPath: RecurseMode:false FromExpression: ArtifactGC:nil Deleted:false}]}]" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:16.289Z" level=debug msg="list of artifacts pertaining to template artgc-dag-delay-stop to WorkflowArtifactGCTask \"artgc-dag-wf-stopped-kg8tk-artgc-wfdel-2470140894-0\": map[artgc-dag-wf-stopped-kg8tk-1504799495:{ArchiveLocation:&ArtifactLocation{ArchiveLogs:*true,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:minio:9000,Bucket:my-bucket,Region:,Insecure:*true,AccessKeySecret:&v1.SecretKeySelector{LocalObjectReference:LocalObjectReference{Name:my-minio-cred,},Key:accesskey,Optional:nil,},SecretKeySecret:&v1.SecretKeySelector{LocalObjectReference:LocalObjectReference{Name:my-minio-cred,},Key:secretkey,Optional:nil,},RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:{{workflow.name}}/{{pod.name}},},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,} Artifacts:map[main-logs:{Name:main-logs Path: Mode:<nil> From: ArtifactLocation:{ArchiveLogs:<nil> S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-workflow-stopper-1504799495/main.log,} Git:nil HTTP:nil Artifactory:nil HDFS:nil Raw:nil OSS:nil GCS:nil Azure:nil} GlobalName: Archive:nil Optional:false SubPath: RecurseMode:false FromExpression: ArtifactGC:nil Deleted:false}]} artgc-dag-wf-stopped-kg8tk-3444961409:{ArchiveLocation:&ArtifactLocation{ArchiveLogs:*true,S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:minio:9000,Bucket:my-bucket,Region:,Insecure:*true,AccessKeySecret:&v1.SecretKeySelector{LocalObjectReference:LocalObjectReference{Name:my-minio-cred,},Key:accesskey,Optional:nil,},SecretKeySecret:&v1.SecretKeySelector{LocalObjectReference:LocalObjectReference{Name:my-minio-cred,},Key:secretkey,Optional:nil,},RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:{{workflow.name}}/{{pod.name}},},Git:nil,HTTP:nil,Artifactory:nil,HDFS:nil,Raw:nil,OSS:nil,GCS:nil,Azure:nil,} Artifacts:map[main-logs:{Name:main-logs Path: Mode:<nil> From: ArtifactLocation:{ArchiveLogs:<nil> S3:&S3Artifact{S3Bucket:S3Bucket{Endpoint:,Bucket:,Region:,Insecure:nil,AccessKeySecret:nil,SecretKeySecret:nil,RoleARN:,UseSDKCreds:false,CreateBucketIfNotPresent:nil,EncryptionOptions:nil,CASecret:nil,},Key:artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409/main.log,} Git:nil HTTP:nil Artifactory:nil HDFS:nil Raw:nil OSS:nil GCS:nil Azure:nil} GlobalName: Archive:nil Optional:false SubPath: RecurseMode:false FromExpression: ArtifactGC:nil Deleted:false}]}]" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:16.289Z" level=info msg="Creating Artifact GC Task artgc-dag-wf-stopped-kg8tk-artgc-wfdel-2470140894-0" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:16.296Z" level=debug msg="Create workflowartifactgctasks 201"
time="2023-10-11T22:20:16.296Z" level=info msg="creating pod to delete artifacts: artgc-dag-wf-stopped-kg8tk-artgc-wfdel-2470140894" namespace=argo strategy=OnWorkflowDeletion workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:16.303Z" level=debug msg="Create pods 201"
time="2023-10-11T22:20:16.304Z" level=debug msg="Log changes patch: {\"status\":{\"artifactGCStatus\":{\"strategiesProcessed\":{\"OnWorkflowDeletion\":true}}}}"
time="2023-10-11T22:20:16.304Z" level=info msg="Workflow to be dehydrated" Workflow Size=4577
time="2023-10-11T22:20:16.318Z" level=debug msg="Update workflows 200"
time="2023-10-11T22:20:16.321Z" level=info msg="Workflow update successful" namespace=argo phase=Failed resourceVersion=405223 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:16.337Z" level=debug msg="DeleteCollection workflowtaskresults 200"
time="2023-10-11T22:20:17.305Z" level=info msg="Processing workflow" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:17.306Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=0 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:17.389Z" level=info msg="cleaning up pod" action=killContainers key=argo/artgc-dag-wf-stopped-kg8tk-artgc-dag-workflow-stopper-1504799495/killContainers
time="2023-10-11T22:20:17.477Z" level=info msg="cleaning up pod" action=killContainers key=argo/artgc-dag-wf-stopped-kg8tk-artgc-dag-artifact-creator-3846913764/killContainers
time="2023-10-11T22:20:17.593Z" level=debug msg="Get leases 200"
time="2023-10-11T22:20:17.599Z" level=debug msg="Update leases 200"
time="2023-10-11T22:20:18.986Z" level=info msg="Processing workflow" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:18.987Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=0 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:20.212Z" level=info msg="Processing workflow" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:20.213Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=0 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:20.213Z" level=info msg="reconciling artifact-gc pod" message= namespace=argo phase=Succeeded pod=artgc-dag-wf-stopped-kg8tk-artgc-wfdel-2470140894 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:20.213Z" level=info msg="processing completed Artifact GC Pod \"artgc-dag-wf-stopped-kg8tk-artgc-wfdel-2470140894\"" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:20.219Z" level=debug msg="List workflowartifactgctasks 200"
time="2023-10-11T22:20:20.219Z" level=debug msg="processing WorkflowArtifactGCTask artgc-dag-wf-stopped-kg8tk-artgc-wfdel-2470140894-0" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:20.220Z" level=debug msg="deleting WorkflowArtifactGCTask: artgc-dag-wf-stopped-kg8tk-artgc-wfdel-2470140894-0" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:20.230Z" level=debug msg="Delete workflowartifactgctasks 200"
time="2023-10-11T22:20:20.230Z" level=info msg="no remaining artifacts to GC, removing artifact GC finalizer (forceFinalizerRemoval=false)" namespace=argo workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:20.235Z" level=debug msg="Log changes patch: {\"metadata\":{\"finalizers\":null},\"status\":{\"artifactGCStatus\":{\"podsRecouped\":{\"artgc-dag-wf-stopped-kg8tk-artgc-wfdel-2470140894\":true}},\"nodes\":{\"artgc-dag-wf-stopped-kg8tk-1504799495\":{\"outputs\":{\"artifacts\":[{\"deleted\":true,\"name\":\"main-logs\",\"s3\":{\"key\":\"artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-workflow-stopper-1504799495/main.log\"}}]}},\"artgc-dag-wf-stopped-kg8tk-3444961409\":{\"outputs\":{\"artifacts\":[{\"deleted\":true,\"name\":\"main-logs\",\"s3\":{\"key\":\"artgc-dag-wf-stopped-kg8tk/artgc-dag-wf-stopped-kg8tk-artgc-dag-delay-stop-3444961409/main.log\"}}]}}}}}"
time="2023-10-11T22:20:20.235Z" level=info msg="Workflow to be dehydrated" Workflow Size=4597
time="2023-10-11T22:20:20.250Z" level=debug msg="Update workflows 200"
time="2023-10-11T22:20:20.260Z" level=info msg="Workflow update successful" namespace=argo phase=Failed resourceVersion=405223 workflow=artgc-dag-wf-stopped-kg8tk
time="2023-10-11T22:20:20.288Z" level=debug msg="DeleteCollection workflowtaskresults 200"
time="2023-10-11T22:20:21.262Z" level=debug msg="Won't process Workflow since it's completed" key=argo/artgc-dag-wf-stopped-kg8tk

@Garett-MacGowan
Copy link
Contributor Author

Is there something between taskResultReconciliation and reportResult which could be stripping the artifact from the wfv1.NodeResult?

…orkflow deletions during testing (in case tests are running in parallel). Fixes argoproj#11879

Signed-off-by: Garett MacGowan <[email protected]>
@Garett-MacGowan
Copy link
Contributor Author

@juliev0 All tests passed this time but I think it might be that 29/~30 chance.

@juliev0
Copy link
Contributor

juliev0 commented Oct 12, 2023

Hmm, any chance that taskResultReconciliation occurred prior to reportResult?

@juliev0
Copy link
Contributor

juliev0 commented Oct 12, 2023

I am okay to merge something that improves things from 100% to “rarely” for now if you’d like that

@Garett-MacGowan
Copy link
Contributor Author

Garett-MacGowan commented Oct 12, 2023

@juliev0

Hmm, any chance that taskResultReconciliation occurred prior to reportResult?

Good point you make. I think it is possible, and it would explain the issue.

The check for the finalizer removal is the following:

// check if all artifacts have been deleted and if so remove Finalizer
removeFinalizer = anyPodSuccess && woc.allArtifactsDeleted()

where woc.allArtifactsDeleted() is

func (woc *wfOperationCtx) allArtifactsDeleted() bool {
	for _, n := range woc.wf.Status.Nodes {
		if n.Type != wfv1.NodeTypePod {
			continue
		}
		for _, a := range n.GetOutputs().GetArtifacts() {
			if !a.Deleted && woc.execWf.GetArtifactGCStrategy(&a) != wfv1.ArtifactGCNever && woc.execWf.GetArtifactGCStrategy(&a) != wfv1.ArtifactGCStrategyUndefined {
				return false
			}
		}
	}
	return true
}

Clearly this depends on the state of wf.Status.Nodes, which taskResultReconciliation() is suppose to update. If reportResult occurs after taskResultReconciliation(), but before garbage collection, then the finalizer will be removed and only the previously reported artifacts will be garbage collected.

Thoughts on a solution?

Maybe we could set up a mutex so that the taskResultReconciliation() and garbageCollectArtifacts() portions of the workflow can't be entered while artifacts are being saved in the wait containers? This would obviously lock the workflow loop any time an artifact is being written. Not sure if this is the best solution. If you think this is ok, is there any guidance you could give for implementation? I'm also not sure how you would test this effectively.

Edit: to prevent unnecessary performance degradation, we could only enforce the mutex when the workflow status is woc.wf.Labels[common.LabelKeyCompleted] == "true"

I am okay to merge something that improves things from 100% to “rarely” for now if you’d like that

It's definitely in a better state than it was regardless of the above. If you're ok to merge it, so am I. It would be nice to get it working 100% though.

@juliev0
Copy link
Contributor

juliev0 commented Oct 12, 2023

Hmm, allArtifactsDeleted does seem very problematic. I may not have time right now to fully understand what's happening so may need to get back to you. (I tend to think we should not add a mutex.)

@Garett-MacGowan
Copy link
Contributor Author

Hmm, allArtifactsDeleted does seem very problematic. I may not have time right now to fully understand what's happening so may need to get back to you. (I tend to think we should not add a mutex.)

Yes, it would be best if we could avoid the complexity of the mutex. Thanks, I appreciate the help.

@juliev0
Copy link
Contributor

juliev0 commented Nov 6, 2023

In taskResultReconciliation(), it looks like the TaskResultInformer (cache) is being used to keep track of the current TaskResults. Is it possible that at the time you're getting there, it hasn't updated to reflect the latest TaskResult value maybe?

Then looking at your log, the next time this is logged:

time="2023-11-03T05:40:36.834Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=0 workflow=artgc-dag-wf-stopped-5z8k4

the TaskResults have all been deleted? (I guess each one is owned by the corresponding Pod, right? so it gets deleted with the Pod)

Do you know what ensures that Pods/TaskResults only get deleted after taskResultReconciliation() is run?

@Garett-MacGowan
Copy link
Contributor Author

Garett-MacGowan commented Nov 6, 2023

In taskResultReconciliation(), it looks like the TaskResultInformer (cache) is being used to keep track of the current TaskResults. Is it possible that at the time you're getting there, it hasn't updated to reflect the latest TaskResult value maybe?

Then looking at your log, the next time this is logged:

time="2023-11-03T05:40:36.834Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=0 workflow=artgc-dag-wf-stopped-5z8k4

the TaskResults have all been deleted? (I guess each one is owned by the corresponding Pod, right? so it gets deleted with the Pod)

Do you know what ensures that Pods/TaskResults only get deleted after taskResultReconciliation() is run?

@juliev0 Ahh, I see. I missed the logic regarding task result deletion. Currently, task results are being deleted in the event of wf.Status.Phase.Completed(), meaning if WorkflowSucceeded, WorkflowFailed, or WorkflowError.

This happens in persistUpdates() of operator.go, right before pod cleanup.

The current logic is:

	if woc.wf.Status.Phase.Completed(){
		if err := woc.deleteTaskResults(ctx); err != nil {
			woc.log.WithError(err).Warn("failed to delete task-results")
		}
	}

I think it may be sufficient to do.

	if woc.wf.Status.Phase.Completed() && woc.checkTaskResultsCompleted() {
		if err := woc.deleteTaskResults(ctx); err != nil {
			woc.log.WithError(err).Warn("failed to delete task-results")
		}
	}

I don't think we need to protect the pod from being deleted since, as we've discussed, the wait container should finish.

@juliev0
Copy link
Contributor

juliev0 commented Nov 6, 2023

In taskResultReconciliation(), it looks like the TaskResultInformer (cache) is being used to keep track of the current TaskResults. Is it possible that at the time you're getting there, it hasn't updated to reflect the latest TaskResult value maybe?
Then looking at your log, the next time this is logged:

time="2023-11-03T05:40:36.834Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=0 workflow=artgc-dag-wf-stopped-5z8k4

the TaskResults have all been deleted? (I guess each one is owned by the corresponding Pod, right? so it gets deleted with the Pod)
Do you know what ensures that Pods/TaskResults only get deleted after taskResultReconciliation() is run?

@juliev0 Ahh, I see. I missed the logic regarding task result deletion. Currently, task results are being deleted in the event of wf.Status.Phase.Completed(), meaning if WorkflowSucceeded, WorkflowFailed, or WorkflowError.

This happens in persistUpdates() of operator.go, right before pod cleanup.

The current logic is:

	if woc.wf.Status.Phase.Completed(){
		if err := woc.deleteTaskResults(ctx); err != nil {
			woc.log.WithError(err).Warn("failed to delete task-results")
		}
	}

I think it may be sufficient to do.

	if woc.wf.Status.Phase.Completed() && woc.checkTaskResultsCompleted() {
		if err := woc.deleteTaskResults(ctx); err != nil {
			woc.log.WithError(err).Warn("failed to delete task-results")
		}
	}

I don't think we need to protect the pod from being deleted since, as we've discussed, the wait container should finish.

Thanks for finding that code. It looks like there may be 2 ways for TaskResults to get deleted: 1. the code you found which would occur when the Workflow completes; 2. if the Pod that owns a TaskResult gets deleted I believe it will automatically get deleted through this OwnerReference. See here for information on that.

@juliev0
Copy link
Contributor

juliev0 commented Nov 6, 2023

Thanks for finding that code. It looks like there may be 2 ways for TaskResults to get deleted: 1. the code you found which would occur when the Workflow completes; 2. if the Pod that owns a TaskResult gets deleted I believe it will automatically get deleted through this OwnerReference. See here for information on that.

And a Pod could be deleted as soon as it completes if the PodGCStrategy is configured as such

@Garett-MacGowan
Copy link
Contributor Author

Thanks for finding that code. It looks like there may be 2 ways for TaskResults to get deleted: 1. the code you found which would occur when the Workflow completes; 2. if the Pod that owns a TaskResult gets deleted I believe it will automatically get deleted through this OwnerReference. See here for information on that.

And a Pod could be deleted as soon as it completes if the PodGCStrategy is configured as such

Thanks for the context.

If that's the case, what are your thoughts on removing the OwnerReference? I think deletion is already handled by the woc.deleteTaskResults() method, no? I do like the idea of having it as a safeguard though.

Alternatively, maybe we could set the OwnerReference to the Workflow? If so, any guidance on best practices for passing that reference?

FYI, with the change described above, the tests have passed well over 180 times with no failure. This isn't testing with PodGCOnPodCompletion though.

@juliev0
Copy link
Contributor

juliev0 commented Nov 7, 2023

Thanks for finding that code. It looks like there may be 2 ways for TaskResults to get deleted: 1. the code you found which would occur when the Workflow completes; 2. if the Pod that owns a TaskResult gets deleted I believe it will automatically get deleted through this OwnerReference. See here for information on that.

And a Pod could be deleted as soon as it completes if the PodGCStrategy is configured as such

Thanks for the context.

If that's the case, what are your thoughts on removing the OwnerReference? I think deletion is already handled by the woc.deleteTaskResults() method, no? I do like the idea of having it as a safeguard though.

Alternatively, maybe we could set the OwnerReference to the Workflow? If so, any guidance on best practices for passing that reference?

FYI, with the change described above, the tests have passed well over 180 times with no failure. This isn't testing with PodGCOnPodCompletion though.

Great. I think setting the OwnerReference to the Workflow seems good just in case. Note, that of course there will be more TaskResults around with this change, but it seems okay to me, and also seems good for debugging. It looks like workflow name is already being passed in as an environment variable here and passed to the Executor for you to use. Can you pass the Workflow UID as well?

BTW, I just sent a message to Alex to see if there was ever some other intention for how to handle this.

…deletion of task results. Change owner reference for task result to Workflow. Add artifactgc test for stopped workflow with pod gc on pod completion. Fixes argoproj#11879

Signed-off-by: Garett MacGowan <[email protected]>
@Garett-MacGowan
Copy link
Contributor Author

Ok, tests running well locally. Added a test case for PodGC OnPodCompletion.

Here's the script i've been using in case anyone comes here in the future and needs to run them:

#!/bin/bash

# Number of times to run the test
total_runs=240
error_occurred=false

for ((i=1; i<=total_runs; i++)); do
    echo "Running test (Iteration $i)..."

    # Run the test command
    go test -failfast -v -timeout 0 -count 1 --tags executor ./test/e2e -run='.*/StoppedWorkflow'

    # Check if the test command failed (non-zero exit status)
    if [ $? -ne 0 ]; then
        echo "Error occurred during test (Iteration $i)"
        error_occurred=true
        break  # Exit the loop if an error occurs
    fi
done

# Notify if an error occurred
if [ "$error_occurred" = true ]; then
    echo "An error occurred during one or more test iterations."
else
    echo "All test iterations completed successfully."
fi

outputs := we.Template.Outputs.DeepCopy()
outputs.Artifacts = append(outputs.Artifacts, logArtifacts...)
return we.reportResult(ctx, wfv1.NodeResult{Outputs: outputs})
}

func (we *WorkflowExecutor) reportResult(ctx context.Context, result wfv1.NodeResult) error {
if !result.Outputs.HasOutputs() && !result.Progress.IsValid() {
return nil
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, I wonder if removing this is check is okay or not. I know you wanted to be able to add the annotation, which is fine. But it does seem like if this were to resolve as true, we will do some of the things below which we weren't doing before. But maybe the check was just here to preemptively return in case there seemed to be nothing to do? (I'm not sure what causes Progress to be invalid.)

Copy link
Contributor Author

@Garett-MacGowan Garett-MacGowan Nov 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My assumption was that this was here to return early if there was nothing to do.

I guess progress can be invalid if there are no tasks. Not sure if N can ever be greater than M. I'm pretty sure the progress should always be set at this point (it happens early on in wait container with monitorProgress)

IsValid logic is

in != "" && in.N() >= 0 && in.N() <= in.M() && in.M() > 0

where Progress in N/M format. N is number of task complete. M is number of tasks.

If there are no tasks and no outputs, labels/annotations for completion won't be set because no task result will be created. Update for finalization would then fail.

At this point, we're requiring a task result for all wait containers to track completion.

Does this make sense?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for going through the logic. It does seem safe to me to remove this line. If you don't have Outputs and you don't have Tasks, then it seems like it would probably be fine to still call upsertTaskResult() below, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it would just create a shell of a WorkflowTaskResult


woc.log.Debugf("task results completed:\n%+v", woc.wf.Status.GetTaskResultsCompleted())
woc.log.Debugf("task result completed len: %d", len(woc.wf.Status.GetTaskResultsCompleted()))

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are these 2 debugging statements supposed to be within the for loop or outside?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inside the loop gives a more fine-grained view into what's going on. It's probably sufficient to move this outside the loop though.

@@ -779,7 +787,8 @@ func (woc *wfOperationCtx) persistUpdates(ctx context.Context) {
woc.log.WithError(err).Warn("error updating taskset")
}

if woc.wf.Status.Phase.Completed() {
// Note that the woc.checkTaskResultsCompleted() resolves a ~1/30 garbage collection failure race conidtion.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we say in the comment "make sure the TaskResults are incorporated into WorkflowStatus before we delete them"?

@juliev0
Copy link
Contributor

juliev0 commented Nov 10, 2023

Thanks for adding all these tests!

@juliev0
Copy link
Contributor

juliev0 commented Nov 10, 2023

This is looking good! I think I can probably merge it on Monday! (I won't have time to work between now and Sunday and don't want to merge it in a hurry)

@juliev0 juliev0 merged commit 6805c91 into argoproj:master Nov 13, 2023
27 checks passed
terrytangyuan pushed a commit that referenced this pull request Nov 27, 2023
Signed-off-by: Garett MacGowan <[email protected]>
Signed-off-by: Garett MacGowan <[email protected]>
z63d added a commit to z63d/argo-workflows that referenced this pull request Mar 11, 2024
@agilgur5 agilgur5 added this to the v3.5.x patches milestone Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/artifacts S3/GCP/OSS/Git/HDFS etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Artifacts not set in Status.Nodes | ArtifactGC prevents Workflow deletion
4 participants