Mock Version: 2.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-audited.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1587694429.652174/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0xn6epvj:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0xn6epvj:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a0e5dc3352cb4bc6ba17f6c99b51f4f7', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1587694429.652174/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0xn6epvj:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-audited.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1549065600 Wrote: /builddir/build/SRPMS/rubygem-audited-4.5.0-5.fc33.1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-audited.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1587694429.652174/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0xn6epvj:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0xn6epvj:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8f36a8f087e041b1b587e0f2b0a7e06f', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1587694429.652174/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0xn6epvj:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-audited.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1549065600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.M7z5zw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rubygem-audited-4.5.0 + /usr/bin/mkdir -p rubygem-audited-4.5.0 + cd rubygem-audited-4.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' --with-cxxflags='\''-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc /builddir/build/SOURCES/audited-4.5.0.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/rubygem-audited-4.5.0 Bin dir: /builddir/build/BUILD/rubygem-audited-4.5.0/usr/bin Gem home: /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/.gitignore /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/.travis.yml /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/.yardopts /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/Appraisals /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/CHANGELOG.md /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/Gemfile /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/LICENSE /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/README.md /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/Rakefile /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/gemfiles/rails40.gemfile /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/gemfiles/rails41.gemfile /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/gemfiles/rails42.gemfile /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/gemfiles/rails50.gemfile /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/gemfiles/rails51.gemfile /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/lib/audited-rspec.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/lib/audited.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/lib/audited/audit.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/lib/audited/auditor.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/lib/audited/rspec_matchers.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/lib/audited/sweeper.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/lib/audited/version.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/lib/generators/audited/install_generator.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/lib/generators/audited/migration.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/lib/generators/audited/migration_helper.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/lib/generators/audited/templates/add_association_to_audits.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/lib/generators/audited/templates/add_comment_to_audits.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/lib/generators/audited/templates/add_remote_address_to_audits.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/lib/generators/audited/templates/add_request_uuid_to_audits.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/lib/generators/audited/templates/install.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/lib/generators/audited/templates/rename_association_to_associated.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/lib/generators/audited/templates/rename_changes_to_audited_changes.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/lib/generators/audited/templates/rename_parent_to_association.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/lib/generators/audited/upgrade_generator.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/spec/audited/audit_spec.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/spec/audited/auditor_spec.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/spec/audited/sweeper_spec.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/spec/audited_spec_helpers.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/spec/rails_app/config/application.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/spec/rails_app/config/database.yml /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/spec/rails_app/config/environment.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/spec/rails_app/config/environments/development.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/spec/rails_app/config/environments/production.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/spec/rails_app/config/environments/test.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/spec/rails_app/config/initializers/backtrace_silencers.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/spec/rails_app/config/initializers/inflections.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/spec/rails_app/config/initializers/secret_token.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/spec/rails_app/config/routes.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/spec/spec_helper.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/spec/support/active_record/models.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/spec/support/active_record/postgres/1_change_audited_changes_type_to_json.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/spec/support/active_record/postgres/2_change_audited_changes_type_to_jsonb.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/spec/support/active_record/schema.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/test/db/version_1.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/test/db/version_2.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/test/db/version_3.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/test/db/version_4.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/test/db/version_5.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/test/db/version_6.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/test/install_generator_test.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/test/test_helper.rb /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/test/upgrade_generator_test.rb Successfully installed audited-4.5.0 Parsing documentation for audited-4.5.0 Parsing sources... 5% [ 1/19] lib/audited-rspec.rb 10% [ 2/19] lib/audited.rb 15% [ 3/19] lib/audited/audit.rb 21% [ 4/19] lib/audited/auditor.rb 26% [ 5/19] lib/audited/rspec_matchers.rb 31% [ 6/19] lib/audited/sweeper.rb 36% [ 7/19] lib/audited/version.rb 42% [ 8/19] lib/generators/audited/install_generator.rb 47% [ 9/19] lib/generators/audited/migration.rb 52% [10/19] lib/generators/audited/migration_helper.rb 57% [11/19] lib/generators/audited/templates/add_association_to_audits.rb 63% [12/19] lib/generators/audited/templates/add_comment_to_audits.rb 68% [13/19] lib/generators/audited/templates/add_remote_address_to_audits.rb 73% [14/19] lib/generators/audited/templates/add_request_uuid_to_audits.rb 78% [15/19] lib/generators/audited/templates/install.rb 84% [16/19] lib/generators/audited/templates/rename_association_to_associated.rb 89% [17/19] lib/generators/audited/templates/rename_changes_to_audited_changes.rb 94% [18/19] lib/generators/audited/templates/rename_parent_to_association.rb 100% [19/19] lib/generators/audited/upgrade_generator.rb Installing ri documentation for audited-4.5.0 Installing darkfish documentation for audited-4.5.0 Done installing documentation for audited after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aPjnrv + umask 022 + cd /builddir/build/BUILD + cd rubygem-audited-4.5.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7FC06w + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-audited-4.5.0-5.fc33.1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-audited-4.5.0-5.fc33.1.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-audited-4.5.0-5.fc33.1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-audited-4.5.0-5.fc33.1.x86_64 + cd rubygem-audited-4.5.0 + mkdir -p /builddir/build/BUILDROOT/rubygem-audited-4.5.0-5.fc33.1.x86_64/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-audited-4.5.0-5.fc33.1.x86_64/usr/share/gems/ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 4.5.0-5.fc33.1 --unique-debug-suffix -4.5.0-5.fc33.1.x86_64 --unique-debug-src-base rubygem-audited-4.5.0-5.fc33.1.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/rubygem-audited-4.5.0 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/share/gems/gems/audited-4.5.0/Rakefile from /usr/bin/env rake to #!/usr/bin/rake Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.oUh4cw + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0 ~/build/BUILD/rubygem-audited-4.5.0 + cd rubygem-audited-4.5.0 + pushd ./usr/share/gems/gems/audited-4.5.0 + sed -i '/Bundler/,/^end$/ s/^/#/' spec/spec_helper.rb + rspec spec /usr/share/gems/gems/actionpack-5.2.3/lib/action_dispatch/middleware/stack.rb:37: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/actionpack-5.2.3/lib/action_dispatch/middleware/static.rb:111: warning: The called method `initialize' is defined here DEPRECATION WARNING: `secrets.secret_token` is deprecated in favor of `secret_key_base` and will be removed in Rails 6.0. (called from at /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/spec/rails_app/config/environment.rb:5) DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer` set to false is deprecated. SQLite databases have used 't' and 'f' to serialize boolean values and must have old data converted to 1 and 0 (its native boolean serialization) before setting this flag to true. Conversion can be accomplished by setting up a rake task which runs ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1) ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0) for all models and all boolean columns, after which the flag must be set to true by adding the following to your application.rb file: Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true (called from at /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/lib/audited/audit.rb:36) /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/sqlite3/schema_statements.rb:60: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_definitions.rb:263: warning: The called method `initialize' is defined here /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:301: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_definitions.rb:204: warning: The called method `primary_key' is defined here /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_definitions.rb:366: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_definitions.rb:415: warning: The called method `new_column_definition' is defined here /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_creation.rb:19: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:1066: warning: The called method `type_to_sql' is defined here /usr/share/gems/gems/activemodel-5.2.3/lib/active_model/type/integer.rb:13: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/activemodel-5.2.3/lib/active_model/type/value.rb:8: warning: The called method `initialize' is defined here /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:764: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:1135: warning: The called method `add_index_options' is defined here /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:1162: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:1215: warning: The called method `quoted_columns_for_index' is defined here /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:1219: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:1207: warning: The called method `add_options_for_index_columns' is defined here /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:1209: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:1190: warning: The called method `add_index_sort_order' is defined here /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/internal_metadata.rb:37: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_definitions.rb:231: warning: The called method `string' is defined here /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/transactions.rb:212: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:260: warning: The called method `transaction' is defined here /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:171: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:97: warning: The called method `initialize' is defined here /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/lib/audited/sweeper.rb:3: warning: already initialized constant Audited::Sweeper::STORED_DATA /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/lib/audited/sweeper.rb:3: warning: previous definition of STORED_DATA was here /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/relation/delegation.rb:132: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/relation.rb:25: warning: The called method `initialize' is defined here /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/persistence.rb:705: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/timestamp.rb:105: warning: The called method `_update_record' is defined here ........./usr/share/gems/gems/activerecord-5.2.3/lib/active_record/statement_cache.rb:90: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead .............................................../usr/share/gems/gems/activerecord-5.2.3/lib/active_record/statement_cache.rb:90: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead ../usr/share/gems/gems/activerecord-5.2.3/lib/active_record/statement_cache.rb:90: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead .../usr/share/gems/gems/activerecord-5.2.3/lib/active_record/statement_cache.rb:90: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/statement_cache.rb:90: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead .........................# terminated with exception (report_on_exception is true): /usr/share/gems/gems/sqlite3-1.4.2/lib/sqlite3/database.rb:147:in `initialize': SQLite3::SQLException: no such table: users: INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) (ActiveRecord::StatementInvalid) from /usr/share/gems/gems/sqlite3-1.4.2/lib/sqlite3/database.rb:147:in `new' from /usr/share/gems/gems/sqlite3-1.4.2/lib/sqlite3/database.rb:147:in `prepare' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/sqlite3_adapter.rb:216:in `block (2 levels) in exec_query' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/sqlite3_adapter.rb:213:in `block in exec_query' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:581:in `block (2 levels) in log' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:580:in `block in log' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/notifications/instrumenter.rb:23:in `instrument' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:571:in `log' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/sqlite3_adapter.rb:212:in `exec_query' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:130:in `exec_insert' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:162:in `insert' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/query_cache.rb:21:in `insert' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/persistence.rb:187:in `_insert_record' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/persistence.rb:734:in `_create_record' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/counter_cache.rb:184:in `_create_record' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/locking/optimistic.rb:70:in `_create_record' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/attribute_methods/dirty.rb:140:in `_create_record' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/callbacks.rb:346:in `block in _create_record' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:132:in `run_callbacks' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:816:in `_run_create_callbacks' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/callbacks.rb:346:in `_create_record' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/timestamp.rb:102:in `_create_record' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/persistence.rb:705:in `create_or_update' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/callbacks.rb:342:in `block in create_or_update' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:132:in `run_callbacks' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:816:in `_run_save_callbacks' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/callbacks.rb:342:in `create_or_update' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/persistence.rb:308:in `save!' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/validations.rb:52:in `save!' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/transactions.rb:315:in `block in save!' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/transactions.rb:387:in `block in with_transaction_returning_status' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `block in transaction' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:239:in `block in within_new_transaction' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:236:in `within_new_transaction' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `transaction' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/transactions.rb:212:in `transaction' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/transactions.rb:385:in `with_transaction_returning_status' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/transactions.rb:315:in `save!' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/suppressor.rb:48:in `save!' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/persistence.rb:53:in `create!' from /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/spec/audited/auditor_spec.rb:498:in `block (5 levels) in ' from /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/lib/audited/auditor.rb:283:in `without_auditing' from /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/spec/audited/auditor_spec.rb:496:in `block (4 levels) in ' /usr/share/gems/gems/sqlite3-1.4.2/lib/sqlite3/database.rb:147:in `initialize': no such table: users (SQLite3::SQLException) from /usr/share/gems/gems/sqlite3-1.4.2/lib/sqlite3/database.rb:147:in `new' from /usr/share/gems/gems/sqlite3-1.4.2/lib/sqlite3/database.rb:147:in `prepare' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/sqlite3_adapter.rb:216:in `block (2 levels) in exec_query' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/sqlite3_adapter.rb:213:in `block in exec_query' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:581:in `block (2 levels) in log' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:580:in `block in log' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/notifications/instrumenter.rb:23:in `instrument' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:571:in `log' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/sqlite3_adapter.rb:212:in `exec_query' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:130:in `exec_insert' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:162:in `insert' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/query_cache.rb:21:in `insert' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/persistence.rb:187:in `_insert_record' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/persistence.rb:734:in `_create_record' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/counter_cache.rb:184:in `_create_record' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/locking/optimistic.rb:70:in `_create_record' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/attribute_methods/dirty.rb:140:in `_create_record' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/callbacks.rb:346:in `block in _create_record' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:132:in `run_callbacks' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:816:in `_run_create_callbacks' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/callbacks.rb:346:in `_create_record' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/timestamp.rb:102:in `_create_record' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/persistence.rb:705:in `create_or_update' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/callbacks.rb:342:in `block in create_or_update' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:132:in `run_callbacks' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:816:in `_run_save_callbacks' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/callbacks.rb:342:in `create_or_update' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/persistence.rb:308:in `save!' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/validations.rb:52:in `save!' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/transactions.rb:315:in `block in save!' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/transactions.rb:387:in `block in with_transaction_returning_status' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `block in transaction' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:239:in `block in within_new_transaction' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:236:in `within_new_transaction' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `transaction' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/transactions.rb:212:in `transaction' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/transactions.rb:385:in `with_transaction_returning_status' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/transactions.rb:315:in `save!' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/suppressor.rb:48:in `save!' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/persistence.rb:53:in `create!' from /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/spec/audited/auditor_spec.rb:498:in `block (5 levels) in ' from /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/lib/audited/auditor.rb:283:in `without_auditing' from /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/spec/audited/auditor_spec.rb:496:in `block (4 levels) in ' .Thread safety tests cannot be run with SQLite /usr/share/gems/gems/activemodel-5.2.3/lib/active_model/naming.rb:190: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/i18n-1.8.2/lib/i18n.rb:195: warning: The called method `translate' is defined here /usr/share/gems/gems/activemodel-5.2.3/lib/active_model/translation.rb:67: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/i18n-1.8.2/lib/i18n.rb:195: warning: The called method `translate' is defined here /usr/share/gems/gems/activemodel-5.2.3/lib/active_model/errors.rb:430: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/i18n-1.8.2/lib/i18n.rb:195: warning: The called method `translate' is defined here ................/usr/share/gems/gems/activerecord-5.2.3/lib/active_record/statement_cache.rb:90: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead ...../builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/spec/audited/sweeper_spec.rb:95: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/actionpack-5.2.3/lib/action_controller/test_case.rb:414: warning: The called method `put' is defined here .# terminated with exception (report_on_exception is true): /usr/share/gems/gems/sqlite3-1.4.2/lib/sqlite3/database.rb:147:in `initialize': SQLite3::SQLException: no such table: users: INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) (ActiveRecord::StatementInvalid) from /usr/share/gems/gems/sqlite3-1.4.2/lib/sqlite3/database.rb:147:in `new' from /usr/share/gems/gems/sqlite3-1.4.2/lib/sqlite3/database.rb:147:in `prepare' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/sqlite3_adapter.rb:216:in `block (2 levels) in exec_query' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/sqlite3_adapter.rb:213:in `block in exec_query' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:581:in `block (2 levels) in log' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:580:in `block in log' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/notifications/instrumenter.rb:23:in `instrument' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:571:in `log' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/sqlite3_adapter.rb:212:in `exec_query' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:130:in `exec_insert' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:162:in `insert' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/query_cache.rb:21:in `insert' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/persistence.rb:187:in `_insert_record' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/persistence.rb:734:in `_create_record' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/counter_cache.rb:184:in `_create_record' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/locking/optimistic.rb:70:in `_create_record' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/attribute_methods/dirty.rb:140:in `_create_record' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/callbacks.rb:346:in `block in _create_record' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:132:in `run_callbacks' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:816:in `_run_create_callbacks' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/callbacks.rb:346:in `_create_record' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/timestamp.rb:102:in `_create_record' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/persistence.rb:705:in `create_or_update' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/callbacks.rb:342:in `block in create_or_update' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:132:in `run_callbacks' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:816:in `_run_save_callbacks' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/callbacks.rb:342:in `create_or_update' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/persistence.rb:308:in `save!' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/validations.rb:52:in `save!' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/transactions.rb:315:in `block in save!' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/transactions.rb:387:in `block in with_transaction_returning_status' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `block in transaction' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:239:in `block in within_new_transaction' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:236:in `within_new_transaction' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `transaction' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/transactions.rb:212:in `transaction' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/transactions.rb:385:in `with_transaction_returning_status' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/transactions.rb:315:in `save!' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/suppressor.rb:48:in `save!' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/persistence.rb:53:in `create!' from /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/spec/audited/auditor_spec.rb:508:in `block (4 levels) in ' /usr/share/gems/gems/sqlite3-1.4.2/lib/sqlite3/database.rb:147:in `initialize': no such table: users (SQLite3::SQLException) from /usr/share/gems/gems/sqlite3-1.4.2/lib/sqlite3/database.rb:147:in `new' from /usr/share/gems/gems/sqlite3-1.4.2/lib/sqlite3/database.rb:147:in `prepare' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/sqlite3_adapter.rb:216:in `block (2 levels) in exec_query' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/sqlite3_adapter.rb:213:in `block in exec_query' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:581:in `block (2 levels) in log' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:580:in `block in log' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/notifications/instrumenter.rb:23:in `instrument' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:571:in `log' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/sqlite3_adapter.rb:212:in `exec_query' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:130:in `exec_insert' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:162:in `insert' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/query_cache.rb:21:in `insert' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/persistence.rb:187:in `_insert_record' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/persistence.rb:734:in `_create_record' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/counter_cache.rb:184:in `_create_record' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/locking/optimistic.rb:70:in `_create_record' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/attribute_methods/dirty.rb:140:in `_create_record' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/callbacks.rb:346:in `block in _create_record' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:132:in `run_callbacks' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:816:in `_run_create_callbacks' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/callbacks.rb:346:in `_create_record' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/timestamp.rb:102:in `_create_record' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/persistence.rb:705:in `create_or_update' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/callbacks.rb:342:in `block in create_or_update' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:132:in `run_callbacks' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:816:in `_run_save_callbacks' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/callbacks.rb:342:in `create_or_update' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/persistence.rb:308:in `save!' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/validations.rb:52:in `save!' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/transactions.rb:315:in `block in save!' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/transactions.rb:387:in `block in with_transaction_returning_status' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `block in transaction' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:239:in `block in within_new_transaction' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' from /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:236:in `within_new_transaction' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `transaction' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/transactions.rb:212:in `transaction' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/transactions.rb:385:in `with_transaction_returning_status' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/transactions.rb:315:in `save!' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/suppressor.rb:48:in `save!' from /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/persistence.rb:53:in `create!' from /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/spec/audited/auditor_spec.rb:508:in `block (4 levels) in ' . Finished in 2.15 seconds (files took 1.87 seconds to load) 110 examples, 0 failures + ruby -Itest -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' /usr/share/gems/gems/actionpack-5.2.3/lib/action_dispatch/middleware/stack.rb:37: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/actionpack-5.2.3/lib/action_dispatch/middleware/static.rb:111: warning: The called method `initialize' is defined here DEPRECATION WARNING: `secrets.secret_token` is deprecated in favor of `secret_key_base` and will be removed in Rails 6.0. (called from at /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/spec/rails_app/config/environment.rb:5) DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer` set to false is deprecated. SQLite databases have used 't' and 'f' to serialize boolean values and must have old data converted to 1 and 0 (its native boolean serialization) before setting this flag to true. Conversion can be accomplished by setting up a rake task which runs ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1) ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0) for all models and all boolean columns, after which the flag must be set to true by adding the following to your application.rb file: Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true (called from at /builddir/build/BUILD/rubygem-audited-4.5.0/usr/share/gems/gems/audited-4.5.0/test/test_helper.rb:6) /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:171: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:97: warning: The called method `initialize' is defined here /usr/share/gems/gems/activesupport-5.2.3/lib/active_support/notifications/fanout.rb:21: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead Run options: --seed 33294 # Running: ./usr/share/gems/gems/activesupport-5.2.3/lib/active_support/notifications/fanout.rb:21: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead ./usr/share/gems/gems/activesupport-5.2.3/lib/active_support/notifications/fanout.rb:21: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead ./usr/share/gems/gems/activesupport-5.2.3/lib/active_support/notifications/fanout.rb:21: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead ./usr/share/gems/gems/activesupport-5.2.3/lib/active_support/notifications/fanout.rb:21: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead ./usr/share/gems/gems/activesupport-5.2.3/lib/active_support/notifications/fanout.rb:21: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead ./usr/share/gems/gems/activerecord-5.2.3/lib/active_record/migration.rb:871: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:290: warning: The called method `create_table' is defined here /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/sqlite3/schema_statements.rb:60: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_definitions.rb:263: warning: The called method `initialize' is defined here /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:301: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_definitions.rb:204: warning: The called method `primary_key' is defined here /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_definitions.rb:366: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_definitions.rb:415: warning: The called method `new_column_definition' is defined here /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_creation.rb:19: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:1066: warning: The called method `type_to_sql' is defined here /usr/share/gems/gems/activemodel-5.2.3/lib/active_model/type/integer.rb:13: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/activemodel-5.2.3/lib/active_model/type/value.rb:8: warning: The called method `initialize' is defined here /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:764: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:1135: warning: The called method `add_index_options' is defined here /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:1162: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:1215: warning: The called method `quoted_columns_for_index' is defined here /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:1219: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:1207: warning: The called method `add_options_for_index_columns' is defined here /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:1209: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:1190: warning: The called method `add_index_sort_order' is defined here /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/internal_metadata.rb:37: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/schema_definitions.rb:231: warning: The called method `string' is defined here /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/transactions.rb:212: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:260: warning: The called method `transaction' is defined here ./usr/share/gems/gems/activerecord-5.2.3/lib/active_record/persistence.rb:705: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/gems/gems/activerecord-5.2.3/lib/active_record/timestamp.rb:105: warning: The called method `_update_record' is defined here ...... Finished in 0.125632s, 103.4769 runs/s, 565.1432 assertions/s. 13 runs, 71 assertions, 0 failures, 0 errors, 0 skips + popd ~/build/BUILD/rubygem-audited-4.5.0 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-audited-4.5.0-5.fc33.1.noarch Provides: rubygem(audited) = 4.5.0 rubygem-audited = 4.5.0-5.fc33.1 rubygem-audited-activerecord = 4.5.0-5.fc33.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (rubygem(activerecord) >= 4.0 with rubygem(activerecord) < 5.2) ruby(rubygems) Obsoletes: rubygem-audited-activerecord < 4.2.0-3 Processing files: rubygem-audited-doc-4.5.0-5.fc33.1.noarch Provides: rubygem-audited-doc = 4.5.0-5.fc33.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/rake Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-audited-4.5.0-5.fc33.1.x86_64 Wrote: /builddir/build/RPMS/rubygem-audited-4.5.0-5.fc33.1.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-audited-doc-4.5.0-5.fc33.1.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Zday9s + umask 022 + cd /builddir/build/BUILD + cd rubygem-audited-4.5.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-audited-4.5.0-5.fc33.1.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0