I am on Big Sur, but run-webkit-tests is running tests in fast/images/text-recognition which are marked as Skip, but enabled for Monterey: [ Monterey+ ] fast/images/text-recognition [ Pass ] Bots are also seeing this: https://ews-build.s3-us-west-2.amazonaws.com/macOS-AppleSilicon-Big-Sur-Debug-WK2-Tests-EWS/r440671-14054/results.html
Some debugging shows that run-webkit-tests things my OS is "monterey" despite being 11.3. This is coming from: CURRENT_VERSION = Version(12, 0) in class MacPort(DarwinPort). In that __init__ function, we seem to be hitting the default clause: if not self._os_version: self._os_version = MacPort.CURRENT_VERSION host.platform.os_version is correct. When running open source tests, apple_additions() is None.
Fixed in https://trac.webkit.org/changeset/283850/webkit.
<rdar://problem/84053307>