Rails-MySQL Build 6364.2 - FAILED

/Users/cruise/src/cruise/projects/Rails-MySQL/work cruise$ ruby ../rails_build.rb
[CruiseControl] Rails build
[CruiseControl] Darwin cruisecontrolrb.thoughtworks.com 8.8.1 Darwin Kernel Version 8.8.1: Mon Sep 25 19:42:00 PDT 2006; root:xnu-792.13.8.obj~1/RELEASE_I386 i386 i386
[CruiseControl] ruby 1.8.5 (2006-12-25 patchlevel 12) [i686-darwin8.8.1]

[CruiseControl] Building ActiveSupport

/opt/local/bin/ruby -w -Ilib "/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb" "test/caching_tools_test.rb" "test/clean_logger_test.rb" "test/dependencies_test.rb" "test/deprecation_test.rb" "test/inflector_test.rb" "test/multibyte_chars_test.rb" "test/multibyte_handler_test.rb" "test/option_merger_test.rb" "test/ordered_options_test.rb" "test/reloadable_test.rb" "test/time_zone_test.rb" "test/whiny_nil_test.rb" "test/core_ext/array_ext_test.rb" "test/core_ext/blank_test.rb" "test/core_ext/cgi_ext_test.rb" "test/core_ext/class_test.rb" "test/core_ext/date_ext_test.rb" "test/core_ext/date_time_ext_test.rb" "test/core_ext/duration_test.rb" "test/core_ext/enumerable_test.rb" "test/core_ext/exception_test.rb" "test/core_ext/file_test.rb" "test/core_ext/hash_ext_test.rb" "test/core_ext/integer_ext_test.rb" "test/core_ext/kernel_test.rb" "test/core_ext/module_test.rb" "test/core_ext/name_error_test.rb" "test/core_ext/numeric_ext_test.rb" "test/core_ext/object_and_class_ext_test.rb" "test/core_ext/pathname_test.rb" "test/core_ext/proc_test.rb" "test/core_ext/range_ext_test.rb" "test/core_ext/string_ext_test.rb" "test/core_ext/symbol_test.rb" "test/core_ext/time_ext_test.rb" "test/core_ext/class/attribute_accessor_test.rb" "test/core_ext/class/class_inheritable_attributes_test.rb" "test/core_ext/module/attr_accessor_with_default_test.rb" "test/core_ext/module/attr_internal_test.rb" "test/core_ext/module/attribute_accessor_test.rb" "test/core_ext/module/attribute_aliasing_test.rb"
(in /Users/cruise/src/cruise/projects/Rails-MySQL/work/activesupport)
Loaded suite /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader
Started
.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Finished in 1.008509 seconds.

589 tests, 2126 assertions, 0 failures, 0 errors

[CruiseControl] Building ActiveRecord

/opt/local/bin/ruby -Ilib:test:test/connections/native_mysql "/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb" "test/aaa_create_tables_test.rb" "test/adapter_test.rb" "test/aggregations_test.rb" "test/ar_schema_test.rb" "test/associations_test.rb" "test/attribute_methods_test.rb" "test/base_test.rb" "test/binary_test.rb" "test/calculations_test.rb" "test/callbacks_test.rb" "test/class_inheritable_attributes_test.rb" "test/column_alias_test.rb" "test/defaults_test.rb" "test/deprecated_associations_test.rb" "test/deprecated_finder_test.rb" "test/empty_date_time_test.rb" "test/finder_test.rb" "test/fixtures_test.rb" "test/inheritance_test.rb" "test/lifecycle_test.rb" "test/locking_test.rb" "test/method_scoping_test.rb" "test/migration_test.rb" "test/mixin_nested_set_test.rb" "test/mixin_test.rb" "test/modules_test.rb" "test/multiple_db_test.rb" "test/pk_test.rb" "test/query_cache_test.rb" "test/readonly_test.rb" "test/reflection_test.rb" "test/schema_dumper_test.rb" "test/threaded_connections_test.rb" "test/transactions_test.rb" "test/unconnected_test.rb" "test/validations_test.rb" "test/xml_serialization_test.rb" "test/associations/callbacks_test.rb" "test/associations/cascaded_eager_loading_test.rb" "test/associations/eager_test.rb" "test/associations/extension_test.rb" "test/associations/join_model_test.rb" "test/active_schema_test_mysql.rb"
(in /Users/cruise/src/cruise/projects/Rails-MySQL/work/activerecord)
Using native MySQL
Loaded suite /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader
Started
........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Finished in 19.275422 seconds.

1064 tests, 4064 assertions, 0 failures, 0 errors

[CruiseControl] Building ActionPack

