jenkinsci / amazon-ecs-plugin

Amazon EC2 Container Service Plugin for Jenkins
https://plugins.jenkins.io/amazon-ecs
MIT License
192 stars 226 forks source link

Docker containers not being terminated resulting in dozens of idle containers #357

Open jbayer3000 opened 1 month ago

jbayer3000 commented 1 month ago

Jenkins and plugins versions report

Environment ```text Paste the output here ```

What Operating System are you using (both controller, and any agents involved in the problem)?

Jenkins is on Amazon Linux 2 The containers are all based on Amazon Linux 2

Jenkins version 2.419 Fargate 1.49

Reproduction steps

Mostly random.

Expected Results

Containers to be terminated after being idle (or when job is completed)

Actual Results

Sometimes a container is left behind, resulting in (eventually) dozens of idle containers

Anything else?

No response

Are you interested in contributing a fix?

No response

MikeKroell commented 1 month ago

We also have this exact issue.