Bug #21318
open
Itermittent test failures in jenkins: ActiveRecord::NoEnvironmentInSchemaError: in plugins jenkins PRs
Added by Ivan Necas almost 7 years ago.
Updated almost 7 years ago.
Description
I've started noticing error when bundle exec rake db:drop
call happended
ActiveRecord::NoEnvironmentInSchemaError:
Environment data not found in the schema. To resolve this issue, run:
bin/rails db:environment:set RAILS_ENV=development
- Subject changed from Itermittent test failures in jenkins: ActiveRecord::NoEnvironmentInSchemaError: to Itermittent test failures in jenkins: ActiveRecord::NoEnvironmentInSchemaError: in plugins jenkins PRs
Interesting thing is that I have started seeing this as intermittent failures, so it doesn't seem to be 100% reproducible.
In foreman tests, we have, which I suppose prevents this errors to happen there
bundle exec rake db:drop DISABLE_DATABASE_ENVIRONMENT_CHECK=true
Also available in: Atom
PDF