Project

General

Profile

Actions

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.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

Actions #1

Updated by Ivan Necas almost 7 years ago

  • 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
Actions

Also available in: Atom PDF