Re: CI, macports, darwin version problems
Joe Conway <mail@joeconway.com>
From: Joe Conway <mail@joeconway.com>
To: Nazir Bilal Yavuz <byavuz81@gmail.com>
Cc: Thomas Munro <thomas.munro@gmail.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-18T14:01:44Z
Lists: pgsql-hackers
On 7/18/24 08:55, Nazir Bilal Yavuz wrote: > Hi, > > On Thu, 18 Jul 2024 at 15:00, Joe Conway <mail@joeconway.com> wrote: >> >> On 7/18/24 07:55, Joe Conway wrote: >> > On 7/18/24 04:12, Nazir Bilal Yavuz wrote: >> >> Could it be pulling the ''macos-runner:sonoma' image on every run? >> > >> > Or perhaps since this was the first run it simply needed to pull the >> > image for the first time? > > It was not the first run, Thomas rerun it a couple of times but all of > them were in the same build. So, I thought that CI may set some > settings to pull the image while starting the build, so it > re-downloads the image for all the tasks in the same build. But that > looks wrong because of what you said below. > >> > >> > The scheduling timing (21:24) looks a lot like what I observed when I >> > did the test for the time to download. Unfortunately I did not time the >> > test though. >> >> Actually it does look like the image is gone now based on the free space >> on the volume, so maybe it is pulling every run and cleaning up rather >> than caching for some reason? >> >> Filesystem Size Used Avail Capacity >> /dev/disk3s5 228Gi 39Gi 161Gi 20% > > That is interesting. Only one thing comes to my mind. It seems that > the 'tart prune' command runs automatically to reclaim space when > there is no space left and thinks it can reclaim the space by removing > some things [1]. So, it could be that somehow 'tart prune' ran > automatically and deleted the sonoma image. I think you can check if > this is the case. You can check these locations [2] from ci-user to > see when ventura images are created. If they have been created less > than 1 day ago, I think the current space is not enough to pull both > ventura and sonoma images. I think you nailed it (this will wrap badly): 8<----------------- macmini:~ ci-run$ ll ~/.tart/cache/OCIs/ghcr.io/cirruslabs/* /Users/ci-run/.tart/cache/OCIs/ghcr.io/cirruslabs/macos-runner: total 0 drwxr-xr-x 2 ci-run staff 64 Jul 17 23:53 . drwxr-xr-x 5 ci-run staff 160 Jul 17 17:16 .. /Users/ci-run/.tart/cache/OCIs/ghcr.io/cirruslabs/macos-sonoma-base: total 0 drwxr-xr-x 2 ci-run staff 64 Jul 17 13:18 . drwxr-xr-x 5 ci-run staff 160 Jul 17 17:16 .. /Users/ci-run/.tart/cache/OCIs/ghcr.io/cirruslabs/macos-ventura-base: total 0 drwxr-xr-x 4 ci-run staff 128 Jul 17 23:53 . drwxr-xr-x 5 ci-run staff 160 Jul 17 17:16 .. lrwxr-xr-x 1 ci-run staff 140 Jul 17 23:53 latest -> /Users/ci-run/.tart/cache/OCIs/ghcr.io/cirruslabs/macos-ventura-base/sha256:bddfa1e2b6f6ec41b5db844b06a6784a2bffe0b071965470efebd95ea3355b4f drwxr-xr-x 5 ci-run staff 160 Jul 17 23:53 sha256:bddfa1e2b6f6ec41b5db844b06a6784a2bffe0b071965470efebd95ea3355b4f 8<----------------- So perhaps I am back to needing more storage... -- Joe Conway PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com
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