hudmol/archivesspace — pull request #721 by marktriggs (2014-03-06 04:21:58+00:00)
Title: Note persistent id linkages

Hey Brian,

We've made some changes to bring in persistent IDs on notes (which were previously being ignored), and now we're seeing some test failures. I think the EAD mappings would have covered persistent_ids, but it never would have seen one because we weren't auto-generating them if missing until now.

The tests we're seeing failing are below. Can you point us in the right direction for fixing them up? I'll assign the PR to you for now :)

Thanks,

Mark

[java] Failures:
[java]
[java] 1) Export Mappings EAD export mappings How the /ead/archdesc section gets built >> behaves like archival object desc mappings How {archival_object}.notes data are mapped >> maps notes of type 'langmaterial' to did/langmaterial
[java] Failure/Error: node.should_not have_attribute(trib)
[java] Unexpected attribute 'id' on node 'langmaterial'.
[java] Shared Example Group: "archival object desc mappings" called from ./spec/export_mappings_spec.rb:758
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-expectations-2.12.0/lib/rspec/expectations/fail_with.rb:33:in `fail_with'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-expectations-2.12.0/lib/rspec/expectations/handler.rb:57:in `handle_matcher'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-expectations-2.12.0/lib/rspec/expectations/syntax.rb:57:in `should_not'
[java] # ./spec/export_mappings_spec.rb:96:in `test_mapping_template'
[java] # ./spec/export_mappings_spec.rb:76:in `mt'
[java] # ./spec/export_mappings_spec.rb:501:in `(root)'
[java] # org/jruby/RubyArray.java:1613:in `each'
[java] # org/jruby/RubyEnumerable.java:947:in `each_with_index'
[java] # ./spec/export_mappings_spec.rb:498:in `(root)'
[java] # org/jruby/RubyBasicObject.java:1536:in `instance_eval'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:114:in `run'
[java] # org/jruby/RubyProc.java:290:in `call'
[java] # org/jruby/RubyProc.java:271:in `call'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:179:in `run'
[java] # ./spec/spec_helper.rb:285:in `(root)'
[java] # ./app/lib/request_context.rb:24:in `open'
[java] # ./spec/spec_helper.rb:279:in `(root)'
[java] # ./spec/spec_helper.rb:234:in `as_test_user'
[java] # ./spec/spec_helper.rb:278:in `(root)'
[java] # ./app/model/db.rb:117:in `open'
[java] # ./app/model/db.rb:93:in `transaction'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/query.rb:323:in `_transaction'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/query.rb:285:in `transaction'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/connecting.rb:240:in `synchronize'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/query.rb:278:in `transaction'
[java] # ./app/model/db.rb:92:in `transaction'
[java] # ./app/model/db.rb:116:in `open'
[java] # org/jruby/RubyFixnum.java:280:in `times'
[java] # ./app/model/db.rb:113:in `open'
[java] # ./spec/spec_helper.rb:276:in `(root)'
[java] # org/jruby/RubyBasicObject.java:1565:in `instance_exec'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/hooks.rb:93:in `run'
[java] # org/jruby/RubyProc.java:290:in `call'
[java] # org/jruby/RubyProc.java:271:in `call'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/hooks.rb:91:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/hooks.rb:424:in `run_hook'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:327:in `run_around_each_hooks'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:111:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:388:in `run_examples'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:384:in `run_examples'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:369:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/command_line.rb:28:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/command_line.rb:28:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/reporter.rb:34:in `report'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/command_line.rb:25:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/runner.rb:80:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/runner.rb:17:in `autorun'
[java] # org/jruby/RubyProc.java:290:in `call'
[java] # org/jruby/RubyProc.java:228:in `call'
[java]
[java] 2) Export Mappings EAD export mappings How the /ead/archdesc section gets built >> behaves like archival object desc mappings How {archival_object}.notes data are mapped >> maps notes of type 'physloc' to did/physloc
[java] Failure/Error: node.should_not have_attribute(trib)
[java] Unexpected attribute 'id' on node 'physloc'.
[java] Shared Example Group: "archival object desc mappings" called from ./spec/export_mappings_spec.rb:758
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-expectations-2.12.0/lib/rspec/expectations/fail_with.rb:33:in `fail_with'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-expectations-2.12.0/lib/rspec/expectations/handler.rb:57:in `handle_matcher'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-expectations-2.12.0/lib/rspec/expectations/syntax.rb:57:in `should_not'
[java] # ./spec/export_mappings_spec.rb:96:in `test_mapping_template'
[java] # ./spec/export_mappings_spec.rb:76:in `mt'
[java] # ./spec/export_mappings_spec.rb:510:in `(root)'
[java] # org/jruby/RubyArray.java:1613:in `each'
[java] # org/jruby/RubyEnumerable.java:947:in `each_with_index'
[java] # ./spec/export_mappings_spec.rb:507:in `(root)'
[java] # org/jruby/RubyBasicObject.java:1536:in `instance_eval'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:114:in `run'
[java] # org/jruby/RubyProc.java:290:in `call'
[java] # org/jruby/RubyProc.java:271:in `call'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:179:in `run'
[java] # ./spec/spec_helper.rb:285:in `(root)'
[java] # ./app/lib/request_context.rb:24:in `open'
[java] # ./spec/spec_helper.rb:279:in `(root)'
[java] # ./spec/spec_helper.rb:234:in `as_test_user'
[java] # ./spec/spec_helper.rb:278:in `(root)'
[java] # ./app/model/db.rb:117:in `open'
[java] # ./app/model/db.rb:93:in `transaction'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/query.rb:323:in `_transaction'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/query.rb:285:in `transaction'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/connecting.rb:240:in `synchronize'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/query.rb:278:in `transaction'
[java] # ./app/model/db.rb:92:in `transaction'
[java] # ./app/model/db.rb:116:in `open'
[java] # org/jruby/RubyFixnum.java:280:in `times'
[java] # ./app/model/db.rb:113:in `open'
[java] # ./spec/spec_helper.rb:276:in `(root)'
[java] # org/jruby/RubyBasicObject.java:1565:in `instance_exec'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/hooks.rb:93:in `run'
[java] # org/jruby/RubyProc.java:290:in `call'
[java] # org/jruby/RubyProc.java:271:in `call'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/hooks.rb:91:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/hooks.rb:424:in `run_hook'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:327:in `run_around_each_hooks'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:111:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:388:in `run_examples'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:384:in `run_examples'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:369:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/command_line.rb:28:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/command_line.rb:28:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/reporter.rb:34:in `report'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/command_line.rb:25:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/runner.rb:80:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/runner.rb:17:in `autorun'
[java] # org/jruby/RubyProc.java:290:in `call'
[java] # org/jruby/RubyProc.java:228:in `call'
[java]
[java] 3) Export Mappings EAD export mappings How the /ead/archdesc section gets built >> behaves like archival object desc mappings How {archival_object}.notes data are mapped >> maps notes of type 'materialspec' to did/materialspec
[java] Failure/Error: node.should_not have_attribute(trib)
[java] Unexpected attribute 'id' on node 'materialspec'.
[java] Shared Example Group: "archival object desc mappings" called from ./spec/export_mappings_spec.rb:758
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-expectations-2.12.0/lib/rspec/expectations/fail_with.rb:33:in `fail_with'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-expectations-2.12.0/lib/rspec/expectations/handler.rb:57:in `handle_matcher'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-expectations-2.12.0/lib/rspec/expectations/syntax.rb:57:in `should_not'
[java] # ./spec/export_mappings_spec.rb:96:in `test_mapping_template'
[java] # ./spec/export_mappings_spec.rb:76:in `mt'
[java] # ./spec/export_mappings_spec.rb:519:in `(root)'
[java] # org/jruby/RubyArray.java:1613:in `each'
[java] # org/jruby/RubyEnumerable.java:947:in `each_with_index'
[java] # ./spec/export_mappings_spec.rb:516:in `(root)'
[java] # org/jruby/RubyBasicObject.java:1536:in `instance_eval'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:114:in `run'
[java] # org/jruby/RubyProc.java:290:in `call'
[java] # org/jruby/RubyProc.java:271:in `call'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:179:in `run'
[java] # ./spec/spec_helper.rb:285:in `(root)'
[java] # ./app/lib/request_context.rb:24:in `open'
[java] # ./spec/spec_helper.rb:279:in `(root)'
[java] # ./spec/spec_helper.rb:234:in `as_test_user'
[java] # ./spec/spec_helper.rb:278:in `(root)'
[java] # ./app/model/db.rb:117:in `open'
[java] # ./app/model/db.rb:93:in `transaction'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/query.rb:323:in `_transaction'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/query.rb:285:in `transaction'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/connecting.rb:240:in `synchronize'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/query.rb:278:in `transaction'
[java] # ./app/model/db.rb:92:in `transaction'
[java] # ./app/model/db.rb:116:in `open'
[java] # org/jruby/RubyFixnum.java:280:in `times'
[java] # ./app/model/db.rb:113:in `open'
[java] # ./spec/spec_helper.rb:276:in `(root)'
[java] # org/jruby/RubyBasicObject.java:1565:in `instance_exec'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/hooks.rb:93:in `run'
[java] # org/jruby/RubyProc.java:290:in `call'
[java] # org/jruby/RubyProc.java:271:in `call'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/hooks.rb:91:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/hooks.rb:424:in `run_hook'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:327:in `run_around_each_hooks'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:111:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:388:in `run_examples'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:384:in `run_examples'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:369:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/command_line.rb:28:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/command_line.rb:28:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/reporter.rb:34:in `report'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/command_line.rb:25:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/runner.rb:80:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/runner.rb:17:in `autorun'
[java] # org/jruby/RubyProc.java:290:in `call'
[java] # org/jruby/RubyProc.java:228:in `call'
[java]
[java] 4) Export Mappings EAD export mappings How the /ead/archdesc section gets built >> behaves like archival object desc mappings How {archival_object}.notes data are mapped >> maps notes of type 'physdesc' to did/physdesc
[java] Failure/Error: node.should_not have_attribute(trib)
[java] Unexpected attribute 'id' on node 'physdesc'.
[java] Shared Example Group: "archival object desc mappings" called from ./spec/export_mappings_spec.rb:758
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-expectations-2.12.0/lib/rspec/expectations/fail_with.rb:33:in `fail_with'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-expectations-2.12.0/lib/rspec/expectations/handler.rb:57:in `handle_matcher'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-expectations-2.12.0/lib/rspec/expectations/syntax.rb:57:in `should_not'
[java] # ./spec/export_mappings_spec.rb:96:in `test_mapping_template'
[java] # ./spec/export_mappings_spec.rb:76:in `mt'
[java] # ./spec/export_mappings_spec.rb:492:in `(root)'
[java] # org/jruby/RubyArray.java:1613:in `each'
[java] # ./spec/export_mappings_spec.rb:489:in `(root)'
[java] # org/jruby/RubyBasicObject.java:1536:in `instance_eval'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:114:in `run'
[java] # org/jruby/RubyProc.java:290:in `call'
[java] # org/jruby/RubyProc.java:271:in `call'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:179:in `run'
[java] # ./spec/spec_helper.rb:285:in `(root)'
[java] # ./app/lib/request_context.rb:24:in `open'
[java] # ./spec/spec_helper.rb:279:in `(root)'
[java] # ./spec/spec_helper.rb:234:in `as_test_user'
[java] # ./spec/spec_helper.rb:278:in `(root)'
[java] # ./app/model/db.rb:117:in `open'
[java] # ./app/model/db.rb:93:in `transaction'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/query.rb:323:in `_transaction'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/query.rb:285:in `transaction'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/connecting.rb:240:in `synchronize'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/query.rb:278:in `transaction'
[java] # ./app/model/db.rb:92:in `transaction'
[java] # ./app/model/db.rb:116:in `open'
[java] # org/jruby/RubyFixnum.java:280:in `times'
[java] # ./app/model/db.rb:113:in `open'
[java] # ./spec/spec_helper.rb:276:in `(root)'
[java] # org/jruby/RubyBasicObject.java:1565:in `instance_exec'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/hooks.rb:93:in `run'
[java] # org/jruby/RubyProc.java:290:in `call'
[java] # org/jruby/RubyProc.java:271:in `call'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/hooks.rb:91:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/hooks.rb:424:in `run_hook'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:327:in `run_around_each_hooks'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:111:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:388:in `run_examples'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:384:in `run_examples'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:369:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/command_line.rb:28:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/command_line.rb:28:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/reporter.rb:34:in `report'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/command_line.rb:25:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/runner.rb:80:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/runner.rb:17:in `autorun'
[java] # org/jruby/RubyProc.java:290:in `call'
[java] # org/jruby/RubyProc.java:228:in `call'
[java]
[java] 5) Export Mappings EAD export mappings How the /ead/archdesc section gets built >> behaves like archival object desc mappings How {archival_object}.notes data are mapped >> maps notes of type 'physfacet' to did/physdesc/physfacet
[java] Failure/Error: node.should_not have_attribute(trib)
[java] Unexpected attribute 'id' on node 'physfacet'.
[java] Shared Example Group: "archival object desc mappings" called from ./spec/export_mappings_spec.rb:758
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-expectations-2.12.0/lib/rspec/expectations/fail_with.rb:33:in `fail_with'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-expectations-2.12.0/lib/rspec/expectations/handler.rb:57:in `handle_matcher'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-expectations-2.12.0/lib/rspec/expectations/syntax.rb:57:in `should_not'
[java] # ./spec/export_mappings_spec.rb:96:in `test_mapping_template'
[java] # ./spec/export_mappings_spec.rb:76:in `mt'
[java] # ./spec/export_mappings_spec.rb:528:in `(root)'
[java] # org/jruby/RubyArray.java:1613:in `each'
[java] # org/jruby/RubyEnumerable.java:947:in `each_with_index'
[java] # ./spec/export_mappings_spec.rb:525:in `(root)'
[java] # org/jruby/RubyBasicObject.java:1536:in `instance_eval'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:114:in `run'
[java] # org/jruby/RubyProc.java:290:in `call'
[java] # org/jruby/RubyProc.java:271:in `call'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:179:in `run'
[java] # ./spec/spec_helper.rb:285:in `(root)'
[java] # ./app/lib/request_context.rb:24:in `open'
[java] # ./spec/spec_helper.rb:279:in `(root)'
[java] # ./spec/spec_helper.rb:234:in `as_test_user'
[java] # ./spec/spec_helper.rb:278:in `(root)'
[java] # ./app/model/db.rb:117:in `open'
[java] # ./app/model/db.rb:93:in `transaction'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/query.rb:323:in `_transaction'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/query.rb:285:in `transaction'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/connecting.rb:240:in `synchronize'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/query.rb:278:in `transaction'
[java] # ./app/model/db.rb:92:in `transaction'
[java] # ./app/model/db.rb:116:in `open'
[java] # org/jruby/RubyFixnum.java:280:in `times'
[java] # ./app/model/db.rb:113:in `open'
[java] # ./spec/spec_helper.rb:276:in `(root)'
[java] # org/jruby/RubyBasicObject.java:1565:in `instance_exec'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/hooks.rb:93:in `run'
[java] # org/jruby/RubyProc.java:290:in `call'
[java] # org/jruby/RubyProc.java:271:in `call'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/hooks.rb:91:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/hooks.rb:424:in `run_hook'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:327:in `run_around_each_hooks'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:111:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:388:in `run_examples'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:384:in `run_examples'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:369:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/command_line.rb:28:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/command_line.rb:28:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/reporter.rb:34:in `report'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/command_line.rb:25:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/runner.rb:80:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/runner.rb:17:in `autorun'
[java] # org/jruby/RubyProc.java:290:in `call'
[java] # org/jruby/RubyProc.java:228:in `call'
[java]
[java] 6) Export Mappings EAD export mappings How the /ead/archdesc section gets built >> behaves like archival object desc mappings bibliography and index notes section: maps notes[].note_bibliography to {desc_path}/bibliography
[java] Failure/Error: node.should_not have_attribute(trib)
[java] Unexpected attribute 'id' on node 'bibliography'.
[java] Shared Example Group: "archival object desc mappings" called from ./spec/export_mappings_spec.rb:758
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-expectations-2.12.0/lib/rspec/expectations/fail_with.rb:33:in `fail_with'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-expectations-2.12.0/lib/rspec/expectations/handler.rb:57:in `handle_matcher'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-expectations-2.12.0/lib/rspec/expectations/syntax.rb:57:in `should_not'
[java] # ./spec/export_mappings_spec.rb:96:in `test_mapping_template'
[java] # ./spec/export_mappings_spec.rb:76:in `mt'
[java] # ./spec/export_mappings_spec.rb:253:in `(root)'
[java] # org/jruby/RubyArray.java:1613:in `each'
[java] # ./spec/export_mappings_spec.rb:246:in `(root)'
[java] # org/jruby/RubyBasicObject.java:1536:in `instance_eval'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:114:in `run'
[java] # org/jruby/RubyProc.java:290:in `call'
[java] # org/jruby/RubyProc.java:271:in `call'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:179:in `run'
[java] # ./spec/spec_helper.rb:285:in `(root)'
[java] # ./app/lib/request_context.rb:24:in `open'
[java] # ./spec/spec_helper.rb:279:in `(root)'
[java] # ./spec/spec_helper.rb:234:in `as_test_user'
[java] # ./spec/spec_helper.rb:278:in `(root)'
[java] # ./app/model/db.rb:117:in `open'
[java] # ./app/model/db.rb:93:in `transaction'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/query.rb:323:in `_transaction'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/query.rb:285:in `transaction'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/connecting.rb:240:in `synchronize'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/query.rb:278:in `transaction'
[java] # ./app/model/db.rb:92:in `transaction'
[java] # ./app/model/db.rb:116:in `open'
[java] # org/jruby/RubyFixnum.java:280:in `times'
[java] # ./app/model/db.rb:113:in `open'
[java] # ./spec/spec_helper.rb:276:in `(root)'
[java] # org/jruby/RubyBasicObject.java:1565:in `instance_exec'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/hooks.rb:93:in `run'
[java] # org/jruby/RubyProc.java:290:in `call'
[java] # org/jruby/RubyProc.java:271:in `call'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/hooks.rb:91:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/hooks.rb:424:in `run_hook'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:327:in `run_around_each_hooks'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:111:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:388:in `run_examples'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:384:in `run_examples'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:369:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/command_line.rb:28:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/command_line.rb:28:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/reporter.rb:34:in `report'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/command_line.rb:25:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/runner.rb:80:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/runner.rb:17:in `autorun'
[java] # org/jruby/RubyProc.java:290:in `call'
[java] # org/jruby/RubyProc.java:228:in `call'
[java]
[java] 7) Export Mappings EAD export mappings How the /ead/archdesc section gets built >> behaves like archival object desc mappings bibliography and index notes section: maps notes[].note_index to {desc_path}/index
[java] Failure/Error: node.should_not have_attribute(trib)
[java] Unexpected attribute 'id' on node 'index'.
[java] Shared Example Group: "archival object desc mappings" called from ./spec/export_mappings_spec.rb:758
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-expectations-2.12.0/lib/rspec/expectations/fail_with.rb:33:in `fail_with'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-expectations-2.12.0/lib/rspec/expectations/handler.rb:57:in `handle_matcher'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-expectations-2.12.0/lib/rspec/expectations/syntax.rb:57:in `should_not'
[java] # ./spec/export_mappings_spec.rb:96:in `test_mapping_template'
[java] # ./spec/export_mappings_spec.rb:76:in `mt'
[java] # ./spec/export_mappings_spec.rb:272:in `(root)'
[java] # org/jruby/RubyArray.java:1613:in `each'
[java] # ./spec/export_mappings_spec.rb:265:in `(root)'
[java] # org/jruby/RubyBasicObject.java:1536:in `instance_eval'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:114:in `run'
[java] # org/jruby/RubyProc.java:290:in `call'
[java] # org/jruby/RubyProc.java:271:in `call'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:179:in `run'
[java] # ./spec/spec_helper.rb:285:in `(root)'
[java] # ./app/lib/request_context.rb:24:in `open'
[java] # ./spec/spec_helper.rb:279:in `(root)'
[java] # ./spec/spec_helper.rb:234:in `as_test_user'
[java] # ./spec/spec_helper.rb:278:in `(root)'
[java] # ./app/model/db.rb:117:in `open'
[java] # ./app/model/db.rb:93:in `transaction'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/query.rb:323:in `_transaction'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/query.rb:285:in `transaction'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/connecting.rb:240:in `synchronize'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/query.rb:278:in `transaction'
[java] # ./app/model/db.rb:92:in `transaction'
[java] # ./app/model/db.rb:116:in `open'
[java] # org/jruby/RubyFixnum.java:280:in `times'
[java] # ./app/model/db.rb:113:in `open'
[java] # ./spec/spec_helper.rb:276:in `(root)'
[java] # org/jruby/RubyBasicObject.java:1565:in `instance_exec'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/hooks.rb:93:in `run'
[java] # org/jruby/RubyProc.java:290:in `call'
[java] # org/jruby/RubyProc.java:271:in `call'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/hooks.rb:91:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/hooks.rb:424:in `run_hook'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:327:in `run_around_each_hooks'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:111:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:388:in `run_examples'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:384:in `run_examples'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:369:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/command_line.rb:28:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/command_line.rb:28:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/reporter.rb:34:in `report'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/command_line.rb:25:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/runner.rb:80:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/runner.rb:17:in `autorun'
[java] # org/jruby/RubyProc.java:290:in `call'
[java] # org/jruby/RubyProc.java:228:in `call'
[java]
[java] 8) Export Mappings EAD export mappings How the /ead/archdesc section gets built >> behaves like archival object desc mappings archdesc or component notes section: maps note content to {desc_path}/NOTE_TAG
[java] Failure/Error: node.should_not have_attribute(trib)
[java] Unexpected attribute 'id' on node 'relatedmaterial'.
[java] Shared Example Group: "archival object desc mappings" called from ./spec/export_mappings_spec.rb:758
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-expectations-2.12.0/lib/rspec/expectations/fail_with.rb:33:in `fail_with'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-expectations-2.12.0/lib/rspec/expectations/handler.rb:57:in `handle_matcher'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-expectations-2.12.0/lib/rspec/expectations/syntax.rb:57:in `should_not'
[java] # ./spec/export_mappings_spec.rb:96:in `test_mapping_template'
[java] # ./spec/export_mappings_spec.rb:76:in `mt'
[java] # ./spec/export_mappings_spec.rb:220:in `(root)'
[java] # org/jruby/RubyArray.java:1613:in `each'
[java] # ./spec/export_mappings_spec.rb:212:in `(root)'
[java] # org/jruby/RubyBasicObject.java:1536:in `instance_eval'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:114:in `run'
[java] # org/jruby/RubyProc.java:290:in `call'
[java] # org/jruby/RubyProc.java:271:in `call'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:179:in `run'
[java] # ./spec/spec_helper.rb:285:in `(root)'
[java] # ./app/lib/request_context.rb:24:in `open'
[java] # ./spec/spec_helper.rb:279:in `(root)'
[java] # ./spec/spec_helper.rb:234:in `as_test_user'
[java] # ./spec/spec_helper.rb:278:in `(root)'
[java] # ./app/model/db.rb:117:in `open'
[java] # ./app/model/db.rb:93:in `transaction'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/query.rb:323:in `_transaction'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/query.rb:285:in `transaction'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/connecting.rb:240:in `synchronize'
[java] # /mnt/ssd/archivesspace/build/gems/gems/sequel-3.41.0/lib/sequel/database/query.rb:278:in `transaction'
[java] # ./app/model/db.rb:92:in `transaction'
[java] # ./app/model/db.rb:116:in `open'
[java] # org/jruby/RubyFixnum.java:280:in `times'
[java] # ./app/model/db.rb:113:in `open'
[java] # ./spec/spec_helper.rb:276:in `(root)'
[java] # org/jruby/RubyBasicObject.java:1565:in `instance_exec'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/hooks.rb:93:in `run'
[java] # org/jruby/RubyProc.java:290:in `call'
[java] # org/jruby/RubyProc.java:271:in `call'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/hooks.rb:91:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/hooks.rb:424:in `run_hook'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:327:in `run_around_each_hooks'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example.rb:111:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:388:in `run_examples'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:384:in `run_examples'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:369:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/example_group.rb:370:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/command_line.rb:28:in `run'
[java] # org/jruby/RubyArray.java:2400:in `collect'
[java] # org/jruby/RubyArray.java:2413:in `map'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/command_line.rb:28:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/reporter.rb:34:in `report'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/command_line.rb:25:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/runner.rb:80:in `run'
[java] # /mnt/ssd/archivesspace/build/gems/gems/rspec-core-2.12.1/lib/rspec/core/runner.rb:17:in `autorun'
[java] # org/jruby/RubyProc.java:290:in `call'
[java] # org/jruby/RubyProc.java:228:in `call'
[java]
[java] Finished in 1 minute 52.07 seconds
[java] 1092 examples, 8 failures
[java]
[java] Failed examples:
[java]
[java] rspec ./spec/export_mappings_spec.rb:497 # Export Mappings EAD export mappings How the /ead/archdesc section gets built >> behaves like archival object desc mappings How {archival_object}.notes data are mapped >> maps notes of type 'langmaterial' to did/langmaterial
[java] rspec ./spec/export_mappings_spec.rb:506 # Export Mappings EAD export mappings How the /ead/archdesc section gets built >> behaves like archival object desc mappings How {archival_object}.notes data are mapped >> maps notes of type 'physloc' to did/physloc
[java] rspec ./spec/export_mappings_spec.rb:515 # Export Mappings EAD export mappings How the /ead/archdesc section gets built >> behaves like archival object desc mappings How {archival_object}.notes data are mapped >> maps notes of type 'materialspec' to did/materialspec
[java] rspec ./spec/export_mappings_spec.rb:488 # Export Mappings EAD export mappings How the /ead/archdesc section gets built >> behaves like archival object desc mappings How {archival_object}.notes data are mapped >> maps notes of type 'physdesc' to did/physdesc
[java] rspec ./spec/export_mappings_spec.rb:524 # Export Mappings EAD export mappings How the /ead/archdesc section gets built >> behaves like archival object desc mappings How {archival_object}.notes data are mapped >> maps notes of type 'physfacet' to did/physdesc/physfacet
[java] rspec ./spec/export_mappings_spec.rb:245 # Export Mappings EAD export mappings How the /ead/archdesc section gets built >> behaves like archival object desc mappings bibliography and index notes section: maps notes[].note_bibliography to {desc_path}/bibliography
[java] rspec ./spec/export_mappings_spec.rb:264 # Export Mappings EAD export mappings How the /ead/archdesc section gets built >> behaves like archival object desc mappings bibliography and index notes section: maps notes[].note_index to {desc_path}/index
[java] rspec ./spec/export_mappings_spec.rb:211 # Export Mappings EAD export mappings How the /ead/archdesc section gets built >> behaves like archival object desc mappings archdesc or component notes section: maps note content to {desc_path}/NOTE_TAG
[java]
[java] Randomized with seed 1
[java]