# Any ideas why all steps services and clone fire at the same time?

**URL:** <https://drone.discourse.group/t/any-ideas-why-all-steps-services-and-clone-fire-at-the-same-time/9221>\
**Category:** Drone Support\
**Created:** [December 19, 2018, 4:13pm UTC](https://drone.discourse.group/t/any-ideas-why-all-steps-services-and-clone-fire-at-the-same-time/9221 "2018-12-19T16:13:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![olymk2](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/olymk2/32/4196_2.png) [@olymk2](https://drone.discourse.group/u/olymk2)\
**Post date:** [December 19, 2018, 4:13pm UTC](https://drone.discourse.group/t/any-ideas-why-all-steps-services-and-clone-fire-at-the-same-time/9221/1 "2018-12-19T16:13:59Z")

</div>

Is there a new bug in drone I pulled the latest drone.rc3 and drone/git images and am testing one of my builds it works fine locally how ever drone ci shows all steps start instantaneously obviously this is an issue because tests fail when the source is still in the progress of cloning.

steps like yarn install and pip install fail because the files are not yet present, could be something else is causing this but it the first time i have encountered this issue, any ideas ?

---

<div class="post-metadata">

**Author:** ![bradrydzewski](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/bradrydzewski/32/3513_2.png) [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Post date:** [December 19, 2018, 4:31pm UTC](https://drone.discourse.group/t/any-ideas-why-all-steps-services-and-clone-fire-at-the-same-time/9221/2 "2018-12-19T16:31:50Z")

</div>

I have not experienced any such behavior, but a sample yaml configuration file to reproduce would be appreciated. My first thought is that you are using depends\_on and have set something up incorrectly … but without seeing an actual yaml I am only left to make guesses.

---

<div class="post-metadata">

**Author:** ![olymk2](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/olymk2/32/4196_2.png) [@olymk2](https://drone.discourse.group/u/olymk2)\
**Post date:** [December 19, 2018, 4:33pm UTC](https://drone.discourse.group/t/any-ideas-why-all-steps-services-and-clone-fire-at-the-same-time/9221/3 "2018-12-19T16:33:46Z")

</div>

okay could be I am using depends\_on I shall look there or remove them to see if it at least fixes the order

---

<div class="post-metadata">

**Author:** ![olymk2](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/olymk2/32/4196_2.png) [@olymk2](https://drone.discourse.group/u/olymk2)\
**Post date:** [December 19, 2018, 5:06pm UTC](https://drone.discourse.group/t/any-ideas-why-all-steps-services-and-clone-fire-at-the-same-time/9221/4 "2018-12-19T17:06:55Z")

</div>

you are likely correct about the depends\_on I have tracked it down to the selenium config section ie this.

removing the below section caused every thing to execute in the correct order, will test a bit more tomorrow.

```
   - name: selenium-hub
     image: selenium/hub:3.11.0-californium
 
   - name: seleniumgc
     shm_size: 1g
     image: selenium/node-chrome:3.11.0-californium
     depends_on:
       - selenium-hub
     environment:
       DISPLAY: :98.0
       JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
       HUB_HOST: selenium-hub
       HUB_PORT: 4444
       DBUS_SESSION_BUS_ADDRESS: '/dev/null'
 
   - name: seleniumff
     shm_size: 1g
     image: selenium/node-firefox:3.11.0-californium
     depends_on:
       - selenium-hub
     environment:
       DISPLAY: :99.0
       JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
       HUB_HOST: selenium-hub
       HUB_PORT: 4444
       DBUS_SESSION_BUS_ADDRESS: '/dev/null'
```
