#137 ✓invalid
Nicolas Alejandro Santa

first build bug: first commit message

Reported by Nicolas Alejandro Santa | April 6th, 2009 @ 05:35 PM

When i try to make the first build, i got this error.

We are talked about this with Nicolás Sanguinetti on locosxrails.

Seems that "project.rb:112 in find_or_create_commit_with_identifier'" does not create the commit with the message.

This is what happened:

integrity_commits.message may not be NULL Query: INSERT INTO "integrity_commits" ("updated_at", "project_id", "committed_at", "created_at", "identifier") VALUES ('2009-04-06T15:30:33+00:00', 2, '2009-04-06T15:30:33+00:00', '2009-04-06T15:30:33+00:00', '1c65a5f099d8d71a568dc6b0367e78376cd2752a')

/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/adapters/data_objects_adapter.rb:92:in `execute_non_query'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/adapters/data_objects_adapter.rb:92:in `execute'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/adapters/data_objects_adapter.rb:173:in `with_connection'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/adapters/data_objects_adapter.rb:90:in `execute'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/adapters/data_objects_adapter.rb:26:in `create'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/adapters/data_objects_adapter.rb:15:in `each'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/adapters/data_objects_adapter.rb:15:in `create'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/repository.rb:51:in `create'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/resource.rb:589:in `hookable__create_nan_before_advised'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/extlib-0.9.11/lib/extlib/hook.rb:299:in `create'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/extlib-0.9.11/lib/extlib/hook.rb:297:in `catch'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/extlib-0.9.11/lib/extlib/hook.rb:297:in `create'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/resource.rb:295:in `hookable__save_nan_before_advised'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/extlib-0.9.11/lib/extlib/hook.rb:299:in `save'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/extlib-0.9.11/lib/extlib/hook.rb:297:in `catch'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/extlib-0.9.11/lib/extlib/hook.rb:297:in `save'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/model.rb:288:in `first_or_create'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/collection.rb:646:in `send'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/collection.rb:646:in `method_missing'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/scope.rb:22:in `with_scope'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/scope.rb:32:in `with_exclusive_scope'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/scope.rb:22:in `with_scope'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/collection.rb:645:in `send'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/collection.rb:645:in `method_missing'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/associations/one_to_many.rb:309:in `send'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/associations/one_to_many.rb:309:in `method_missing'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/foca-integrity-0.1.9.2/lib/integrity/project.rb:112:in `find_or_create_commit_with_identifier'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/foca-integrity-0.1.9.2/lib/integrity/project.rb:34:in `build'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/foca-integrity-0.1.9.2/lib/integrity/app.rb:117:in `POST /:project/builds'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/sinatra-0.9.1.1/lib/sinatra/base.rb:696:in `call'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/sinatra-0.9.1.1/lib/sinatra/base.rb:696:in `route'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/sinatra-0.9.1.1/lib/sinatra/base.rb:429:in `instance_eval'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/sinatra-0.9.1.1/lib/sinatra/base.rb:429:in `route!'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/sinatra-0.9.1.1/lib/sinatra/base.rb:426:in `catch'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/sinatra-0.9.1.1/lib/sinatra/base.rb:426:in `route!'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/sinatra-0.9.1.1/lib/sinatra/base.rb:405:in `each'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/sinatra-0.9.1.1/lib/sinatra/base.rb:405:in `route!'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/sinatra-0.9.1.1/lib/sinatra/base.rb:497:in `dispatch!'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/sinatra-0.9.1.1/lib/sinatra/base.rb:350:in `call!'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/sinatra-0.9.1.1/lib/sinatra/base.rb:464:in `instance_eval'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/sinatra-0.9.1.1/lib/sinatra/base.rb:464:in `invoke'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/sinatra-0.9.1.1/lib/sinatra/base.rb:464:in `catch'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/sinatra-0.9.1.1/lib/sinatra/base.rb:464:in `invoke'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/sinatra-0.9.1.1/lib/sinatra/base.rb:350:in `call!'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/sinatra-0.9.1.1/lib/sinatra/base.rb:339:in `call'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/methodoverride.rb:24:in `call'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/commonlogger.rb:20:in `_call'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/commonlogger.rb:13:in `call'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/session/cookie.rb:35:in `call'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/sinatra-0.9.1.1/lib/sinatra/base.rb:796:in `call'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/sinatra-0.9.1.1/lib/sinatra/base.rb:853:in `synchronize'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/sinatra-0.9.1.1/lib/sinatra/base.rb:794:in `call'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/passenger/rack/request_handler.rb:65:in `process_request'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/passenger/abstract_request_handler.rb:165:in `main_loop'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/passenger/rack/application_spawner.rb:92:in `run'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/passenger/rack/application_spawner.rb:50:in `spawn_application'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/passenger/utils.rb:163:in `safe_fork'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/passenger/utils.rb:161:in `fork'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/passenger/utils.rb:161:in `safe_fork'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/passenger/rack/application_spawner.rb:48:in `spawn_application'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/passenger/utils.rb:163:in `safe_fork'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/passenger/utils.rb:161:in `fork'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/passenger/utils.rb:161:in `safe_fork'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/passenger/rack/application_spawner.rb:47:in `spawn_application'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/passenger/rack/application_spawner.rb:33:in `spawn_application'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/passenger/spawn_manager.rb:114:in `spawn_application'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/passenger/spawn_manager.rb:251:in `handle_spawn_application'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/passenger/abstract_server.rb:317:in `__send__'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/passenger/abstract_server.rb:317:in `main_loop'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/passenger/abstract_server.rb:168:in `start_synchronously'
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/passenger-2.0.6/bin/passenger-spawn-server:46

Comments and changes to this ticket

  • Simon Rozet

    Simon Rozet April 6th, 2009 @ 05:44 PM

    • Milestone cleared.
    • Tag cleared.
    • Assigned user changed from “ronin-278 (at lighthouseapp)” to “Simon Rozet”
    • State changed from “new” to “invalid”

    Hey! This issue [#133] is fixed in git master; I'll release a new gem soon. In the mean time, you can install integrity from source:

    $ git clone git://github.com/foca/integrity.git
    $ gem build integrity.gemspec
    $ gem install integrity*.gem
    
  • Simon Rozet

    Simon Rozet April 6th, 2009 @ 05:58 PM

    gem update integrity :)

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Automated continuous integration server that doesn't suck.

Shared Ticket Bins

People watching this ticket

Pages