-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
Got subprocess.TimeoutExpired
when run ./breeze --python 3.8 buildl-docs
on Apple M1 chip
#17310
Comments
Thanks for opening your first issue here! Be sure to follow the issue template! |
Looks like the doc just builds to slowly on the machine. I don’t think there’s much we can do here (except increasing the timeout, which is probably not that meaningful…) |
Also you can try to increase the number of CPUs that are available to docker engine. The Build will take advantage of as many CPUS as many you give it to and it will build the documentation in parallel. It looks like the timeout happens because some of the builds were scheduled to run (via paralell) and waited too long, so i f you increase number of CPUs, they will run much faster in general. (Please let us know how it works). Root caus of it is that M1 uses emulation (our Docker image is x86 one) so it will run much slower than native execution. Also another workaround is try to run it locally on Mac - as long as you have locally instlaled Just run Yet another workaround is that you can just build a single package using for example Taking into account a number of workarounds available and the fact that there is another ticket to implement native M1 docker #15635 I close this ticket as "won't fix". |
I've tried to increase CPUs to 8 and still got the same issue. However, the good news is that building a single package |
Glad to hear it helped :) |
Interestingly there are no issues running breeze on mac os (m1), but getting this error in a Linux VM(Ubuntu) Parallels. |
Never saw this issue on my linux/chromebook/MacOs :( |
BTW. Try --python 3.6 :) |
`Step 64/90 : RUN ln -sf /usr/bin/dumb-init /usr/local/bin/dumb-init ERROR: The previous step completed with error. Please take a look at output above ` |
Ah yeah. I believe the Docker Desktop for Mac has fixed the emulation but Ubuntu on Parallels on ARM still does not have it :( |
Apache Airflow version: 2.2.0.dev0
Python version: 3.8
Docker image: ghcr.io/apache/airflow-main-python3.8-ci-v2
Environment:
uname -a
): Darwin Kans-Mac-mini.local 20.5.0 Darwin Kernel Version 20.5.0: Sat May 8 05:10:31 PDT 2021; root:xnu-7195.121.3~9/RELEASE_ARM64_T8101 arm64What happened:
Got the error below when I run the command
./breeze --python 3.8 build-docs
.I think this is not related to the memory for Docker Engine since I've tried to increase it to 15GB.
What you expected to happen:
The build should be successful.
How to reproduce it:
./breeze --python 3.8 build-docs
on Apple M1 chip.TimeoutExpired
error.Anything else we need to know:
When I tried on my MacBook Pro 15", it works just fine. Here is the spec:
uname -a
): Darwin BearCamp.local 20.6.0 Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021; root:xnu-7195.141.2~5/RELEASE_X86_64 x86_64Please see the entire log below.
Entire Log
The text was updated successfully, but these errors were encountered: