Closed Bug 1290459 Opened 3 years ago Closed 3 years ago

Xvfb not running in TASKCLUSTER_INTERACTIVE mode for new Ubuntu 16.04 docker images

Categories

(Taskcluster Graveyard :: Docker Images, defect)

defect
Not set

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: whimboo, Assigned: jmaher)

References

Details

Attachments

(1 file)

Because of the test failures I see with the new Ubuntu 16.04 docker images, I tried to trigger a one click loaner but actually the test job is not running due to xserver issues and no available display:

https://treeherder.mozilla.org/#/jobs?repo=try&revision=8d007a1512b5&selectedJob=24770751

Output from the interactive root shell:

13:38:01     INFO -  Failed to connect to Mir: Failed to connect to server socket: No such file or directory
13:38:01     INFO -  Unable to init server: Could not connect: Connection refused
13:38:01     INFO -  Error: cannot open display: :0
Flags: needinfo?(jmaher)
Looks like the patch from bug 1285582 only got applied to taskcluster/scripts/tester/test-ubuntu1204.sh and not test-ubuntu1604.sh. Copying those changes to the new file should fix it.

But those two scripts look nearly identical, why did they get split up? Seems like an unnecessary maintenance burden.
this needs to get fixed, thanks for finding it.

I am starting with porting :ahal's changes from bug 1285582 to the test-ubuntu1604.sh script- if that works this will be easy, if not- I will look more into it.

here is a push with the test-ubuntu1604.sh changes:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=b5e5d6adf291
Flags: needinfo?(jmaher)
and my try push yields success here... :)
Comment on attachment 8776094 [details]
Bug 1290459 - port changes from bug 1285582 to test-ubuntu1604.sh.

https://reviewboard.mozilla.org/r/68020/#review65138

Lgtm!
Attachment #8776094 - Flags: review?(ahalberstadt) → review+
Pushed by jmaher@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d7ec7fcb1843
port changes from bug 1285582 to test-ubuntu1604.sh. r=ahal
Joel, did you actually test with a one click loaner? Or did you only check the try results? That's not clear to me when reading your comment 3.
I checked with one click loaner, but now I see that I forgot my 16.04 modification patch, I have a new push now for other work which has 16.04 and I will test this weekend.
https://hg.mozilla.org/mozilla-central/rev/d7ec7fcb1843
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
So I'm going to update the summary then. Joel, I assume you will file a new bug given that this one is marked as fixed now.
Assignee: nobody → jmaher
Flags: needinfo?(jmaher)
Summary: One click loaner (interactive shell) doesn't work: "Failed to connect to Mir" → Xvfb not running in TASKCLUSTER_INTERACTIVE mode for new Ubuntu 16.04 docker images
I was able to connect a few different times to a 16.04 loaner via the 'desktop' option.  I assumed this was fully fixed.
Flags: needinfo?(jmaher)
I can verify that fix! Thanks Joel.
Status: RESOLVED → VERIFIED
Product: Taskcluster → Taskcluster Graveyard
You need to log in before you can comment on or make changes to this bug.