Safety level may not be changed inside a transaction: Circleci build fail with Coverage 5.0a2
See original GitHub issueI was running circleci build using tox to run against python version 3.6 and all my tests seems to be passing but crashed. This was the error message I got:
ERROR: InvocationError for command '/root/my-package/.tox/py36/bin/coverage run setup.py test' (exited with code 1)
___________________________________ summary ____________________________________
ERROR: py36: commands failed```
Failed CI build: https://circleci.com/gh/datadotworld/tap-redshift/78
I had also experienced this on another project i'm working on. Any pointers?
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
Safety level may not be changed inside a transaction: Circleci ...
This was the error message I got: Couldn't use data file '/root/my-package/.coverage': Safety level may not be changed inside a transaction
Read more >coveragepy - sqlite3.OperationalError: disk I/O error - coverage ...
Happens in Ubuntu docker image with circleci too but slight different error message is thrown.. Couldn't use data file '/home/circleci/project/test_results/.
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
I’m seeing this too! Python 3.6.0 on MacOS on Travis CI:
Thanks for finding it. We can close this again.