NEW280378
[ Sequoia arm64 ] 14x http/tests/media/fairplay/* are constant failures
https://bugs.webkit.org/show_bug.cgi?id=280378
Summary [ Sequoia arm64 ] 14x http/tests/media/fairplay/* are constant failures
Anfernee Viduya
Reported 2024-09-25 18:23:46 PDT
http/tests/media/fairplay/fps-hls-key-rotation.html http/tests/media/fairplay/fps-hls-update-reject.html http/tests/media/fairplay/fps-hls.html http/tests/media/fairplay/fps-init-data-cenc.html http/tests/media/fairplay/fps-init-data-sinf.html http/tests/media/fairplay/fps-init-data-skd.html http/tests/media/fairplay/fps-mse-multi-key-renewal.html http/tests/media/fairplay/fps-mse-play-while-not-in-dom.html http/tests/media/fairplay/fps-mse-unmuxed-audio-only.html http/tests/media/fairplay/fps-mse-unmuxed-key-renewal.html http/tests/media/fairplay/fps-mse-unmuxed-key-rotation.html http/tests/media/fairplay/fps-mse-unmuxed-multiple-keys.html http/tests/media/fairplay/fps-mse-unmuxed-same-key.html http/tests/media/fairplay/legacy-fairplay-hls.html are constant text failure. HISTORY: https://results.webkit.org/?suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&test=http%2Ftests%2Fmedia%2Ffairplay%2Ffps-hls-key-rotation.html&test=http%2Ftests%2Fmedia%2Ffairplay%2Ffps-hls-update-reject.html&test=http%2Ftests%2Fmedia%2Ffairplay%2Ffps-hls.html&test=http%2Ftests%2Fmedia%2Ffairplay%2Ffps-init-data-cenc.html&test=http%2Ftests%2Fmedia%2Ffairplay%2Ffps-init-data-sinf.html&test=http%2Ftests%2Fmedia%2Ffairplay%2Ffps-init-data-skd.html&test=http%2Ftests%2Fmedia%2Ffairplay%2Ffps-mse-multi-key-renewal.html&test=http%2Ftests%2Fmedia%2Ffairplay%2Ffps-mse-play-while-not-in-dom.html&test=http%2Ftests%2Fmedia%2Ffairplay%2Ffps-mse-unmuxed-audio-only.html&test=http%2Ftests%2Fmedia%2Ffairplay%2Ffps-mse-unmuxed-key-renewal.html&test=http%2Ftests%2Fmedia%2Ffairplay%2Ffps-mse-unmuxed-key-rotation.html&test=http%2Ftests%2Fmedia%2Ffairplay%2Ffps-mse-unmuxed-multiple-keys.html&test=http%2Ftests%2Fmedia%2Ffairplay%2Ffps-mse-unmuxed-same-key.html&test=http%2Ftests%2Fmedia%2Ffairplay%2Flegacy-fairplay-hls.html DIFF All tests are producing this diff. +Server returned malformed response: SyntaxError: The string did not match the expected pattern. FAIL DIFF LINK: https://build.webkit.org/results/Apple-Sequoia-Release-AppleSilicon-WK2-Tests/284242%40main%20(65)/results.html# REPRODUCIBILITY: I was not able to reproduce locally. DESCRIPTION: This has been failing since Sequoia bring up.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-09-25 18:24:00 PDT
Anfernee Viduya
Comment 2 2024-09-25 18:46:38 PDT
EWS
Comment 3 2024-09-25 18:49:38 PDT
Test gardening commit 284257@main (4e564de91bd1): <https://commits.webkit.org/284257@main> Reviewed commits have been landed. Closing PR #34275 and removing active labels.
Anfernee Viduya
Comment 4 2024-09-26 08:51:14 PDT
EWS
Comment 5 2024-09-26 08:54:39 PDT
Test gardening commit 284288@main (e3ce412f95c0): <https://commits.webkit.org/284288@main> Reviewed commits have been landed. Closing PR #34304 and removing active labels.
Anfernee Viduya
Comment 6 2024-10-08 14:05:01 PDT
EWS
Comment 7 2024-10-08 14:08:11 PDT
Test gardening commit 284843@main (7bceb4d559e8): <https://commits.webkit.org/284843@main> Reviewed commits have been landed. Closing PR #34864 and removing active labels.
Anfernee Viduya
Comment 8 2024-10-08 14:08:47 PDT
(In reply to Anfernee Viduya from comment #6) > Pull request: https://github.com/WebKit/WebKit/pull/34864 New Debug Sequoia builders were brought up and these tests were failing. Adjusted proper expectations cover the debug builders.
Jer Noble
Comment 9 2024-10-30 11:40:27 PDT
It looks like these tests are failing due to a failure to initialize the correct prerequisites for the FairPlay Keyserver: https://build.webkit.org/results/Apple-Sequoia-Release-AppleSilicon-WK2-Tests/285903@main%20(534)/error_log.txt [Wed Oct 30 09:41:01.217948 2024] [cgi:error] [pid 71118] [client 127.0.0.1:62642] AH01215: subprocess.CalledProcessError: Command '['/Applications/Xcode.app/Contents/Developer/usr/bin/python3', '/tmp/Crypto-71781/pycryptodome-3.10.1/setup.py', 'install', '--home=/Volumes/Data/worker/Apple-Sequoia-Release-AppleSilicon-WK2-Tests/build/Tools/Scripts/libraries/autoinstalled/python-3-arm64', '--root=/', '--prefix=', '--install-lib=/Volumes/Data/worker/Apple-Sequoia-Release-AppleSilicon-WK2-Tests/build/Tools/Scripts/libraries/autoinstalled/python-3-arm64', '--install-scripts=/Volumes/Data/worker/Apple-Sequoia-Release-AppleSilicon-WK2-Tests/build/Tools/Scripts/libraries/autoinstalled/python-3-arm64/bin', '--install-data=/Volumes/Data/worker/Apple-Sequoia-Release-AppleSilicon-WK2-Tests/build/Tools/Scripts/libraries/autoinstalled/python-3-arm64/data', '--install-headers=/Volumes/Data/worker/Apple-Sequoia-Release-AppleSilicon-WK2-Tests/build/Tools/Scripts/libraries/autoinstalled/python-3-arm64/headers']' returned non-zero exit status 1.: /Volumes/Data/worker/Apple-Sequoia-Release-AppleSilicon-WK2-Tests/build/LayoutTests/http/tests/media/fairplay/resources/index.py, referer: http://127.0.0.1:8000/media/fairplay/fps-hls-key-rotation.html
Sam Sneddon [:gsnedders]
Comment 10 2024-10-31 11:09:16 PDT
Traceback (most recent call last): File "/tmp/Crypto-71781/pycryptodome-3.10.1/setup.py", line 478, in <module> setup( File "/Volumes/Data/worker/Apple-Sequoia-Release-AppleSilicon-WK2-Tests/build/Tools/Scripts/libraries/autoinstalled/python-3-arm64/setuptools/__init__.py", line 153, in setup return distutils.core.setup(**attrs) File "/Volumes/Data/worker/Apple-Sequoia-Release-AppleSilicon-WK2-Tests/build/Tools/Scripts/libraries/autoinstalled/python-3-arm64/setuptools/_distutils/core.py", line 109, in setup _setup_distribution = dist = klass(attrs) File "/Volumes/Data/worker/Apple-Sequoia-Release-AppleSilicon-WK2-Tests/build/Tools/Scripts/libraries/autoinstalled/python-3-arm64/setuptools/dist.py", line 459, in __init__ _Distribution.__init__( File "/Volumes/Data/worker/Apple-Sequoia-Release-AppleSilicon-WK2-Tests/build/Tools/Scripts/libraries/autoinstalled/python-3-arm64/setuptools/_distutils/dist.py", line 293, in __init__ self.finalize_options() File "/Volumes/Data/worker/Apple-Sequoia-Release-AppleSilicon-WK2-Tests/build/Tools/Scripts/libraries/autoinstalled/python-3-arm64/setuptools/dist.py", line 836, in finalize_options for ep in sorted(loaded, key=by_order): File "/Volumes/Data/worker/Apple-Sequoia-Release-AppleSilicon-WK2-Tests/build/Tools/Scripts/libraries/autoinstalled/python-3-arm64/setuptools/dist.py", line 835, in <lambda> loaded = map(lambda e: e.load(), filtered) File "/Volumes/Data/worker/Apple-Sequoia-Release-AppleSilicon-WK2-Tests/build/Tools/Scripts/libraries/autoinstalled/python-3-arm64/pkg_resources/__init__.py", line 2464, in load self.require(*args, **kwargs) File "/Volumes/Data/worker/Apple-Sequoia-Release-AppleSilicon-WK2-Tests/build/Tools/Scripts/libraries/autoinstalled/python-3-arm64/pkg_resources/__init__.py", line 2487, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) File "/Volumes/Data/worker/Apple-Sequoia-Release-AppleSilicon-WK2-Tests/build/Tools/Scripts/libraries/autoinstalled/python-3-arm64/pkg_resources/__init__.py", line 782, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (setuptools 59.8.0 (/Volumes/Data/worker/Apple-Sequoia-Release-AppleSilicon-WK2-Tests/build/Tools/Scripts/libraries/autoinstalled/python-3-arm64), Requirement.parse('setuptools>=61.0')) And that requirement seems to be coming from: /Library/Python/3.9/site-packages/incremental-24.7.2.dist-info/METADATA:Requires-Dist: setuptools >=61.0
Anfernee Viduya
Comment 11 2024-11-02 10:15:10 PDT
Additional info, these two tests recently regressed to fail on all queues now instead of a select few with a different diff. Regression seems to point to 285731@main http/tests/media/fairplay/fps-mse-unmuxed-key-rotation.html http/tests/media/fairplay/legacy-fairplay-hls.html DIFF: EVENT(webkitneedkey) FETCH: resources/cert.der OK -EVENT(webkitkeymessage) -PROMISE: licenseResponse resolved -EVENT(canplaythrough) +EVENT(webkitkeyerror) +FAIL: update() failed with code: undefined, systemCode: undefined
EWS
Comment 12 2025-07-31 16:14:51 PDT
Test gardening commit 298106@main (3fd59228c4d8): <https://commits.webkit.org/298106@main> Reviewed commits have been landed. Closing PR #48800 and removing active labels.
Bryan Medina
Comment 13 2025-07-31 16:15:08 PDT
Updated test expectation for: http/tests/media/fairplay/fps-mse-play-while-not-in-dom.html As it is now flakey failing on both architectures of macOS Sequoia wk2.
Bryan Medina
Comment 14 2025-08-22 13:06:56 PDT
*** Bug 297803 has been marked as a duplicate of this bug. ***
Bryan Medina
Comment 15 2025-08-22 13:13:21 PDT
Updated test expectation for: http/tests/media/fairplay/fps-mse-play-while-not-in-dom.html As it is now impacting all of macOS
EWS
Comment 16 2025-08-22 13:18:23 PDT
Test gardening commit 299071@main (58b98437ef18): <https://commits.webkit.org/299071@main> Reviewed commits have been landed. Closing PR #49789 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.