Comments (5)
The problem is a small drive size assigned to the ETL machines. I only wanted to confirm that grcov is removing its temp directory.
from grcov.
It should be, unless it doesn't exit cleanly.
Can you make sure the process is exiting cleanly?
from grcov.
The best way to handle it would be to use the subprocess as a context manager, otherwise you can implement this yourself: https://github.com/python/cpython/blob/3.5/Lib/subprocess.py#L711 (you'll just need to close the stdout pipe which you are opening at https://github.com/klahnakoski/ActiveData-ETL/blob/aef50f14f05720b79bfd2e45ecea6ec04c48bc68/activedata_etl/transforms/gcov_to_es.py#L240 and then call wait for waiting the termination of the process).
from grcov.
OK, I think I am doing it correctly now [1]. I do get an error, but I do not know if it is a symptom, or a cause, or both. I suspect the drive size on the workers is too small (6gigs).
ip-172-31-0-15 (pid 16960) - 2017-06-26 01:54:08 - ETL Loop 0 - "gcov_to_es.py:186" (run_grcov) - WARNING: grcov error
[
"thread '<unnamed>' panicked at 'Failed to copy file from ZIP: Error { repr: Os { code: 28, message: \"No space left on device\" } }', /checkout/src/libcore/result.rs:860",
"note: Run with `RUST_BACKTRACE=1` for a backtrace."
]
File "/home/ubuntu/ActiveData-ETL/activedata_etl/transforms/gcov_to_es.py", line 186, in run_grcov
File "/home/ubuntu/ActiveData-ETL/activedata_etl/transforms/gcov_to_es.py", line 120, in generator
File "/home/ubuntu/ActiveData-ETL/pyLibrary/aws/s3.py", line 347, in write_lines
File "/home/ubuntu/ActiveData-ETL/activedata_etl/sinks/s3_bucket.py", line 90, in write_lines
File "/home/ubuntu/ActiveData-ETL/activedata_etl/transforms/gcov_to_es.py", line 133, in process_directory
File "/home/ubuntu/ActiveData-ETL/activedata_etl/transforms/gcov_to_es.py", line 67, in process_gcda_artifact
File "/home/ubuntu/ActiveData-ETL/activedata_etl/transforms/cov_to_es.py", line 86, in process
File "activedata_etl/etl.py", line 182, in _dispatch_work
File "activedata_etl/etl.py", line 309, in loop
File "/home/ubuntu/ActiveData-ETL/mo_threads/threads.py", line 216, in _run
from grcov.
How big is /tmp?
Have you cleaned up the old directories under /tmp?
I can add a new argument to grcov to let you extract the files in a different directory if /tmp is too small.
from grcov.
Related Issues (20)
- Option to use local bulma instead of jsdelivr CDN HOT 1
- src/producer.rs:544: No input files found HOT 3
- The way to guarantee the the safety of alignment issues
- html report differs from lcov report HOT 2
- grcov --threads parameter is not passed to sub commands HOT 1
- Benchmarks are broken
- Evaluate using Profile-Guided Optimization (PGO) and LLVM BOLT HOT 1
- Impossible to ignore filenames containing digits
- GitHub release 0.8.19 missing? HOT 2
- grcov get more excute times HOT 1
- Exit code is 0 even in case of fatal error
- Output Location Seems Inconsistent
- It seems that grcov can't work with cxx bridge HOT 1
- Question about `--ignore <PATH>` option HOT 1
- Cannot generate report from Meson's out-of-tree build with GCC's coverage instrumentation HOT 5
- Possible to exclude functions matching a pattern for name
- grcov gives an error to open some unknown file
- Fails to build with `--locked` due to an old `time` crate version
- gcov detection fails on Windows if version is found at end of line
- grcov 0.8.19 panics with "`Option::unwrap()` on a `None` value" on Windows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grcov.