Your message dated Sun, 21 Nov 2021 02:36:11 +0000
with message-id <e1mocib-000bf4...@fasolo.debian.org>
and subject line Bug#996119: fixed in ruby-activerecord-nulldb-adapter 0.8.0-1
has caused the Debian Bug report #996119,
regarding ruby-activerecord-nulldb-adapter: FTBFS with ruby3.0: ERROR: Test 
"ruby3.0" failed:       Failure/Error: Employee.create
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
996119: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996119
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: ruby-activerecord-nulldb-adapter
Version: 0.4.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-r...@lists.debian.org
Usertags: ruby3.0

Hi,

We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-activerecord-nulldb-adapter was found to fail to build in that 
situation.

To reproduce this locally, you need to install ruby-all-dev from experimental
on an unstable system or build chroot.

Relevant part (hopefully):
>       Failure/Error: Employee.create
> 
>       ActiveModel::MissingAttributeError:
>         can't write unknown attribute `id`
>       # 
> /usr/share/rubygems-integration/all/gems/activemodel-6.0.3.7/lib/active_model/attribute.rb:206:in
>  `with_value_from_database'
>       # 
> /usr/share/rubygems-integration/all/gems/activemodel-6.0.3.7/lib/active_model/attribute_set.rb:49:in
>  `write_from_user'
>       # 
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/attribute_methods/write.rb:43:in
>  `_write_attribute'
>       # 
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/attribute_methods/primary_key.rb:24:in
>  `id='
>       # 
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/persistence.rb:936:in
>  `_create_record'
>       # 
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/counter_cache.rb:166:in
>  `_create_record'
>       # 
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/locking/optimistic.rb:70:in
>  `_create_record'
>       # 
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/attribute_methods/dirty.rb:211:in
>  `_create_record'
>       # 
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/callbacks.rb:331:in
>  `block in _create_record'
>       # 
> /usr/share/rubygems-integration/all/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:101:in
>  `run_callbacks'
>       # 
> /usr/share/rubygems-integration/all/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:825:in
>  `_run_create_callbacks'
>       # 
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/callbacks.rb:331:in
>  `_create_record'
>       # 
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/timestamp.rb:110:in
>  `_create_record'
>       # 
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/persistence.rb:905:in
>  `create_or_update'
>       # 
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/callbacks.rb:327:in
>  `block in create_or_update'
>       # 
> /usr/share/rubygems-integration/all/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:135:in
>  `run_callbacks'
>       # 
> /usr/share/rubygems-integration/all/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:825:in
>  `_run_save_callbacks'
>       # 
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/callbacks.rb:327:in
>  `create_or_update'
>       # 
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/timestamp.rb:128:in
>  `create_or_update'
>       # 
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/persistence.rb:470:in
>  `save'
>       # 
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/validations.rb:47:in
>  `save'
>       # 
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/transactions.rb:314:in
>  `block in save'
>       # 
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/transactions.rb:375:in
>  `block in with_transaction_returning_status'
>       # 
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/database_statements.rb:280:in
>  `block in transaction'
>       # 
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/transaction.rb:280:in
>  `block in within_new_transaction'
>       # 
> /usr/share/rubygems-integration/all/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in
>  `block (2 levels) in synchronize'
>       # 
> /usr/share/rubygems-integration/all/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in
>  `handle_interrupt'
>       # 
> /usr/share/rubygems-integration/all/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in
>  `block in synchronize'
>       # 
> /usr/share/rubygems-integration/all/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in
>  `handle_interrupt'
>       # 
> /usr/share/rubygems-integration/all/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in
>  `synchronize'
>       # 
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/transaction.rb:278:in
>  `within_new_transaction'
>       # 
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/database_statements.rb:280:in
>  `transaction'
>       # 
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/transactions.rb:212:in
>  `transaction'
>       # 
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/transactions.rb:366:in
>  `with_transaction_returning_status'
>       # 
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/transactions.rb:314:in
>  `save'
>       # 
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/suppressor.rb:44:in
>  `save'
>       # 
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/persistence.rb:38:in
>  `create'
>       # ./spec/nulldb_spec.rb:314:in `block (3 levels) in <top (required)>'
> 
> Finished in 0.05675 seconds (files took 0.8446 seconds to load)
> 39 examples, 31 failures
> 
> Failed examples:
> 
> rspec ./spec/nulldb_spec.rb:101 # NullDB should set the @config instance 
> variable so plugins that assume its there can use it
> rspec ./spec/nulldb_spec.rb:105 # NullDB should enable instantiation of AR 
> objects without a database
> rspec ./spec/nulldb_spec.rb:109 # NullDB should remember columns defined in 
> migrations
> rspec ./spec/nulldb_spec.rb:116 # NullDB should have limit on name
> rspec ./spec/nulldb_spec.rb:120 # NullDB should return true on nullable field
> rspec ./spec/nulldb_spec.rb:124 # NullDB should return false on non-nullable 
> field
> rspec ./spec/nulldb_spec.rb:128 # NullDB should return the appropriate 
> primary key
> rspec ./spec/nulldb_spec.rb:132 # NullDB should return a nil primary key on 
> habtm
> rspec ./spec/nulldb_spec.rb:136 # NullDB should return an empty array of 
> columns for a table-less model
> rspec ./spec/nulldb_spec.rb:140 # NullDB should enable simulated saving of AR 
> objects
> rspec ./spec/nulldb_spec.rb:144 # NullDB should enable AR callbacks during 
> simulated save
> rspec ./spec/nulldb_spec.rb:149 # NullDB should enable simulated deletes of 
> AR objects
> rspec ./spec/nulldb_spec.rb:153 # NullDB should enable simulated creates of 
> AR objects
> rspec ./spec/nulldb_spec.rb:158 # NullDB should generate new IDs when 
> inserting unsaved objects
> rspec ./spec/nulldb_spec.rb:165 # NullDB should re-use object ID when 
> inserting saved objects
> rspec ./spec/nulldb_spec.rb:171 # NullDB should log executed SQL statements
> rspec ./spec/nulldb_spec.rb:178 # NullDB should have the adapter name 'NullDB'
> rspec ./spec/nulldb_spec.rb:182 # NullDB should support migrations
> rspec ./spec/nulldb_spec.rb:186 # NullDB should always have a schema_info 
> table definition
> rspec ./spec/nulldb_spec.rb:190 # NullDB should return an empty array from 
> #select
> rspec ./spec/nulldb_spec.rb:195 # NullDB should provide a way to set log 
> checkpoints
> rspec ./spec/nulldb_spec.rb:218 # NullDB should tag logged statements with 
> their entry point
> rspec ./spec/nulldb_spec.rb:252 # NullDB should allow #finish to be called on 
> the result of #execute
> rspec ./spec/nulldb_spec.rb:256 # NullDB should #to_a return empty array on 
> the result of #execute
> rspec ./spec/nulldb_spec.rb:268 # NullDB should support adding indexes
> rspec ./spec/nulldb_spec.rb:273 # NullDB should support unique indexes
> rspec ./spec/nulldb_spec.rb:278 # NullDB should support multi-column indexes
> rspec ./spec/nulldb_spec.rb:282 # NullDB should support custom index names
> rspec ./spec/nulldb_spec.rb:286 # NullDB should handle 
> ActiveRecord::ConnectionNotEstablished
> rspec ./spec/nulldb_spec.rb:291 # NullDB should handle count queries
> rspec ./spec/nulldb_spec.rb:311 # NullDB::RSpec::NullifiedDatabase 
> have_executed rspec matcher passes if an execution was made
> 
> /usr/bin/ruby3.0 
> -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib
>  /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec 
> --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby3.0" failed: 


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-activerecord-nulldb-adapter/ruby-activerecord-nulldb-adapter_0.4.0-1+rebuild1633375085_amd64.build.txt

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: ruby-activerecord-nulldb-adapter
Source-Version: 0.8.0-1
Done: Daniel Leidert <dleid...@debian.org>

We believe that the bug you reported is fixed in the latest version of
ruby-activerecord-nulldb-adapter, which is due to be installed in the Debian 
FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 996...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Leidert <dleid...@debian.org> (supplier of updated 
ruby-activerecord-nulldb-adapter package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 21 Nov 2021 02:42:17 +0100
Source: ruby-activerecord-nulldb-adapter
Architecture: source
Version: 0.8.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team 
<pkg-ruby-extras-maintain...@lists.alioth.debian.org>
Changed-By: Daniel Leidert <dleid...@debian.org>
Closes: 996119
Changes:
 ruby-activerecord-nulldb-adapter (0.8.0-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream release.
 .
   [ Debian Janitor ]
   * Trim trailing whitespace.
   * Set debhelper-compat version in Build-Depends.
   * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
     Repository-Browse.
   * Bump debhelper from old 12 to 13.
   * Update standards version to 4.5.1, no changes needed.
   * Fix field name case in debian/control (Rules-requires-root =>
     Rules-Requires-Root).
 .
   [ Daniel Leidert ]
   * d/control (Standards-Version): Bump to 4.6.0.
     (Build-Depends): Bump to ruby-activerecord >= 2:6.1 (closes: #996119).
     (Depends): Add ${ruby:Depends}.
   * d/copyright: Add Upstream-Contact field.
     (Copyright): Add team.
   * d/rules: Use gem installation layout and install changelog.
   * d/upstream/metadata: Add Archive and Changelog fields.
Checksums-Sha1:
 fa1d43831d39fdeaa00343039bc4ce5429a33ed7 2275 
ruby-activerecord-nulldb-adapter_0.8.0-1.dsc
 0a34e913446a123104d0d5403cb3a46b6b9d6a1c 14670 
ruby-activerecord-nulldb-adapter_0.8.0.orig.tar.gz
 8d3d9a6c5a66db2f814966e1a0c8094c5b198051 3040 
ruby-activerecord-nulldb-adapter_0.8.0-1.debian.tar.xz
 6423cfddd1bfa0ec5f2e19096dc12162961a01f5 9743 
ruby-activerecord-nulldb-adapter_0.8.0-1_amd64.buildinfo
Checksums-Sha256:
 865b18d64b1246c9ec11785d6d15e3b3b8ac0ad80c6abb33dc1fd932af5c48c3 2275 
ruby-activerecord-nulldb-adapter_0.8.0-1.dsc
 c78a98d806ab3f0118137999ed4734b13bbffcd6d9f0c868b69e4ddf0b41ad1a 14670 
ruby-activerecord-nulldb-adapter_0.8.0.orig.tar.gz
 2c9effe1de2c54576e35c254afaf67117a9d2361cca50d734b64d51ace207ba1 3040 
ruby-activerecord-nulldb-adapter_0.8.0-1.debian.tar.xz
 209a00363b8b094758f836c4e20ddbd9bea591591878f5125328ee1ce93dd150 9743 
ruby-activerecord-nulldb-adapter_0.8.0-1_amd64.buildinfo
Files:
 37d5940f55e5466d99e42c6981c767e4 2275 ruby optional 
ruby-activerecord-nulldb-adapter_0.8.0-1.dsc
 07ed677b9cb9c668ef9af987181b7001 14670 ruby optional 
ruby-activerecord-nulldb-adapter_0.8.0.orig.tar.gz
 7d4bb8539af85ed8429f35142d62b5a7 3040 ruby optional 
ruby-activerecord-nulldb-adapter_0.8.0-1.debian.tar.xz
 eb5030c2e144a70e1889506a8d0f1717 9743 ruby optional 
ruby-activerecord-nulldb-adapter_0.8.0-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEvu1N7VVEpMA+KD3HS80FZ8KW0F0FAmGZpSwACgkQS80FZ8KW
0F3FnhAA2jGBwazohe5o+nyUv2Wmag5niD1egy+SXvI9wq8C0ey/08LNB5xH2vs9
yUOaz/lHU6UQZkOFQBxw+L6f3qlkVb/Z4Cnwa2Ram3rboJlcf1DOQ0QaBn0bs/Ks
zcB4KZBb9Hi612S1sxcMUOhQsOcdqPr3FBEF1KJyde9+6IpJMH5JbG9k+WHCe6b8
vIZYk96yoiELoxyhQCth6DsEPD/rB+8ugPvD+eOUftpj2wOxJe8UK5EoRpGPNDD9
qgMAye14CwgLemGglAt87fUjNusL4YBs7H5V+1/dYSZL5N7Z7bWYnu2xbMsI3TXs
l0mTF8COuZ0EdI5Cv8EAjpyWvA6terO5Wnuhz2E2WdDHpmDc5oC4/c+L8a4Vbeiv
DKB4az0aqRPkQdbwRRe0zUk9febsmhqOoPeeGWCXnR6pEkBFRV+t+QJGwKDmy4lq
Wvs2VPGcMWlqqZIyPjGMCpVnEaOL2XB3xZ30T8BQwFxuz/mTL4iB24taH6/zd83i
+tvaKWFYb9GiyjIf2MqzwY12OB7aYd+4r1H+z51uxdrqNTFSLTYTKVmPrb3+tgBP
PLzbFcC5G2b/r5ePfeHfg0n1evR1enEySnRb4jEiMsfmvQoWKzOF1JI5HAQXTGFw
870tfFIgvsnC3bEMhHKrhPLJce6rEVdSLs9wuObaM8WIh9pdaNc=
=NV6K
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to