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

network label same for each workflows #2647

Closed
bbrunodiad opened this issue Jun 7, 2023 · 3 comments · Fixed by #2683
Closed

network label same for each workflows #2647

bbrunodiad opened this issue Jun 7, 2023 · 3 comments · Fixed by #2683
Assignees
Labels
bug Something isn't working keep Label can be added as soon as we are sure the work on the issue is necessary

Comments

@bbrunodiad
Copy link

bbrunodiad commented Jun 7, 2023

Describe the bug
Hi
When I launch 2 workflows at the same time that use service container (to run postgres, redis an rabbitmq for example), they have the same label.
As you can see, the 1st workflow creates a network with this label :

Create local container network
  /usr/bin/docker network create --label c3f261 github_network_02a5eecd05de4c4f

But the second one is going to destroy the first :

Clean up resources from previous jobs
  /usr/bin/docker ps --all --quiet --no-trunc --filter "label=c3f261"
  /usr/bin/docker network prune --force --filter "label=c3f261"
  Deleted Networks:
  github_network_02a5eecd05de4c4f

To Reproduce
Steps to reproduce the behavior:

  1. In my case, when I launch two workflows at the same time, the second one always destroy the first

Expected behavior
How to modify this label so the workflows can be no dependant ?

Runner Version and Platform

My runners are currently hosted on an ECS cluster

What's not working?

The first job :
image

The second job that destroys the first one :
image

@bbrunodiad bbrunodiad added the bug Something isn't working label Jun 7, 2023
@nikola-jokic nikola-jokic added the keep Label can be added as soon as we are sure the work on the issue is necessary label Jun 12, 2023
@bbrunodiad
Copy link
Author

Any helper ^^

@nikola-jokic
Copy link
Contributor

Hey @bbrunodiad,

Can you explain how did you start your runners, so I can reproduce this issue exactly ☺️? I think I know where the fix should be applied to, but I want to confirm that I'm covering your use-case

@nikola-jokic nikola-jokic self-assigned this Jun 30, 2023
@bbrunodiad
Copy link
Author

bbrunodiad commented Jul 1, 2023

Hey @bbrunodiad,

Can you explain how did you start your runners, so I can reproduce this issue exactly ☺️? I think I know where the fix should be applied to, but I want to confirm that I'm covering your use-case

Yes for sure ! They are manually triggered with dispatch mode! :
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working keep Label can be added as soon as we are sure the work on the issue is necessary
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants