Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: MacOS build error: hdiutil: create failed - Resource busy #914

Open
abrichr opened this issue Nov 6, 2024 · 1 comment
Open

[Bug]: MacOS build error: hdiutil: create failed - Resource busy #914

abrichr opened this issue Nov 6, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@abrichr
Copy link
Member

abrichr commented Nov 6, 2024

Describe the bug

https://github.com/OpenAdaptAI/OpenAdapt/actions/runs/11711420975/job/32619895005

2024-11-06T20:41:06.6360500Z hdiutil: create failed - Resource busy

To Reproduce

Merge a PR

@abrichr abrichr added the bug Something isn't working label Nov 6, 2024
@abrichr abrichr changed the title [Bug]: MacOS build error [Bug]: MacOS build error: hdiutil: create failed - Resource busy Nov 6, 2024
@abrichr abrichr changed the title [Bug]: MacOS build error: hdiutil: create failed - Resource busy [Bug]: MacOS build error: hdiutil: create failed - Resource busy Nov 6, 2024
@abrichr
Copy link
Member Author

abrichr commented Nov 6, 2024

Spontaneously resolved in https://github.com/OpenAdaptAI/OpenAdapt/actions/runs/11711420975/job/32622164689 by rerunning all workflows via Github UI.

Edit: a new error occurred in the Build python-semantic-release/[email protected] step:

Build container for action use: '/home/runner/work/_actions/python-semantic-release/python-semantic-release/v9.6.0/Dockerfile'.
  /usr/bin/docker build -t b443f5:11611f5cef0f45569567cc57b7541dc7 -f "/home/runner/work/_actions/python-semantic-release/python-semantic-release/v9.6.0/Dockerfile" "/home/runner/work/_actions/python-semantic-release/python-semantic-release/v9.6.0"
  #0 building with "default" instance using docker driver
  
  #1 [internal] load build definition from Dockerfile
  #1 transferring dockerfile: 740B done
  #1 DONE 0.0s
  
  #[2](https://github.com/OpenAdaptAI/OpenAdapt/actions/runs/11711420975/job/32622164689#step:2:2) [auth] library/python:pull token for registry-1.docker.io
  #2 DONE 0.0s
  
  #3 [internal] load metadata for docker.io/library/python:3.10-bullseye
  #3 DONE 0.5s
  
  #4 [internal] load .dockerignore
  #4 transferring context: 106B done
  #4 DONE 0.0s
  
  #5 [internal] load build context
  #5 transferring context: 404.64kB 0.0s done
  #5 DONE 0.0s
  
  #6 [1/6] FROM docker.io/library/python:[3](https://github.com/OpenAdaptAI/OpenAdapt/actions/runs/11711420975/job/32622164689#step:2:3).10-bullseye@sha256:400be671ab2b2bdd5206249bac9331060a0493d3c820[4](https://github.com/OpenAdaptAI/OpenAdapt/actions/runs/11711420975/job/32622164689#step:2:4)673e92bc7f4c1ab7134
  #6 resolve docker.io/library/python:3.10-bullseye@sha2[5](https://github.com/OpenAdaptAI/OpenAdapt/actions/runs/11711420975/job/32622164689#step:2:5)6:400be671ab2b2bdd5206249bac9331060a0493d3c8204673e92bc7f4c1ab7134 done
  #[6](https://github.com/OpenAdaptAI/OpenAdapt/actions/runs/11711420975/job/32622164689#step:2:6) sha256:e68167e8204bd3f0fc4da5685d24345200f6e0218922954598684fd8c3148860 2.33kB / 2.33kB done
  #6 sha256:99c539c6f53265d[7](https://github.com/OpenAdaptAI/OpenAdapt/actions/runs/11711420975/job/32622164689#step:2:7)398b56c208ca7cbf4f16d1714d21b9ed251a77bf75966bc2 0B / 15.76MB 0.1s
  #6 sha256:d07a20b1[8](https://github.com/OpenAdaptAI/OpenAdapt/actions/runs/11711420975/job/32622164689#step:2:8)2d5672c6ec8dca30220175ce5c60e45bf630d6adae50504d[9](https://github.com/OpenAdaptAI/OpenAdapt/actions/runs/11711420975/job/32622164689#step:2:9)2368ad 0B / 54.73MB 0.1s
  #6 sha256:b54dcdbbe5c1d62201fcee2dd2ca8ca09ec165f840a8a7a9fe05e7875b49b468 0B / 197.07MB 0.1s
  #6 sha256:400be671ab2b2bdd5206249bac933[10](https://github.com/OpenAdaptAI/OpenAdapt/actions/runs/11711420975/job/32622164689#step:2:10)60a0493d3c8204673e92bc7f4c1ab7134 5.23kB / 5.23kB done
  #6 sha256:fc8b0e547a396f57a943c55ab09b82bb1a0b08c98de955fcfd883ab20778b427 6.31kB / 6.31kB done
  #6 sha256:99c539c6f53265d7398b56c208ca7cbf4f16d1714d21b9ed251a77bf75966bc2 8.39MB / 15.76MB 0.3s
  #6 sha256:d07a20b182d5672c6ec8dca30220175ce5c60e45bf630d6adae50504d92368ad 12.58MB / 54.73MB 0.3s
  #6 sha256:99c539c6f53265d7398b56c208ca7cbf4f16d1714d21b9ed251a77bf75966bc2 [11](https://github.com/OpenAdaptAI/OpenAdapt/actions/runs/11711420975/job/32622164689#step:2:11).53MB / 15.76MB 0.4s
  #6 sha256:d07a20b182d5672c6ec8dca30220175ce5c60e45bf630d6adae50504d92368ad 25.17MB / 54.73MB 0.4s
  #6 sha256:b54dcdbbe5c1d62201fcee2dd2ca8ca09ec165f840a8a7a9fe05e7875b49b468 20.97MB / 197.07MB 0.4s
  #6 sha256:99c539c6f53265d7398b56c208ca7cbf4f16d1714d21b9ed251a77bf75966bc2 14.68MB / 15.76MB 0.5s
  #6 sha256:d07a20b182d5672c6ec8dca30220175ce5c60e45bf630d6adae50504d92368ad 39.85MB / 54.73MB 0.5s
  #6 sha256:99c539c6f53265d7398b56c208ca7cbf4f16d1714d21b9ed251a77bf75966bc2 15.76MB / 15.76MB 0.5s done
  #6 sha256:d07a20b182d5672c6ec8dca30220175ce5c60e45bf630d6adae50504d92368ad 54.73MB / 54.73MB 0.7s
  #6 extracting sha256:99c539c6f53265d7398b56c208ca7cbf4f16d1714d21b9ed251a77bf75966bc2
  #6 sha256:a7a98e622f926d1141bbfde4458925db3b86a8ad062b0e36a3b51b9c17193c22 3.15MB / 6.05MB 0.7s
  #6 sha256:d07a20b182d5672c6ec8dca30220175ce5c60e45bf630d6adae50504d92368ad 54.73MB / 54.73MB 0.7s done
  #6 sha256:b54dcdbbe5c1d62201fcee2dd2ca8ca09ec165f840a8a7a9fe05e7875b49b468 33.55MB / 197.07MB 0.8s
  #6 sha256:a7a98e622f926d1141bbfde4458925db3b86a8ad062b0e36a3b51b9c17193c22 5.24MB / 6.05MB 0.8s
  #6 sha256:c60017083ea2f7cc38a25f67631f609481c8765d80d90a3a9ea4ef0140ac7223 2.10MB / 21.64MB 0.8s
  #6 sha256:b54dcdbbe5c1d62201fcee2dd2ca8ca09ec165f840a8a7a9fe05e7875b49b468 44.04MB / 197.07MB 0.9s
  #6 sha256:a7a98e622f926d1141bbfde4458925db3b86a8ad062b0e36a3b51b9c17193c22 6.05MB / 6.05MB 0.8s done
  #6 sha256:c60017083ea2f7cc38a25f67631f609481c8765d80d90a3a9ea4ef0140ac7223 [12](https://github.com/OpenAdaptAI/OpenAdapt/actions/runs/11711420975/job/32622164689#step:2:12).58MB / 21.64MB 0.9s
  #6 sha256:7d2fb4074deecc6fb5e784c8be200eb60672757da8764d6b5d428a8612b38708 0B / 250B 0.9s
  #6 sha256:c60017083ea2f7cc38a25f67631f609481c8765d80d90a3a9ea4ef0140ac7223 16.78MB / 21.64MB 1.0s
  #6 0.304 Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
  #6 0.392 Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8066 kB]
  #6 0.540 Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [307 kB]
  #6 0.593 Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [18.8 kB]
  #6 1.349 Fetched 8579 kB in 1s (7392 kB/s)
  #6 1.349 Reading package lists...
  #6 1.693 + apt-get install -y --no-install-recommends git-lfs
  #6 1.703 Reading package lists...
  #6 2.040 Building dependency tree...
  #6 2.117 Reading state information...
  #6 2.216 The following NEW packages will be installed:
  #6 2.217   git-lfs
  #6 2.265 0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
  #6 2.265 Need to get 3222 kB of archives.
  #6 2.265 After this operation, 11.2 MB of additional disk space will be used.
  #6 2.265 Get:1 http://deb.debian.org/debian bullseye/main amd64 git-lfs amd64 2.[13](https://github.com/OpenAdaptAI/OpenAdapt/actions/runs/11711420975/job/32622164689#step:2:13).2-1+b5 [3222 kB]
  #6 33.30 Err:1 http://deb.debian.org/debian bullseye/main amd64 git-lfs amd64 2.13.2-1+b5
  #6 33.30   Connection timed out [IP: 199.232.98.132 80]
  #6 33.30 E: Failed to fetch http://deb.debian.org/debian/pool/main/g/git-lfs/git-lfs_2.13.2-1%2bb5_amd64.deb  Connection timed out [IP: 199.232.98.132 80]
  #6 33.30 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
  #6 ERROR: process "/bin/sh -c set -ex;     apt-get update;     apt-get install -y --no-install-recommends     git-lfs" did not complete successfully: exit code: 100
  ------
   > [2/6] RUN set -ex;     apt-get update;     apt-get install -y --no-install-recommends     git-lfs:
  2.2[16](https://github.com/OpenAdaptAI/OpenAdapt/actions/runs/11711420975/job/32622164689#step:2:16) The following NEW packages will be installed:
  2.2[17](https://github.com/OpenAdaptAI/OpenAdapt/actions/runs/11711420975/job/32622164689#step:2:17)   git-lfs
  2.265 0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
  2.265 Need to get 3222 kB of archives.
  2.265 After this operation, 11.2 MB of additional disk space will be used.
  2.265 Get:1 http://deb.debian.org/debian bullseye/main amd64 git-lfs amd64 2.13.2-1+b5 [3222 kB]
  33.30 Err:1 http://deb.debian.org/debian bullseye/main amd64 git-lfs amd64 2.13.2-1+b5
  33.30   Connection timed out [IP: [19](https://github.com/OpenAdaptAI/OpenAdapt/actions/runs/11711420975/job/32622164689#step:2:19)9.232.98.132 80]
  33.30 E: Failed to fetch http://deb.debian.org/debian/pool/main/g/git-lfs/git-lfs_2.13.2-1%2bb5_amd64.deb  Connection timed out [IP: 199.[23](https://github.com/OpenAdaptAI/OpenAdapt/actions/runs/11711420975/job/32622164689#step:2:23)2.98.132 80]
  33.30 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
  ------
  Dockerfile:4
  --------------------
     3 |     
     4 | >>> RUN set -ex; \
     5 | >>>     apt-get update; \
     6 | >>>     apt-get install -y --no-install-recommends \
     7 | >>>     git-lfs
     8 |     
  --------------------
  ERROR: failed to solve: process "/bin/sh -c set -ex;     apt-get update;     apt-get install -y --no-install-recommends     git-lfs" did not complete successfully: exit code: 100
  Warning: Docker build failed with exit code 1, back off 4.594 seconds before retry.
  /usr/bin/docker build -t b443f5:11611f5cef0f45569567cc57b7541dc7 -f "/home/runner/work/_actions/python-semantic-release/python-semantic-release/v9.6.0/Dockerfile" "/home/runner/work/_actions/python-semantic-release/python-semantic-release/v9.6.0"
  #0 building with "default" instance using docker driver
  
  #1 [internal] load build definition from Dockerfile
  #1 transferring dockerfile: 740B done

Rebuilding failed jobs with debug log enabled was successful: https://github.com/OpenAdaptAI/OpenAdapt/actions/runs/11713372927/job/32626019292

@abrichr abrichr closed this as completed Nov 6, 2024
@abrichr abrichr reopened this Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant