Skip to content

@philwhln /console.out
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Jenkins job "cloud_controller_ng rspec docker run" console output
Started by timer
Building in workspace /var/lib/jenkins/jobs/cloud_controller_ng rspec docker run/workspace
[workspace] $ /bin/sh -xe /tmp/hudson4061127374001995510.sh
+ docker run localhost:5000/test-runner-upstream-ccng
Already on 'master'
Submodule 'vendor/errors' (https://github.com/cloudfoundry/errors.git) registered for path 'vendor/errors'
Cloning into 'vendor/errors'...
Submodule path 'vendor/errors': checked out '52a8ce9c08ee5c2df4dc82a2818460a5b4adb173'
Using rake (10.1.1)
Using i18n (0.6.9)
Using multi_json (1.8.2)
Using activesupport (3.2.16)
Using addressable (2.3.5)
Using allowy (0.4.0)
Using atomic (1.1.14)
Using descendants_tracker (0.0.3)
Using ice_nine (0.10.0)
Using axiom-types (0.0.5)
Using backports (3.3.5)
Using bcrypt-ruby (3.1.1)
Using beefcake (0.3.7)
Using builder (3.2.2)
Using timers (1.1.0)
Using celluloid (0.15.2)
Using eventmachine (1.0.3)
Using daemons (1.1.9)
Using json_pure (1.8.1)
Using rack (1.5.2)
Using thin (1.5.1)
Using nats (0.5.0.beta.12)
Using vcap-concurrency (0.1.0) from https://github.com/cloudfoundry/vcap-concurrency.git (at 2a5b017)
Using yajl-ruby (1.1.0)
Using cf-message-bus (0.2.0) from https://github.com/cloudfoundry/cf-message-bus.git (at master)
Using cf-uaa-lib (1.3.7) from https://github.com/cloudfoundry/cf-uaa-lib.git (at 8d34eed)
Using thread_safe (0.1.3)
Using tzinfo (1.1.0)
Using clockwork (0.4.1)
Using cloudfront-signer (2.1.0)
Using coderay (1.1.0)
Using coercible (0.2.0)
Using columnize (0.3.6)
Using cookiejar (0.3.0)
Using safe_yaml (0.9.7)
Using crack (0.4.1)
Using debugger-linecache (1.2.0)
Using debugger-ruby_core_source (1.2.4)
Using debugger (1.6.3)
Using delayed_job (4.0.0)
Using diff-lcs (1.2.5)
Using docile (1.1.1)
Using em-socksify (0.3.0)
Using http_parser.rb (0.6.0.beta.2)
Using em-http-request (1.1.1)
Using equalizer (0.0.7)
Using excon (0.28.0)
Using fakefs (0.4.3)
Using ffi (1.9.3)
Using msgpack (0.5.7)
Using fluent-logger (0.4.6)
Using formatador (0.2.4)
Using mime-types (2.0)
Using net-ssh (2.7.0)
Using net-scp (1.1.2)
Using mini_portile (0.5.2)
Using nokogiri (1.6.1)
Using ruby-hmac (0.4.0)
Using fog (1.18.0)
Using hashie (2.0.5)
Using multi_xml (0.5.5)
Using rack-accept (0.4.5)
Using rack-mount (0.8.3)
Using virtus (1.0.0)
Using grape (0.6.1)
Using rb-fsevent (0.9.3)
Using rb-inotify (0.9.3)
Using listen (2.4.0)
Using lumberjack (1.0.4)
Using method_source (0.8.2)
Using slop (3.4.7)
Using pry (0.9.12.4)
Using thor (0.18.1)
Using guard (2.2.5)
Using rspec-core (2.14.7)
Using rspec-expectations (2.14.4)
Using rspec-mocks (2.14.4)
Using rspec (2.14.1)
Using guard-rspec (4.2.0)
Using httpclient (2.3.4.1)
Using json (1.8.1)
Using loggregator_emitter (3.0.0)
Using machinist (1.0.6)
Using membrane (0.0.2)
Using multipart-post (1.2.0)
Using mustache (0.99.5)
Using mysql2 (0.3.13)
Using newrelic_rpm (3.7.1.180)
Using parallel (0.9.1)
Using parallel_tests (0.16.5)
Using pg (0.16.0)
Using posix-spawn (0.3.6)
Using rack-protection (1.5.0)
Using rack-test (0.6.2)
Using rfc822 (0.1.4)
Using webmock (1.16.1)
Using rspec_api_documentation (2.0.0)
Using sequel (3.48.0)
Using simplecov-html (0.8.0)
Using simplecov (0.8.2)
Using simplecov-rcov (0.2.3)
Using tilt (1.4.1)
Using sinatra (1.4.3)
Using sinatra-contrib (1.4.1)
Using sqlite3 (1.3.8)
Using squash_ruby (1.2.2)
Using steno (1.2.2)
Using talentbox-delayed_job_sequel (4.0.0)
Using timecop (0.7.0)
Using unf_ext (0.0.6)
Using unf (0.1.3)
Using uuidtools (2.1.4)
Using vmstat (2.0.0)
Using vcap_common (2.2.2) from https://github.com/cloudfoundry/vcap-common.git (at master)
Using bundler (1.5.1)
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
FFF....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................FFFFFFFFF........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................FFFFFFFF..F........................................................................................................................................................*.*..........................................................................F//.rbenv/versions/1.9.3-p484/bin/rspec: No such file or directory - unzip -qq -: -d /tmp/foo20131231-134-4xeb1n /cloud_controller_ng/spec/fixtures/good.zip
.FFFFF.FFF.F.................127.0.0.1 - - [31/Dec/2013 05:42:38] "GET /info HTTP/1.1" 200 254 0.0034
127.0.0.1 - - [31/Dec/2013 05:42:38] "GET /info HTTP/1.1" 200 254 0.0028
127.0.0.1 - - [31/Dec/2013 05:42:38] "GET /newrelic HTTP/1.1" 200 4488 0.0118
.127.0.0.1 - - [31/Dec/2013 05:43:20] "GET /info HTTP/1.1" 200 254 0.0035
127.0.0.1 - - [31/Dec/2013 05:43:20] "GET /newrelic HTTP/1.1" 404 119 0.0033
.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F...F...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................FFFFFFFFFF....FFFFFFFFFFFFF
An error occurred in an after hook
TypeError: can't convert nil into Hash
occurred at /cloud_controller_ng/spec/spec_helper.rb:190:in `update'
FFFFF.....................................................................................................................*...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F........................
Pending:
VCAP::CloudController::EventsController GET /v2/events/ filtering by time returns events on or before (<=) the timestamp
# This actually is a bug in Sequel as far as we can tell. timestamp<=X actually behaves like timestamp<X
# ./spec/controllers/runtime/events_controller_spec.rb:300
VCAP::CloudController::EventsController GET /v2/events/ filtering by time returns events after (>) the timestamp
# This actually is a bug in Sequel as far as we can tell. timestamp>X actually behaves like timestamp>=X
# ./spec/controllers/runtime/events_controller_spec.rb:281
VCAP::CloudController::App validations name does not allow the same name in a different case
# This test is not valid for SQLite
# ./spec/models/runtime/app_spec.rb:552
Failures:
1) Staging an app when admin buildpacks are used and the admin has not uploaded yet the buildpacks and an app is staged does not include any buildpacks in the request
Failure/Error: create_zip(zip_name, size)
RuntimeError:
Failed zipping:
# ./spec/spec_helper.rb:272:in `block in create_zip'
# ./spec/spec_helper.rb:261:in `tap'
# ./spec/spec_helper.rb:261:in `create_zip'
# ./spec/integration/app_staging_spec.rb:38:in `valid_zip'
# ./spec/integration/app_staging_spec.rb:45:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:237:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:237:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:21:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:85:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:85:in `each'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:85:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:345:in `run_before_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:294:in `run_before_each'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:113:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
2) Staging an app when admin buildpacks are used and the admin has uploaded the buildpacks and an app is staged includes the buildpacks in the correct order
Failure/Error: create_zip(zip_name, size)
RuntimeError:
Failed zipping:
# ./spec/spec_helper.rb:272:in `block in create_zip'
# ./spec/spec_helper.rb:261:in `tap'
# ./spec/spec_helper.rb:261:in `create_zip'
# ./spec/integration/app_staging_spec.rb:38:in `valid_zip'
# ./spec/integration/app_staging_spec.rb:45:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:237:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:237:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:21:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:85:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:85:in `each'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:85:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:345:in `run_before_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:294:in `run_before_each'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:113:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
3) Staging an app when admin buildpacks are used and the admin has uploaded the buildpacks and an app is staged excludes disabled buildpacks includes enabled buildpacks
Failure/Error: create_zip(zip_name, size)
RuntimeError:
Failed zipping:
# ./spec/spec_helper.rb:272:in `block in create_zip'
# ./spec/spec_helper.rb:261:in `tap'
# ./spec/spec_helper.rb:261:in `create_zip'
# ./spec/integration/app_staging_spec.rb:38:in `valid_zip'
# ./spec/integration/app_staging_spec.rb:45:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:237:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:237:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:21:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:85:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:85:in `each'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:85:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:345:in `run_before_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:294:in `run_before_each'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:113:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
4) AppBitsPackage#create removes the compressed path afterwards
Failure/Error: subject(:create) { packer.create(app, compressed_path, fingerprints_in_app_cache) }
Errno::ENOENT:
No such file or directory - unzip -l /cloud_controller_ng/spec/fixtures/good.zip
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `spawn'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `popen_run'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:90:in `popen3'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:270:in `capture3'
# ./lib/cloud_controller/safe_zipper.rb:60:in `zip_info'
# ./lib/cloud_controller/safe_zipper.rb:76:in `any_outside_relative_paths?'
# ./lib/cloud_controller/safe_zipper.rb:20:in `unzip!'
# ./lib/cloud_controller/safe_zipper.rb:6:in `unzip'
# ./lib/cloud_controller/blobstore/local_app_bits.rb:14:in `block in from_compressed_bits'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
# ./lib/cloud_controller/blobstore/local_app_bits.rb:9:in `from_compressed_bits'
# ./app/models/runtime/app_bits_package.rb:15:in `create'
# ./spec/models/runtime/app_bits_package_spec.rb:38:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/models/runtime/app_bits_package_spec.rb:73:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# ./spec/models/runtime/app_bits_package_spec.rb:25:in `call'
# ./spec/models/runtime/app_bits_package_spec.rb:25:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
5) AppBitsPackage#create uploads the package zip to the package blob store
Failure/Error: subject(:create) { packer.create(app, compressed_path, fingerprints_in_app_cache) }
Errno::ENOENT:
No such file or directory - unzip -l /cloud_controller_ng/spec/fixtures/good.zip
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `spawn'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `popen_run'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:90:in `popen3'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:270:in `capture3'
# ./lib/cloud_controller/safe_zipper.rb:60:in `zip_info'
# ./lib/cloud_controller/safe_zipper.rb:76:in `any_outside_relative_paths?'
# ./lib/cloud_controller/safe_zipper.rb:20:in `unzip!'
# ./lib/cloud_controller/safe_zipper.rb:6:in `unzip'
# ./lib/cloud_controller/blobstore/local_app_bits.rb:14:in `block in from_compressed_bits'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
# ./lib/cloud_controller/blobstore/local_app_bits.rb:9:in `from_compressed_bits'
# ./app/models/runtime/app_bits_package.rb:15:in `create'
# ./spec/models/runtime/app_bits_package_spec.rb:38:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/models/runtime/app_bits_package_spec.rb:59:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# ./spec/models/runtime/app_bits_package_spec.rb:25:in `call'
# ./spec/models/runtime/app_bits_package_spec.rb:25:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
6) AppBitsPackage#create uploads the old app bits already in the app bits cache to the package blob store
Failure/Error: subject(:create) { packer.create(app, compressed_path, fingerprints_in_app_cache) }
Errno::ENOENT:
No such file or directory - unzip -l /cloud_controller_ng/spec/fixtures/good.zip
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `spawn'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `popen_run'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:90:in `popen3'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:270:in `capture3'
# ./lib/cloud_controller/safe_zipper.rb:60:in `zip_info'
# ./lib/cloud_controller/safe_zipper.rb:76:in `any_outside_relative_paths?'
# ./lib/cloud_controller/safe_zipper.rb:20:in `unzip!'
# ./lib/cloud_controller/safe_zipper.rb:6:in `unzip'
# ./lib/cloud_controller/blobstore/local_app_bits.rb:14:in `block in from_compressed_bits'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
# ./lib/cloud_controller/blobstore/local_app_bits.rb:9:in `from_compressed_bits'
# ./app/models/runtime/app_bits_package.rb:15:in `create'
# ./spec/models/runtime/app_bits_package_spec.rb:38:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/models/runtime/app_bits_package_spec.rb:53:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# ./spec/models/runtime/app_bits_package_spec.rb:25:in `call'
# ./spec/models/runtime/app_bits_package_spec.rb:25:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
7) AppBitsPackage#create uploads the new app bits to the app bit cache
Failure/Error: subject(:create) { packer.create(app, compressed_path, fingerprints_in_app_cache) }
Errno::ENOENT:
No such file or directory - unzip -l /cloud_controller_ng/spec/fixtures/good.zip
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `spawn'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `popen_run'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:90:in `popen3'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:270:in `capture3'
# ./lib/cloud_controller/safe_zipper.rb:60:in `zip_info'
# ./lib/cloud_controller/safe_zipper.rb:76:in `any_outside_relative_paths?'
# ./lib/cloud_controller/safe_zipper.rb:20:in `unzip!'
# ./lib/cloud_controller/safe_zipper.rb:6:in `unzip'
# ./lib/cloud_controller/blobstore/local_app_bits.rb:14:in `block in from_compressed_bits'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
# ./lib/cloud_controller/blobstore/local_app_bits.rb:9:in `from_compressed_bits'
# ./app/models/runtime/app_bits_package.rb:15:in `create'
# ./spec/models/runtime/app_bits_package_spec.rb:38:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/models/runtime/app_bits_package_spec.rb:41:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# ./spec/models/runtime/app_bits_package_spec.rb:25:in `call'
# ./spec/models/runtime/app_bits_package_spec.rb:25:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
8) AppBitsPackage#create sets the package sha to the app
Failure/Error: subject(:create) { packer.create(app, compressed_path, fingerprints_in_app_cache) }
Errno::ENOENT:
No such file or directory - unzip -l /cloud_controller_ng/spec/fixtures/good.zip
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `spawn'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `popen_run'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:90:in `popen3'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:270:in `capture3'
# ./lib/cloud_controller/safe_zipper.rb:60:in `zip_info'
# ./lib/cloud_controller/safe_zipper.rb:76:in `any_outside_relative_paths?'
# ./lib/cloud_controller/safe_zipper.rb:20:in `unzip!'
# ./lib/cloud_controller/safe_zipper.rb:6:in `unzip'
# ./lib/cloud_controller/blobstore/local_app_bits.rb:14:in `block in from_compressed_bits'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
# ./lib/cloud_controller/blobstore/local_app_bits.rb:9:in `from_compressed_bits'
# ./app/models/runtime/app_bits_package.rb:15:in `create'
# ./spec/models/runtime/app_bits_package_spec.rb:38:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/models/runtime/app_bits_package_spec.rb:65:in `block (4 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/change.rb:16:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/change.rb:16:in `matches?'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/expectation_target.rb:34:in `to'
# ./spec/models/runtime/app_bits_package_spec.rb:64:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# ./spec/models/runtime/app_bits_package_spec.rb:25:in `call'
# ./spec/models/runtime/app_bits_package_spec.rb:25:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
9) AppBitsPackage#create uploads the new app bits to the package blob store
Failure/Error: subject(:create) { packer.create(app, compressed_path, fingerprints_in_app_cache) }
Errno::ENOENT:
No such file or directory - unzip -l /cloud_controller_ng/spec/fixtures/good.zip
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `spawn'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `popen_run'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:90:in `popen3'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:270:in `capture3'
# ./lib/cloud_controller/safe_zipper.rb:60:in `zip_info'
# ./lib/cloud_controller/safe_zipper.rb:76:in `any_outside_relative_paths?'
# ./lib/cloud_controller/safe_zipper.rb:20:in `unzip!'
# ./lib/cloud_controller/safe_zipper.rb:6:in `unzip'
# ./lib/cloud_controller/blobstore/local_app_bits.rb:14:in `block in from_compressed_bits'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
# ./lib/cloud_controller/blobstore/local_app_bits.rb:9:in `from_compressed_bits'
# ./app/models/runtime/app_bits_package.rb:15:in `create'
# ./spec/models/runtime/app_bits_package_spec.rb:38:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/models/runtime/app_bits_package_spec.rb:47:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# ./spec/models/runtime/app_bits_package_spec.rb:25:in `call'
# ./spec/models/runtime/app_bits_package_spec.rb:25:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
10) AppBitsPackage#create when there is no package uploaded doesn't try to remove the file
Failure/Error: subject(:create) { packer.create(app, compressed_path, fingerprints_in_app_cache) }
Errno::ENOENT:
No such file or directory - zip -q -r --symlinks /tmp/d20131231-134-9qusmq/safezipper20131231-134-x2ccse/package.zip .
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `spawn'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `popen_run'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:90:in `popen3'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:270:in `capture3'
# ./lib/cloud_controller/safe_zipper.rb:44:in `zip'
# ./lib/cloud_controller/safe_zipper.rb:33:in `zip!'
# ./lib/cloud_controller/safe_zipper.rb:10:in `zip'
# ./lib/cloud_controller/blobstore/local_app_bits.rb:30:in `create_package'
# ./app/models/runtime/app_bits_package.rb:24:in `block in create'
# ./lib/cloud_controller/blobstore/local_app_bits.rb:16:in `yield'
# ./lib/cloud_controller/blobstore/local_app_bits.rb:16:in `block in from_compressed_bits'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
# ./lib/cloud_controller/blobstore/local_app_bits.rb:9:in `from_compressed_bits'
# ./app/models/runtime/app_bits_package.rb:15:in `create'
# ./spec/models/runtime/app_bits_package_spec.rb:38:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/models/runtime/app_bits_package_spec.rb:81:in `block (4 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# ./spec/models/runtime/app_bits_package_spec.rb:25:in `call'
# ./spec/models/runtime/app_bits_package_spec.rb:25:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
11) AppBitsPackage#create when the max droplet size is not configured always accepts any droplet size
Failure/Error: packer.create(app, compressed_path, fingerprints_in_app_cache)
Errno::ENOENT:
No such file or directory - unzip -l /cloud_controller_ng/spec/fixtures/good.zip
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `spawn'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `popen_run'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:90:in `popen3'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:270:in `capture3'
# ./lib/cloud_controller/safe_zipper.rb:60:in `zip_info'
# ./lib/cloud_controller/safe_zipper.rb:76:in `any_outside_relative_paths?'
# ./lib/cloud_controller/safe_zipper.rb:20:in `unzip!'
# ./lib/cloud_controller/safe_zipper.rb:6:in `unzip'
# ./lib/cloud_controller/blobstore/local_app_bits.rb:14:in `block in from_compressed_bits'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
# ./lib/cloud_controller/blobstore/local_app_bits.rb:9:in `from_compressed_bits'
# ./app/models/runtime/app_bits_package.rb:15:in `create'
# ./spec/models/runtime/app_bits_package_spec.rb:107:in `block (4 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# ./spec/models/runtime/app_bits_package_spec.rb:25:in `call'
# ./spec/models/runtime/app_bits_package_spec.rb:25:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
12) AppBitsPackage#create when the app bits are too large raises an exception
Failure/Error: expect {
expected VCAP::Errors::AppPackageInvalid with message matching /package.+larger/i, got #<Errno::ENOENT: No such file or directory - unzip -l /cloud_controller_ng/spec/fixtures/good.zip> with backtrace:
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `spawn'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `popen_run'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:90:in `popen3'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:270:in `capture3'
# ./lib/cloud_controller/safe_zipper.rb:60:in `zip_info'
# ./lib/cloud_controller/safe_zipper.rb:76:in `any_outside_relative_paths?'
# ./lib/cloud_controller/safe_zipper.rb:20:in `unzip!'
# ./lib/cloud_controller/safe_zipper.rb:6:in `unzip'
# ./lib/cloud_controller/blobstore/local_app_bits.rb:14:in `block in from_compressed_bits'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
# ./lib/cloud_controller/blobstore/local_app_bits.rb:9:in `from_compressed_bits'
# ./app/models/runtime/app_bits_package.rb:15:in `create'
# ./spec/models/runtime/app_bits_package_spec.rb:38:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/models/runtime/app_bits_package_spec.rb:90:in `block (5 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/raise_error.rb:40:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/raise_error.rb:40:in `matches?'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/expectation_target.rb:34:in `to'
# ./spec/models/runtime/app_bits_package_spec.rb:89:in `block (4 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# ./spec/models/runtime/app_bits_package_spec.rb:25:in `call'
# ./spec/models/runtime/app_bits_package_spec.rb:25:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/fail_with.rb:32:in `fail_with'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/handler.rb:36:in `handle_matcher'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/expectation_target.rb:34:in `to'
# ./spec/models/runtime/app_bits_package_spec.rb:89:in `block (4 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# ./spec/models/runtime/app_bits_package_spec.rb:25:in `call'
# ./spec/models/runtime/app_bits_package_spec.rb:25:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
13) VCAP::CloudController::BuildpackBitsController Buildpack binaries /v2/buildpacks/:guid/bits reports a conflict if the same buildpack is uploaded again
Failure/Error: create_zip(zip_name, 1)
RuntimeError:
Failed zipping:
# ./spec/spec_helper.rb:272:in `block in create_zip'
# ./spec/spec_helper.rb:261:in `tap'
# ./spec/spec_helper.rb:261:in `create_zip'
# ./spec/controllers/runtime/buildpack_bits_controller_spec.rb:16:in `block (2 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/buildpack_bits_controller_spec.rb:105:in `block (4 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
14) VCAP::CloudController::BuildpackBitsController Buildpack binaries /v2/buildpacks/:guid/bits removes the old buildpack binary when a new one is uploaded
Failure/Error: create_zip(zip_name, 3)
RuntimeError:
Failed zipping:
# ./spec/spec_helper.rb:272:in `block in create_zip'
# ./spec/spec_helper.rb:261:in `tap'
# ./spec/spec_helper.rb:261:in `create_zip'
# ./spec/controllers/runtime/buildpack_bits_controller_spec.rb:23:in `block (2 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/buildpack_bits_controller_spec.rb:92:in `block (4 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
15) VCAP::CloudController::BuildpackBitsController Buildpack binaries /v2/buildpacks/:guid/bits takes a buildpack file and adds it to the custom buildpacks blobstore with the correct key
Failure/Error: create_zip(zip_name, 1)
RuntimeError:
Failed zipping:
# ./spec/spec_helper.rb:272:in `block in create_zip'
# ./spec/spec_helper.rb:261:in `tap'
# ./spec/spec_helper.rb:261:in `create_zip'
# ./spec/controllers/runtime/buildpack_bits_controller_spec.rb:16:in `block (2 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/buildpack_bits_controller_spec.rb:63:in `block (4 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
16) VCAP::CloudController::BuildpackBitsController Buildpack binaries /v2/buildpacks/:guid/bits removes the uploaded buildpack file
Failure/Error: create_zip(zip_name, 1)
RuntimeError:
Failed zipping:
# ./spec/spec_helper.rb:272:in `block in create_zip'
# ./spec/spec_helper.rb:261:in `tap'
# ./spec/spec_helper.rb:261:in `create_zip'
# ./spec/controllers/runtime/buildpack_bits_controller_spec.rb:16:in `block (2 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/buildpack_bits_controller_spec.rb:113:in `block (4 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
17) VCAP::CloudController::BuildpackBitsController Buildpack binaries /v2/buildpacks/:guid/bits gets the uploaded file from the upload handler
Failure/Error: create_zip(zip_name, 1)
RuntimeError:
Failed zipping:
# ./spec/spec_helper.rb:272:in `block in create_zip'
# ./spec/spec_helper.rb:261:in `tap'
# ./spec/spec_helper.rb:261:in `create_zip'
# ./spec/controllers/runtime/buildpack_bits_controller_spec.rb:16:in `block (2 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/buildpack_bits_controller_spec.rb:76:in `block (4 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
18) VCAP::CloudController::BuildpackBitsController Buildpack binaries /v2/buildpacks/:guid/bits does not allow non-zip files
Failure/Error: create_zip(tar_gz_name, 1)
RuntimeError:
Failed zipping:
# ./spec/spec_helper.rb:272:in `block in create_zip'
# ./spec/spec_helper.rb:261:in `tap'
# ./spec/spec_helper.rb:261:in `create_zip'
# ./spec/controllers/runtime/buildpack_bits_controller_spec.rb:30:in `block (2 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/buildpack_bits_controller_spec.rb:84:in `block (4 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
19) VCAP::CloudController::BuildpackBitsController Buildpack binaries /v2/buildpacks/:guid/bits returns a CREATED (201) if an admin uploads a zipped build pack
Failure/Error: create_zip(zip_name, 1)
RuntimeError:
Failed zipping:
# ./spec/spec_helper.rb:272:in `block in create_zip'
# ./spec/spec_helper.rb:261:in `tap'
# ./spec/spec_helper.rb:261:in `create_zip'
# ./spec/controllers/runtime/buildpack_bits_controller_spec.rb:16:in `block (2 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/buildpack_bits_controller_spec.rb:50:in `block (4 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/buildpack_bits_controller_spec.rb:58:in `block (4 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
20) VCAP::CloudController::BuildpackBitsController Buildpack binaries /v2/buildpacks/:guid/bits returns NOT AUTHORIZED (403) for non admins
Failure/Error: create_zip(zip_name, 1)
RuntimeError:
Failed zipping:
# ./spec/spec_helper.rb:272:in `block in create_zip'
# ./spec/spec_helper.rb:261:in `tap'
# ./spec/spec_helper.rb:261:in `create_zip'
# ./spec/controllers/runtime/buildpack_bits_controller_spec.rb:16:in `block (2 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/buildpack_bits_controller_spec.rb:50:in `block (4 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/buildpack_bits_controller_spec.rb:53:in `block (4 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
21) VCAP::CloudController::BuildpackBitsController Buildpack binaries /v2/buildpacks/:guid/download lets users with correct basic auth retrieve the bits for a specific buildpack
Failure/Error: create_zip(zip_name, 1)
RuntimeError:
Failed zipping:
# ./spec/spec_helper.rb:272:in `block in create_zip'
# ./spec/spec_helper.rb:261:in `tap'
# ./spec/spec_helper.rb:261:in `create_zip'
# ./spec/controllers/runtime/buildpack_bits_controller_spec.rb:16:in `block (2 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/buildpack_bits_controller_spec.rb:149:in `block (4 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
22) SafeZipper.unzip unzips the file given
Failure/Error: subject(:unzip) { SafeZipper.unzip(zip_path, zip_destination) }
Errno::ENOENT:
No such file or directory - unzip -l /cloud_controller_ng/spec/fixtures/good.zip
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `spawn'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `popen_run'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:90:in `popen3'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:270:in `capture3'
# ./lib/cloud_controller/safe_zipper.rb:60:in `zip_info'
# ./lib/cloud_controller/safe_zipper.rb:76:in `any_outside_relative_paths?'
# ./lib/cloud_controller/safe_zipper.rb:20:in `unzip!'
# ./lib/cloud_controller/safe_zipper.rb:6:in `unzip'
# ./spec/safe_zipper_spec.rb:16:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/safe_zipper_spec.rb:19:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# ./spec/safe_zipper_spec.rb:8:in `call'
# ./spec/safe_zipper_spec.rb:8:in `block (3 levels) in <top (required)>'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
# ./spec/safe_zipper_spec.rb:6:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
23) SafeZipper.unzip returns the size of the unzipped files
Failure/Error: expect(SafeZipper.unzip(zip_path, zip_destination)).to eq 17
Errno::ENOENT:
No such file or directory - unzip -l /cloud_controller_ng/spec/fixtures/good.zip
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `spawn'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `popen_run'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:90:in `popen3'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:270:in `capture3'
# ./lib/cloud_controller/safe_zipper.rb:60:in `zip_info'
# ./lib/cloud_controller/safe_zipper.rb:76:in `any_outside_relative_paths?'
# ./lib/cloud_controller/safe_zipper.rb:20:in `unzip!'
# ./lib/cloud_controller/safe_zipper.rb:6:in `unzip'
# ./spec/safe_zipper_spec.rb:26:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# ./spec/safe_zipper_spec.rb:8:in `call'
# ./spec/safe_zipper_spec.rb:8:in `block (3 levels) in <top (required)>'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
# ./spec/safe_zipper_spec.rb:6:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
24) SafeZipper.unzip relative paths when the are inside the root directory unzips them archive correctly without errors
Failure/Error: subject(:unzip) { SafeZipper.unzip(zip_path, zip_destination) }
Errno::ENOENT:
No such file or directory - unzip -l /cloud_controller_ng/spec/fixtures/good_relative_paths.zip
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `spawn'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `popen_run'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:90:in `popen3'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:270:in `capture3'
# ./lib/cloud_controller/safe_zipper.rb:60:in `zip_info'
# ./lib/cloud_controller/safe_zipper.rb:76:in `any_outside_relative_paths?'
# ./lib/cloud_controller/safe_zipper.rb:20:in `unzip!'
# ./lib/cloud_controller/safe_zipper.rb:6:in `unzip'
# ./spec/safe_zipper_spec.rb:16:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/safe_zipper_spec.rb:87:in `block (5 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# ./spec/safe_zipper_spec.rb:8:in `call'
# ./spec/safe_zipper_spec.rb:8:in `block (3 levels) in <top (required)>'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
# ./spec/safe_zipper_spec.rb:6:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
25) SafeZipper.unzip relative paths when the are outside the root directory raises an exception
Failure/Error: expect { unzip }.to raise_exception VCAP::Errors::AppBitsUploadInvalid, /relative path.+outside/i
expected VCAP::Errors::AppBitsUploadInvalid with message matching /relative path.+outside/i, got #<Errno::ENOENT: No such file or directory - unzip -l /cloud_controller_ng/spec/fixtures/bad_relative_paths.zip> with backtrace:
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `spawn'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `popen_run'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:90:in `popen3'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:270:in `capture3'
# ./lib/cloud_controller/safe_zipper.rb:60:in `zip_info'
# ./lib/cloud_controller/safe_zipper.rb:76:in `any_outside_relative_paths?'
# ./lib/cloud_controller/safe_zipper.rb:20:in `unzip!'
# ./lib/cloud_controller/safe_zipper.rb:6:in `unzip'
# ./spec/safe_zipper_spec.rb:16:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/safe_zipper_spec.rb:96:in `block (6 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/raise_error.rb:40:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/raise_error.rb:40:in `matches?'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/expectation_target.rb:34:in `to'
# ./spec/safe_zipper_spec.rb:96:in `block (5 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# ./spec/safe_zipper_spec.rb:8:in `call'
# ./spec/safe_zipper_spec.rb:8:in `block (3 levels) in <top (required)>'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
# ./spec/safe_zipper_spec.rb:6:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/fail_with.rb:32:in `fail_with'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/handler.rb:36:in `handle_matcher'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/expectation_target.rb:34:in `to'
# ./spec/safe_zipper_spec.rb:96:in `block (5 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# ./spec/safe_zipper_spec.rb:8:in `call'
# ./spec/safe_zipper_spec.rb:8:in `block (3 levels) in <top (required)>'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
# ./spec/safe_zipper_spec.rb:6:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
26) SafeZipper.unzip when the zip is empty raises an exception
Failure/Error: expect { unzip }.to raise_exception VCAP::Errors::AppBitsUploadInvalid, /unzipping had errors/i
expected VCAP::Errors::AppBitsUploadInvalid with message matching /unzipping had errors/i, got #<Errno::ENOENT: No such file or directory - unzip -l /cloud_controller_ng/spec/fixtures/empty.zip> with backtrace:
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `spawn'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `popen_run'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:90:in `popen3'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:270:in `capture3'
# ./lib/cloud_controller/safe_zipper.rb:60:in `zip_info'
# ./lib/cloud_controller/safe_zipper.rb:76:in `any_outside_relative_paths?'
# ./lib/cloud_controller/safe_zipper.rb:20:in `unzip!'
# ./lib/cloud_controller/safe_zipper.rb:6:in `unzip'
# ./spec/safe_zipper_spec.rb:16:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/safe_zipper_spec.rb:59:in `block (5 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/raise_error.rb:40:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/raise_error.rb:40:in `matches?'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/expectation_target.rb:34:in `to'
# ./spec/safe_zipper_spec.rb:59:in `block (4 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# ./spec/safe_zipper_spec.rb:8:in `call'
# ./spec/safe_zipper_spec.rb:8:in `block (3 levels) in <top (required)>'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
# ./spec/safe_zipper_spec.rb:6:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/fail_with.rb:32:in `fail_with'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/handler.rb:36:in `handle_matcher'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/expectation_target.rb:34:in `to'
# ./spec/safe_zipper_spec.rb:59:in `block (4 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# ./spec/safe_zipper_spec.rb:8:in `call'
# ./spec/safe_zipper_spec.rb:8:in `block (3 levels) in <top (required)>'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
# ./spec/safe_zipper_spec.rb:6:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
27) SafeZipper.unzip when the underlying unzip fails raises an exception
Failure/Error: expect { unzip }.to raise_exception VCAP::Errors::AppBitsUploadInvalid, /unzipping had errors\n STDOUT: ""\n STDERR: "unzip:\s+cannot find or open/im
expected VCAP::Errors::AppBitsUploadInvalid with message matching /unzipping had errors\n STDOUT: ""\n STDERR: "unzip:\s+cannot find or open/mi, got #<Errno::ENOENT: No such file or directory - unzip -l /fixtures/corrupt.zip> with backtrace:
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `spawn'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `popen_run'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:90:in `popen3'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:270:in `capture3'
# ./lib/cloud_controller/safe_zipper.rb:60:in `zip_info'
# ./lib/cloud_controller/safe_zipper.rb:76:in `any_outside_relative_paths?'
# ./lib/cloud_controller/safe_zipper.rb:20:in `unzip!'
# ./lib/cloud_controller/safe_zipper.rb:6:in `unzip'
# ./spec/safe_zipper_spec.rb:16:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/safe_zipper_spec.rb:51:in `block (5 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/raise_error.rb:40:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/raise_error.rb:40:in `matches?'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/expectation_target.rb:34:in `to'
# ./spec/safe_zipper_spec.rb:51:in `block (4 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# ./spec/safe_zipper_spec.rb:8:in `call'
# ./spec/safe_zipper_spec.rb:8:in `block (3 levels) in <top (required)>'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
# ./spec/safe_zipper_spec.rb:6:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/fail_with.rb:32:in `fail_with'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/handler.rb:36:in `handle_matcher'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/expectation_target.rb:34:in `to'
# ./spec/safe_zipper_spec.rb:51:in `block (4 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# ./spec/safe_zipper_spec.rb:8:in `call'
# ./spec/safe_zipper_spec.rb:8:in `block (3 levels) in <top (required)>'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
# ./spec/safe_zipper_spec.rb:6:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
28) SafeZipper.unzip symlinks when they are inside the root directory unzips them archive correctly without errors
Failure/Error: subject(:unzip) { SafeZipper.unzip(zip_path, zip_destination) }
Errno::ENOENT:
No such file or directory - unzip -l /cloud_controller_ng/spec/fixtures/good_symlinks.zip
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `spawn'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `popen_run'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:90:in `popen3'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:270:in `capture3'
# ./lib/cloud_controller/safe_zipper.rb:60:in `zip_info'
# ./lib/cloud_controller/safe_zipper.rb:76:in `any_outside_relative_paths?'
# ./lib/cloud_controller/safe_zipper.rb:20:in `unzip!'
# ./lib/cloud_controller/safe_zipper.rb:6:in `unzip'
# ./spec/safe_zipper_spec.rb:16:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/safe_zipper_spec.rb:68:in `block (5 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# ./spec/safe_zipper_spec.rb:8:in `call'
# ./spec/safe_zipper_spec.rb:8:in `block (3 levels) in <top (required)>'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
# ./spec/safe_zipper_spec.rb:6:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
29) SafeZipper.unzip symlinks when the are outside the root directory raises an exception
Failure/Error: expect { unzip }.to raise_exception VCAP::Errors::AppBitsUploadInvalid, /symlink.+outside/i
expected VCAP::Errors::AppBitsUploadInvalid with message matching /symlink.+outside/i, got #<Errno::ENOENT: No such file or directory - unzip -l /cloud_controller_ng/spec/fixtures/bad_symlinks.zip> with backtrace:
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `spawn'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `popen_run'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:90:in `popen3'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:270:in `capture3'
# ./lib/cloud_controller/safe_zipper.rb:60:in `zip_info'
# ./lib/cloud_controller/safe_zipper.rb:76:in `any_outside_relative_paths?'
# ./lib/cloud_controller/safe_zipper.rb:20:in `unzip!'
# ./lib/cloud_controller/safe_zipper.rb:6:in `unzip'
# ./spec/safe_zipper_spec.rb:16:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/safe_zipper_spec.rb:77:in `block (6 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/raise_error.rb:40:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/raise_error.rb:40:in `matches?'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/expectation_target.rb:34:in `to'
# ./spec/safe_zipper_spec.rb:77:in `block (5 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# ./spec/safe_zipper_spec.rb:8:in `call'
# ./spec/safe_zipper_spec.rb:8:in `block (3 levels) in <top (required)>'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
# ./spec/safe_zipper_spec.rb:6:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/fail_with.rb:32:in `fail_with'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/handler.rb:36:in `handle_matcher'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/expectation_target.rb:34:in `to'
# ./spec/safe_zipper_spec.rb:77:in `block (5 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# ./spec/safe_zipper_spec.rb:8:in `call'
# ./spec/safe_zipper_spec.rb:8:in `block (3 levels) in <top (required)>'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
# ./spec/safe_zipper_spec.rb:6:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
30) SafeZipper.zip zips the file
Failure/Error: SafeZipper.zip(root_path, tmp_zip)
Errno::ENOENT:
No such file or directory - zip -q -r --symlinks /tmp/foo20131231-134-16qu9y1/tmp.zip .
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `spawn'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `popen_run'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:90:in `popen3'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:270:in `capture3'
# ./lib/cloud_controller/safe_zipper.rb:44:in `zip'
# ./lib/cloud_controller/safe_zipper.rb:33:in `zip!'
# ./lib/cloud_controller/safe_zipper.rb:10:in `zip'
# ./spec/safe_zipper_spec.rb:107:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# ./spec/safe_zipper_spec.rb:8:in `call'
# ./spec/safe_zipper_spec.rb:8:in `block (3 levels) in <top (required)>'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
# ./spec/safe_zipper_spec.rb:6:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
31) SafeZipper.zip when the zipping fails will raise an error
Failure/Error: expect {
expected VCAP::Errors::AppPackageInvalid with message matching /could not zip the package\n STDOUT: "zip .+?"\n STDERR: ""/mi, got #<Errno::ENOENT: No such file or directory - zip -q -r --symlinks /non/existent/path/to/tmp.zip .> with backtrace:
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `spawn'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:202:in `popen_run'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:90:in `popen3'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/open3.rb:270:in `capture3'
# ./lib/cloud_controller/safe_zipper.rb:44:in `zip'
# ./lib/cloud_controller/safe_zipper.rb:33:in `zip!'
# ./lib/cloud_controller/safe_zipper.rb:10:in `zip'
# ./spec/safe_zipper_spec.rb:144:in `block (5 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/raise_error.rb:40:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/raise_error.rb:40:in `matches?'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/expectation_target.rb:34:in `to'
# ./spec/safe_zipper_spec.rb:143:in `block (4 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# ./spec/safe_zipper_spec.rb:8:in `call'
# ./spec/safe_zipper_spec.rb:8:in `block (3 levels) in <top (required)>'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
# ./spec/safe_zipper_spec.rb:6:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/fail_with.rb:32:in `fail_with'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/handler.rb:36:in `handle_matcher'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/expectation_target.rb:34:in `to'
# ./spec/safe_zipper_spec.rb:143:in `block (4 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# ./spec/safe_zipper_spec.rb:8:in `call'
# ./spec/safe_zipper_spec.rb:8:in `block (3 levels) in <top (required)>'
# //.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
# ./spec/safe_zipper_spec.rb:6:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
32) VCAP::CloudController::StagingsController GET /staging/apps/:guid when using with nginx succeeds for valid packages
Failure/Error: create_zip(zipname, 10, 1024)
RuntimeError:
Failed zipping:
# ./spec/spec_helper.rb:272:in `block in create_zip'
# ./spec/spec_helper.rb:261:in `tap'
# ./spec/spec_helper.rb:261:in `create_zip'
# ./spec/controllers/runtime/stagings_controller_spec.rb:86:in `block in it_downloads_staged_app'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
33) VCAP::CloudController::StagingsController GET /staging/apps/:guid when not using with nginx succeeds for valid packages
Failure/Error: create_zip(zipname, 10, 1024)
RuntimeError:
Failed zipping:
# ./spec/spec_helper.rb:272:in `block in create_zip'
# ./spec/spec_helper.rb:261:in `tap'
# ./spec/spec_helper.rb:261:in `create_zip'
# ./spec/controllers/runtime/stagings_controller_spec.rb:86:in `block in it_downloads_staged_app'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
34) VCAP::CloudController::AppBitsController PUT /v2/app/:id/bits as a developer with a valid zip file returns 201
Failure/Error: create_zip(zip_name, 1)
RuntimeError:
Failed zipping:
# ./spec/spec_helper.rb:272:in `block in create_zip'
# ./spec/spec_helper.rb:261:in `tap'
# ./spec/spec_helper.rb:261:in `create_zip'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:13:in `block (3 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:115:in `block (5 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:68:in `make_request'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:27:in `block in it_succeeds_to_upload'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
35) VCAP::CloudController::AppBitsController PUT /v2/app/:id/bits as a developer with a valid zip file updates package hash
Failure/Error: create_zip(zip_name, 1)
RuntimeError:
Failed zipping:
# ./spec/spec_helper.rb:272:in `block in create_zip'
# ./spec/spec_helper.rb:261:in `tap'
# ./spec/spec_helper.rb:261:in `create_zip'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:13:in `block (3 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:115:in `block (5 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:68:in `make_request'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:38:in `block (2 levels) in it_succeeds_to_upload'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/change.rb:16:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/change.rb:16:in `matches?'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/expectation_target.rb:34:in `to'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:37:in `block in it_succeeds_to_upload'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
36) VCAP::CloudController::AppBitsController PUT /v2/app/:id/bits as a developer with a valid zip file returns valid JSON
Failure/Error: create_zip(zip_name, 1)
RuntimeError:
Failed zipping:
# ./spec/spec_helper.rb:272:in `block in create_zip'
# ./spec/spec_helper.rb:261:in `tap'
# ./spec/spec_helper.rb:261:in `create_zip'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:13:in `block (3 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:115:in `block (5 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:68:in `make_request'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:32:in `block in it_succeeds_to_upload'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
37) VCAP::CloudController::AppBitsController PUT /v2/app/:id/bits as a developer with empty resources returns 201
Failure/Error: create_zip(zip_name, 1)
RuntimeError:
Failed zipping:
# ./spec/spec_helper.rb:272:in `block in create_zip'
# ./spec/spec_helper.rb:261:in `tap'
# ./spec/spec_helper.rb:261:in `create_zip'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:13:in `block (3 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:97:in `block (5 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:68:in `make_request'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:27:in `block in it_succeeds_to_upload'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
38) VCAP::CloudController::AppBitsController PUT /v2/app/:id/bits as a developer with empty resources updates package hash
Failure/Error: create_zip(zip_name, 1)
RuntimeError:
Failed zipping:
# ./spec/spec_helper.rb:272:in `block in create_zip'
# ./spec/spec_helper.rb:261:in `tap'
# ./spec/spec_helper.rb:261:in `create_zip'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:13:in `block (3 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:97:in `block (5 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:68:in `make_request'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:38:in `block (2 levels) in it_succeeds_to_upload'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/change.rb:16:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/change.rb:16:in `matches?'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/expectation_target.rb:34:in `to'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:37:in `block in it_succeeds_to_upload'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
39) VCAP::CloudController::AppBitsController PUT /v2/app/:id/bits as a developer with empty resources returns valid JSON
Failure/Error: create_zip(zip_name, 1)
RuntimeError:
Failed zipping:
# ./spec/spec_helper.rb:272:in `block in create_zip'
# ./spec/spec_helper.rb:261:in `tap'
# ./spec/spec_helper.rb:261:in `create_zip'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:13:in `block (3 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:97:in `block (5 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:68:in `make_request'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:32:in `block in it_succeeds_to_upload'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
40) VCAP::CloudController::AppBitsController PUT /v2/app/:id/bits as a developer with no resources and application changes the app package_state to FAILED
Failure/Error: create_zip(zip_name, 1)
RuntimeError:
Failed zipping:
# ./spec/spec_helper.rb:272:in `block in create_zip'
# ./spec/spec_helper.rb:261:in `tap'
# ./spec/spec_helper.rb:261:in `create_zip'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:13:in `block (3 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:90:in `block (5 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:68:in `make_request'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:62:in `block (2 levels) in it_fails_to_upload'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/change.rb:16:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/change.rb:16:in `matches?'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/expectation_target.rb:34:in `to'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:61:in `block in it_fails_to_upload'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
41) VCAP::CloudController::AppBitsController PUT /v2/app/:id/bits as a developer with no resources and application does not update package hash
Failure/Error: create_zip(zip_name, 1)
RuntimeError:
Failed zipping:
# ./spec/spec_helper.rb:272:in `block in create_zip'
# ./spec/spec_helper.rb:261:in `tap'
# ./spec/spec_helper.rb:261:in `create_zip'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:13:in `block (3 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:90:in `block (5 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:68:in `make_request'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:56:in `block (2 levels) in it_fails_to_upload'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/change.rb:16:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/change.rb:16:in `matches?'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/handler.rb:50:in `handle_matcher'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.4/lib/rspec/expectations/expectation_target.rb:47:in `not_to'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:55:in `block in it_fails_to_upload'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
42) VCAP::CloudController::AppBitsController PUT /v2/app/:id/bits as a developer with no resources and application returns valid JSON
Failure/Error: create_zip(zip_name, 1)
RuntimeError:
Failed zipping:
# ./spec/spec_helper.rb:272:in `block in create_zip'
# ./spec/spec_helper.rb:261:in `tap'
# ./spec/spec_helper.rb:261:in `create_zip'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:13:in `block (3 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:90:in `block (5 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:68:in `make_request'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:50:in `block in it_fails_to_upload'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
43) VCAP::CloudController::AppBitsController PUT /v2/app/:id/bits as a developer with no resources and application returns 400
Failure/Error: create_zip(zip_name, 1)
RuntimeError:
Failed zipping:
# ./spec/spec_helper.rb:272:in `block in create_zip'
# ./spec/spec_helper.rb:261:in `tap'
# ./spec/spec_helper.rb:261:in `create_zip'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:13:in `block (3 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:90:in `block (5 levels) in <module:CloudController>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block (2 levels) in let'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `fetch'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb:199:in `block in let'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:68:in `make_request'
# ./spec/controllers/runtime/app_bits_controller_spec.rb:45:in `block in it_fails_to_upload'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `instance_eval'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `run'
# ./spec/spec_helper.rb:701:in `block (3 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:121:in `_transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:103:in `block in transaction'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/database/transactions.rb:96:in `transaction'
# ./spec/spec_helper.rb:700:in `block (2 levels) in <top (required)>'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `call'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `map'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `block in run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
# /.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'