[go: nahoru, domu]

Open Bug 1813588 (wayland-ci) Opened 2 years ago Updated 10 days ago

[meta] Enable wayland testing in Gecko

Categories

(Firefox Build System :: Task Configuration, task, P1)

task

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: ahal, Assigned: ahal)

References

(Depends on 11 open bugs, Blocks 2 open bugs)

Details

(Keywords: meta)

Dave House has done some initial investigative work on what it would take to stand up native Wayland testing. This bug will track the in-tree changes to docker images and setup scripts necessary to get these running.

Initially this will be for investigation / knowledge transfer, but may turn into a meta bug to track enabling all of the various test suites there.

Let's turn this into a tracking bug.

Assignee: nobody → ahal
Status: NEW → ASSIGNED
Priority: P2 → P1
Summary: Enable wayland testing in Gecko → [meta] Enable wayland testing in Gecko

Quick status update, :aerickson has some standalone workers with Wayland enabled in a virtualbox vm. The plan will be to migrate these to a worker-manager managed pool eventually (he did standalone for now to get around some issues there). In the meantime, we can start getting patches going to support disabling tests running in wayland in the manifests, as well as start filing bugs for early issues we come across.

Depends on: 1833653

Also bug 1578640 already tracks the issues with Wayland, so let's keep this bug more focused on the test harness bits and CI tasks.

Alias: wayland-ci
Component: General → Task Configuration
Product: Testing → Firefox Build System
Version: Default → unspecified
Depends on: 1835698
See Also: → 1725245
Blocks: snap-wayland
Depends on: 1838018
Depends on: 1845320
Depends on: 1845765
Depends on: 1846788
Depends on: 1846819
Depends on: 1850409
Depends on: 1850531
Depends on: 1850533
Depends on: 1850536
Depends on: 1850541
Depends on: 1850549
Depends on: 1850551
Depends on: 1850606
Depends on: 1851019
Depends on: 1852774
Depends on: 1855344
Depends on: 1855845
Depends on: 1856358

(In reply to Andrew Halberstadt [:ahal] from comment #2)

Quick status update, :aerickson has some standalone workers with Wayland enabled in a virtualbox vm.

So apparently this means that we can't use pernosco with these jobs. I tried and reported the failure on matrix in the pernosco channel:

khuey
Pernosco has its own infrastructure to repro because Mozilla's VMs don't support perf counters
and that infrastructure is docker based because everything taskcluster based is (was) docker based

Is there a timeline on moving these to be docker based?

Flags: needinfo?(ahal)

There's some discussion on this in Slack. As of now we're blocked by a kernel bug, though it's unclear whether GCP or Canonical is the one that needs to fix it. More details in this Taskcluster issue and here's the Canonical ticket. It's possible we can find a workaround, though AIUI there's no clear path forward yet.

Flags: needinfo?(ahal)
Depends on: 1857319

Andrew I've seen a test running on Wayland/headless. From browser perspective that config is the same as X11/headless as headless means completely without display connection. On headless target gtk_init() isn't called and both GdkIsWaylandDisplay()/GdkIsX11Display() returns false.
So if we run headless tasks on X11 and Wayland we waste resources as it's identical environment.

Thanks, I'll take a look. I don't think I've enabled any Wayland headless tasks.

I can confirm there are no Wayland headless tasks configured to run on trunk. It's possible you saw some on try which could have happened if someone used --full which would allow them to schedule any task, not just the ones that are configured to run.

Depends on: 1861246
Depends on: 1864700
Depends on: 1865353
Depends on: 1891917
Depends on: 1874877
Depends on: 1900673
Depends on: 1900781
Depends on: 1903300
Depends on: 1912561
You need to log in before you can comment on or make changes to this bug.