• Bug#1095874: debci: autopkgtest failure with rails 7: dpkg: error proce

    From Antonio Terceiro@21:1/5 to All on Thu Feb 13 11:20:02 2025
    Source: debci
    Version: 3.11
    Severity: serious
    Justification: autopkgtest failure
    Tags: trixie sid ftbfs
    User: debian-ruby@lists.debian.org
    Usertags: rails7

    Hi,

    We are about to upload rails 7 to unstable, as we are targetting to have rails 7 being released with Trixie.

    After the last upload of rails 7 to experimental, we noticed that debci
    fails its autopkgtests when run against that version of rails.

    To reproduce this failure locally, you can run autopkgtest with the following options:

    --add-apt-release=experimental --pin-packages=experimental=src:rails

    (or wait until rails 7 is uploaded to unstable)

    Relevant part (hopefully):
    Setting up ruby-magic (0.2.9-4) ...
    Setting up ruby-rack (3.0.8-4) ...
    Setting up ruby-multi-xml (0.6.0-1) ...
    Setting up ruby-database-cleaner (1.7.0-1.1) ...
    Setting up ruby-sorted-set (1.0.3-3) ...
    Setting up ruby-rack-test (2.2.0-1) ...
    Setting up ruby-oauth2 (2.0.9-1) ...
    Setting up ruby-kaminari-activerecord (1.2.2-1) ...
    Setting up ruby-rspec-expectations (3.13.0c0e0m0s1-2) ...
    Setting up ruby-rspec-mocks (3.13.0c0e0m0s1-2) ...
    Setting up ruby-bunny (2.23.0-1) ...
    Setting up ruby-rack-session (2.0.0-3) ...
    Setting up ruby-rack-protection (4.1.1-5) ...
    Setting up ruby-rspec (3.13.0c0e0m0s1-2) ...
    Setting up ruby-sinatra (4.1.1-5) ...
    Setting up ruby-sinatra-contrib (4.1.1-5) ...
    Setting up ruby-omniauth (2.1.1-4) ...
    Setting up ruby-omniauth-oauth2 (1.8.0-1) ...
    Setting up ruby-omniauth-gitlab (4.1.0-1) ...
    Setting up debci (3.11) ...
    Setting up debci-collector (3.11) ... /usr/share/rubygems-integration/all/gems/activerecord-7.2.2.1/lib/active_record/migration.rb:1434:in `initialize': undefined method `create_table' for class ActiveRecord::SchemaMigration (NoMethodError)

    @schema_migration.create_table
    ^^^^^^^^^^^^^
    from /usr/share/rubygems-integration/all/gems/activerecord-7.2.2.1/lib/active_record/migration.rb:1264:in `new'
    from /usr/share/rubygems-integration/all/gems/activerecord-7.2.2.1/lib/active_record/migration.rb:1264:in `up'
    from /usr/share/rubygems-integration/all/gems/activerecord-7.2.2.1/lib/active_record/migration.rb:1239:in `migrate'
    from /usr/lib/ruby/vendor_ruby/debci/db.rb:21:in `migrate'
    from -e:1:in `<main>'
    dpkg: error processing package debci-collector (--configure):
    installed debci-collector package post-installation script subprocess returned error exit status 1


    The full autopkgtest logs are available and linked from https://release.debian.org/britney/pseudo-excuses-experimental.html#rails
    and after rails 7 gets into unstable, at https://qa.debian.org/excuses.php?package=rails

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

    iQIzBAABCAAdFiEEst7mYDbECCn80PEM/A2xu81GC94FAmetxZkACgkQ/A2xu81G C95w6RAAyXmEmlNqwZedGeHG9uBhALy9jXIHH1ojxXX4iurOH8sNw9UkcVZKLN8S 0yTsvhRXX+AVTsFn/LDJRBzPLYcGhgugTUWC2mjTvctNS6wEg7FXDKziepdW8L65 O4PiUUOxSDxpzWAR1VPdIdLGdIcgt0JcqxlOQ4TvjGEB1sqzZlfPRO667x3Tpl6F 5wJus56wHjlfNR7y6Vyyy4zvHKzn2okPcrZiXMj7ZM/8d7VjxOCWf3LdSMuyx9Ea SUEqcg77E2x39Ouib91YmV4ECXW7o19pLOn01XyrZYl0eM+SlGqWaFUwT1ziRlBX eoljd66y2lTi0xHCwNaz9VRXouy/ZlTIkywE4MsVea5UzfFFN2RAOSnEZaCUPsLh FBn4HziVzjFC3uXzp884kCGVRP6BOtazXvICrmxmHWNa5IDFLj1nnDm1PdGPJVb6 anZ/z2hUhw3U7v5E20U4xc9XFCwRnWWTEj/2Fe+Bm7wI0uyeCI9DEOr++aIPfwnW ZxVm0E7HDL47Z6AYV7wjQ1L+SZfoX/cKtFklPVh4ATO3/FrrKGtCT9MeRZcS2q3I iWQ5oCYDBr9oBPUvxhdBXGTHMFbEzhJkNdja8Kgln0YUlcigEOZwtQBE623A7AHH bICUAcAbjeIYNmDDqXXvk8xIc+H8359K1ojZbXVRAQZ+67VonZI=
    =KGJ7
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Tue Mar 4 20:30:03 2025
    This is a multi-part message in MIME format...

    Your message dated Tue, 04 Mar 2025 19:19:06 +0000
    with message-id <E1tpXnG-003C6i-4P@fasolo.debian.org>
    and subject line Bug#1095874: fixed in debci 3.12
    has caused the Debian Bug report #1095874,
    regarding debci: autopkgtest failure with rails 7: dpkg: error processing package debci-collector (--configure): installed debci-collector package post-installation script subprocess returned error exit status 1
    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 owner@bugs.debian.org
    immediately.)


    --
    1095874: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095874
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 13 Feb 2025 10:13:00 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-111.6 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FROMDEVELOPER,PGPSIGNATURE,
    SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,
    USER_IN_DKIM_WHITELIST autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 33; hammy, 150; neutral, 139; spammy,
    0. spammytokens: hammytokens:0.000-+--H*ct:pgp-sha256,
    0.000-+--Hx-spam-relays-external:sk:stravin, 0.000-+--H*RT:sk:stravin,
    0.000-+--Hx-spam-relays-external:311, 0.000-+--H*RT:311
    Return-path: <terceiro@debian.org>
    Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:10