Bug 1548924 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

### Summary
In the logs for `linux` platform tests, there is a section where the `test-linux.sh` script is forced to sleep for 15 seconds.

Example from [linux64](https://taskcluster-artifacts.net/GuOOAEtUS2S1DI9oxWIMQQ/0/public/logs/live_backing.log):

```
[task 2019-04-29T16:56:11.387Z] if $NEED_WINDOW_MANAGER; then
[task 2019-04-29T16:56:11.387Z]     # This is read by xsession to select the window manager
[task 2019-04-29T16:56:11.388Z]     echo DESKTOP_SESSION=ubuntu > $HOME/.xsessionrc
[task 2019-04-29T16:56:11.389Z] 
[task 2019-04-29T16:56:11.389Z]     # note that doing anything with this display before running Xsession will cause sadness (like,
[task 2019-04-29T16:56:11.389Z]     # crashes in compiz). Make sure that X has enough time to start
[task 2019-04-29T16:56:11.389Z]     sleep 15
[task 2019-04-29T16:56:11.389Z]     # DISPLAY has already been set above
[task 2019-04-29T16:56:11.390Z]     # XXX: it would be ideal to add a semaphore logic to make sure that the
[task 2019-04-29T16:56:11.390Z]     # window manager is ready
[task 2019-04-29T16:56:11.390Z]     /etc/X11/Xsession 2>&1 &
```

###Scope

Investigate if feasible to:
- reduce the sleep duration, or;
- eliminate entirely

###Test Plan

Ensure the changes do not have adverse impact by running all linux jobs.
### Summary
In the logs for `linux` platform tests, there is a section where the `test-linux.sh` script is forced to sleep for 15 seconds.

Example from [linux64](https://taskcluster-artifacts.net/GuOOAEtUS2S1DI9oxWIMQQ/0/public/logs/live_backing.log):

```
[task 2019-04-29T16:56:11.387Z] if $NEED_WINDOW_MANAGER; then
[task 2019-04-29T16:56:11.387Z]     # This is read by xsession to select the window manager
[task 2019-04-29T16:56:11.388Z]     echo DESKTOP_SESSION=ubuntu > $HOME/.xsessionrc
[task 2019-04-29T16:56:11.389Z] 
[task 2019-04-29T16:56:11.389Z]     # note that doing anything with this display before running Xsession will cause sadness (like,
[task 2019-04-29T16:56:11.389Z]     # crashes in compiz). Make sure that X has enough time to start
[task 2019-04-29T16:56:11.389Z]     sleep 15
[task 2019-04-29T16:56:11.389Z]     # DISPLAY has already been set above
[task 2019-04-29T16:56:11.390Z]     # XXX: it would be ideal to add a semaphore logic to make sure that the
[task 2019-04-29T16:56:11.390Z]     # window manager is ready
[task 2019-04-29T16:56:11.390Z]     /etc/X11/Xsession 2>&1 &
```

### Scope

Investigate if feasible to:
- reduce the sleep duration, or;
- eliminate entirely

### Test Plan

Ensure the changes do not have adverse impact by running all linux jobs.

Back to Bug 1548924 Comment 0