Fwd: Can't run Web Tests locally on MacOS 12 device

140 views
Skip to first unread message

Alexis Hétu

unread,
Dec 16, 2021, 5:01:29 PM12/16/21
to blink-dev
+blink-dev

---------- Forwarded message ---------
De : Alexis Hétu <su...@google.com>
Date: jeu. 16 déc. 2021, à 16 h 42
Subject: Can't run Web Tests locally on MacOS 12 device
To: <chrome-...@google.com>


Hi all,

  When I try to run Web Tests locally on my 2017 iMac Pro or 2018 Macbook Pro, both on MacOS 12, I get this error:

No code signing authority for module at /usr/libexec/apache2/libphp7.so specified in LoadModule directive
  How do I fix that?

Thanks

Alexis

Dave Tapuska

unread,
Dec 16, 2021, 5:21:12 PM12/16/21
to Alexis Hétu, Nico Weber, blink-dev
I get it too.. I wonder if https://source.chromium.org/chromium/chromium/src/+/1156f94e35e73182126f17cf52c45f70a8d4c45b is the cause because my default system http conf doesn't have a PHP library.

Nico?

dave.

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAPB1aKAp9Nz9Dk%2BFQ5xXL0BmUeYkPAE%2Bjfs54OiRd2JA3wBc7Q%40mail.gmail.com.

Dave Tapuska

unread,
Dec 16, 2021, 5:32:18 PM12/16/21
to Alexis Hétu, Nico Weber, blink-dev
FYI... Seems PHP was removed in macOS Monterey. Nico sounds like we need to revert your patch.

dave

Nico Weber

unread,
Dec 16, 2021, 6:19:33 PM12/16/21
to Dave Tapuska, Alexis Hétu, blink-dev, Weizhong Xia
Hello,

Yes, that is known: https://bugs.chromium.org/p/chromium/issues/detail?id=1190885#c57 You can still run tests on macOS 11.

However, the old version doesn't work on arm machines. So reverting doesn't work either.

So we need to try to quickly finish the work to make a 3pp httpd package.

Weizhong Xia

unread,
Dec 16, 2021, 7:58:01 PM12/16/21
to Nico Weber, Dave Tapuska, Alexis Hétu, blink-dev
I have two CLs trying to create the 3pp package for this. Both of them met some kind of compile issue. I am in discussion with ppl to see how to fix that.

As mentioned in that crbug, we are able to successfully build httpd for mac arm with the checked-in script. I am not sure if this makes a viable workaround for those who need it urgently. 
 
I have been getting different signals about the priority.

thanks, Weizhong

Slade Watkins

unread,
Dec 20, 2021, 1:53:40 PM12/20/21
to Dave Tapuska, Alexis Hétu, Nico Weber, blink-dev
On Thu, Dec 16, 2021 at 5:32 PM Dave Tapuska <dtap...@chromium.org> wrote:
>
> FYI... Seems PHP was removed in macOS Monterey. Nico sounds like we need to revert your patch.

dave,
yes, PHP was removed in macOS 12.
https://developer.apple.com/forums/thread/681907

cheers,
slade

--
This email message may contain sensitive or otherwise confidential
information and is intended for the addressee(s) only. If you believe
to have received this message in error, please let the sender know
*immediately* and delete the message. Thank you for your cooperation!

Yoav Weiss

unread,
Dec 28, 2021, 6:10:11 AM12/28/21
to Slade Watkins, Dave Tapuska, Alexis Hétu, Nico Weber, blink-dev
Will you notify this thread when it's safe to upgrade to MacOS12?

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.

Slade Watkins

unread,
Jan 3, 2022, 1:47:24 PM1/3/22
to Yoav Weiss, Dave Tapuska, Alexis Hétu, Nico Weber, blink-dev
hi,
I have a feeling it'll be a while, but I can certainly try to let you know.

best,
slade



From: Yoav Weiss <yoav...@chromium.org>
Sent: Tuesday, December 28, 2021 6:09 AM
To: Slade Watkins <sl...@sladewatkins.com>
Cc: Dave Tapuska <dtap...@chromium.org>; Alexis Hétu <su...@google.com>; Nico Weber <tha...@chromium.org>; blink-dev <blin...@chromium.org>
Subject: Re: [blink-dev] Fwd: Can't run Web Tests locally on MacOS 12 device
 

Weizhong Xia

unread,
Jan 6, 2022, 3:36:28 PM1/6/22
to Nico Weber, Dave Tapuska, Alexis Hétu, blink-dev
Folks

I made a CL that disables php support in httpd for Mac12. With this change we will be able to run blink_web_tests locally on Mac12, with the side effect that tests that require php will fail. This is a temporary workaround to unblock those who need to run the test locally on mac12. This CL will be reverted once the work for 3pp packaging httpd is done, and another email will be sent out.

There is no impact to other platforms: win, linux or other mac versions.

thanks, Weizhong  

Alexis Hétu

unread,
Jan 6, 2022, 3:41:31 PM1/6/22
to Weizhong Xia, Nico Weber, Dave Tapuska, blink-dev
Thanks Weizhong! This will help local debugging of Web Tests on MacOS corp devices.

Jan Keitel

unread,
Feb 7, 2022, 1:29:05 PM2/7/22
to blink-dev, Alexis Hétu, Nico Weber, Dave Tapuska, blink-dev, weiz...@google.com
Weizhong,

Thank you for the patch - very helpful on MacOS 12.1. One naive question: Unless I comment out https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/tools/blinkpy/common/system/platform_info.py;l=195 the assert still stops me from running the web tests on my Mac OS 12.1 machine. Is there a flag that I can set to avoid having to do this or should this also be included in a CL?

Thanks,
Jan

Weizhong Xia

unread,
Feb 7, 2022, 1:52:01 PM2/7/22
to Jan Keitel, blink-dev, Alexis Hétu, Nico Weber, Dave Tapuska
Hi Jan

Thanks for reporting this. But I just run this on my Mac (version 12.2), and did not see this issue. Can you pls file a crbug against me and include all the details?

thanks, Weizhong

Jan Keitel

unread,
Feb 7, 2022, 2:50:16 PM2/7/22
to blink-dev, weiz...@google.com, blink-dev, Alexis Hétu, Nico Weber, Dave Tapuska, Jan Keitel
Hi Weizhong,


Cheers,
Jan

Weizhong Xia

unread,
Mar 17, 2022, 8:35:04 PM3/17/22
to Jan Keitel, blink-dev, Alexis Hétu, Nico Weber, Dave Tapuska
Hi Folks

FYI we have created the cipd package for mac, and blink_web_tests is switched to use httpd from that package. The previous workaround had been reverted. To run run_web_tests.py locally, pls run "gclient sync" to install the package first.

thanks, Weizhong
Reply all
Reply to author
Forward
0 new messages