| From: | Bilal Yavuz <byavuz81(at)gmail(dot)com> |
|---|---|
| To: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
| Subject: | kerberos/001_auth test fails on arm CPU darwin |
| Date: | 2022-09-26 10:45:59 |
| Message-ID: | CAN55FZ2R+XufuVgJ8ew_yDBk48PgXEBvyKNvnNdTTVyczbQj0g@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi hackers,
I wanted to add ARM CPU darwin to the CI but it seems
that kerberos/001_auth fails on ARM CPU darwin.
OS:
Darwin admins-Virtual-Machine.local 21.6.0 Darwin Kernel Version 21.6.0:
Wed Aug 10 14:26:07 PDT 2022; root:xnu-8020.141.5~2/RELEASE_ARM64_VMAPPLE
arm64
Error message:
Can't exec "kdb5_util": No such file or directory at
/Users/admin/pgsql/src/test/perl/PostgreSQL/Test/Utils.pm line 338.
[02:53:37.177](0.043s) Bail out! failed to execute command "kdb5_util
create -s -P secret0": No such file or directory
It seems that kerberos is installed at the '/opt/homebrew/opt/krb5' path on
ARM CPU darwin instances instead of the '/usr/local/opt/krb5' path.
I attached two patches:
0001-ci-Add-arm-CPU-for-darwin.patch is about adding ARM CPU darwin to the
CI.
0002-fix-darwin-ARM-CPU-darwin-krb5-path-fix.patch is about fixing the
error.
CI run after ARM CPU darwin is added:
https://cirrus-ci.com/build/5772792711872512
CI run after fix applied:
https://cirrus-ci.com/build/5686842363215872
Regards,
Nazir Bilal Yavuz
| Attachment | Content-Type | Size |
|---|---|---|
| 0001-ci-Add-arm-CPU-for-darwin.patch | application/octet-stream | 1.7 KB |
| 0002-fix-darwin-ARM-CPU-darwin-krb5-path-fix.patch | application/octet-stream | 1.0 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Amit Kapila | 2022-09-26 10:58:01 | Re: Perform streaming logical transactions by background workers and parallel apply |
| Previous Message | Drouvot, Bertrand | 2022-09-26 10:40:34 | Re: Query Jumbling for CALL and SET utility statements |