Build takes a lot of time and eventually crashes
See original GitHub issueDescribe the bug
Following the instructions to build docker images. My build process is stuck at pipenv sync
and eventually crashes
To Reproduce Steps to reproduce the behavior:
- RUN
make DOCKER_REGISTRY=${DOCKER_REGISTRY} PRESIDIO_LABEL=${PRESIDIO_LABEL} docker-build-deps
Fails while pipenv sync. Below is the log:
Step 10/12 : RUN pipenv sync
---> Running in a0dbab69a607
Creating a virtualenv for this project…
Pipfile: /usr/bin/presidio-analyzer/Pipfile
Using /usr/local/bin/python (3.7.1) to create virtualenv…
⠼ Creating virtual environment...Already using interpreter /usr/local/bin/python
Using base prefix '/usr/local'
New python executable in /root/.local/share/virtualenvs/presidio-analyzer-p_bm8iFt/bin/python
Installing setuptools, pip, wheel...
done.
✔ Successfully created virtual environment!
Virtualenv location: /root/.local/share/virtualenvs/presidio-analyzer-p_bm8iFt
Installing dependencies from Pipfile.lock (6725d2)…
The command '/bin/sh -c pipenv sync' returned a non-zero code: 137
make: *** [docker-build-deps] Error 137
This is after about 2 hours.
Expected behavior Build successfully completes.
Additional context I have a pretty fast internet connection, and I know pipenv can be slow. But I didn’t expect it to fail. Looking at: durations I see the builds are actually very slow ~80 mins
What can I do to fasten this or even the build to succeed.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
on first PC build games crash at random times. - Reddit
Your crashes are GPU driver related right ? If you're memory sticks are in slots 1&3 try 2&4. Probably won't help but just...
Read more >Article: Opening or modifying a process in Build takes a long ...
Sometimes attempts to open or modify a process in the Build tab takes a long time. This can be especially true for larger...
Read more >Top 10 Reasons Why Your Computer Keeps Crashing
1. A Device Is Not Correctly Seated · 2. Heat Can Cause Computers to Crash · 3. Your PC Is Crashing Because of...
Read more >c++ - Program only crashes as release build -- how to debug?
Through caveman debugging (ie, nasty printf() messages all over the place), I have determined the test method where the code is crashing, ...
Read more >Visual Studio 2019 constantly crashing - Microsoft Q&A
It's laggy, has a lot more quirks (like toolbox taking 30+ seconds to load, component properties blank, last opened class totally blank when ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks @Guppster. We’re working on improving our build time. See #214
Addressed in #252