question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build takes a lot of time and eventually crashes

See original GitHub issue

Describe 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:

  1. 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:closed
  • Created 4 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
omri374commented, Sep 8, 2019

Thanks @Guppster. We’re working on improving our build time. See #214

0reactions
omri374commented, Jan 1, 2020

Addressed in #252

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found