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.

Safety level may not be changed inside a transaction: Circleci build fail with Coverage 5.0a2

See original GitHub issue

I 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:closed
  • Created 5 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
mgedmincommented, Jan 16, 2020
0reactions
nedbatcommented, Jan 18, 2020

Thanks for finding it. We can close this again.

Read more comments on GitHub >

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

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