/opt/local/bin/ruby -Ilib:test "/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb" "test/controller/action_pack_assertions_test.rb" "test/controller/addresses_render_test.rb" "test/controller/assert_select_test.rb" "test/controller/base_test.rb" "test/controller/benchmark_test.rb" "test/controller/caching_test.rb" "test/controller/capture_test.rb" "test/controller/cgi_test.rb" "test/controller/components_test.rb" "test/controller/content_type_test.rb" "test/controller/cookie_test.rb" "test/controller/custom_handler_test.rb" "test/controller/deprecated_instance_variables_test.rb" "test/controller/filter_params_test.rb" "test/controller/filters_test.rb" "test/controller/flash_test.rb" "test/controller/fragment_store_setting_test.rb" "test/controller/helper_test.rb" "test/controller/integration_test.rb" "test/controller/layout_test.rb" "test/controller/mime_responds_test.rb" "test/controller/mime_type_test.rb" "test/controller/new_render_test.rb" "test/controller/raw_post_test.rb" "test/controller/redirect_test.rb" "test/controller/render_test.rb" "test/controller/request_test.rb" "test/controller/rescue_test.rb" "test/controller/resources_test.rb" "test/controller/routing_test.rb" "test/controller/selector_test.rb" "test/controller/send_file_test.rb" "test/controller/session_management_test.rb" "test/controller/test_test.rb" "test/controller/url_rewriter_test.rb" "test/controller/verification_test.rb" "test/controller/view_paths_test.rb" "test/controller/webservice_test.rb" "test/controller/deprecation/deprecated_base_methods_test.rb" "test/controller/html-scanner/document_test.rb" "test/controller/html-scanner/node_test.rb" "test/controller/html-scanner/tag_node_test.rb" "test/controller/html-scanner/text_node_test.rb" "test/controller/html-scanner/tokenizer_test.rb" "test/controller/session/cookie_store_test.rb" "test/template/active_record_helper_test.rb" "test/template/asset_tag_helper_test.rb" "test/template/benchmark_helper_test.rb" "test/template/compiled_templates_test.rb" "test/template/date_helper_test.rb" "test/template/deprecated_helper_test.rb" "test/template/deprecated_instance_variables_test.rb" "test/template/form_helper_test.rb" "test/template/form_options_helper_test.rb" "test/template/form_tag_helper_test.rb" "test/template/java_script_macros_helper_test.rb" "test/template/javascript_helper_test.rb" "test/template/number_helper_test.rb" "test/template/prototype_helper_test.rb" "test/template/scriptaculous_helper_test.rb" "test/template/tag_helper_test.rb" "test/template/text_helper_test.rb" "test/template/url_helper_test.rb"
(in /Users/cruise/src/cruise/projects/Rails-MySQL/work/actionpack)
Loaded suite /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader
Started
........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Finished in 10.852073 seconds.

1352 tests, 6535 assertions, 0 failures, 0 errors
/opt/local/bin/ruby -Ilib:test "/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb" "test/activerecord/active_record_store_test.rb" "test/activerecord/pagination_test.rb"
Attempting to load Active Record... success
SQLite 3 unavailable; trying SQLite 2.

Skipping ActiveRecord assertion tests: no such file to load -- sqlite
Loaded suite /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader
Started

Finished in 0.00039 seconds.

0 tests, 0 assertions, 0 failures, 0 errors

[CruiseControl] Rails build finished sucessfully
Intentionally breaking the build, to test emailing to Rails-core

Cool!

What's the operating system? As we have had a few mac vs windows /
linux bugs in the past, it might be a good idea to aim for some
permutations there.

This box is a Mac. Actually, “uname -a” output is right at the top of the build log.

Getting an Intel box to run builds for Windows and Linux is in the plans. As well as building AR against other databases.

Best regards,
Alex

Do we need to test for bugs between different Linux architectures as
well? I know I've been bitten by big-endian vs. little-endian before.

I've got a pair of machines (AMD64 and PPC64+32-bit-userland) that
presently run Cerberus for my projects on
MySQL-5.0+PostGres-8.1+SQLite3.

I'll see if I can add testing of trunk easily for them later this
evening.

I'm worried that it might be easy to spam this list however, anybody
else see that as a concern?

Yup. Looks like I’ve been doing just that for the better half of today. I’m done messing with it for today, so it should get a lot quieter now. Apologies to the list.

Email notification from CC.rb works like this: an email is sent every time the build fails, and once a previously broken build passes. Consecutive successful builds do not send any notifications. Therefore, in the ideal world you’d never hear from it.

Once more obscure databases and architectures are added, the amount of “build failed” notifications may become a problem. Then we can think about solving it (it shouldn’t be too hard to solve). It will be funny, though, if every commit that breaks the build triggers an avalanche of “HELP!!! BUILD FAILED!!!” messages from many disconnected CI rigs. :slight_smile:

Alex

Email notification from CC.rb works like this: an email is sent every time
the build fails, and once a previously broken build passes. Consecutive
successful builds do not send any notifications. Therefore, in the ideal
world you'd never hear from it.

The 'fixed' builds can omit all the output. I like how Michael's
script just gives you the info you need: if the problem is fixed,
that's all you need to know.

Even for failed builds, perhaps a simple direct URL to the failed
build would be most useful.

Once more obscure databases and architectures are added, the amount of
"build failed" notifications may become a problem. Then we can think about
solving it (it shouldn't be too hard to solve). It will be funny, though, if
every commit that breaks the build triggers an avalanche of "HELP!!! BUILD
FAILED!!!" messages from many disconnected CI rigs. :slight_smile:

Have them publish RSS build feeds consumed by planet rails buildfarm
which digests and reports here. Clearly, we need more software.

Seriously :wink: let's address that when/if it becomes an issue.

jeremy

Seriously :wink: let’s address that when/if it becomes an issue.

Yep. On my side of things, the issues right now are:

  • broken builds of railties and actionwebservice
  • the interesting error in AR build with SQLite3 (I just got the same error on a Linux with SQLite 3.3.5)
  • setting up an Intel box with Linux and Windows

The ‘fixed’ builds can omit all the output.

Even for failed builds, perhaps a simple direct URL to the failed
build would be most useful.

In due course, we’ll make it happen. :slight_smile:

Alex