Issue #6771 has been updated by Daniel Pittman.

Status changed from Accepted to In Topic Branch Pending Review
Branch set to https://github.com/puppetlabs/puppet/pull/406

...and in the spirit of doing what I say, here is that change, made flesh.
----------------------------------------
Bug #6771: Mysterious ActiveRecord disk I/O Error
https://projects.puppetlabs.com/issues/6771

Author: Max Martin
Status: In Topic Branch Pending Review
Priority: Normal
Assignee: 
Category: testing
Target version: 2.7.x
Affected Puppet version: 
Keywords: 
Branch: https://github.com/puppetlabs/puppet/pull/406


Some of us (but not others) have been getting a mysterious failure when running 
the spec tests:

    Failures:

    1) Puppet::Node::ActiveRecord should call fact_merge when a node is found
     Failure/Error: ar = Puppet::Node::ActiveRecord.new
     ActiveRecord::StatementInvalid:
       SQLite3::IOException: disk I/O error: CREATE TABLE "resources" ("id" 
INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" text NOT NULL, "restype" 
varchar(255) NOT NULL, "host_id" integer, "source_file_id" integer, "exported" 
boolean, "line" integer, "updated_at" datetime, "created_at" datetime) 
     # ./spec/../lib/puppet/rails/database/schema.rb:9:in `init'
     # ./spec/../lib/puppet/rails/database/schema.rb:8:in `init'
     # ./lib/puppet/util.rb:193:in `benchmark'
     # ./lib/puppet/util.rb:192:in `benchmark'
     # ./spec/../lib/puppet/rails/database/schema.rb:4:in `init'
     # ./spec/../lib/puppet/rails.rb:81:in `init'
     # ./spec/../lib/puppet/indirector/active_record.rb:17:in `initialize'
     # ./spec/unit/indirector/node/active_record_spec.rb:31:in `new'
     # ./spec/unit/indirector/node/active_record_spec.rb:31

Finished in 250.66 seconds
11249 examples, 1 failure, 45 pending

On my machine, it could be due to some weirdness with homebrew-installed SQLite.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to