Re: CI, macports, darwin version problems
Nazir Bilal Yavuz <byavuz81@gmail.com>
From: Nazir Bilal Yavuz <byavuz81@gmail.com>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Joe Conway <mail@joeconway.com>, Andres Freund <andres@anarazel.de>,
Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers <pgsql-hackers@postgresql.org>, Christophe Pettus <christophe.pettus@pgexperts.com>
Date: 2024-07-18T08:12:35Z
Lists: pgsql-hackers
Hi, On Thu, 18 Jul 2024 at 07:40, Thomas Munro <thomas.munro@gmail.com> wrote: > > On Thu, Jul 18, 2024 at 9:58 AM Joe Conway <mail@joeconway.com> wrote: > > On 7/17/24 16:41, Andres Freund wrote: > > > Does "tart pull ghcr.io/cirruslabs/macos-runner:sonoma" as the CI user > > > succeed? > > > > Yes, with about 25 GB to spare. > > Thanks. Now it works! But for some reason it spends several minutes > in the "scheduling" stage before it starts. Are there any logs that > might give a clue what it was doing, for example for this run? > > https://cirrus-ci.com/task/5963784852865024 Could it be pulling the ''macos-runner:sonoma' image on every run? I cross-compared and for every new version of the 'macos-sonoma-base:latest' image [1]; scheduling takes ~4 minutes [2]. Then, it takes a couple of seconds [2] for the consecutive runs until a new version of the image is released. Also, from their manifest; the uncompressed size of the runner image is 5x of the sonoma-base image [3]. This is very close to scheduling time differences between 'macos-runner:sonoma' and 'newly pulled macos-sonoma-base:latest' (22mins / 4 mins). [1] https://github.com/cirruslabs/macos-image-templates/pkgs/container/macos-sonoma-base/versions [2] https://cirrus-ci.com/task/5299490515582976 -> 4 minutes, first pull https://cirrus-ci.com/task/6081946936147968 -> 20 seconds https://cirrus-ci.com/task/6078712070799360 -> 4 minutes, new version of the image was released on the same day (6th of July) https://cirrus-ci.com/task/6539977129984000 -> 40 seconds https://cirrus-ci.com/task/5839361126694912 -> 40 seconds https://cirrus-ci.com/task/6708845278396416 -> 4 minutes, new version of the image was released a day ago [3] https://github.com/cirruslabs/macos-image-templates/pkgs/container/macos-sonoma-base/245087497?tag=latest https://github.com/orgs/cirruslabs/packages/container/macos-runner/242649219?tag=sonoma -- Regards, Nazir Bilal Yavuz Microsoft
Commits
-
ci: Pin MacPorts version to 2.9.3.
- 541f493dc128 15.8 landed
- daca4f1419e8 16.4 landed
- 5f03da8518ce 17.0 landed
- 64c39bd5047e 18.0 landed
-
ci: Upgrade macOS version from 13 to 14.
- 0151b4d6bdf0 15.8 landed
- 9302f6fa58ba 16.4 landed
- f8c1bb2bb90d 17.0 landed
- d01ce180d9b5 18.0 landed