travis_fold:start:worker_info Worker information hostname: e330ab39-6d4e-4d63-ac67-70dced0819e9@1.worker-n2-com-f8c4bb956-zjhwc.gce-production-1 version: deploy_2024.10.02-2-gc32b553 https://github.com/travis-ci/worker/tree/c32b553e81363378d09787f52103ea9bcadf253c instance: travis-job-119e1d9e-432d-4c5c-aae6-28ddb143e2e3 travis-ci-sardonyx-xenial-1733301604-7dd427e6 (via amqp) startup: 5.922545663s travis_fold:end:worker_info travis_time:start:013d0d9f travis_time:end:013d0d9f:start=1737101505237742508,finish=1737101505419162790,duration=181420282,event=no_world_writable_dirs travis_time:start:02bfa4d5 travis_time:end:02bfa4d5:start=1737101505422925186,finish=1737101505426288970,duration=3363784,event=setup_filter travis_time:start:0cb073b1 travis_time:end:0cb073b1:start=1737101505430406111,finish=1737101505438899612,duration=8493501,event=agent travis_time:start:1b2463a5 travis_time:end:1b2463a5:start=1737101505442268044,finish=1737101505444812278,duration=2544234,event=check_unsupported travis_time:start:1baf8a48 travis_fold:start:system_info Build system information Build language: ruby Build group: edge Build dist: xenial Build id: 273889179 Job id: 629807269 Runtime kernel version: 4.15.0-1098-gcp VM: default travis-build version: 6b157a1c Build image provisioning date and time Wed Dec 4 09:13:18 UTC 2024 Operating System Details Distributor ID: Ubuntu Description: Ubuntu 16.04.7 LTS Release: 16.04 Codename: xenial Systemd Version systemd 229 Cookbooks Version 783af91 https://github.com/travis-ci/travis-cookbooks/tree/783af91 git version git version 2.43.0 bash version GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu) gcc version gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609 docker version Client: Docker Engine - Community Version: 20.10.7 API version: 1.41 Go version: go1.13.15 Git commit: f0df350 Built: Wed Jun 2 11:56:47 2021 OS/Arch: linux/amd64 Context: default Experimental: true Server: Docker Engine - Community Engine: Version: 20.10.7 API version: 1.41 (minimum version 1.12) Go version: go1.13.15 Git commit: b0f5bc3 Built: Wed Jun 2 11:54:58 2021 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.4.6 GitCommit: d71fcd7d8303cbf684402823e425e9dd2e99285d runc: Version: 1.0.0-rc95 GitCommit: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7 docker-init: Version: 0.19.0 GitCommit: de40ad0 clang version clang version 7.0.0 (tags/RELEASE_700/final) jq version jq-1.7.1 bats version Bats 1.11.1 shellcheck version 0.10.0 shfmt version v3.8.0 ccache version 3.2.4 cmake version cmake version 3.26.3 heroku version heroku/9.5.0 linux-x64 node-v16.20.2 imagemagick version Version: ImageMagick 6.8.9-9 Q16 x86_64 2020-12-04 http://www.imagemagick.org md5deep version 4.4 mercurial version version 5.9.3 mysql version mysql Ver 14.14 Distrib 5.7.33, for Linux (x86_64) using EditLine wrapper openssl version OpenSSL 1.0.2g 1 Mar 2016 packer version 1.7.5 postgresql client version psql (PostgreSQL) 10.17 (Ubuntu 10.17-1.pgdg16.04+1) ragel version Ragel State Machine Compiler version 6.8 Feb 2013 sudo version 1.8.16 gzip version gzip 1.6 zip version Zip 3.0 vim version VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 13 2020 16:04:38) iptables version iptables v1.6.0 curl version curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3 wget version GNU Wget 1.17.1 built on linux-gnu. rsync version rsync version 3.1.1 protocol version 31 gimme version v1.5.4 nvm version 0.40.1 perlbrew version /home/travis/perl5/perlbrew/bin/perlbrew - App::perlbrew/0.95 phpenv version rbenv 1.3.0 rvm version rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] default ruby version ruby 3.3.5 (2024-09-03 revision ef084cc8f4) [x86_64-linux] default python version Python 3.7.17 CouchDB version couchdb 1.6.1 ElasticSearch version 7.16.3 Installed Firefox version firefox 63.0.1 MongoDB version MongoDB 4.4.29 PhantomJS version 2.1.1 Pre-installed PostgreSQL versions 9.4.26 9.5.25 9.6.22 Redis version redis-server 7.0.11 Pre-installed Go versions 1.23.0 ant version Apache Ant(TM) version 1.9.6 compiled on July 20 2018 mvn version Apache Maven 3.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9) gradle version Gradle 8.3! lein version Leiningen 2.11.2 on Java 11.0.21 OpenJDK 64-Bit Server VM Pre-installed Node.js versions v10.24.1 v12.22.12 v14.21.3 v16.15 v16.16.0 v16.20.2 v18.20.5 v20.18.1 v22.12.0 v4.9.1 v6.17.1 v8.17.0 phpenv versions system 7.4 * 7.4.30 (set by /home/travis/.phpenv/version) hhvm-stable hhvm composer --version Composer version 2.3.7 2022-06-06 16:43:28 Pre-installed Ruby versions ruby-2.7.6 ruby-3.3.5 travis_fold:end:system_info  travis_time:end:1baf8a48:start=1737101505448248360,finish=1737101505457172159,duration=8923799,event=show_system_info travis_time:start:07c74888 travis_time:end:07c74888:start=1737101505460738194,finish=1737101505478492561,duration=17754367,event=rm_riak_source travis_time:start:1e88ac20 travis_time:end:1e88ac20:start=1737101505482387203,finish=1737101505488873634,duration=6486431,event=fix_rwky_redis travis_time:start:01a0b4d9 travis_time:end:01a0b4d9:start=1737101505492997460,finish=1737101506320298472,duration=827301012,event=wait_for_network travis_time:start:096bb4b0 travis_time:end:096bb4b0:start=1737101506324933102,finish=1737101506539041415,duration=214108313,event=update_apt_keys travis_time:start:12348336 travis_time:end:12348336:start=1737101506543478308,finish=1737101506607228473,duration=63750165,event=fix_hhvm_source travis_time:start:31d9e547 travis_time:end:31d9e547:start=1737101506611709852,finish=1737101506614966608,duration=3256756,event=update_mongo_arch travis_time:start:00990cdc travis_time:end:00990cdc:start=1737101506619047644,finish=1737101506667623662,duration=48576018,event=fix_sudo_enabled_trusty travis_time:start:18ee7568 travis_time:end:18ee7568:start=1737101506671859690,finish=1737101506674641717,duration=2782027,event=update_glibc travis_time:start:020818aa travis_time:end:020818aa:start=1737101506678699805,finish=1737101506715452945,duration=36753140,event=clean_up_path travis_time:start:05ead6b1 travis_time:end:05ead6b1:start=1737101506719745237,finish=1737101506729396910,duration=9651673,event=fix_resolv_conf travis_time:start:1793ed9c travis_time:end:1793ed9c:start=1737101506733564326,finish=1737101506744835223,duration=11270897,event=fix_etc_hosts travis_time:start:1d56cda9 travis_time:end:1d56cda9:start=1737101506749137437,finish=1737101506759792559,duration=10655122,event=fix_mvn_settings_xml travis_time:start:0c6f1f92 travis_time:end:0c6f1f92:start=1737101506764183720,finish=1737101506775338889,duration=11155169,event=no_ipv6_localhost travis_time:start:034c93f0 travis_time:end:034c93f0:start=1737101506779692502,finish=1737101506782613678,duration=2921176,event=fix_etc_mavenrc travis_time:start:115ef9b8 OK travis_time:end:115ef9b8:start=1737101506787593788,finish=1737101507073469349,duration=285875561,event=fix_perforce_key travis_time:start:060b98c8 travis_time:end:060b98c8:start=1737101507077867828,finish=1737101507081715225,duration=3847397,event=fix_wwdr_certificate travis_time:start:0845f333 travis_time:end:0845f333:start=1737101507085907400,finish=1737101507113292492,duration=27385092,event=put_localhost_first travis_time:start:328898df travis_time:end:328898df:start=1737101507117558263,finish=1737101507121060552,duration=3502289,event=home_paths travis_time:start:194cb4b3 travis_time:end:194cb4b3:start=1737101507124965439,finish=1737101507138642509,duration=13677070,event=disable_initramfs travis_time:start:25163b90 travis_time:end:25163b90:start=1737101507142809108,finish=1737101507513354712,duration=370545604,event=disable_ssh_roaming travis_time:start:02688798 travis_time:end:02688798:start=1737101507517523660,finish=1737101507520398900,duration=2875240,event=debug_tools travis_time:start:153c2aa2 travis_time:end:153c2aa2:start=1737101507524416706,finish=1737101507528219039,duration=3802333,event=uninstall_oclint travis_time:start:01060668 travis_time:end:01060668:start=1737101507533755410,finish=1737101507537562083,duration=3806673,event=rvm_use travis_time:start:361b2a08 travis_time:end:361b2a08:start=1737101507541779296,finish=1737101507551216226,duration=9436930,event=rm_etc_boto_cfg travis_time:start:0d5ee6ad travis_time:end:0d5ee6ad:start=1737101507555320665,finish=1737101507558841924,duration=3521259,event=rm_oraclejdk8_symlink travis_time:start:025fa932 travis_time:end:025fa932:start=1737101507563215629,finish=1737101507674420224,duration=111204595,event=enable_i386 travis_time:start:207e80cc travis_time:end:207e80cc:start=1737101507678706333,finish=1737101507683493885,duration=4787552,event=update_rubygems travis_time:start:1abaa846 travis_time:end:1abaa846:start=1737101507687540036,finish=1737101508755443995,duration=1067903959,event=ensure_path_components travis_time:start:13ad3afa travis_time:end:13ad3afa:start=1737101508759904771,finish=1737101508762666022,duration=2761251,event=redefine_curl travis_time:start:2347e7e9 travis_time:end:2347e7e9:start=1737101508766860694,finish=1737101508896453815,duration=129593121,event=nonblock_pipe travis_time:start:0e74cdb6 travis_time:end:0e74cdb6:start=1737101508900777956,finish=1737101524524387711,duration=15623609755,event=apt_get_update travis_time:start:0fee9794 travis_time:end:0fee9794:start=1737101524528915391,finish=1737101524531848860,duration=2933469,event=deprecate_xcode_64 travis_time:start:078d59ed travis_time:end:078d59ed:start=1737101524535993194,finish=1737101528340291156,duration=3804297962,event=update_heroku travis_time:start:010e9f4d travis_time:end:010e9f4d:start=1737101528344927616,finish=1737101528347762488,duration=2834872,event=shell_session_update travis_time:start:0a03dfb8 travis_fold:start:docker_mtu_and_registry_mirrors travis_fold:end:docker_mtu_and_registry_mirrors travis_time:end:0a03dfb8:start=1737101528351928400,finish=1737101532234164079,duration=3882235679,event=set_docker_mtu_and_registry_mirrors travis_time:start:1001cece travis_fold:start:Docker travis_fold:end:Docker travis_time:end:1001cece:start=1737101532243842541,finish=1737101532247145848,duration=3303307,event=docker_config travis_time:start:07314ad7 travis_fold:start:resolvconf travis_fold:end:resolvconf travis_time:end:07314ad7:start=1737101532251286605,finish=1737101532314460685,duration=63174080,event=resolvconf travis_time:start:22d9d38f travis_time:end:22d9d38f:start=1737101532319982597,finish=1737101532586228661,duration=266246064,event=maven_central_mirror travis_time:start:013c93c7 travis_time:end:013c93c7:start=1737101532590898825,finish=1737101532726460626,duration=135561801,event=maven_https travis_time:start:05ef6236 travis_fold:start:services travis_time:start:0a91d74d $ sudo systemctl start redis-server travis_time:end:0a91d74d:start=1737101532735434225,finish=1737101532838620441,duration=103186216,event=prepare travis_fold:end:services travis_time:end:0a91d74d:start=1737101532735434225,finish=1737101535843766296,duration=3108332071,event=services travis_time:start:169d6060 travis_time:end:169d6060:start=1737101535848351307,finish=1737101535851304439,duration=2953132,event=fix_ps4 travis_time:start:1af0dbd0  travis_fold:start:git.checkout travis_time:start:0381f818 travis_time:end:0381f818:start=1737101535859702990,finish=1737101535866317736,duration=6614746,event=checkout travis_time:start:15af21e8 $ git clone --depth=50 https://github.com/travis-ci/travis-api.git travis-ci/travis-api Cloning into 'travis-ci/travis-api'... travis_time:end:15af21e8:start=1737101535870991467,finish=1737101536994116489,duration=1123125022,event=checkout $ cd travis-ci/travis-api travis_time:start:35b2b700 $ git fetch origin +refs/pull/1350/merge: --depth=50 From https://github.com/travis-ci/travis-api * branch refs/pull/1350/merge -> FETCH_HEAD travis_time:end:35b2b700:start=1737101536999124816,finish=1737101537447567760,duration=448442944,event=checkout $ git checkout -qf FETCH_HEAD travis_fold:end:git.checkout  travis_time:end:35b2b700:start=1737101536999124816,finish=1737101537506457689,duration=507332873,event=checkout travis_time:start:128744b6  Setting environment variables from repository settings $ export encrypted_221cd5f6eb22_key=[secure] $ export encrypted_221cd5f6eb22_iv=[secure] $ export QUAY_DOCKER_PASSWORD=[secure] $ export QUAY_ROBOT_HANDLE=[secure] $ export QUAY_ROBOT_TOKEN=[secure] Setting environment variables from .travis.yml $ export PATH=/snap/bin:$PATH $ export RUBY_GC_MALLOC_LIMIT=90000000 $ export RUBY_GC_HEAP_FREE_SLOTS=200000 $ export CI_NODE_TOTAL=3 $ export CI_NODE_INDEX=2 travis_time:end:128744b6:start=1737101537510928792,finish=1737101537518666285,duration=7737493,event=env travis_fold:start:rvm travis_time:start:1d77050c $ rvm get head Downloading https://get.rvm.io Downloading https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer.asc Verifying /home/travis/.rvm/archives/rvm-installer.asc gpg: Signature made Tue 21 Feb 2023 11:35:16 PM UTC using RSA key ID 39499BDB gpg: Good signature from "Piotr Kuczynski " [unknown] gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: 7D2B AF1C F37B 13E2 069D 6956 105B D0E7 3949 9BDB GPG verified '/home/travis/.rvm/archives/rvm-installer' Downloading https://github.com/rvm/rvm/archive/master.tar.gz Upgrading the RVM installation in /home/travis/.rvm/ RVM PATH line found in /home/travis/.mkshrc /home/travis/.profile /home/travis/.zshrc. RVM PATH line not found for Bash, rerun this command with '--auto-dotfiles' flag to fix it. RVM sourcing line found in /home/travis/.profile /home/travis/.bashrc /home/travis/.zlogin. Upgrade of RVM in /home/travis/.rvm/ is complete. Thanks for installing RVM 🙏 Please consider donating to our open collective to help us maintain RVM. 👉 Donate: https://opencollective.com/rvm/donate RVM reloaded! travis_time:end:1d77050c:start=1737101537530611392,finish=1737101541430186506,duration=3899575114,event= travis_time:start:03317f10 $ rvm use 3.2.2 --install --binary --fuzzy curl: (22) The requested URL returned error: 404 Not Found Required ruby-3.2.2 is not installed - installing. curl: (22) The requested URL returned error: 404 Not Found Searching for binary rubies, this might take some time. Found remote file https://rubies.travis-ci.org/ubuntu/16.04/x86_64/ruby-3.2.2.tar.bz2 Checking requirements for ubuntu. Requirements installation successful. ruby-3.2.2 - #configure ruby-3.2.2 - #download % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 27.6M 100 27.6M 0 0 12.7M 0 0:00:02 0:00:02 --:--:-- 12.7M No checksum for downloaded archive, recording checksum in user configuration. ruby-3.2.2 - #validate archive ruby-3.2.2 - #extract ruby-3.2.2 - #validate binary ruby-3.2.2 - #setup ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2@global ruby-3.2.2 - #importing gemset /home/travis/.rvm/gemsets/global.gems|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.. ruby-3.2.2 - #generating global wrappers|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/. ruby-3.2.2 - #uninstalling gem rubygems-bundler-1.4.5|/. ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2 ruby-3.2.2 - #importing gemset /home/travis/.rvm/gemsets/default.gems|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\. ruby-3.2.2 - #generating default wrappers|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-. Using /home/travis/.rvm/gems/ruby-3.2.2 travis_time:end:03317f10:start=1737101541435214938,finish=1737101564994810257,duration=23559595319,event= travis_fold:end:rvm  $ export BUNDLE_GEMFILE=$PWD/Gemfile travis_fold:start:ruby.versions $ ruby --version ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux] $ rvm --version rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] $ bundle --version Bundler version 2.4.10 $ gem --version 3.4.10 travis_fold:end:ruby.versions  travis_fold:start:before_install.1 travis_time:start:0ae70335 $ sudo apt-get install -yq --no-install-suggests --no-install-recommends postgresql-common Reading package lists... Building dependency tree... Reading state information... postgresql-common is already the newest version (226.pgdg16.04+1). postgresql-common set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded. travis_time:end:0ae70335:start=1737101565508624916,finish=1737101566097626058,duration=589001142,event=before_install travis_fold:end:before_install.1 travis_fold:start:before_install.2 travis_time:start:116884fc $ sudo service postgresql stop travis_time:end:116884fc:start=1737101566102920469,finish=1737101566335439796,duration=232519327,event=before_install travis_fold:end:before_install.2 travis_fold:start:before_install.3 travis_time:start:1628b3f3 $ sudo apt install -yq --no-install-suggests --no-install-recommends postgresql-11 postgresql-client-11 WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... Suggested packages: postgresql-doc-11 Recommended packages: sysstat The following NEW packages will be installed: postgresql-11 postgresql-client-11 0 upgraded, 2 newly installed, 0 to remove and 11 not upgraded. Need to get 15.5 MB of archives. After this operation, 52.1 MB of additional disk space will be used. Get:1 https://apt-archive.postgresql.org/pub/repos/apt xenial-pgdg/main amd64 postgresql-client-11 amd64 11.12-1.pgdg16.04+1 [1,479 kB] Get:2 https://apt-archive.postgresql.org/pub/repos/apt xenial-pgdg/main amd64 postgresql-11 amd64 11.12-1.pgdg16.04+1 [14.0 MB] Preconfiguring packages ... Fetched 15.5 MB in 0s (31.4 MB/s) Selecting previously unselected package postgresql-client-11. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 176452 files and directories currently installed.) Preparing to unpack .../postgresql-client-11_11.12-1.pgdg16.04+1_amd64.deb ... Unpacking postgresql-client-11 (11.12-1.pgdg16.04+1) ... Selecting previously unselected package postgresql-11. Preparing to unpack .../postgresql-11_11.12-1.pgdg16.04+1_amd64.deb ... Unpacking postgresql-11 (11.12-1.pgdg16.04+1) ... Processing triggers for postgresql-common (226.pgdg16.04+1) ... Obsolete major version 9.4 The PostgreSQL version 9.4 is obsolete, but the server or client packages are still installed. Please install the latest packages (postgresql-13 and postgresql-client-13) and upgrade the existing clusters with pg_upgradecluster (see manpage). Please be aware that the installation of postgresql-13 will automatically create a default cluster 13/main. If you want to upgrade the 9.4/main cluster, you need to remove the already existing 13 cluster (pg_dropcluster --stop 13 main, see manpage for details). The old server and client packages are no longer supported. After the existing clusters are upgraded, the postgresql-9.4 and postgresql-client-9.4 packages should be removed. Please see /usr/share/doc/postgresql-common/README.Debian.gz for details. Obsolete major version 9.5 The PostgreSQL version 9.5 is obsolete, but the server or client packages are still installed. Please install the latest packages (postgresql-13 and postgresql-client-13) and upgrade the existing clusters with pg_upgradecluster (see manpage). Please be aware that the installation of postgresql-13 will automatically create a default cluster 13/main. If you want to upgrade the 9.5/main cluster, you need to remove the already existing 13 cluster (pg_dropcluster --stop 13 main, see manpage for details). The old server and client packages are no longer supported. After the existing clusters are upgraded, the postgresql-9.5 and postgresql-client-9.5 packages should be removed. Please see /usr/share/doc/postgresql-common/README.Debian.gz for details. Building PostgreSQL dictionaries from installed myspell/hunspell packages... Removing obsolete dictionary files: Setting up postgresql-client-11 (11.12-1.pgdg16.04+1) ... update-alternatives: using /usr/share/postgresql/11/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode Setting up postgresql-11 (11.12-1.pgdg16.04+1) ... Creating new PostgreSQL cluster 11/main ... /usr/lib/postgresql/11/bin/initdb -D /var/lib/postgresql/11/main --auth-local peer --auth-host md5 The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with locale "en_US.UTF-8". The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english". Data page checksums are disabled. fixing permissions on existing directory /var/lib/postgresql/11/main ... ok creating subdirectories ... ok selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default timezone ... UTC selecting dynamic shared memory implementation ... posix creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok syncing data to disk ... ok Success. You can now start the database server using: pg_ctlcluster 11 main start Ver Cluster Port Status Owner Data directory Log file 11 main 5433 down postgres /var/lib/postgresql/11/main /var/log/postgresql/postgresql-11-main.log update-alternatives: using /usr/share/postgresql/11/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode travis_time:end:1628b3f3:start=1737101566341459440,finish=1737101579113728319,duration=12772268879,event=before_install travis_fold:end:before_install.3 travis_fold:start:before_install.4 travis_time:start:16347edc $ sed -e 's/^port.*/port = 5432/' /etc/postgresql/11/main/postgresql.conf > postgresql.conf travis_time:end:16347edc:start=1737101579119222772,finish=1737101579124715239,duration=5492467,event=before_install travis_fold:end:before_install.4 travis_fold:start:before_install.5 travis_time:start:0956b62b $ sudo chown postgres postgresql.conf travis_time:end:0956b62b:start=1737101579129674155,finish=1737101579139232038,duration=9557883,event=before_install travis_fold:end:before_install.5 travis_fold:start:before_install.6 travis_time:start:1fa6c97e $ sudo mv postgresql.conf /etc/postgresql/11/main travis_time:end:1fa6c97e:start=1737101579144691152,finish=1737101579154870888,duration=10179736,event=before_install travis_fold:end:before_install.6 travis_fold:start:before_install.7 travis_time:start:026fbd0d $ sudo cp /etc/postgresql/{10,11}/main/pg_hba.conf travis_time:end:026fbd0d:start=1737101579160086859,finish=1737101579171455473,duration=11368614,event=before_install travis_fold:end:before_install.7 travis_fold:start:before_install.8 travis_time:start:05fe3d9e $ sudo service postgresql stop travis_time:end:05fe3d9e:start=1737101579176766855,finish=1737101579780476437,duration=603709582,event=before_install travis_fold:end:before_install.8 travis_fold:start:before_install.9 travis_time:start:014d5428 $ sudo systemctl start postgresql@11-main travis_time:end:014d5428:start=1737101579786047967,finish=1737101581996917077,duration=2210869110,event=before_install travis_fold:end:before_install.9 travis_fold:start:before_install.10 travis_time:start:01e349d1 $ gem install rubygems-update -v 3.4.22 Successfully installed rubygems-update-3.4.22 1 gem installed travis_time:end:01e349d1:start=1737101582002924129,finish=1737101582794952747,duration=792028618,event=before_install travis_fold:end:before_install.10 travis_fold:start:before_install.11 travis_time:start:08272168 $ gem update --system Updating rubygems-update Successfully installed rubygems-update-3.6.3 Installing RubyGems 3.6.3 Successfully built RubyGem Name: bundler Version: 2.6.3 File: bundler-2.6.3.gem Bundler 2.6.3 installed RubyGems 3.6.3 installed Regenerating binstubs Regenerating plugins # 3.6.3 / 2025-01-16 ## Enhancements: * Add credentials file path to `gem env`. Pull request [#8375](https://github.com/rubygems/rubygems/pull/8375) by duckinator * Update SPDX license list as of 2024-12-30. Pull request [#8387](https://github.com/rubygems/rubygems/pull/8387) by github-actions[bot] * Installs bundler 2.6.3 as a default gem. ## Bug fixes: * Fix `@licenses` array unmarshalling. Pull request [#8411](https://github.com/rubygems/rubygems/pull/8411) by rykov # 3.6.2 / 2024-12-23 ## Security: * Fix Gem::SafeMarshal buffer overrun when given lengths larger than fit into a byte. Pull request [#8305](https://github.com/rubygems/rubygems/pull/8305) by segiddins * Improve type checking in marshal_load methods. Pull request [#8306](https://github.com/rubygems/rubygems/pull/8306) by segiddins ## Enhancements: * Skip rdoc hooks and their tests on newer rdoc versions. Pull request [#8340](https://github.com/rubygems/rubygems/pull/8340) by deivid-rodriguez * Installs bundler 2.6.2 as a default gem. ## Bug fixes: * Fix serialized metadata including an empty `@original_platform` attribute. Pull request [#8355](https://github.com/rubygems/rubygems/pull/8355) by deivid-rodriguez # 3.6.1 / 2024-12-17 ## Enhancements: * Installs bundler 2.6.1 as a default gem. ## Bug fixes: * Fix `gem info` tagging some non default gems as default. Pull request [#8321](https://github.com/rubygems/rubygems/pull/8321) by deivid-rodriguez ## Documentation: * Fix broken links. Pull request [#8327](https://github.com/rubygems/rubygems/pull/8327) by st0012 # 3.6.0 / 2024-12-16 ## Security: * Stop storing executable names in ivars. Pull request [#8307](https://github.com/rubygems/rubygems/pull/8307) by segiddins ## Breaking changes: * Drop ruby 3.0 support. Pull request [#8091](https://github.com/rubygems/rubygems/pull/8091) by segiddins ## Features: * Add --attestation option to gem push. Pull request [#8239](https://github.com/rubygems/rubygems/pull/8239) by segiddins ## Enhancements: * Skip unresolved deps warning on `Gem::Specification.reset` on benign cases. Pull request [#8309](https://github.com/rubygems/rubygems/pull/8309) by deivid-rodriguez * Let `gem install ` suggest `-ruby` and `ruby-` when providing "did you mean" suggestions. Pull request [#8197](https://github.com/rubygems/rubygems/pull/8197) by duckinator * Update SPDX license list as of 2024-08-19. Pull request [#8233](https://github.com/rubygems/rubygems/pull/8233) by github-actions[bot] * Add `--target-rbconfig` option to `gem install` and `gem update` commands. Pull request [#7628](https://github.com/rubygems/rubygems/pull/7628) by kateinoigakukun * Skip nil-value keys to make metadata reproducible. Pull request [#7129](https://github.com/rubygems/rubygems/pull/7129) by nobu * Allow disabling installation of compiled extensions into lib through `Gem.configuration.install_extension_in_lib`. Pull request [#6463](https://github.com/rubygems/rubygems/pull/6463) by hsbt * Installs bundler 2.6.0 as a default gem. ## Bug fixes: * Set $0 to exe when running `gem exec` to fix name in CLI output. Pull request [#8267](https://github.com/rubygems/rubygems/pull/8267) by adam12 * Fix manifest in gem package using incorrect platform sometimes. Pull request [#8202](https://github.com/rubygems/rubygems/pull/8202) by deivid-rodriguez ## Documentation: * Fix missing single quote in git source example. Pull request [#8303](https://github.com/rubygems/rubygems/pull/8303) by nobu * Update the `gem install` demo in REAME to use a gem that just works on Windows. Pull request [#8262](https://github.com/rubygems/rubygems/pull/8262) by soda92 * Unify rubygems and bundler docs directory. Pull request [#8159](https://github.com/rubygems/rubygems/pull/8159) by hsbt # 3.5.23 / 2024-11-05 ## Enhancements: * Validate user input encoding of `gem` CLI arguments. Pull request [#6471](https://github.com/rubygems/rubygems/pull/6471) by deivid-rodriguez * Fix `gem update --system` leaving old default bundler executables around. Pull request [#8172](https://github.com/rubygems/rubygems/pull/8172) by deivid-rodriguez * Installs bundler 2.5.23 as a default gem. ## Bug fixes: * Fix commands with 2 MFA requests when webauthn is enabled. Pull request [#8174](https://github.com/rubygems/rubygems/pull/8174) by deivid-rodriguez * Make `--enable-load-relative` binstubs prolog work when Ruby is not installed in the same directory as the binstub. Pull request [#7872](https://github.com/rubygems/rubygems/pull/7872) by deivid-rodriguez ## Performance: * Speed up `gem install ` by finding alternative name suggestions faster. Pull request [#8084](https://github.com/rubygems/rubygems/pull/8084) by duckinator ## Documentation: * Add missing comma in documentation. Pull request [#8152](https://github.com/rubygems/rubygems/pull/8152) by leoarnold # 3.5.22 / 2024-10-16 ## Enhancements: * Prevent `._*` files in packages generated from macOS. Pull request [#8150](https://github.com/rubygems/rubygems/pull/8150) by deivid-rodriguez * Fix `gem pristine etc` resetting gem twice sometimes. Pull request [#8117](https://github.com/rubygems/rubygems/pull/8117) by deivid-rodriguez * Allow `gem pristine` to reset default gems too. Pull request [#8118](https://github.com/rubygems/rubygems/pull/8118) by deivid-rodriguez * Update vendored `uri` and `net-http`. Pull request [#8112](https://github.com/rubygems/rubygems/pull/8112) by segiddins * Installs bundler 2.5.22 as a default gem. ## Bug fixes: * Fix `gem contents` for default gems. Pull request [#8132](https://github.com/rubygems/rubygems/pull/8132) by deivid-rodriguez * Fix duplicated specs when they have been previously activated. Pull request [#8131](https://github.com/rubygems/rubygems/pull/8131) by deivid-rodriguez * Fix `gem install` on NFS shares. Pull request [#8123](https://github.com/rubygems/rubygems/pull/8123) by deivid-rodriguez * Fix a `gem install` crash during "done installing" hooks. Pull request [#8113](https://github.com/rubygems/rubygems/pull/8113) by deivid-rodriguez * Fix plugin command loading. Pull request [#8121](https://github.com/rubygems/rubygems/pull/8121) by deivid-rodriguez # 3.5.21 / 2024-10-03 ## Enhancements: * Fix `Gem::MissingSpecVersionError#to_s` not showing exception message. Pull request [#8074](https://github.com/rubygems/rubygems/pull/8074) by deivid-rodriguez * Remove code that makes suggest_gems_from_name give worse results. Pull request [#8083](https://github.com/rubygems/rubygems/pull/8083) by duckinator * Warning about PATH in `--user-install` mode is only necessary for gems with executables. Pull request [#8071](https://github.com/rubygems/rubygems/pull/8071) by deivid-rodriguez * Installs bundler 2.5.21 as a default gem. ## Bug fixes: * Fix error in one source when fetching dependency APIs clearing results from all sources. Pull request [#8080](https://github.com/rubygems/rubygems/pull/8080) by deivid-rodriguez * Fix `gem cleanup` warning when two versions of psych installed. Pull request [#8072](https://github.com/rubygems/rubygems/pull/8072) by deivid-rodriguez # 3.5.20 / 2024-09-24 ## Enhancements: * Installs bundler 2.5.20 as a default gem. # 3.5.19 / 2024-09-18 ## Enhancements: * Standardize pretty-print output for `Gem::Source` and subclasses. Pull request [#7994](https://github.com/rubygems/rubygems/pull/7994) by djberube * Update vendored `molinillo` to master and vendored `resolv` to 0.4.0. Pull request [#7521](https://github.com/rubygems/rubygems/pull/7521) by hsbt * Installs bundler 2.5.19 as a default gem. ## Bug fixes: * Fix `bundle exec rake install` failing when local gem has extensions. Pull request [#7977](https://github.com/rubygems/rubygems/pull/7977) by deivid-rodriguez * Make `gem exec` use the standard GEM_HOME. Pull request [#7982](https://github.com/rubygems/rubygems/pull/7982) by deivid-rodriguez * Fix `gem fetch` always exiting with zero status code. Pull request [#8007](https://github.com/rubygems/rubygems/pull/8007) by deivid-rodriguez * Remove temporary `.lock` files unintentionally left around by gem installer. Pull request [#7939](https://github.com/rubygems/rubygems/pull/7939) by nobu * Removed unused stringio. Pull request [#8001](https://github.com/rubygems/rubygems/pull/8001) by hsbt * Avoid another race condition of open mode. Pull request [#7931](https://github.com/rubygems/rubygems/pull/7931) by nobu * Fix `@license` typo preventing licenses from being correctly unmarshalled. Pull request [#7975](https://github.com/rubygems/rubygems/pull/7975) by djberube ## Performance: * Fix `gem install does-not-exist` being super slow. Pull request [#8006](https://github.com/rubygems/rubygems/pull/8006) by deivid-rodriguez # 3.5.18 / 2024-08-26 ## Enhancements: * Installs bundler 2.5.18 as a default gem. ## Bug fixes: * Fix `gem uninstall :` failing on shadowed default gems. Pull request [#7949](https://github.com/rubygems/rubygems/pull/7949) by deivid-rodriguez # 3.5.17 / 2024-08-01 ## Enhancements: * Explicitly encode `Gem::Dependency` to yaml. Pull request [#7867](https://github.com/rubygems/rubygems/pull/7867) by segiddins * Installs bundler 2.5.17 as a default gem. ## Bug fixes: * Fix `gem list` regression when a regular gem shadows a default one. Pull request [#7892](https://github.com/rubygems/rubygems/pull/7892) by deivid-rodriguez * Always leave default gem executables around. Pull request [#7879](https://github.com/rubygems/rubygems/pull/7879) by deivid-rodriguez * Fix line comment issue for hash when loading gemrc. Pull request [#7857](https://github.com/rubygems/rubygems/pull/7857) by leetking # 3.5.16 / 2024-07-18 ## Enhancements: * Installs bundler 2.5.16 as a default gem. ## Bug fixes: * Fix gemspec `require_paths` validation. Pull request [#7866](https://github.com/rubygems/rubygems/pull/7866) by deivid-rodriguez * Fix loading of nested `gemrc` config keys when specified as symbols. Pull request [#7851](https://github.com/rubygems/rubygems/pull/7851) by moofkit ## Performance: * Use `caller_locations` instead of splitting `caller`. Pull request [#7708](https://github.com/rubygems/rubygems/pull/7708) by nobu # 3.5.15 / 2024-07-09 ## Enhancements: * Installs bundler 2.5.15 as a default gem. ## Bug fixes: * Restrict generic `arm` to only match 32-bit arm. Pull request [#7830](https://github.com/rubygems/rubygems/pull/7830) by ntkme * Protect creating binstubs with a file lock. Pull request [#7806](https://github.com/rubygems/rubygems/pull/7806) by deivid-rodriguez ## Documentation: * Make it clearer that `add_dependency` is the main way to add non-development dependencies. Pull request [#7800](https://github.com/rubygems/rubygems/pull/7800) by jeromedalbert # 3.5.14 / 2024-06-21 ## Enhancements: * Installs bundler 2.5.14 as a default gem. ## Bug fixes: * Make "bundler? update --bundler" behave identically. Pull request [#7778](https://github.com/rubygems/rubygems/pull/7778) by x-yuri # 3.5.13 / 2024-06-14 ## Enhancements: * Installs bundler 2.5.13 as a default gem. ## Bug fixes: * Never remove executables that may belong to a default gem. Pull request [#7747](https://github.com/rubygems/rubygems/pull/7747) by deivid-rodriguez # 3.5.12 / 2024-06-13 ## Enhancements: * Installs bundler 2.5.12 as a default gem. ## Bug fixes: * Fix `gem uninstall` unresolved specifications warning. Pull request [#7667](https://github.com/rubygems/rubygems/pull/7667) by deivid-rodriguez * Fix `gem pristine` sometimes failing to pristine user installed gems. Pull request [#7664](https://github.com/rubygems/rubygems/pull/7664) by deivid-rodriguez # 3.5.11 / 2024-05-28 ## Enhancements: * Update SPDX license list as of 2024-05-22. Pull request [#7689](https://github.com/rubygems/rubygems/pull/7689) by github-actions[bot] * Fix the update_rubygems inconsistency (--disable-gems). Pull request [#7658](https://github.com/rubygems/rubygems/pull/7658) by x-yuri * Accept WASI as an OS name in Gem::Platform. Pull request [#7629](https://github.com/rubygems/rubygems/pull/7629) by kateinoigakukun * Warn if RubyGems version explicitly set in gemspec does not match running version. Pull request [#7460](https://github.com/rubygems/rubygems/pull/7460) by deivid-rodriguez * Installs bundler 2.5.11 as a default gem. ## Bug fixes: * Fix binstubs sometimes not getting regenerated when `--destdir` is given. Pull request [#7660](https://github.com/rubygems/rubygems/pull/7660) by deivid-rodriguez * Fix `gem uninstall --user-install` for symlinked HOME. Pull request [#7645](https://github.com/rubygems/rubygems/pull/7645) by deivid-rodriguez * Fix issue when plugin stubs would sometimes not be properly removed by `gem uninstall`. Pull request [#7631](https://github.com/rubygems/rubygems/pull/7631) by deivid-rodriguez * Fix plugins uninstallation for user installed gems. Pull request [#6456](https://github.com/rubygems/rubygems/pull/6456) by voxik ## Performance: * Use a constant empty tar header to avoid extra allocations. Pull request [#7484](https://github.com/rubygems/rubygems/pull/7484) by segiddins ## Documentation: * Recommend `bin/rake` over `rake` in contributing docs. Pull request [#7648](https://github.com/rubygems/rubygems/pull/7648) by deivid-rodriguez # 3.5.10 / 2024-05-03 ## Security: * Add a limit to the size of the metadata and checksums files in a gem package. Pull request [#7568](https://github.com/rubygems/rubygems/pull/7568) by segiddins ## Enhancements: * Don't fully require `rubygems` from `rubygems/package` to prevent some circular require warnings when using Bundler. Pull request [#7612](https://github.com/rubygems/rubygems/pull/7612) by deivid-rodriguez * Installs bundler 2.5.10 as a default gem. ## Bug fixes: * Rename credential email to identifier in WebAuthn poller. Pull request [#7623](https://github.com/rubygems/rubygems/pull/7623) by jenshenny # 3.5.9 / 2024-04-12 ## Enhancements: * Installs bundler 2.5.9 as a default gem. # 3.5.8 / 2024-04-11 ## Security: * Respect global umask when writing regular files. Pull request [#7518](https://github.com/rubygems/rubygems/pull/7518) by deivid-rodriguez ## Enhancements: * Allow string keys with gemrc. Pull request [#7543](https://github.com/rubygems/rubygems/pull/7543) by hsbt * [Experimental] Add "gem rebuild" command. Pull request [#4913](https://github.com/rubygems/rubygems/pull/4913) by duckinator * Installs bundler 2.5.8 as a default gem. ## Bug fixes: * Fix NoMethodError crash when building errors about corrupt package files. Pull request [#7539](https://github.com/rubygems/rubygems/pull/7539) by jez * Fix resolver to properly intersect Arrays of `Gem::Resolver::Activation` objects. Pull request [#7537](https://github.com/rubygems/rubygems/pull/7537) by deivid-rodriguez # 3.5.7 / 2024-03-22 ## Enhancements: * Warn on empty or open required_ruby_version specification attribute. Pull request [#5010](https://github.com/rubygems/rubygems/pull/5010) by simi * Control whether YAML aliases are enabled in Gem::SafeYAML.safe_load via attribute. Pull request [#7464](https://github.com/rubygems/rubygems/pull/7464) by segiddins * Update SPDX license list as of 2024-02-08. Pull request [#7468](https://github.com/rubygems/rubygems/pull/7468) by github-actions[bot] * Installs bundler 2.5.7 as a default gem. ## Bug fixes: * Allow prerelease activation (even if requirement is not explicit about it) when it's the only possibility. Pull request [#7428](https://github.com/rubygems/rubygems/pull/7428) by kimesf ## Documentation: * Fix a typo. Pull request [#7505](https://github.com/rubygems/rubygems/pull/7505) by hsbt * Use https instead of http in documentation links. Pull request [#7481](https://github.com/rubygems/rubygems/pull/7481) by hsbt # 3.5.6 / 2024-02-06 ## Enhancements: * Deep copy requirements in `Gem::Specification` and `Gem::Requirement`. Pull request [#7439](https://github.com/rubygems/rubygems/pull/7439) by flavorjones * Change gem login message to clear up that username can be also used. Pull request [#7422](https://github.com/rubygems/rubygems/pull/7422) by VitaliySerov * Add metadata for rubygems.org. Pull request [#7435](https://github.com/rubygems/rubygems/pull/7435) by m-nakamura145 * Improve gem login scope selection. Pull request [#7342](https://github.com/rubygems/rubygems/pull/7342) by williantenfen * Vendor uri in RubyGems. Pull request [#7386](https://github.com/rubygems/rubygems/pull/7386) by deivid-rodriguez * Installs bundler 2.5.6 as a default gem. ## Bug fixes: * Skip to load commented out words. Pull request [#7413](https://github.com/rubygems/rubygems/pull/7413) by hsbt * Fix rake runtime dependency warning for rake based extension. Pull request [#7395](https://github.com/rubygems/rubygems/pull/7395) by ntkme # 3.5.5 / 2024-01-18 ## Enhancements: * Installs bundler 2.5.5 as a default gem. ## Bug fixes: * Fix `require` activation conflicts when requiring default gems under some situations. Pull request [#7379](https://github.com/rubygems/rubygems/pull/7379) by deivid-rodriguez * Use cache_home instead of data_home in default_spec_cache_dir. Pull request [#7331](https://github.com/rubygems/rubygems/pull/7331) by mrkn ## Documentation: * Use squiggly heredocs in `Gem::Specification#description` documentation, so it doesn't add leading whitespace. Pull request [#7373](https://github.com/rubygems/rubygems/pull/7373) by bravehager # 3.5.4 / 2024-01-04 ## Enhancements: * Always avoid "Updating rubygems-update" message. Pull request [#7335](https://github.com/rubygems/rubygems/pull/7335) by deivid-rodriguez * Installs bundler 2.5.4 as a default gem. ## Bug fixes: * Make `gem update --system` respect ruby version constraints. Pull request [#7334](https://github.com/rubygems/rubygems/pull/7334) by deivid-rodriguez # 3.5.3 / 2023-12-22 ## Enhancements: * Installs bundler 2.5.3 as a default gem. # 3.5.2 / 2023-12-21 ## Enhancements: * Support dynamic library loading with extension .so or .o. Pull request [#7241](https://github.com/rubygems/rubygems/pull/7241) by hogelog * Installs bundler 2.5.2 as a default gem. ## Performance: * Replace `object_id` comparison with identity Hash. Pull request [#7303](https://github.com/rubygems/rubygems/pull/7303) by amomchilov * Use IO.copy_stream when reading, writing. Pull request [#6958](https://github.com/rubygems/rubygems/pull/6958) by martinemde # 3.5.1 / 2023-12-15 ## Enhancements: * Installs bundler 2.5.1 as a default gem. # 3.5.0 / 2023-12-15 ## Security: * Replace `Marshal.load` with a fully-checked safe gemspec loader. Pull request [#6896](https://github.com/rubygems/rubygems/pull/6896) by segiddins ## Breaking changes: * Drop ruby 2.6 and 2.7 support. Pull request [#7116](https://github.com/rubygems/rubygems/pull/7116) by deivid-rodriguez * Release package no longer includes test files. Pull request [#6781](https://github.com/rubygems/rubygems/pull/6781) by hsbt * Hide `Gem::MockGemUi` from users. Pull request [#6623](https://github.com/rubygems/rubygems/pull/6623) by hsbt * Deprecated `Gem.datadir` has been removed. Pull request [#6469](https://github.com/rubygems/rubygems/pull/6469) by hsbt ## Deprecations: * Deprecate `Gem::Platform.match?`. Pull request [#6783](https://github.com/rubygems/rubygems/pull/6783) by hsbt * Deprecate `Gem::List`. Pull request [#6311](https://github.com/rubygems/rubygems/pull/6311) by segiddins ## Features: * The `generate_index` command can now generate compact index files and lives as an external `rubygems-generate_index` gem. Pull request [#7085](https://github.com/rubygems/rubygems/pull/7085) by segiddins * Make `gem install` fallback to user installation directory if default gem home is not writable. Pull request [#5327](https://github.com/rubygems/rubygems/pull/5327) by duckinator * Leverage ruby feature to warn when requiring default gems from stdlib that will be turned into bundled gems in the future. Pull request [#6840](https://github.com/rubygems/rubygems/pull/6840) by hsbt ## Performance: * Use match? when regexp match data is unused. Pull request [#7263](https://github.com/rubygems/rubygems/pull/7263) by segiddins * Fewer allocations in gem installation. Pull request [#6975](https://github.com/rubygems/rubygems/pull/6975) by segiddins * Optimize allocations in `Gem::Version`. Pull request [#6970](https://github.com/rubygems/rubygems/pull/6970) by segiddins ## Enhancements: * Warn for duplicate meta data links when building gems. Pull request [#7213](https://github.com/rubygems/rubygems/pull/7213) by etherbob * Vendor `net-http`, `net-protocol`, `resolv`, and `timeout` to reduce conflicts between Gemfile gems and internal dependencies. Pull request [#6793](https://github.com/rubygems/rubygems/pull/6793) by deivid-rodriguez * Remove non-transparent requirement added to prerelease gems. Pull request [#7226](https://github.com/rubygems/rubygems/pull/7226) by deivid-rodriguez * Stream output from ext builds when --verbose. Pull request [#7240](https://github.com/rubygems/rubygems/pull/7240) by osyoyu * Add missing services to CI detection and make it consistent between RubyGems and Bundler. Pull request [#7205](https://github.com/rubygems/rubygems/pull/7205) by nevinera * Update generate licenses template to not freeze regexps. Pull request [#7154](https://github.com/rubygems/rubygems/pull/7154) by github-actions[bot] * Don't check `LIBRUBY_RELATIVE` in truffleruby to signal a bash prelude in rubygems binstubs. Pull request [#7156](https://github.com/rubygems/rubygems/pull/7156) by deivid-rodriguez * Update SPDX list and warn on deprecated identifiers. Pull request [#6926](https://github.com/rubygems/rubygems/pull/6926) by simi * Simplify extended `require` to potentially fix some deadlocks. Pull request [#6827](https://github.com/rubygems/rubygems/pull/6827) by nobu * Small refactors for `Gem::Resolver`. Pull request [#6766](https://github.com/rubygems/rubygems/pull/6766) by hsbt * Use double-quotes instead of single-quotes consistently in warnings. Pull request [#6550](https://github.com/rubygems/rubygems/pull/6550) by hsbt * Add debug message for `nil` version gemspec. Pull request [#6436](https://github.com/rubygems/rubygems/pull/6436) by hsbt * Installs bundler 2.5.0 as a default gem. ## Bug fixes: * Fix installing from source with same default bundler version already installed. Pull request [#7244](https://github.com/rubygems/rubygems/pull/7244) by deivid-rodriguez ## Documentation: * Improve comment explaining the necessity of `write_default_spec` method. Pull request [#6563](https://github.com/rubygems/rubygems/pull/6563) by voxik # 3.4.22 / 2023-11-09 ## Enhancements: * Update SPDX license list as of 2023-10-05. Pull request [#7040](https://github.com/rubygems/rubygems/pull/7040) by github-actions[bot] * Remove unnecessary rescue. Pull request [#7109](https://github.com/rubygems/rubygems/pull/7109) by deivid-rodriguez * Installs bundler 2.4.22 as a default gem. ## Bug fixes: * Handle empty array at built-in YAML serializer. Pull request [#7099](https://github.com/rubygems/rubygems/pull/7099) by hsbt * Ignore non-tar format `.gem` files during search. Pull request [#7095](https://github.com/rubygems/rubygems/pull/7095) by dearblue * Allow explicitly uninstalling multiple versions of same gem. Pull request [#7063](https://github.com/rubygems/rubygems/pull/7063) by kstevens715 ## Performance: * Avoid regexp match on every call to `Gem::Platform.local`. Pull request [#7104](https://github.com/rubygems/rubygems/pull/7104) by segiddins ## Documentation: * Get `Gem::Specification#extensions_dir` documented. Pull request [#6218](https://github.com/rubygems/rubygems/pull/6218) by deivid-rodriguez # 3.4.21 / 2023-10-17 ## Enhancements: * Abort `setup.rb` if Ruby is too old. Pull request [#7011](https://github.com/rubygems/rubygems/pull/7011) by deivid-rodriguez * Remove usage of Dir.chdir that only execute a subprocess. Pull request [#6930](https://github.com/rubygems/rubygems/pull/6930) by segiddins * Freeze more strings in generated gemspecs. Pull request [#6974](https://github.com/rubygems/rubygems/pull/6974) by segiddins * Use pure-ruby YAML parser for loading configuration at RubyGems. Pull request [#6615](https://github.com/rubygems/rubygems/pull/6615) by hsbt * Installs bundler 2.4.21 as a default gem. ## Documentation: * Update suggested variable for bindir. Pull request [#7028](https://github.com/rubygems/rubygems/pull/7028) by hsbt * Fix invalid links in documentation. Pull request [#7008](https://github.com/rubygems/rubygems/pull/7008) by simi # 3.4.20 / 2023-09-27 ## Enhancements: * Raise `Gem::Package::FormatError` when gem encounters corrupt EOF. Pull request [#6882](https://github.com/rubygems/rubygems/pull/6882) by martinemde * Allow skipping empty license `gem build` warning by setting license to `nil`. Pull request [#6879](https://github.com/rubygems/rubygems/pull/6879) by jhong97 * Update SPDX license list as of 2023-06-18. Pull request [#6891](https://github.com/rubygems/rubygems/pull/6891) by github-actions[bot] * Update SPDX license list as of 2023-04-28. Pull request [#6642](https://github.com/rubygems/rubygems/pull/6642) by segiddins * Update SPDX license list as of 2023-01-26. Pull request [#6310](https://github.com/rubygems/rubygems/pull/6310) by segiddins * Installs bundler 2.4.20 as a default gem. ## Bug fixes: * Fixed false positive SymlinkError in symbolic link directory. Pull request [#6947](https://github.com/rubygems/rubygems/pull/6947) by negi0109 * Ensure that loading multiple gemspecs with legacy YAML class references does not warn. Pull request [#6889](https://github.com/rubygems/rubygems/pull/6889) by segiddins * Fix NoMethodError when choosing a too big number from `gem uni` list. Pull request [#6901](https://github.com/rubygems/rubygems/pull/6901) by amatsuda ## Performance: * Reduce allocations for stub specifications. Pull request [#6972](https://github.com/rubygems/rubygems/pull/6972) by segiddins # 3.4.19 / 2023-08-17 ## Enhancements: * Installs bundler 2.4.19 as a default gem. ## Performance: * Speedup building docs when updating rubygems. Pull request [#6864](https://github.com/rubygems/rubygems/pull/6864) by deivid-rodriguez # 3.4.18 / 2023-08-02 ## Enhancements: * Add poller to fetch WebAuthn OTP. Pull request [#6774](https://github.com/rubygems/rubygems/pull/6774) by jenshenny * Remove side effects when unmarshaling old `Gem::Specification`. Pull request [#6825](https://github.com/rubygems/rubygems/pull/6825) by nobu * Ship rubygems executables in `exe` folder. Pull request [#6704](https://github.com/rubygems/rubygems/pull/6704) by hsbt * Installs bundler 2.4.18 as a default gem. # 3.4.17 / 2023-07-14 ## Enhancements: * Installs bundler 2.4.17 as a default gem. ## Performance: * Avoid unnecessary work for private local gem installation. Pull request [#6810](https://github.com/rubygems/rubygems/pull/6810) by deivid-rodriguez # 3.4.16 / 2023-07-10 ## Enhancements: * Installs bundler 2.4.16 as a default gem. # 3.4.15 / 2023-06-29 ## Enhancements: * Installs bundler 2.4.15 as a default gem. ## Bug fixes: * Autoload shellwords when it's needed. Pull request [#6734](https://github.com/rubygems/rubygems/pull/6734) by ioquatix ## Documentation: * Update command to test local gem command changes. Pull request [#6761](https://github.com/rubygems/rubygems/pull/6761) by jenshenny # 3.4.14 / 2023-06-12 ## Enhancements: * Load plugin immediately. Pull request [#6673](https://github.com/rubygems/rubygems/pull/6673) by kou * Installs bundler 2.4.14 as a default gem. ## Documentation: * Clarify what the `rubygems-update` gem is for, and link to source code and guides. Pull request [#6710](https://github.com/rubygems/rubygems/pull/6710) by davetron5000 # 3.4.13 / 2023-05-09 ## Enhancements: * Installs bundler 2.4.13 as a default gem. # 3.4.12 / 2023-04-11 ## Enhancements: * [Experimental] Add WebAuthn Support to the CLI. Pull request [#6560](https://github.com/rubygems/rubygems/pull/6560) by jenshenny * Installs bundler 2.4.12 as a default gem. # 3.4.11 / 2023-04-10 ## Enhancements: * Installs bundler 2.4.11 as a default gem. ------------------------------------------------------------------------------ RubyGems installed the following executables: /home/travis/.rvm/rubies/ruby-3.2.2/bin/gem /home/travis/.rvm/rubies/ruby-3.2.2/bin/bundle /home/travis/.rvm/rubies/ruby-3.2.2/bin/bundler RubyGems system software updated travis_time:end:08272168:start=1737101582801053364,finish=1737101587419047755,duration=4617994391,event=before_install travis_fold:end:before_install.11 travis_fold:start:install.bundler travis_time:start:0af98ccc $ bundle install --jobs=3 --retry=3 --deployment [DEPRECATED] The `--deployment` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set deployment true`, and stop using this flag Bundler 2.6.3 is running, but your lockfile was generated with 2.4.14. Installing Bundler 2.4.14 and restarting using that version. Fetching gem metadata from https://rubygems.org/. Fetching bundler 2.4.14 Installing bundler 2.4.14 [DEPRECATED] The `--deployment` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local deployment 'true'`, and stop using this flag Your Gemfile lists the gem simplecov (>= 0) more than once. You should probably keep only one of them. Remove any duplicate entries and specify the gem only once. While it's not a problem now, it could cause errors if you change the version of one of them later. Fetching gem metadata from https://rubygems.org/........ Fetching https://github.com/travis-ci/travis-support Fetching https://github.com/travis-ci/travis-amqp Fetching https://github.com/travis-ci/travis-config Fetching https://github.com/travis-ci/travis-settings Fetching https://github.com/travis-ci/travis-lock Fetching https://github.com/travis-ci/travis-github_apps Fetching https://github.com/travis-ci/travis-rollout Fetching https://github.com/travis-ci/simple_states Fetching https://github.com/travis-ci/metriks Fetching https://github.com/travis-ci/metriks-librato_metrics Fetching https://github.com/travis-ci/marginalia Fetching https://github.com/travis-ci/gh Fetching https://github.com/travis-ci/rollout Fetching https://github.com/rkh/yard-sinatra Fetching https://github.com/rtomayko/rack-cache Fetching rake 13.0.6 Installing rake 13.0.6 Fetching HDRHistogram 0.1.11 Fetching minitest 5.18.1 Fetching concurrent-ruby 1.2.2 Installing HDRHistogram 0.1.11 with native extensions Installing minitest 5.18.1 Fetching public_suffix 5.0.3 Installing concurrent-ruby 1.2.2 Fetching aggregate 0.2.3 Installing public_suffix 5.0.3 Fetching allocation_tracer 0.6.3 Installing aggregate 0.2.3 Fetching amq-protocol 2.3.2 Installing allocation_tracer 0.6.3 with native extensions Installing amq-protocol 2.3.2 Fetching ansi 1.5.0 Installing ansi 1.5.0 Fetching ast 2.4.2 Installing ast 2.4.2 Fetching atomic 1.1.101 Installing atomic 1.1.101 with native extensions Fetching aws-eventstream 1.2.0 Installing aws-eventstream 1.2.0 Fetching aws-partitions 1.791.0 Fetching jmespath 1.6.2 Installing aws-partitions 1.791.0 Installing jmespath 1.6.2 Fetching thread_safe 0.3.6 Fetching ice_nine 0.11.2 Using bundler 2.4.14 Fetching rbtree 0.4.6 Installing ice_nine 0.11.2 Using set 1.0.3 Fetching byebug 11.1.3 Installing thread_safe 0.3.6 Fetching faraday-net_http 3.0.2 Installing rbtree 0.4.6 with native extensions Installing byebug 11.1.3 with native extensions Installing faraday-net_http 3.0.2 Using ruby2_keywords 0.0.5 Using json 2.6.3 Fetching coder 0.4.0 Installing coder 0.4.0 Fetching coderay 1.1.3 Installing coderay 1.1.3 Fetching connection_pool 2.4.1 Installing connection_pool 2.4.1 Fetching rexml 3.2.5 Installing rexml 3.2.5 Fetching dalli 3.2.5 Installing dalli 3.2.5 Fetching database_cleaner-core 2.0.1 Installing database_cleaner-core 2.0.1 Fetching declarative 0.0.20 Installing declarative 0.0.20 Fetching diff-lcs 1.5.0 Installing diff-lcs 1.5.0 Fetching digest-crc 0.6.5 Installing digest-crc 0.6.5 with native extensions Fetching docile 1.4.0 Installing docile 1.4.0 Fetching unf_ext 0.0.8.2 Installing unf_ext 0.0.8.2 with native extensions Fetching zeitwerk 2.6.8 Installing zeitwerk 2.6.8 Fetching dry-inflector 1.0.0 Installing dry-inflector 1.0.0 Fetching dry-initializer 3.1.1 Installing dry-initializer 3.1.1 Fetching ed25519 1.3.0 Installing ed25519 1.3.0 with native extensions Fetching ffi 1.15.5 Installing ffi 1.15.5 with native extensions Fetching excon 0.100.0 Installing excon 0.100.0 Fetching foreman 0.87.2 Installing foreman 0.87.2 Fetching google-protobuf 3.23.4 (x86_64-linux) Installing google-protobuf 3.23.4 (x86_64-linux) Fetching jwt 2.7.1 Installing jwt 2.7.1 Fetching memoist 0.16.2 Installing memoist 0.16.2 Fetching multi_json 1.15.0 Installing multi_json 1.15.0 Fetching os 1.1.4 Installing os 1.1.4 Fetching net-http-pipeline 1.0.1 Installing net-http-pipeline 1.0.1 Fetching httpclient 2.8.3 Installing httpclient 2.8.3 Fetching mini_mime 1.1.2 Installing mini_mime 1.1.2 Fetching trailblazer-option 0.1.2 Installing trailblazer-option 0.1.2 Fetching uber 0.1.0 Installing uber 0.1.0 Fetching retriable 3.1.2 Installing retriable 3.1.2 Fetching webrick 1.8.1 Installing webrick 1.8.1 Fetching google-cloud-errors 1.3.1 Installing google-cloud-errors 1.3.1 Fetching hashdiff 1.0.1 Installing hashdiff 1.0.1 Fetching hashr 2.0.1 Installing hashr 2.0.1 Fetching hitimes 1.3.1 Installing hitimes 1.3.1 with native extensions Fetching http-form_data 2.3.0 Installing http-form_data 2.3.0 Fetching ipaddress 0.8.3 Installing ipaddress 0.8.3 Fetching kgio 2.11.4 Installing kgio 2.11.4 with native extensions Fetching knapsack 4.0.0 Installing knapsack 4.0.0 Fetching language_server-protocol 3.17.0.3 Installing language_server-protocol 3.17.0.3 Fetching rb-fsevent 0.11.2 Installing rb-fsevent 0.11.2 Fetching pg 1.5.3 Installing pg 1.5.3 with native extensions Fetching memory_profiler 1.0.1 Installing memory_profiler 1.0.1 Fetching method_source 1.0.0 Installing method_source 1.0.0 Using metriks-librato_metrics 1.0.6 from https://github.com/travis-ci/metriks-librato_metrics (at master@e876ca2) Fetching mime-types-data 3.2023.0218.1 Installing mime-types-data 3.2023.0218.1 Fetching msgpack 1.7.2 Installing msgpack 1.7.2 with native extensions Fetching nakayoshi_fork 0.0.4 Installing nakayoshi_fork 0.0.4 Fetching opencensus 0.5.0 Installing opencensus 0.5.0 Fetching optimist 3.0.1 Installing optimist 3.0.1 Fetching parallel 1.23.0 Installing parallel 1.23.0 Fetching racc 1.7.1 Installing racc 1.7.1 with native extensions Fetching pusher-signature 0.1.8 Installing pusher-signature 0.1.8 Fetching rack 2.2.7 Installing rack 2.2.7 Fetching rainbow 3.1.1 Installing rainbow 3.1.1 Fetching raindrops 0.20.1 Installing raindrops 0.20.1 with native extensions Fetching redcarpet 3.6.0 Installing redcarpet 3.6.0 with native extensions Fetching regexp_parser 2.8.1 Installing regexp_parser 2.8.1 Fetching rspec-support 3.12.1 Installing rspec-support 3.12.1 Fetching ruby-progressbar 1.13.0 Installing ruby-progressbar 1.13.0 Fetching unicode-display_width 2.4.2 Installing unicode-display_width 2.4.2 Fetching simplecov-html 0.12.3 Installing simplecov-html 0.12.3 Fetching simplecov_json_formatter 0.1.4 Installing simplecov_json_formatter 0.1.4 Fetching tilt 2.2.0 Installing tilt 2.2.0 Fetching ssh_data 1.3.0 Installing ssh_data 1.3.0 Fetching stackprof 0.2.25 Installing stackprof 0.2.25 with native extensions Fetching timecop 0.9.6 Installing timecop 0.9.6 Fetching tool 0.2.3 Installing tool 0.2.3 Using travis-amqp 0.0.3 from https://github.com/travis-ci/travis-amqp (at master@69e72f4) Using travis-lock 0.2.0 from https://github.com/travis-ci/travis-lock (at master@aeee7b5) Using travis-rollout 0.1.0 from https://github.com/travis-ci/travis-rollout (at master@4e89a17) Using travis-support 0.1.0 from https://github.com/travis-ci/travis-support (at master@8b566a9) Fetching useragent 0.16.10 Installing useragent 0.16.10 Fetching yard 0.9.34 Installing yard 0.9.34 Fetching i18n 1.14.1 Installing i18n 1.14.1 Fetching tzinfo 2.0.6 Installing tzinfo 2.0.6 Fetching sentry-ruby 5.10.0 Fetching addressable 2.8.4 Installing sentry-ruby 5.10.0 Fetching aws-sigv4 1.6.0 Installing addressable 2.8.4 Fetching avl_tree 1.2.1 Installing aws-sigv4 1.6.0 Fetching descendants_tracker 0.0.4 Installing avl_tree 1.2.1 Fetching faraday 2.7.10 Installing descendants_tracker 0.0.4 Installing faraday 2.7.10 Fetching mocha 2.0.4 Fetching mustermann 3.0.0 Installing mocha 2.0.4 Installing mustermann 3.0.0 Fetching net-http-persistent 4.0.2 Fetching redis-client 0.14.1 Installing net-http-persistent 4.0.2 Installing redis-client 0.14.1 Fetching crack 0.4.5 Fetching sorted_set 1.0.3 Installing crack 0.4.5 Fetching dry-core 1.0.0 Installing sorted_set 1.0.3 Fetching unf 0.1.4 Installing dry-core 1.0.0 Fetching googleapis-common-protos-types 1.7.0 Installing unf 0.1.4 Fetching representable 3.2.0 Installing googleapis-common-protos-types 1.7.0 Using travis-config 2.0.0 from https://github.com/travis-ci/travis-config (at master@601e9a6) Fetching ethon 0.16.0 Installing representable 3.2.0 Fetching ffi-compiler 1.0.1 Installing ethon 0.16.0 Fetching rb-inotify 0.10.1 Installing ffi-compiler 1.0.1 Fetching pry 0.14.2 Installing rb-inotify 0.10.1 Fetching mime-types 3.4.1 Installing pry 0.14.2 Installing mime-types 3.4.1 Fetching parser 3.2.2.3 Fetching pusher 2.0.3 Installing pusher 2.0.3 Fetching rack-attack 6.6.1 Installing rack-attack 6.6.1 Using rack-cache 1.13.0 from https://github.com/rtomayko/rack-cache (at master@07ff2f8) Fetching rack-contrib 2.3.0 Installing parser 3.2.2.3 Installing rack-contrib 2.3.0 Fetching rack-protection 3.0.6 Fetching rack-ssl 1.4.1 Installing rack-protection 3.0.6 Fetching rack-test 2.1.0 Installing rack-ssl 1.4.1 Fetching rbtrace 0.4.14 Installing rack-test 2.1.0 Using marginalia 1.6.0 from https://github.com/travis-ci/marginalia (at master@d7c711a) Fetching rspec-core 3.12.2 Installing rbtrace 0.4.14 with native extensions Installing rspec-core 3.12.2 Fetching rspec-expectations 3.12.3 Installing rspec-expectations 3.12.3 Fetching rspec-mocks 3.12.6 Installing rspec-mocks 3.12.6 Fetching terminal-table 3.0.2 Installing terminal-table 3.0.2 Fetching simplecov 0.22.0 Installing simplecov 0.22.0 Using yard-sinatra 1.0.0 from https://github.com/rkh/yard-sinatra (at master@b0d8403) Fetching activesupport 7.0.8.1 Installing activesupport 7.0.8.1 Fetching aws-sdk-core 3.178.0 Installing aws-sdk-core 3.178.0 Using metriks 0.9.9.8 from https://github.com/travis-ci/metriks (at master@ca03449) Fetching axiom-types 0.1.1 Installing axiom-types 0.1.1 Fetching coercible 1.0.0 Installing coercible 1.0.0 Fetching closeio 3.15.0 Installing closeio 3.15.0 Fetching faraday-follow_redirects 0.3.0 Installing faraday-follow_redirects 0.3.0 Fetching faraday-retry 2.2.0 Installing faraday-retry 2.2.0 Fetching signet 0.17.0 Installing signet 0.17.0 Fetching google-cloud-env 1.6.0 Installing google-cloud-env 1.6.0 Fetching librato-metrics 2.1.2 Installing librato-metrics 2.1.2 Fetching faraday-net_http_persistent 2.1.0 Installing faraday-net_http_persistent 2.1.0 Fetching redis 5.0.6 Installing redis 5.0.6 Fetching redlock 2.0.2 Installing redlock 2.0.2 Fetching sidekiq 7.1.2 Installing sidekiq 7.1.2 Fetching webmock 3.18.1 Installing webmock 3.18.1 Fetching bunny 2.22.0 Fetching dry-configurable 1.1.0 Installing bunny 2.22.0 Fetching dry-logic 1.5.0 Installing dry-configurable 1.1.0 Fetching domain_name 0.5.20190701 Installing dry-logic 1.5.0 Fetching grpc 1.56.2 (x86_64-linux) Installing domain_name 0.5.20190701 Fetching typhoeus 1.4.1 Installing typhoeus 1.4.1 Fetching llhttp-ffi 0.4.0 Installing llhttp-ffi 0.4.0 with native extensions Installing grpc 1.56.2 (x86_64-linux) Fetching listen 3.8.0 Installing listen 3.8.0 Fetching pry-byebug 3.10.1 Installing pry-byebug 3.10.1 Fetching rubocop-ast 1.29.0 Installing rubocop-ast 1.29.0 Fetching sinatra 3.0.6 Installing sinatra 3.0.6 Fetching rspec-its 1.3.0 Installing rspec-its 1.3.0 Fetching rspec 3.12.0 Installing rspec 3.12.0 Fetching simplecov-console 0.9.1 Installing simplecov-console 0.9.1 Fetching activemodel 7.0.8.1 Installing activemodel 7.0.8.1 Fetching factory_bot 6.2.1 Using simple_states 1.0.2 from https://github.com/travis-ci/simple_states (at prd-ruby-upgrade-dev@1112afa) Fetching aws-sdk-kms 1.71.0 Installing factory_bot 6.2.1 Fetching virtus 2.0.0 Installing virtus 2.0.0 Fetching googleauth 1.7.0 Installing googleauth 1.7.0 Fetching google-cloud-core 1.6.0 Installing google-cloud-core 1.6.0 Fetching redis-namespace 1.11.0 Installing redis-namespace 1.11.0 Using rollout 3.0.0 from https://github.com/travis-ci/rollout (at master@ec4db3a) Using travis-github_apps 0.3.0 from https://github.com/travis-ci/travis-github_apps (at master@146c5c4) Fetching unicorn 6.1.0 Installing aws-sdk-kms 1.71.0 Fetching dry-types 1.7.1 Installing unicorn 6.1.0 with native extensions Installing dry-types 1.7.1 Fetching http-cookie 1.0.5 Installing http-cookie 1.0.5 Fetching faraday-typhoeus 1.1.0 Installing faraday-typhoeus 1.1.0 Fetching rerun 0.14.0 Installing rerun 0.14.0 Fetching rubocop 1.54.2 Installing rubocop 1.54.2 Fetching sinatra-contrib 3.0.6 Installing sinatra-contrib 3.0.6 Fetching active_model_serializers 0.9.9 Installing active_model_serializers 0.9.9 Fetching activerecord 7.0.8.1 Installing activerecord 7.0.8.1 Fetching googleapis-common-protos 1.4.0 Installing googleapis-common-protos 1.4.0 Using travis-settings 0.1.0 from https://github.com/travis-ci/travis-settings (at master@7e48e09) Fetching google-apis-core 0.11.1 Installing google-apis-core 0.11.1 Fetching aws-sdk-s3 1.131.0 Installing aws-sdk-s3 1.131.0 Fetching dry-schema 1.13.2 Installing dry-schema 1.13.2 Fetching dry-struct 1.6.0 Installing dry-struct 1.6.0 Fetching http 5.1.1 Installing http 5.1.1 Using gh 0.21.0 from https://github.com/travis-ci/gh (at master@e1fcd75) Fetching rubocop-capybara 2.18.0 Installing rubocop-capybara 2.18.0 Fetching rubocop-factory_bot 2.23.1 Installing rubocop-factory_bot 2.23.1 Fetching rubocop-performance 1.18.0 Installing rubocop-performance 1.18.0 Fetching composite_primary_keys 14.0.6 Installing composite_primary_keys 14.0.6 Fetching database_cleaner-active_record 2.1.0 Installing database_cleaner-active_record 2.1.0 Fetching gapic-common 0.19.1 Installing gapic-common 0.19.1 Fetching google-apis-iamcredentials_v1 0.17.0 Installing google-apis-iamcredentials_v1 0.17.0 Fetching google-apis-storage_v1 0.19.0 Installing google-apis-storage_v1 0.19.0 Fetching libhoney 2.2.0 Installing libhoney 2.2.0 Fetching rubocop-rspec 2.22.0 Fetching database_cleaner 2.0.2 Installing rubocop-rspec 2.22.0 Installing database_cleaner 2.0.2 Fetching google-cloud-monitoring-v3 0.12.1 Fetching google-cloud-trace-v2 0.6.1 Fetching google-cloud-storage 1.44.0 Installing google-cloud-trace-v2 0.6.1 Installing google-cloud-storage 1.44.0 Installing google-cloud-monitoring-v3 0.12.1 Fetching opencensus-stackdriver 0.4.1 Installing opencensus-stackdriver 0.4.1 Bundle complete! 84 Gemfile dependencies, 208 gems now installed. Bundled gems are installed into `./vendor/bundle` Post-install message from atomic: This gem has been deprecated and merged into Concurrent Ruby (http://concurrent-ruby.com). travis_time:end:0af98ccc:start=1737101587429718521,finish=1737101641438038250,duration=54008319729,event=install travis_fold:end:install.bundler  travis_fold:start:before_script.1 travis_time:start:0f02df24 $ psql --version psql (PostgreSQL) 11.12 (Ubuntu 11.12-1.pgdg16.04+1) travis_time:end:0f02df24:start=1737101641443917058,finish=1737101641497021487,duration=53104429,event=before_script travis_fold:end:before_script.1 travis_fold:start:before_script.2 travis_time:start:20b1569c $ psql -c 'CREATE DATABASE travis_test;' -U postgres CREATE DATABASE travis_time:end:20b1569c:start=1737101641503106855,finish=1737101641788599895,duration=285493040,event=before_script travis_fold:end:before_script.2 travis_fold:start:before_script.3 travis_time:start:148cd8e0 $ psql -t -c "SELECT 1 FROM pg_roles WHERE rolname='travis'" -U postgres | grep 1 || psql -c 'CREATE ROLE travis SUPERUSER LOGIN CREATEDB;' -U postgres CREATE ROLE travis_time:end:148cd8e0:start=1737101641794540685,finish=1737101641900867176,duration=106326491,event=before_script travis_fold:end:before_script.3 travis_fold:start:before_script.4 travis_time:start:0618b91e $ curl -fs https://raw.githubusercontent.com/travis-ci/travis-migrations/master/db/main/structure.sql | psql -v ON_ERROR_STOP=1 travis_test SET SET SET SET SET set_config ------------ (1 row) SET SET SET SET CREATE EXTENSION COMMENT CREATE EXTENSION COMMENT CREATE TYPE CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION CREATE FUNCTION SET CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE TABLE CREATE TABLE CREATE TABLE CREATE TABLE CREATE TABLE CREATE TABLE CREATE TABLE CREATE TABLE CREATE TABLE CREATE TABLE CREATE TABLE CREATE TABLE CREATE TABLE CREATE TABLE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE CREATE SEQUENCE ALTER SEQUENCE CREATE TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX CREATE TRIGGER CREATE TRIGGER CREATE TRIGGER CREATE TRIGGER CREATE TRIGGER CREATE TRIGGER CREATE TRIGGER CREATE TRIGGER CREATE TRIGGER CREATE TRIGGER CREATE TRIGGER CREATE TRIGGER CREATE TRIGGER CREATE TRIGGER CREATE TRIGGER CREATE TRIGGER CREATE TRIGGER ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE SET INSERT 0 394 travis_time:end:0618b91e:start=1737101641906697654,finish=1737101643232447605,duration=1325749951,event=before_script travis_fold:end:before_script.4 travis_time:start:0a7cfe66 $ bundle exec rake knapsack:rspec I TID=57460 Setting up module Travis I TID=58420 Setting up module Travis /home/travis/build/travis-ci/travis-api/spec/v3/services/repositories/for_owner_spec.rb:236: warning: key "branch" is duplicated and overwritten on line 237 /home/travis/build/travis-ci/travis-api/spec/v3/services/repositories/for_owner_spec.rb:639: warning: key "settings_create" is duplicated and overwritten on line 644 /home/travis/build/travis-ci/travis-api/spec/v3/services/repositories/for_owner_spec.rb:640: warning: key "settings_delete" is duplicated and overwritten on line 645 /home/travis/build/travis-ci/travis-api/spec/v3/services/repositories/for_owner_spec.rb:641: warning: key "settings_read" is duplicated and overwritten on line 646 /home/travis/build/travis-ci/travis-api/spec/v3/services/repositories/for_owner_spec.rb:642: warning: key "settings_update" is duplicated and overwritten on line 647 DEPRECATION WARNING: ActiveRecord::Base.default_timezone= is deprecated and will be removed in Rails 7.1. Use `ActiveRecord.default_timezone=` instead. (called from connect at /home/travis/build/travis-ci/travis-api/vendor/bundle/ruby/3.2.0/bundler/gems/travis-support-8b566a945022/lib/travis/support/database.rb:15) ..............................................................................................................................Could not find serialize builder for v2 Http Hash ..Could not find serialize builder for v2 Http Hash ..........................**................................................................................................................................................................................................FFFFFFFFFFFFFFFFFFFF......................................................................................................................................................................**.2025-01-17T08:16:18.576Z pid=16967 tid=wvn INFO: Sidekiq 7.1.2 connecting to Redis with options {:size=>10, :pool_name=>"internal", :url=>"redis://localhost:6379"} .........**.....................................................................................................unknown matchers used for queue builds.invalid: foobar_donotmatch ........Could not find serialize builder for v2 Http Hash Could not find serialize builder for v2 Http Hash .Could not find serialize builder for v1 Http Hash ........FFF.....Could not find serialize builder for v1 Http RemoteLog ..FFF................................................*.......................................................Could not find serialize builder for v1 Http broadcasts ...Could not find serialize builder for v1 Http broadcasts ...Could not find serialize builder for v1 Http broadcasts ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*......................................................................................................................................................................................................................................................F.... Pending: (Failures listed here are expected and do not affect your suite's status)  1) Travis::API::V3::Services::Active::ForOwner not authenticated in private mode viewing a user  # Temporarily skipped with xexample  # ./spec/v3/services/active/for_owner_spec.rb:116  2) Travis::API::V3::Services::Active::ForOwner not authenticated in private mode viewing a user  # Temporarily skipped with xexample  # ./spec/v3/services/active/for_owner_spec.rb:117  3) Travis::Api::App::Endpoint::Authorization GET /auth/authorize not yet implemented # No reason given  # ./spec/unit/endpoint/authorization_spec.rb:43  4) Travis::Api::App::Endpoint::Authorization POST /auth/access_token not yet implemented # No reason given  # ./spec/unit/endpoint/authorization_spec.rb:47  5) Travis::Api::App::Endpoint::Authorization GET /auth/handshake with insufficient oauth permissions redirects to insufficient access page # Temporarily skipped with xit  # ./spec/unit/endpoint/authorization_spec.rb:265  6) Travis::Api::App::Endpoint::Authorization GET /auth/handshake with insufficient oauth permissions redirects to insufficient access page for existing user # Temporarily skipped with xit  # ./spec/unit/endpoint/authorization_spec.rb:271  7) Travis::Services::FindCaches given a repository_id with caches with multiple buckets size  # this isn't valid anymore we don't use multiple buckets  # ./spec/lib/services/find_caches_spec.rb:66  8) Travis::Api::App::Endpoint::Endpoints has to be tested # Not yet implemented  # ./spec/unit/endpoint/endpoints_spec.rb:2  Failures: 1) Travis::API::V3::Services::Owner::Find organization existing org, public api, by login Got 0 failures and 2 other errors: 1.1) Failure/Error: if operator ||= table.type(attribute.name).force_equality?(value) && :eq  ActiveRecord::StatementInvalid:  PG::UndefinedTable: ERROR: relation "account_env_vars" does not exist  LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass  ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `block (2 levels) in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:18:in `block in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:17:in `query' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:916:in `column_definitions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:117:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:117:in `block in columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:125:in `block in columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:580:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attributes.rb:264:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/encryption/encryptable_record.rb:122:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:566:in `block in load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:429:in `attribute_types' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:455:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/type_caster/map.rb:16:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/arel/table.rb:107:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/table_metadata.rb:18:in `type' # ./lib/patches/active_record/predicate_builder.rb:69:in `build' # ./lib/patches/active_record/predicate_builder.rb:64:in `[]' # ./lib/patches/active_record/predicate_builder.rb:136:in `block in expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:89:in `each' # ./lib/patches/active_record/predicate_builder.rb:89:in `flat_map' # ./lib/patches/active_record/predicate_builder.rb:89:in `expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:35:in `build_from_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:1333:in `build_where_clause' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:774:in `where!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:769:in `where' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/querying.rb:22:in `where' # ./lib/travis/api/v3/models/organization.rb:52:in `account_env_vars' # ./lib/travis/api/v3/renderer/owner.rb:8:in `account_env_vars' # ./lib/travis/api/v3/model_renderer.rb:130:in `block in render' # ./lib/travis/api/v3/model_renderer.rb:125:in `each' # ./lib/travis/api/v3/model_renderer.rb:125:in `render' # ./lib/travis/api/v3/model_renderer.rb:46:in `render' # ./lib/travis/api/v3/result.rb:32:in `render' # ./lib/travis/api/v3/router.rb:67:in `render' # ./lib/travis/api/v3/router.rb:44:in `call' # ./lib/travis/api/v3/opt_in.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/jsonp.rb:39:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/json_body_parser.rb:69:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/deflater.rb:44:in `call' # ./lib/travis/api/app.rb:282:in `call' # ./lib/travis/api/app/middleware/error_handler.rb:10:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./lib/travis/api/app.rb:187:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:50:in `_call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:38:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `get' # ./spec/v3/services/owner/find_spec.rb:27:in `block (4 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::UndefinedTable: # ERROR: relation "account_env_vars" does not exist # LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass # ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' 1.2) Failure/Error: after { org.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/owner/find_spec.rb:8:in `block (3 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 2) Travis::API::V3::Services::Owner::Find organization existing org, public api, by login Got 0 failures and 2 other errors: 2.1) Failure/Error: if operator ||= table.type(attribute.name).force_equality?(value) && :eq  ActiveRecord::StatementInvalid:  PG::UndefinedTable: ERROR: relation "account_env_vars" does not exist  LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass  ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `block (2 levels) in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:18:in `block in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:17:in `query' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:916:in `column_definitions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:117:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:117:in `block in columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:125:in `block in columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:580:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attributes.rb:264:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/encryption/encryptable_record.rb:122:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:566:in `block in load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:429:in `attribute_types' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:455:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/type_caster/map.rb:16:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/arel/table.rb:107:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/table_metadata.rb:18:in `type' # ./lib/patches/active_record/predicate_builder.rb:69:in `build' # ./lib/patches/active_record/predicate_builder.rb:64:in `[]' # ./lib/patches/active_record/predicate_builder.rb:136:in `block in expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:89:in `each' # ./lib/patches/active_record/predicate_builder.rb:89:in `flat_map' # ./lib/patches/active_record/predicate_builder.rb:89:in `expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:35:in `build_from_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:1333:in `build_where_clause' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:774:in `where!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:769:in `where' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/querying.rb:22:in `where' # ./lib/travis/api/v3/models/organization.rb:52:in `account_env_vars' # ./lib/travis/api/v3/renderer/owner.rb:8:in `account_env_vars' # ./lib/travis/api/v3/model_renderer.rb:130:in `block in render' # ./lib/travis/api/v3/model_renderer.rb:125:in `each' # ./lib/travis/api/v3/model_renderer.rb:125:in `render' # ./lib/travis/api/v3/model_renderer.rb:46:in `render' # ./lib/travis/api/v3/result.rb:32:in `render' # ./lib/travis/api/v3/router.rb:67:in `render' # ./lib/travis/api/v3/router.rb:44:in `call' # ./lib/travis/api/v3/opt_in.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/jsonp.rb:39:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/json_body_parser.rb:69:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/deflater.rb:44:in `call' # ./lib/travis/api/app.rb:282:in `call' # ./lib/travis/api/app/middleware/error_handler.rb:10:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./lib/travis/api/app.rb:187:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:50:in `_call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:38:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `get' # ./spec/v3/services/owner/find_spec.rb:27:in `block (4 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::UndefinedTable: # ERROR: relation "account_env_vars" does not exist # LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass # ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' 2.2) Failure/Error: after { org.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/owner/find_spec.rb:8:in `block (3 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 3) Travis::API::V3::Services::Owner::Find organization existing org, public api, by github_id Got 0 failures and 2 other errors: 3.1) Failure/Error: if operator ||= table.type(attribute.name).force_equality?(value) && :eq  ActiveRecord::StatementInvalid:  PG::UndefinedTable: ERROR: relation "account_env_vars" does not exist  LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass  ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `block (2 levels) in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:18:in `block in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:17:in `query' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:916:in `column_definitions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:117:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:117:in `block in columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:125:in `block in columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:580:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attributes.rb:264:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/encryption/encryptable_record.rb:122:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:566:in `block in load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:429:in `attribute_types' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:455:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/type_caster/map.rb:16:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/arel/table.rb:107:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/table_metadata.rb:18:in `type' # ./lib/patches/active_record/predicate_builder.rb:69:in `build' # ./lib/patches/active_record/predicate_builder.rb:64:in `[]' # ./lib/patches/active_record/predicate_builder.rb:136:in `block in expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:89:in `each' # ./lib/patches/active_record/predicate_builder.rb:89:in `flat_map' # ./lib/patches/active_record/predicate_builder.rb:89:in `expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:35:in `build_from_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:1333:in `build_where_clause' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:774:in `where!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:769:in `where' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/querying.rb:22:in `where' # ./lib/travis/api/v3/models/organization.rb:52:in `account_env_vars' # ./lib/travis/api/v3/renderer/owner.rb:8:in `account_env_vars' # ./lib/travis/api/v3/model_renderer.rb:130:in `block in render' # ./lib/travis/api/v3/model_renderer.rb:125:in `each' # ./lib/travis/api/v3/model_renderer.rb:125:in `render' # ./lib/travis/api/v3/model_renderer.rb:46:in `render' # ./lib/travis/api/v3/result.rb:32:in `render' # ./lib/travis/api/v3/router.rb:67:in `render' # ./lib/travis/api/v3/router.rb:44:in `call' # ./lib/travis/api/v3/opt_in.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/jsonp.rb:39:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/json_body_parser.rb:69:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/deflater.rb:44:in `call' # ./lib/travis/api/app.rb:282:in `call' # ./lib/travis/api/app/middleware/error_handler.rb:10:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./lib/travis/api/app.rb:187:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:50:in `_call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:38:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `get' # ./spec/v3/services/owner/find_spec.rb:70:in `block (4 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::UndefinedTable: # ERROR: relation "account_env_vars" does not exist # LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass # ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' 3.2) Failure/Error: after { org.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/owner/find_spec.rb:8:in `block (3 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 4) Travis::API::V3::Services::Owner::Find organization existing org, public api, by github_id Got 0 failures and 2 other errors: 4.1) Failure/Error: if operator ||= table.type(attribute.name).force_equality?(value) && :eq  ActiveRecord::StatementInvalid:  PG::UndefinedTable: ERROR: relation "account_env_vars" does not exist  LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass  ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `block (2 levels) in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:18:in `block in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:17:in `query' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:916:in `column_definitions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:117:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:117:in `block in columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:125:in `block in columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:580:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attributes.rb:264:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/encryption/encryptable_record.rb:122:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:566:in `block in load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:429:in `attribute_types' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:455:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/type_caster/map.rb:16:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/arel/table.rb:107:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/table_metadata.rb:18:in `type' # ./lib/patches/active_record/predicate_builder.rb:69:in `build' # ./lib/patches/active_record/predicate_builder.rb:64:in `[]' # ./lib/patches/active_record/predicate_builder.rb:136:in `block in expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:89:in `each' # ./lib/patches/active_record/predicate_builder.rb:89:in `flat_map' # ./lib/patches/active_record/predicate_builder.rb:89:in `expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:35:in `build_from_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:1333:in `build_where_clause' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:774:in `where!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:769:in `where' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/querying.rb:22:in `where' # ./lib/travis/api/v3/models/organization.rb:52:in `account_env_vars' # ./lib/travis/api/v3/renderer/owner.rb:8:in `account_env_vars' # ./lib/travis/api/v3/model_renderer.rb:130:in `block in render' # ./lib/travis/api/v3/model_renderer.rb:125:in `each' # ./lib/travis/api/v3/model_renderer.rb:125:in `render' # ./lib/travis/api/v3/model_renderer.rb:46:in `render' # ./lib/travis/api/v3/result.rb:32:in `render' # ./lib/travis/api/v3/router.rb:67:in `render' # ./lib/travis/api/v3/router.rb:44:in `call' # ./lib/travis/api/v3/opt_in.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/jsonp.rb:39:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/json_body_parser.rb:69:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/deflater.rb:44:in `call' # ./lib/travis/api/app.rb:282:in `call' # ./lib/travis/api/app/middleware/error_handler.rb:10:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./lib/travis/api/app.rb:187:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:50:in `_call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:38:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `get' # ./spec/v3/services/owner/find_spec.rb:70:in `block (4 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::UndefinedTable: # ERROR: relation "account_env_vars" does not exist # LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass # ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' 4.2) Failure/Error: after { org.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/owner/find_spec.rb:8:in `block (3 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 5) Travis::API::V3::Services::Owner::Find organization eager loading repositories via organization.repositories Got 0 failures and 3 other errors: 5.1) Failure/Error: if operator ||= table.type(attribute.name).force_equality?(value) && :eq  ActiveRecord::StatementInvalid:  PG::UndefinedTable: ERROR: relation "account_env_vars" does not exist  LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass  ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `block (2 levels) in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:18:in `block in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:17:in `query' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:916:in `column_definitions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:117:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:117:in `block in columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:125:in `block in columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:580:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attributes.rb:264:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/encryption/encryptable_record.rb:122:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:566:in `block in load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:429:in `attribute_types' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:455:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/type_caster/map.rb:16:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/arel/table.rb:107:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/table_metadata.rb:18:in `type' # ./lib/patches/active_record/predicate_builder.rb:69:in `build' # ./lib/patches/active_record/predicate_builder.rb:64:in `[]' # ./lib/patches/active_record/predicate_builder.rb:136:in `block in expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:89:in `each' # ./lib/patches/active_record/predicate_builder.rb:89:in `flat_map' # ./lib/patches/active_record/predicate_builder.rb:89:in `expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:35:in `build_from_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:1333:in `build_where_clause' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:774:in `where!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:769:in `where' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/querying.rb:22:in `where' # ./lib/travis/api/v3/models/organization.rb:52:in `account_env_vars' # ./lib/travis/api/v3/renderer/owner.rb:8:in `account_env_vars' # ./lib/travis/api/v3/model_renderer.rb:130:in `block in render' # ./lib/travis/api/v3/model_renderer.rb:125:in `each' # ./lib/travis/api/v3/model_renderer.rb:125:in `render' # ./lib/travis/api/v3/model_renderer.rb:46:in `render' # ./lib/travis/api/v3/result.rb:32:in `render' # ./lib/travis/api/v3/router.rb:67:in `render' # ./lib/travis/api/v3/router.rb:44:in `call' # ./lib/travis/api/v3/opt_in.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/jsonp.rb:39:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/json_body_parser.rb:69:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/deflater.rb:44:in `call' # ./lib/travis/api/app.rb:282:in `call' # ./lib/travis/api/app/middleware/error_handler.rb:10:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./lib/travis/api/app.rb:187:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:50:in `_call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:38:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `get' # ./spec/v3/services/owner/find_spec.rb:117:in `block (4 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::UndefinedTable: # ERROR: relation "account_env_vars" does not exist # LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass # ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' 5.2) Failure/Error: after { repo.destroy }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `block (2 levels) in execute' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:47:in `block in execute' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:46:in `execute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/savepoints.rb:11:in `create_savepoint' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:185:in `materialize!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:285:in `block (2 levels) in materialize_transactions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:285:in `each' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:285:in `block in materialize_transactions' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:282:in `materialize_transactions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:324:in `materialize_transactions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:758:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/relation.rb:89:in `delete_all' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/associations/has_many_association.rb:21:in `delete_count' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/associations/has_many_association.rb:116:in `delete_or_nullify_all_records' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/associations/collection_association.rb:155:in `delete_all' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/associations/has_many_association.rb:52:in `handle_dependency' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/associations/builder/association.rb:141:in `block in add_destroy_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:467:in `instance_exec' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:467:in `block in make_lambda' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:199:in `block (2 levels) in halting' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:687:in `block (2 levels) in default_terminator' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:686:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:686:in `block in default_terminator' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:200:in `block in halting' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:595:in `block in invoke_before' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:595:in `each' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:595:in `invoke_before' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:106:in `run_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:929:in `_run_destroy_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/callbacks.rb:437:in `destroy' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/transactions.rb:294:in `block in destroy' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/transactions.rb:354:in `block in with_transaction_returning_status' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:316:in `transaction' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/transactions.rb:350:in `with_transaction_returning_status' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/transactions.rb:294:in `destroy' # ./spec/v3/services/owner/find_spec.rb:113:in `block (4 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `exec' 5.3) Failure/Error: after { org.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/owner/find_spec.rb:8:in `block (3 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 6) Travis::API::V3::Services::Owner::Find organization eager loading repositories via organization.repositories Got 0 failures and 3 other errors: 6.1) Failure/Error: if operator ||= table.type(attribute.name).force_equality?(value) && :eq  ActiveRecord::StatementInvalid:  PG::UndefinedTable: ERROR: relation "account_env_vars" does not exist  LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass  ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `block (2 levels) in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:18:in `block in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:17:in `query' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:916:in `column_definitions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:117:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:117:in `block in columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:125:in `block in columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:580:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attributes.rb:264:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/encryption/encryptable_record.rb:122:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:566:in `block in load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:429:in `attribute_types' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:455:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/type_caster/map.rb:16:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/arel/table.rb:107:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/table_metadata.rb:18:in `type' # ./lib/patches/active_record/predicate_builder.rb:69:in `build' # ./lib/patches/active_record/predicate_builder.rb:64:in `[]' # ./lib/patches/active_record/predicate_builder.rb:136:in `block in expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:89:in `each' # ./lib/patches/active_record/predicate_builder.rb:89:in `flat_map' # ./lib/patches/active_record/predicate_builder.rb:89:in `expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:35:in `build_from_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:1333:in `build_where_clause' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:774:in `where!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:769:in `where' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/querying.rb:22:in `where' # ./lib/travis/api/v3/models/organization.rb:52:in `account_env_vars' # ./lib/travis/api/v3/renderer/owner.rb:8:in `account_env_vars' # ./lib/travis/api/v3/model_renderer.rb:130:in `block in render' # ./lib/travis/api/v3/model_renderer.rb:125:in `each' # ./lib/travis/api/v3/model_renderer.rb:125:in `render' # ./lib/travis/api/v3/model_renderer.rb:46:in `render' # ./lib/travis/api/v3/result.rb:32:in `render' # ./lib/travis/api/v3/router.rb:67:in `render' # ./lib/travis/api/v3/router.rb:44:in `call' # ./lib/travis/api/v3/opt_in.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/jsonp.rb:39:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/json_body_parser.rb:69:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/deflater.rb:44:in `call' # ./lib/travis/api/app.rb:282:in `call' # ./lib/travis/api/app/middleware/error_handler.rb:10:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./lib/travis/api/app.rb:187:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:50:in `_call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:38:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `get' # ./spec/v3/services/owner/find_spec.rb:117:in `block (4 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::UndefinedTable: # ERROR: relation "account_env_vars" does not exist # LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass # ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' 6.2) Failure/Error: after { repo.destroy }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `block (2 levels) in execute' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:47:in `block in execute' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:46:in `execute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/savepoints.rb:11:in `create_savepoint' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:185:in `materialize!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:285:in `block (2 levels) in materialize_transactions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:285:in `each' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:285:in `block in materialize_transactions' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:282:in `materialize_transactions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:324:in `materialize_transactions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:758:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/relation.rb:89:in `delete_all' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/associations/has_many_association.rb:21:in `delete_count' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/associations/has_many_association.rb:116:in `delete_or_nullify_all_records' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/associations/collection_association.rb:155:in `delete_all' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/associations/has_many_association.rb:52:in `handle_dependency' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/associations/builder/association.rb:141:in `block in add_destroy_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:467:in `instance_exec' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:467:in `block in make_lambda' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:199:in `block (2 levels) in halting' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:687:in `block (2 levels) in default_terminator' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:686:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:686:in `block in default_terminator' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:200:in `block in halting' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:595:in `block in invoke_before' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:595:in `each' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:595:in `invoke_before' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:106:in `run_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:929:in `_run_destroy_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/callbacks.rb:437:in `destroy' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/transactions.rb:294:in `block in destroy' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/transactions.rb:354:in `block in with_transaction_returning_status' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:316:in `transaction' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/transactions.rb:350:in `with_transaction_returning_status' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/transactions.rb:294:in `destroy' # ./spec/v3/services/owner/find_spec.rb:113:in `block (4 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `exec' 6.3) Failure/Error: after { org.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/owner/find_spec.rb:8:in `block (3 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 7) Travis::API::V3::Services::Owner::Find organization eager loading repositories via owner.repositories Got 0 failures and 3 other errors: 7.1) Failure/Error: if operator ||= table.type(attribute.name).force_equality?(value) && :eq  ActiveRecord::StatementInvalid:  PG::UndefinedTable: ERROR: relation "account_env_vars" does not exist  LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass  ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `block (2 levels) in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:18:in `block in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:17:in `query' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:916:in `column_definitions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:117:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:117:in `block in columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:125:in `block in columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:580:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attributes.rb:264:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/encryption/encryptable_record.rb:122:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:566:in `block in load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:429:in `attribute_types' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:455:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/type_caster/map.rb:16:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/arel/table.rb:107:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/table_metadata.rb:18:in `type' # ./lib/patches/active_record/predicate_builder.rb:69:in `build' # ./lib/patches/active_record/predicate_builder.rb:64:in `[]' # ./lib/patches/active_record/predicate_builder.rb:136:in `block in expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:89:in `each' # ./lib/patches/active_record/predicate_builder.rb:89:in `flat_map' # ./lib/patches/active_record/predicate_builder.rb:89:in `expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:35:in `build_from_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:1333:in `build_where_clause' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:774:in `where!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:769:in `where' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/querying.rb:22:in `where' # ./lib/travis/api/v3/models/organization.rb:52:in `account_env_vars' # ./lib/travis/api/v3/renderer/owner.rb:8:in `account_env_vars' # ./lib/travis/api/v3/model_renderer.rb:130:in `block in render' # ./lib/travis/api/v3/model_renderer.rb:125:in `each' # ./lib/travis/api/v3/model_renderer.rb:125:in `render' # ./lib/travis/api/v3/model_renderer.rb:46:in `render' # ./lib/travis/api/v3/result.rb:32:in `render' # ./lib/travis/api/v3/router.rb:67:in `render' # ./lib/travis/api/v3/router.rb:44:in `call' # ./lib/travis/api/v3/opt_in.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/jsonp.rb:39:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/json_body_parser.rb:69:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/deflater.rb:44:in `call' # ./lib/travis/api/app.rb:282:in `call' # ./lib/travis/api/app/middleware/error_handler.rb:10:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./lib/travis/api/app.rb:187:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:50:in `_call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:38:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `get' # ./spec/v3/services/owner/find_spec.rb:223:in `block (4 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::UndefinedTable: # ERROR: relation "account_env_vars" does not exist # LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass # ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' 7.2) Failure/Error: after { repo.destroy }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `block (2 levels) in execute' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:47:in `block in execute' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:46:in `execute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/savepoints.rb:11:in `create_savepoint' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:185:in `materialize!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:285:in `block (2 levels) in materialize_transactions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:285:in `each' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:285:in `block in materialize_transactions' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:282:in `materialize_transactions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:324:in `materialize_transactions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:758:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/relation.rb:89:in `delete_all' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/associations/has_many_association.rb:21:in `delete_count' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/associations/has_many_association.rb:116:in `delete_or_nullify_all_records' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/associations/collection_association.rb:155:in `delete_all' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/associations/has_many_association.rb:52:in `handle_dependency' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/associations/builder/association.rb:141:in `block in add_destroy_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:467:in `instance_exec' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:467:in `block in make_lambda' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:199:in `block (2 levels) in halting' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:687:in `block (2 levels) in default_terminator' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:686:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:686:in `block in default_terminator' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:200:in `block in halting' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:595:in `block in invoke_before' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:595:in `each' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:595:in `invoke_before' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:106:in `run_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:929:in `_run_destroy_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/callbacks.rb:437:in `destroy' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/transactions.rb:294:in `block in destroy' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/transactions.rb:354:in `block in with_transaction_returning_status' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:316:in `transaction' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/transactions.rb:350:in `with_transaction_returning_status' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/transactions.rb:294:in `destroy' # ./spec/v3/services/owner/find_spec.rb:219:in `block (4 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `exec' 7.3) Failure/Error: after { org.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/owner/find_spec.rb:8:in `block (3 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 8) Travis::API::V3::Services::Owner::Find organization eager loading repositories via owner.repositories Got 0 failures and 3 other errors: 8.1) Failure/Error: if operator ||= table.type(attribute.name).force_equality?(value) && :eq  ActiveRecord::StatementInvalid:  PG::UndefinedTable: ERROR: relation "account_env_vars" does not exist  LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass  ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `block (2 levels) in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:18:in `block in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:17:in `query' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:916:in `column_definitions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:117:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:117:in `block in columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:125:in `block in columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:580:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attributes.rb:264:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/encryption/encryptable_record.rb:122:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:566:in `block in load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:429:in `attribute_types' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:455:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/type_caster/map.rb:16:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/arel/table.rb:107:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/table_metadata.rb:18:in `type' # ./lib/patches/active_record/predicate_builder.rb:69:in `build' # ./lib/patches/active_record/predicate_builder.rb:64:in `[]' # ./lib/patches/active_record/predicate_builder.rb:136:in `block in expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:89:in `each' # ./lib/patches/active_record/predicate_builder.rb:89:in `flat_map' # ./lib/patches/active_record/predicate_builder.rb:89:in `expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:35:in `build_from_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:1333:in `build_where_clause' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:774:in `where!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:769:in `where' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/querying.rb:22:in `where' # ./lib/travis/api/v3/models/organization.rb:52:in `account_env_vars' # ./lib/travis/api/v3/renderer/owner.rb:8:in `account_env_vars' # ./lib/travis/api/v3/model_renderer.rb:130:in `block in render' # ./lib/travis/api/v3/model_renderer.rb:125:in `each' # ./lib/travis/api/v3/model_renderer.rb:125:in `render' # ./lib/travis/api/v3/model_renderer.rb:46:in `render' # ./lib/travis/api/v3/result.rb:32:in `render' # ./lib/travis/api/v3/router.rb:67:in `render' # ./lib/travis/api/v3/router.rb:44:in `call' # ./lib/travis/api/v3/opt_in.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/jsonp.rb:39:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/json_body_parser.rb:69:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/deflater.rb:44:in `call' # ./lib/travis/api/app.rb:282:in `call' # ./lib/travis/api/app/middleware/error_handler.rb:10:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./lib/travis/api/app.rb:187:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:50:in `_call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:38:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `get' # ./spec/v3/services/owner/find_spec.rb:223:in `block (4 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::UndefinedTable: # ERROR: relation "account_env_vars" does not exist # LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass # ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' 8.2) Failure/Error: after { repo.destroy }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `block (2 levels) in execute' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:47:in `block in execute' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:46:in `execute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/savepoints.rb:11:in `create_savepoint' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:185:in `materialize!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:285:in `block (2 levels) in materialize_transactions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:285:in `each' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:285:in `block in materialize_transactions' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:282:in `materialize_transactions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:324:in `materialize_transactions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:758:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/relation.rb:89:in `delete_all' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/associations/has_many_association.rb:21:in `delete_count' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/associations/has_many_association.rb:116:in `delete_or_nullify_all_records' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/associations/collection_association.rb:155:in `delete_all' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/associations/has_many_association.rb:52:in `handle_dependency' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/associations/builder/association.rb:141:in `block in add_destroy_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:467:in `instance_exec' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:467:in `block in make_lambda' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:199:in `block (2 levels) in halting' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:687:in `block (2 levels) in default_terminator' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:686:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:686:in `block in default_terminator' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:200:in `block in halting' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:595:in `block in invoke_before' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:595:in `each' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:595:in `invoke_before' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:106:in `run_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:929:in `_run_destroy_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/callbacks.rb:437:in `destroy' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/transactions.rb:294:in `block in destroy' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/transactions.rb:354:in `block in with_transaction_returning_status' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:316:in `transaction' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/transactions.rb:350:in `with_transaction_returning_status' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/transactions.rb:294:in `destroy' # ./spec/v3/services/owner/find_spec.rb:219:in `block (4 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `exec' 8.3) Failure/Error: after { org.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/owner/find_spec.rb:8:in `block (3 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 9) Travis::API::V3::Services::Owner::Find organization it is not case sensitive Got 0 failures and 2 other errors: 9.1) Failure/Error: if operator ||= table.type(attribute.name).force_equality?(value) && :eq  ActiveRecord::StatementInvalid:  PG::UndefinedTable: ERROR: relation "account_env_vars" does not exist  LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass  ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `block (2 levels) in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:18:in `block in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:17:in `query' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:916:in `column_definitions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:117:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:117:in `block in columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:125:in `block in columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:580:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attributes.rb:264:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/encryption/encryptable_record.rb:122:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:566:in `block in load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:429:in `attribute_types' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:455:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/type_caster/map.rb:16:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/arel/table.rb:107:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/table_metadata.rb:18:in `type' # ./lib/patches/active_record/predicate_builder.rb:69:in `build' # ./lib/patches/active_record/predicate_builder.rb:64:in `[]' # ./lib/patches/active_record/predicate_builder.rb:136:in `block in expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:89:in `each' # ./lib/patches/active_record/predicate_builder.rb:89:in `flat_map' # ./lib/patches/active_record/predicate_builder.rb:89:in `expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:35:in `build_from_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:1333:in `build_where_clause' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:774:in `where!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:769:in `where' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/querying.rb:22:in `where' # ./lib/travis/api/v3/models/organization.rb:52:in `account_env_vars' # ./lib/travis/api/v3/renderer/owner.rb:8:in `account_env_vars' # ./lib/travis/api/v3/model_renderer.rb:130:in `block in render' # ./lib/travis/api/v3/model_renderer.rb:125:in `each' # ./lib/travis/api/v3/model_renderer.rb:125:in `render' # ./lib/travis/api/v3/model_renderer.rb:46:in `render' # ./lib/travis/api/v3/result.rb:32:in `render' # ./lib/travis/api/v3/router.rb:67:in `render' # ./lib/travis/api/v3/router.rb:44:in `call' # ./lib/travis/api/v3/opt_in.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/jsonp.rb:39:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/json_body_parser.rb:69:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/deflater.rb:44:in `call' # ./lib/travis/api/app.rb:282:in `call' # ./lib/travis/api/app/middleware/error_handler.rb:10:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./lib/travis/api/app.rb:187:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:50:in `_call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:38:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `get' # ./spec/v3/services/owner/find_spec.rb:323:in `block (4 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::UndefinedTable: # ERROR: relation "account_env_vars" does not exist # LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass # ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' 9.2) Failure/Error: after { org.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/owner/find_spec.rb:8:in `block (3 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 10) Travis::API::V3::Services::Owner::Find organization it is not case sensitive Got 0 failures and 2 other errors: 10.1) Failure/Error: if operator ||= table.type(attribute.name).force_equality?(value) && :eq  ActiveRecord::StatementInvalid:  PG::UndefinedTable: ERROR: relation "account_env_vars" does not exist  LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass  ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `block (2 levels) in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:18:in `block in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:17:in `query' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:916:in `column_definitions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:117:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:117:in `block in columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:125:in `block in columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:580:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attributes.rb:264:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/encryption/encryptable_record.rb:122:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:566:in `block in load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:429:in `attribute_types' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:455:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/type_caster/map.rb:16:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/arel/table.rb:107:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/table_metadata.rb:18:in `type' # ./lib/patches/active_record/predicate_builder.rb:69:in `build' # ./lib/patches/active_record/predicate_builder.rb:64:in `[]' # ./lib/patches/active_record/predicate_builder.rb:136:in `block in expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:89:in `each' # ./lib/patches/active_record/predicate_builder.rb:89:in `flat_map' # ./lib/patches/active_record/predicate_builder.rb:89:in `expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:35:in `build_from_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:1333:in `build_where_clause' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:774:in `where!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:769:in `where' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/querying.rb:22:in `where' # ./lib/travis/api/v3/models/organization.rb:52:in `account_env_vars' # ./lib/travis/api/v3/renderer/owner.rb:8:in `account_env_vars' # ./lib/travis/api/v3/model_renderer.rb:130:in `block in render' # ./lib/travis/api/v3/model_renderer.rb:125:in `each' # ./lib/travis/api/v3/model_renderer.rb:125:in `render' # ./lib/travis/api/v3/model_renderer.rb:46:in `render' # ./lib/travis/api/v3/result.rb:32:in `render' # ./lib/travis/api/v3/router.rb:67:in `render' # ./lib/travis/api/v3/router.rb:44:in `call' # ./lib/travis/api/v3/opt_in.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/jsonp.rb:39:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/json_body_parser.rb:69:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/deflater.rb:44:in `call' # ./lib/travis/api/app.rb:282:in `call' # ./lib/travis/api/app/middleware/error_handler.rb:10:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./lib/travis/api/app.rb:187:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:50:in `_call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:38:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `get' # ./spec/v3/services/owner/find_spec.rb:323:in `block (4 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::UndefinedTable: # ERROR: relation "account_env_vars" does not exist # LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass # ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' 10.2) Failure/Error: after { org.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/owner/find_spec.rb:8:in `block (3 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 11) Travis::API::V3::Services::Owner::Find organization does not allow overriding org id Got 0 failures and 3 other errors: 11.1) Failure/Error: if operator ||= table.type(attribute.name).force_equality?(value) && :eq  ActiveRecord::StatementInvalid:  PG::UndefinedTable: ERROR: relation "account_env_vars" does not exist  LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass  ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `block (2 levels) in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:18:in `block in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:17:in `query' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:916:in `column_definitions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:117:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:117:in `block in columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:125:in `block in columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:580:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attributes.rb:264:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/encryption/encryptable_record.rb:122:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:566:in `block in load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:429:in `attribute_types' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:455:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/type_caster/map.rb:16:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/arel/table.rb:107:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/table_metadata.rb:18:in `type' # ./lib/patches/active_record/predicate_builder.rb:69:in `build' # ./lib/patches/active_record/predicate_builder.rb:64:in `[]' # ./lib/patches/active_record/predicate_builder.rb:136:in `block in expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:89:in `each' # ./lib/patches/active_record/predicate_builder.rb:89:in `flat_map' # ./lib/patches/active_record/predicate_builder.rb:89:in `expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:35:in `build_from_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:1333:in `build_where_clause' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:774:in `where!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:769:in `where' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/querying.rb:22:in `where' # ./lib/travis/api/v3/models/organization.rb:52:in `account_env_vars' # ./lib/travis/api/v3/renderer/owner.rb:8:in `account_env_vars' # ./lib/travis/api/v3/model_renderer.rb:130:in `block in render' # ./lib/travis/api/v3/model_renderer.rb:125:in `each' # ./lib/travis/api/v3/model_renderer.rb:125:in `render' # ./lib/travis/api/v3/model_renderer.rb:46:in `render' # ./lib/travis/api/v3/result.rb:32:in `render' # ./lib/travis/api/v3/router.rb:67:in `render' # ./lib/travis/api/v3/router.rb:44:in `call' # ./lib/travis/api/v3/opt_in.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/jsonp.rb:39:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/json_body_parser.rb:69:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/deflater.rb:44:in `call' # ./lib/travis/api/app.rb:282:in `call' # ./lib/travis/api/app/middleware/error_handler.rb:10:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./lib/travis/api/app.rb:187:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:50:in `_call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:38:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `get' # ./spec/v3/services/owner/find_spec.rb:370:in `block (4 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::UndefinedTable: # ERROR: relation "account_env_vars" does not exist # LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass # ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' 11.2) Failure/Error: after { other.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/owner/find_spec.rb:365:in `block (4 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 11.3) Failure/Error: after { org.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/owner/find_spec.rb:8:in `block (3 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 12) Travis::API::V3::Services::Owner::Find organization does not allow overriding org id Got 0 failures and 3 other errors: 12.1) Failure/Error: if operator ||= table.type(attribute.name).force_equality?(value) && :eq  ActiveRecord::StatementInvalid:  PG::UndefinedTable: ERROR: relation "account_env_vars" does not exist  LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass  ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `block (2 levels) in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:18:in `block in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:17:in `query' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:916:in `column_definitions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:117:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:117:in `block in columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:125:in `block in columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:580:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attributes.rb:264:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/encryption/encryptable_record.rb:122:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:566:in `block in load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:429:in `attribute_types' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:455:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/type_caster/map.rb:16:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/arel/table.rb:107:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/table_metadata.rb:18:in `type' # ./lib/patches/active_record/predicate_builder.rb:69:in `build' # ./lib/patches/active_record/predicate_builder.rb:64:in `[]' # ./lib/patches/active_record/predicate_builder.rb:136:in `block in expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:89:in `each' # ./lib/patches/active_record/predicate_builder.rb:89:in `flat_map' # ./lib/patches/active_record/predicate_builder.rb:89:in `expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:35:in `build_from_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:1333:in `build_where_clause' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:774:in `where!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:769:in `where' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/querying.rb:22:in `where' # ./lib/travis/api/v3/models/organization.rb:52:in `account_env_vars' # ./lib/travis/api/v3/renderer/owner.rb:8:in `account_env_vars' # ./lib/travis/api/v3/model_renderer.rb:130:in `block in render' # ./lib/travis/api/v3/model_renderer.rb:125:in `each' # ./lib/travis/api/v3/model_renderer.rb:125:in `render' # ./lib/travis/api/v3/model_renderer.rb:46:in `render' # ./lib/travis/api/v3/result.rb:32:in `render' # ./lib/travis/api/v3/router.rb:67:in `render' # ./lib/travis/api/v3/router.rb:44:in `call' # ./lib/travis/api/v3/opt_in.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/jsonp.rb:39:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/json_body_parser.rb:69:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/deflater.rb:44:in `call' # ./lib/travis/api/app.rb:282:in `call' # ./lib/travis/api/app/middleware/error_handler.rb:10:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./lib/travis/api/app.rb:187:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:50:in `_call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:38:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `get' # ./spec/v3/services/owner/find_spec.rb:370:in `block (4 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::UndefinedTable: # ERROR: relation "account_env_vars" does not exist # LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass # ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' 12.2) Failure/Error: after { other.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/owner/find_spec.rb:365:in `block (4 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 12.3) Failure/Error: after { org.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/owner/find_spec.rb:8:in `block (3 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 13) Travis::API::V3::Services::Owner::Find user existing user, public api, by login Got 0 failures and 2 other errors: 13.1) Failure/Error: if operator ||= table.type(attribute.name).force_equality?(value) && :eq  ActiveRecord::StatementInvalid:  PG::UndefinedTable: ERROR: relation "account_env_vars" does not exist  LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass  ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `block (2 levels) in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:18:in `block in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:17:in `query' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:916:in `column_definitions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:117:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:117:in `block in columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:125:in `block in columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:580:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attributes.rb:264:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/encryption/encryptable_record.rb:122:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:566:in `block in load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:429:in `attribute_types' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:455:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/type_caster/map.rb:16:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/arel/table.rb:107:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/table_metadata.rb:18:in `type' # ./lib/patches/active_record/predicate_builder.rb:69:in `build' # ./lib/patches/active_record/predicate_builder.rb:64:in `[]' # ./lib/patches/active_record/predicate_builder.rb:136:in `block in expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:89:in `each' # ./lib/patches/active_record/predicate_builder.rb:89:in `flat_map' # ./lib/patches/active_record/predicate_builder.rb:89:in `expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:35:in `build_from_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:1333:in `build_where_clause' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:774:in `where!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:769:in `where' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/querying.rb:22:in `where' # ./lib/travis/api/v3/models/user.rb:106:in `account_env_vars' # ./lib/travis/api/v3/renderer/owner.rb:8:in `account_env_vars' # ./lib/travis/api/v3/model_renderer.rb:130:in `block in render' # ./lib/travis/api/v3/model_renderer.rb:125:in `each' # ./lib/travis/api/v3/model_renderer.rb:125:in `render' # ./lib/travis/api/v3/model_renderer.rb:46:in `render' # ./lib/travis/api/v3/result.rb:32:in `render' # ./lib/travis/api/v3/router.rb:67:in `render' # ./lib/travis/api/v3/router.rb:44:in `call' # ./lib/travis/api/v3/opt_in.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/jsonp.rb:39:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/json_body_parser.rb:69:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/deflater.rb:44:in `call' # ./lib/travis/api/app.rb:282:in `call' # ./lib/travis/api/app/middleware/error_handler.rb:10:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./lib/travis/api/app.rb:187:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:50:in `_call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:38:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `get' # ./spec/v3/services/owner/find_spec.rb:421:in `block (4 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::UndefinedTable: # ERROR: relation "account_env_vars" does not exist # LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass # ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' 13.2) Failure/Error: after { user.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/owner/find_spec.rb:418:in `block (3 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 14) Travis::API::V3::Services::Owner::Find user existing user, public api, by login Got 0 failures and 2 other errors: 14.1) Failure/Error: if operator ||= table.type(attribute.name).force_equality?(value) && :eq  ActiveRecord::StatementInvalid:  PG::UndefinedTable: ERROR: relation "account_env_vars" does not exist  LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass  ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `block (2 levels) in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:18:in `block in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:17:in `query' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:916:in `column_definitions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:117:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:117:in `block in columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:125:in `block in columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:580:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attributes.rb:264:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/encryption/encryptable_record.rb:122:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:566:in `block in load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:429:in `attribute_types' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:455:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/type_caster/map.rb:16:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/arel/table.rb:107:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/table_metadata.rb:18:in `type' # ./lib/patches/active_record/predicate_builder.rb:69:in `build' # ./lib/patches/active_record/predicate_builder.rb:64:in `[]' # ./lib/patches/active_record/predicate_builder.rb:136:in `block in expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:89:in `each' # ./lib/patches/active_record/predicate_builder.rb:89:in `flat_map' # ./lib/patches/active_record/predicate_builder.rb:89:in `expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:35:in `build_from_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:1333:in `build_where_clause' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:774:in `where!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:769:in `where' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/querying.rb:22:in `where' # ./lib/travis/api/v3/models/user.rb:106:in `account_env_vars' # ./lib/travis/api/v3/renderer/owner.rb:8:in `account_env_vars' # ./lib/travis/api/v3/model_renderer.rb:130:in `block in render' # ./lib/travis/api/v3/model_renderer.rb:125:in `each' # ./lib/travis/api/v3/model_renderer.rb:125:in `render' # ./lib/travis/api/v3/model_renderer.rb:46:in `render' # ./lib/travis/api/v3/result.rb:32:in `render' # ./lib/travis/api/v3/router.rb:67:in `render' # ./lib/travis/api/v3/router.rb:44:in `call' # ./lib/travis/api/v3/opt_in.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/jsonp.rb:39:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/json_body_parser.rb:69:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/deflater.rb:44:in `call' # ./lib/travis/api/app.rb:282:in `call' # ./lib/travis/api/app/middleware/error_handler.rb:10:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./lib/travis/api/app.rb:187:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:50:in `_call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:38:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `get' # ./spec/v3/services/owner/find_spec.rb:421:in `block (4 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::UndefinedTable: # ERROR: relation "account_env_vars" does not exist # LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass # ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' 14.2) Failure/Error: after { user.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/owner/find_spec.rb:418:in `block (3 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 15) Travis::API::V3::Services::Owner::Find user existing user, public api, by github_id Got 0 failures and 2 other errors: 15.1) Failure/Error: if operator ||= table.type(attribute.name).force_equality?(value) && :eq  ActiveRecord::StatementInvalid:  PG::UndefinedTable: ERROR: relation "account_env_vars" does not exist  LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass  ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `block (2 levels) in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:18:in `block in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:17:in `query' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:916:in `column_definitions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:117:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:117:in `block in columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:125:in `block in columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:580:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attributes.rb:264:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/encryption/encryptable_record.rb:122:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:566:in `block in load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:429:in `attribute_types' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:455:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/type_caster/map.rb:16:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/arel/table.rb:107:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/table_metadata.rb:18:in `type' # ./lib/patches/active_record/predicate_builder.rb:69:in `build' # ./lib/patches/active_record/predicate_builder.rb:64:in `[]' # ./lib/patches/active_record/predicate_builder.rb:136:in `block in expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:89:in `each' # ./lib/patches/active_record/predicate_builder.rb:89:in `flat_map' # ./lib/patches/active_record/predicate_builder.rb:89:in `expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:35:in `build_from_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:1333:in `build_where_clause' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:774:in `where!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:769:in `where' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/querying.rb:22:in `where' # ./lib/travis/api/v3/models/user.rb:106:in `account_env_vars' # ./lib/travis/api/v3/renderer/owner.rb:8:in `account_env_vars' # ./lib/travis/api/v3/model_renderer.rb:130:in `block in render' # ./lib/travis/api/v3/model_renderer.rb:125:in `each' # ./lib/travis/api/v3/model_renderer.rb:125:in `render' # ./lib/travis/api/v3/model_renderer.rb:46:in `render' # ./lib/travis/api/v3/result.rb:32:in `render' # ./lib/travis/api/v3/router.rb:67:in `render' # ./lib/travis/api/v3/router.rb:44:in `call' # ./lib/travis/api/v3/opt_in.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/jsonp.rb:39:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/json_body_parser.rb:69:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/deflater.rb:44:in `call' # ./lib/travis/api/app.rb:282:in `call' # ./lib/travis/api/app/middleware/error_handler.rb:10:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./lib/travis/api/app.rb:187:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:50:in `_call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:38:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `get' # ./spec/v3/services/owner/find_spec.rb:455:in `block (4 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::UndefinedTable: # ERROR: relation "account_env_vars" does not exist # LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass # ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' 15.2) Failure/Error: after { user.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/owner/find_spec.rb:418:in `block (3 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 16) Travis::API::V3::Services::Owner::Find user existing user, public api, by github_id Got 0 failures and 2 other errors: 16.1) Failure/Error: if operator ||= table.type(attribute.name).force_equality?(value) && :eq  ActiveRecord::StatementInvalid:  PG::UndefinedTable: ERROR: relation "account_env_vars" does not exist  LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass  ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `block (2 levels) in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:18:in `block in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:17:in `query' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:916:in `column_definitions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:117:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:117:in `block in columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:125:in `block in columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:580:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attributes.rb:264:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/encryption/encryptable_record.rb:122:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:566:in `block in load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:429:in `attribute_types' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:455:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/type_caster/map.rb:16:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/arel/table.rb:107:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/table_metadata.rb:18:in `type' # ./lib/patches/active_record/predicate_builder.rb:69:in `build' # ./lib/patches/active_record/predicate_builder.rb:64:in `[]' # ./lib/patches/active_record/predicate_builder.rb:136:in `block in expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:89:in `each' # ./lib/patches/active_record/predicate_builder.rb:89:in `flat_map' # ./lib/patches/active_record/predicate_builder.rb:89:in `expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:35:in `build_from_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:1333:in `build_where_clause' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:774:in `where!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:769:in `where' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/querying.rb:22:in `where' # ./lib/travis/api/v3/models/user.rb:106:in `account_env_vars' # ./lib/travis/api/v3/renderer/owner.rb:8:in `account_env_vars' # ./lib/travis/api/v3/model_renderer.rb:130:in `block in render' # ./lib/travis/api/v3/model_renderer.rb:125:in `each' # ./lib/travis/api/v3/model_renderer.rb:125:in `render' # ./lib/travis/api/v3/model_renderer.rb:46:in `render' # ./lib/travis/api/v3/result.rb:32:in `render' # ./lib/travis/api/v3/router.rb:67:in `render' # ./lib/travis/api/v3/router.rb:44:in `call' # ./lib/travis/api/v3/opt_in.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/jsonp.rb:39:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/json_body_parser.rb:69:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/deflater.rb:44:in `call' # ./lib/travis/api/app.rb:282:in `call' # ./lib/travis/api/app/middleware/error_handler.rb:10:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./lib/travis/api/app.rb:187:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:50:in `_call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:38:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `get' # ./spec/v3/services/owner/find_spec.rb:455:in `block (4 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::UndefinedTable: # ERROR: relation "account_env_vars" does not exist # LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass # ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' 16.2) Failure/Error: after { user.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/owner/find_spec.rb:418:in `block (3 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 17) Travis::API::V3::Services::Owner::Find user it is not case sensitive Got 0 failures and 2 other errors: 17.1) Failure/Error: if operator ||= table.type(attribute.name).force_equality?(value) && :eq  ActiveRecord::StatementInvalid:  PG::UndefinedTable: ERROR: relation "account_env_vars" does not exist  LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass  ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `block (2 levels) in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:18:in `block in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:17:in `query' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:916:in `column_definitions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:117:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:117:in `block in columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:125:in `block in columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:580:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attributes.rb:264:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/encryption/encryptable_record.rb:122:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:566:in `block in load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:429:in `attribute_types' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:455:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/type_caster/map.rb:16:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/arel/table.rb:107:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/table_metadata.rb:18:in `type' # ./lib/patches/active_record/predicate_builder.rb:69:in `build' # ./lib/patches/active_record/predicate_builder.rb:64:in `[]' # ./lib/patches/active_record/predicate_builder.rb:136:in `block in expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:89:in `each' # ./lib/patches/active_record/predicate_builder.rb:89:in `flat_map' # ./lib/patches/active_record/predicate_builder.rb:89:in `expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:35:in `build_from_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:1333:in `build_where_clause' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:774:in `where!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:769:in `where' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/querying.rb:22:in `where' # ./lib/travis/api/v3/models/user.rb:106:in `account_env_vars' # ./lib/travis/api/v3/renderer/owner.rb:8:in `account_env_vars' # ./lib/travis/api/v3/model_renderer.rb:130:in `block in render' # ./lib/travis/api/v3/model_renderer.rb:125:in `each' # ./lib/travis/api/v3/model_renderer.rb:125:in `render' # ./lib/travis/api/v3/model_renderer.rb:46:in `render' # ./lib/travis/api/v3/result.rb:32:in `render' # ./lib/travis/api/v3/router.rb:67:in `render' # ./lib/travis/api/v3/router.rb:44:in `call' # ./lib/travis/api/v3/opt_in.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/jsonp.rb:39:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/json_body_parser.rb:69:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/deflater.rb:44:in `call' # ./lib/travis/api/app.rb:282:in `call' # ./lib/travis/api/app/middleware/error_handler.rb:10:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./lib/travis/api/app.rb:187:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:50:in `_call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:38:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `get' # ./spec/v3/services/owner/find_spec.rb:489:in `block (4 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::UndefinedTable: # ERROR: relation "account_env_vars" does not exist # LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass # ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' 17.2) Failure/Error: after { user.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/owner/find_spec.rb:418:in `block (3 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 18) Travis::API::V3::Services::Owner::Find user it is not case sensitive Got 0 failures and 2 other errors: 18.1) Failure/Error: if operator ||= table.type(attribute.name).force_equality?(value) && :eq  ActiveRecord::StatementInvalid:  PG::UndefinedTable: ERROR: relation "account_env_vars" does not exist  LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass  ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `block (2 levels) in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:18:in `block in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:17:in `query' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:916:in `column_definitions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:117:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:117:in `block in columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:125:in `block in columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:580:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attributes.rb:264:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/encryption/encryptable_record.rb:122:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:566:in `block in load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:429:in `attribute_types' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:455:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/type_caster/map.rb:16:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/arel/table.rb:107:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/table_metadata.rb:18:in `type' # ./lib/patches/active_record/predicate_builder.rb:69:in `build' # ./lib/patches/active_record/predicate_builder.rb:64:in `[]' # ./lib/patches/active_record/predicate_builder.rb:136:in `block in expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:89:in `each' # ./lib/patches/active_record/predicate_builder.rb:89:in `flat_map' # ./lib/patches/active_record/predicate_builder.rb:89:in `expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:35:in `build_from_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:1333:in `build_where_clause' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:774:in `where!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:769:in `where' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/querying.rb:22:in `where' # ./lib/travis/api/v3/models/user.rb:106:in `account_env_vars' # ./lib/travis/api/v3/renderer/owner.rb:8:in `account_env_vars' # ./lib/travis/api/v3/model_renderer.rb:130:in `block in render' # ./lib/travis/api/v3/model_renderer.rb:125:in `each' # ./lib/travis/api/v3/model_renderer.rb:125:in `render' # ./lib/travis/api/v3/model_renderer.rb:46:in `render' # ./lib/travis/api/v3/result.rb:32:in `render' # ./lib/travis/api/v3/router.rb:67:in `render' # ./lib/travis/api/v3/router.rb:44:in `call' # ./lib/travis/api/v3/opt_in.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/jsonp.rb:39:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/json_body_parser.rb:69:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/deflater.rb:44:in `call' # ./lib/travis/api/app.rb:282:in `call' # ./lib/travis/api/app/middleware/error_handler.rb:10:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./lib/travis/api/app.rb:187:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:50:in `_call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:38:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `get' # ./spec/v3/services/owner/find_spec.rb:489:in `block (4 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::UndefinedTable: # ERROR: relation "account_env_vars" does not exist # LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass # ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' 18.2) Failure/Error: after { user.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/owner/find_spec.rb:418:in `block (3 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 19) Travis::API::V3::Services::Owner::Find user does not allow overriding user id Got 0 failures and 3 other errors: 19.1) Failure/Error: if operator ||= table.type(attribute.name).force_equality?(value) && :eq  ActiveRecord::StatementInvalid:  PG::UndefinedTable: ERROR: relation "account_env_vars" does not exist  LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass  ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `block (2 levels) in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:18:in `block in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:17:in `query' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:916:in `column_definitions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:117:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:117:in `block in columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:125:in `block in columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:580:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attributes.rb:264:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/encryption/encryptable_record.rb:122:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:566:in `block in load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:429:in `attribute_types' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:455:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/type_caster/map.rb:16:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/arel/table.rb:107:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/table_metadata.rb:18:in `type' # ./lib/patches/active_record/predicate_builder.rb:69:in `build' # ./lib/patches/active_record/predicate_builder.rb:64:in `[]' # ./lib/patches/active_record/predicate_builder.rb:136:in `block in expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:89:in `each' # ./lib/patches/active_record/predicate_builder.rb:89:in `flat_map' # ./lib/patches/active_record/predicate_builder.rb:89:in `expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:35:in `build_from_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:1333:in `build_where_clause' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:774:in `where!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:769:in `where' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/querying.rb:22:in `where' # ./lib/travis/api/v3/models/user.rb:106:in `account_env_vars' # ./lib/travis/api/v3/renderer/owner.rb:8:in `account_env_vars' # ./lib/travis/api/v3/model_renderer.rb:130:in `block in render' # ./lib/travis/api/v3/model_renderer.rb:125:in `each' # ./lib/travis/api/v3/model_renderer.rb:125:in `render' # ./lib/travis/api/v3/model_renderer.rb:46:in `render' # ./lib/travis/api/v3/result.rb:32:in `render' # ./lib/travis/api/v3/router.rb:67:in `render' # ./lib/travis/api/v3/router.rb:44:in `call' # ./lib/travis/api/v3/opt_in.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/jsonp.rb:39:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/json_body_parser.rb:69:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/deflater.rb:44:in `call' # ./lib/travis/api/app.rb:282:in `call' # ./lib/travis/api/app/middleware/error_handler.rb:10:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./lib/travis/api/app.rb:187:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:50:in `_call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:38:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `get' # ./spec/v3/services/owner/find_spec.rb:527:in `block (4 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::UndefinedTable: # ERROR: relation "account_env_vars" does not exist # LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass # ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' 19.2) Failure/Error: after { other.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/owner/find_spec.rb:525:in `block (4 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 19.3) Failure/Error: after { user.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/owner/find_spec.rb:418:in `block (3 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 20) Travis::API::V3::Services::Owner::Find user does not allow overriding user id Got 0 failures and 3 other errors: 20.1) Failure/Error: if operator ||= table.type(attribute.name).force_equality?(value) && :eq  ActiveRecord::StatementInvalid:  PG::UndefinedTable: ERROR: relation "account_env_vars" does not exist  LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass  ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `block (2 levels) in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:18:in `block in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:17:in `query' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:916:in `column_definitions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:117:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:117:in `block in columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:125:in `block in columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:580:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attributes.rb:264:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/encryption/encryptable_record.rb:122:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:566:in `block in load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:429:in `attribute_types' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:455:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/type_caster/map.rb:16:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/arel/table.rb:107:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/table_metadata.rb:18:in `type' # ./lib/patches/active_record/predicate_builder.rb:69:in `build' # ./lib/patches/active_record/predicate_builder.rb:64:in `[]' # ./lib/patches/active_record/predicate_builder.rb:136:in `block in expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:89:in `each' # ./lib/patches/active_record/predicate_builder.rb:89:in `flat_map' # ./lib/patches/active_record/predicate_builder.rb:89:in `expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:35:in `build_from_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:1333:in `build_where_clause' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:774:in `where!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:769:in `where' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/querying.rb:22:in `where' # ./lib/travis/api/v3/models/user.rb:106:in `account_env_vars' # ./lib/travis/api/v3/renderer/owner.rb:8:in `account_env_vars' # ./lib/travis/api/v3/model_renderer.rb:130:in `block in render' # ./lib/travis/api/v3/model_renderer.rb:125:in `each' # ./lib/travis/api/v3/model_renderer.rb:125:in `render' # ./lib/travis/api/v3/model_renderer.rb:46:in `render' # ./lib/travis/api/v3/result.rb:32:in `render' # ./lib/travis/api/v3/router.rb:67:in `render' # ./lib/travis/api/v3/router.rb:44:in `call' # ./lib/travis/api/v3/opt_in.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/jsonp.rb:39:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/json_body_parser.rb:69:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/deflater.rb:44:in `call' # ./lib/travis/api/app.rb:282:in `call' # ./lib/travis/api/app/middleware/error_handler.rb:10:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./lib/travis/api/app.rb:187:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:50:in `_call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:38:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `get' # ./spec/v3/services/owner/find_spec.rb:527:in `block (4 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::UndefinedTable: # ERROR: relation "account_env_vars" does not exist # LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass # ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' 20.2) Failure/Error: after { other.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/owner/find_spec.rb:525:in `block (4 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 20.3) Failure/Error: after { user.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/owner/find_spec.rb:418:in `block (3 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 21) Travis::API::V3::Services::Organizations::ForCurrentUser with role query param filters by role Got 0 failures and 3 other errors: 21.1) Failure/Error: if operator ||= table.type(attribute.name).force_equality?(value) && :eq  ActiveRecord::StatementInvalid:  PG::UndefinedTable: ERROR: relation "account_env_vars" does not exist  LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass  ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `block (2 levels) in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:18:in `block in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:17:in `query' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:916:in `column_definitions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:117:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:117:in `block in columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:125:in `block in columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:580:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attributes.rb:264:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/encryption/encryptable_record.rb:122:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:566:in `block in load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:429:in `attribute_types' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:455:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/type_caster/map.rb:16:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/arel/table.rb:107:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/table_metadata.rb:18:in `type' # ./lib/patches/active_record/predicate_builder.rb:69:in `build' # ./lib/patches/active_record/predicate_builder.rb:64:in `[]' # ./lib/patches/active_record/predicate_builder.rb:136:in `block in expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:89:in `each' # ./lib/patches/active_record/predicate_builder.rb:89:in `flat_map' # ./lib/patches/active_record/predicate_builder.rb:89:in `expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:35:in `build_from_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:1333:in `build_where_clause' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:774:in `where!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:769:in `where' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/querying.rb:22:in `where' # ./lib/travis/api/v3/models/organization.rb:52:in `account_env_vars' # ./lib/travis/api/v3/renderer/owner.rb:8:in `account_env_vars' # ./lib/travis/api/v3/model_renderer.rb:130:in `block in render' # ./lib/travis/api/v3/model_renderer.rb:125:in `each' # ./lib/travis/api/v3/model_renderer.rb:125:in `render' # ./lib/travis/api/v3/model_renderer.rb:46:in `render' # ./lib/travis/api/v3/renderer.rb:44:in `render_model' # ./lib/travis/api/v3/renderer.rb:53:in `render_value' # ./lib/travis/api/v3/collection_renderer.rb:75:in `render_entry' # ./lib/travis/api/v3/collection_renderer.rb:58:in `block in render' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/delegation.rb:88:in `each' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/delegation.rb:88:in `each' # ./lib/travis/api/v3/collection_renderer.rb:57:in `map' # ./lib/travis/api/v3/collection_renderer.rb:57:in `render' # ./lib/travis/api/v3/collection_renderer.rb:4:in `render' # ./lib/travis/api/v3/result.rb:32:in `render' # ./lib/travis/api/v3/router.rb:67:in `render' # ./lib/travis/api/v3/router.rb:44:in `call' # ./lib/travis/api/v3/opt_in.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/jsonp.rb:39:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/json_body_parser.rb:69:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/deflater.rb:44:in `call' # ./lib/travis/api/app.rb:282:in `call' # ./lib/travis/api/app/middleware/error_handler.rb:10:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./lib/travis/api/app.rb:187:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:50:in `_call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:38:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `get' # ./spec/v3/services/organizations/for_current_user_spec.rb:30:in `block (3 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::UndefinedTable: # ERROR: relation "account_env_vars" does not exist # LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass # ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' 21.2) Failure/Error: after { org.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/organizations/for_current_user_spec.rb:23:in `block (2 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 21.3) Failure/Error: __send__(name, *args, &block)  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `block (2 levels) in execute' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:47:in `block in execute' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:46:in `execute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/savepoints.rb:11:in `create_savepoint' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:185:in `materialize!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:285:in `block (2 levels) in materialize_transactions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:285:in `each' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:285:in `block in materialize_transactions' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:282:in `materialize_transactions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:324:in `materialize_transactions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:758:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:175:in `update' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `update' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:46:in `_update_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1060:in `_update_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/locking/optimistic.rb:93:in `_update_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1082:in `_update_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attribute_methods/dirty.rb:216:in `_update_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/callbacks.rb:463:in `block in _update_record' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:107:in `run_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:929:in `_run_update_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/callbacks.rb:463:in `_update_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/timestamp.rb:121:in `_update_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1069:in `create_or_update' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/callbacks.rb:455:in `block in create_or_update' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/autosave_association.rb:370:in `around_save_collection_association' # ./lib/travis/api/v3/models/repository.rb:125:in `send' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:127:in `block in run_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:138:in `run_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:929:in `_run_save_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/callbacks.rb:455:in `create_or_update' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/timestamp.rb:126:in `create_or_update' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:615:in `save' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/validations.rb:47:in `save' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/transactions.rb:298:in `block in save' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/transactions.rb:354:in `block in with_transaction_returning_status' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:316:in `transaction' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/transactions.rb:350:in `with_transaction_returning_status' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/transactions.rb:298:in `save' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/suppressor.rb:50:in `save' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:760:in `update_attribute' # ./spec/v3/services/organizations/for_current_user_spec.rb:8:in `block (2 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `exec' 22) Travis::API::V3::Services::Organizations::ForCurrentUser authenticated as user with access Got 0 failures and 3 other errors: 22.1) Failure/Error: if operator ||= table.type(attribute.name).force_equality?(value) && :eq  ActiveRecord::StatementInvalid:  PG::UndefinedTable: ERROR: relation "account_env_vars" does not exist  LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass  ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `block (2 levels) in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:18:in `block in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:17:in `query' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:916:in `column_definitions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:117:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:117:in `block in columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:125:in `block in columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:580:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attributes.rb:264:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/encryption/encryptable_record.rb:122:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:566:in `block in load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:429:in `attribute_types' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:455:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/type_caster/map.rb:16:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/arel/table.rb:107:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/table_metadata.rb:18:in `type' # ./lib/patches/active_record/predicate_builder.rb:69:in `build' # ./lib/patches/active_record/predicate_builder.rb:64:in `[]' # ./lib/patches/active_record/predicate_builder.rb:136:in `block in expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:89:in `each' # ./lib/patches/active_record/predicate_builder.rb:89:in `flat_map' # ./lib/patches/active_record/predicate_builder.rb:89:in `expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:35:in `build_from_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:1333:in `build_where_clause' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:774:in `where!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:769:in `where' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/querying.rb:22:in `where' # ./lib/travis/api/v3/models/organization.rb:52:in `account_env_vars' # ./lib/travis/api/v3/renderer/owner.rb:8:in `account_env_vars' # ./lib/travis/api/v3/model_renderer.rb:130:in `block in render' # ./lib/travis/api/v3/model_renderer.rb:125:in `each' # ./lib/travis/api/v3/model_renderer.rb:125:in `render' # ./lib/travis/api/v3/model_renderer.rb:46:in `render' # ./lib/travis/api/v3/renderer.rb:44:in `render_model' # ./lib/travis/api/v3/renderer.rb:53:in `render_value' # ./lib/travis/api/v3/collection_renderer.rb:75:in `render_entry' # ./lib/travis/api/v3/collection_renderer.rb:58:in `block in render' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/delegation.rb:88:in `each' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/delegation.rb:88:in `each' # ./lib/travis/api/v3/collection_renderer.rb:57:in `map' # ./lib/travis/api/v3/collection_renderer.rb:57:in `render' # ./lib/travis/api/v3/collection_renderer.rb:4:in `render' # ./lib/travis/api/v3/result.rb:32:in `render' # ./lib/travis/api/v3/router.rb:67:in `render' # ./lib/travis/api/v3/router.rb:44:in `call' # ./lib/travis/api/v3/opt_in.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/jsonp.rb:39:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/json_body_parser.rb:69:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/deflater.rb:44:in `call' # ./lib/travis/api/app.rb:282:in `call' # ./lib/travis/api/app/middleware/error_handler.rb:10:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./lib/travis/api/app.rb:187:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:50:in `_call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:38:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `get' # ./spec/v3/services/organizations/for_current_user_spec.rb:38:in `block (3 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::UndefinedTable: # ERROR: relation "account_env_vars" does not exist # LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass # ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' 22.2) Failure/Error: after { org.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/organizations/for_current_user_spec.rb:23:in `block (2 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 22.3) Failure/Error: __send__(name, *args, &block)  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `block (2 levels) in execute' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:47:in `block in execute' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:46:in `execute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/savepoints.rb:11:in `create_savepoint' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:185:in `materialize!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:285:in `block (2 levels) in materialize_transactions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:285:in `each' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:285:in `block in materialize_transactions' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:282:in `materialize_transactions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:324:in `materialize_transactions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:758:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:175:in `update' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `update' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:46:in `_update_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1060:in `_update_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/locking/optimistic.rb:93:in `_update_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1082:in `_update_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attribute_methods/dirty.rb:216:in `_update_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/callbacks.rb:463:in `block in _update_record' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:107:in `run_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:929:in `_run_update_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/callbacks.rb:463:in `_update_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/timestamp.rb:121:in `_update_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1069:in `create_or_update' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/callbacks.rb:455:in `block in create_or_update' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/autosave_association.rb:370:in `around_save_collection_association' # ./lib/travis/api/v3/models/repository.rb:125:in `send' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:127:in `block in run_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:138:in `run_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:929:in `_run_save_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/callbacks.rb:455:in `create_or_update' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/timestamp.rb:126:in `create_or_update' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:615:in `save' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/validations.rb:47:in `save' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/transactions.rb:298:in `block in save' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/transactions.rb:354:in `block in with_transaction_returning_status' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:316:in `transaction' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/transactions.rb:350:in `with_transaction_returning_status' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/transactions.rb:298:in `save' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/suppressor.rb:50:in `save' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:760:in `update_attribute' # ./spec/v3/services/organizations/for_current_user_spec.rb:8:in `block (2 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `exec' 23) Travis::API::V3::Services::Organizations::ForCurrentUser authenticated as user with access Got 0 failures and 3 other errors: 23.1) Failure/Error: if operator ||= table.type(attribute.name).force_equality?(value) && :eq  ActiveRecord::StatementInvalid:  PG::UndefinedTable: ERROR: relation "account_env_vars" does not exist  LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass  ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `block (2 levels) in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:18:in `block in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:17:in `query' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:916:in `column_definitions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:117:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:117:in `block in columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:125:in `block in columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:580:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attributes.rb:264:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/encryption/encryptable_record.rb:122:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:566:in `block in load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:429:in `attribute_types' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:455:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/type_caster/map.rb:16:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/arel/table.rb:107:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/table_metadata.rb:18:in `type' # ./lib/patches/active_record/predicate_builder.rb:69:in `build' # ./lib/patches/active_record/predicate_builder.rb:64:in `[]' # ./lib/patches/active_record/predicate_builder.rb:136:in `block in expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:89:in `each' # ./lib/patches/active_record/predicate_builder.rb:89:in `flat_map' # ./lib/patches/active_record/predicate_builder.rb:89:in `expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:35:in `build_from_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:1333:in `build_where_clause' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:774:in `where!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:769:in `where' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/querying.rb:22:in `where' # ./lib/travis/api/v3/models/organization.rb:52:in `account_env_vars' # ./lib/travis/api/v3/renderer/owner.rb:8:in `account_env_vars' # ./lib/travis/api/v3/model_renderer.rb:130:in `block in render' # ./lib/travis/api/v3/model_renderer.rb:125:in `each' # ./lib/travis/api/v3/model_renderer.rb:125:in `render' # ./lib/travis/api/v3/model_renderer.rb:46:in `render' # ./lib/travis/api/v3/renderer.rb:44:in `render_model' # ./lib/travis/api/v3/renderer.rb:53:in `render_value' # ./lib/travis/api/v3/collection_renderer.rb:75:in `render_entry' # ./lib/travis/api/v3/collection_renderer.rb:58:in `block in render' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/delegation.rb:88:in `each' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/delegation.rb:88:in `each' # ./lib/travis/api/v3/collection_renderer.rb:57:in `map' # ./lib/travis/api/v3/collection_renderer.rb:57:in `render' # ./lib/travis/api/v3/collection_renderer.rb:4:in `render' # ./lib/travis/api/v3/result.rb:32:in `render' # ./lib/travis/api/v3/router.rb:67:in `render' # ./lib/travis/api/v3/router.rb:44:in `call' # ./lib/travis/api/v3/opt_in.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/jsonp.rb:39:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/json_body_parser.rb:69:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/deflater.rb:44:in `call' # ./lib/travis/api/app.rb:282:in `call' # ./lib/travis/api/app/middleware/error_handler.rb:10:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./lib/travis/api/app.rb:187:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:50:in `_call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:38:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `get' # ./spec/v3/services/organizations/for_current_user_spec.rb:38:in `block (3 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::UndefinedTable: # ERROR: relation "account_env_vars" does not exist # LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass # ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' 23.2) Failure/Error: after { org.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/organizations/for_current_user_spec.rb:23:in `block (2 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 23.3) Failure/Error: __send__(name, *args, &block)  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `block (2 levels) in execute' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:47:in `block in execute' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:46:in `execute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/savepoints.rb:11:in `create_savepoint' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:185:in `materialize!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:285:in `block (2 levels) in materialize_transactions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:285:in `each' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:285:in `block in materialize_transactions' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:282:in `materialize_transactions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:324:in `materialize_transactions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:758:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:175:in `update' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `update' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:46:in `_update_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1060:in `_update_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/locking/optimistic.rb:93:in `_update_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1082:in `_update_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attribute_methods/dirty.rb:216:in `_update_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/callbacks.rb:463:in `block in _update_record' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:107:in `run_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:929:in `_run_update_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/callbacks.rb:463:in `_update_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/timestamp.rb:121:in `_update_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1069:in `create_or_update' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/callbacks.rb:455:in `block in create_or_update' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/autosave_association.rb:370:in `around_save_collection_association' # ./lib/travis/api/v3/models/repository.rb:125:in `send' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:127:in `block in run_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:138:in `run_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb:929:in `_run_save_callbacks' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/callbacks.rb:455:in `create_or_update' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/timestamp.rb:126:in `create_or_update' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:615:in `save' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/validations.rb:47:in `save' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/transactions.rb:298:in `block in save' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/transactions.rb:354:in `block in with_transaction_returning_status' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:316:in `transaction' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/transactions.rb:350:in `with_transaction_returning_status' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/transactions.rb:298:in `save' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/suppressor.rb:50:in `save' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:760:in `update_attribute' # ./spec/v3/services/organizations/for_current_user_spec.rb:8:in `block (2 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `exec' 24) Travis::API::V3::Services::Organization::Find existing org, public api Got 0 failures and 2 other errors: 24.1) Failure/Error: if operator ||= table.type(attribute.name).force_equality?(value) && :eq  ActiveRecord::StatementInvalid:  PG::UndefinedTable: ERROR: relation "account_env_vars" does not exist  LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass  ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `block (2 levels) in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:18:in `block in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:17:in `query' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:916:in `column_definitions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:117:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:117:in `block in columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:125:in `block in columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:580:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attributes.rb:264:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/encryption/encryptable_record.rb:122:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:566:in `block in load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:429:in `attribute_types' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:455:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/type_caster/map.rb:16:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/arel/table.rb:107:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/table_metadata.rb:18:in `type' # ./lib/patches/active_record/predicate_builder.rb:69:in `build' # ./lib/patches/active_record/predicate_builder.rb:64:in `[]' # ./lib/patches/active_record/predicate_builder.rb:136:in `block in expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:89:in `each' # ./lib/patches/active_record/predicate_builder.rb:89:in `flat_map' # ./lib/patches/active_record/predicate_builder.rb:89:in `expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:35:in `build_from_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:1333:in `build_where_clause' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:774:in `where!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:769:in `where' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/querying.rb:22:in `where' # ./lib/travis/api/v3/models/organization.rb:52:in `account_env_vars' # ./lib/travis/api/v3/renderer/owner.rb:8:in `account_env_vars' # ./lib/travis/api/v3/model_renderer.rb:130:in `block in render' # ./lib/travis/api/v3/model_renderer.rb:125:in `each' # ./lib/travis/api/v3/model_renderer.rb:125:in `render' # ./lib/travis/api/v3/model_renderer.rb:46:in `render' # ./lib/travis/api/v3/result.rb:32:in `render' # ./lib/travis/api/v3/router.rb:67:in `render' # ./lib/travis/api/v3/router.rb:44:in `call' # ./lib/travis/api/v3/opt_in.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/jsonp.rb:39:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/json_body_parser.rb:69:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/deflater.rb:44:in `call' # ./lib/travis/api/app.rb:282:in `call' # ./lib/travis/api/app/middleware/error_handler.rb:10:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./lib/travis/api/app.rb:187:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:50:in `_call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:38:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `get' # ./spec/v3/services/organization/find_spec.rb:18:in `block (3 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::UndefinedTable: # ERROR: relation "account_env_vars" does not exist # LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass # ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' 24.2) Failure/Error: after { org.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/organization/find_spec.rb:6:in `block (2 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 25) Travis::API::V3::Services::Organization::Find existing org, public api Got 0 failures and 2 other errors: 25.1) Failure/Error: if operator ||= table.type(attribute.name).force_equality?(value) && :eq  ActiveRecord::StatementInvalid:  PG::UndefinedTable: ERROR: relation "account_env_vars" does not exist  LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass  ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `block (2 levels) in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:18:in `block in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:17:in `query' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:916:in `column_definitions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:117:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:117:in `block in columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:125:in `block in columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:580:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attributes.rb:264:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/encryption/encryptable_record.rb:122:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:566:in `block in load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:429:in `attribute_types' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:455:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/type_caster/map.rb:16:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/arel/table.rb:107:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/table_metadata.rb:18:in `type' # ./lib/patches/active_record/predicate_builder.rb:69:in `build' # ./lib/patches/active_record/predicate_builder.rb:64:in `[]' # ./lib/patches/active_record/predicate_builder.rb:136:in `block in expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:89:in `each' # ./lib/patches/active_record/predicate_builder.rb:89:in `flat_map' # ./lib/patches/active_record/predicate_builder.rb:89:in `expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:35:in `build_from_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:1333:in `build_where_clause' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:774:in `where!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:769:in `where' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/querying.rb:22:in `where' # ./lib/travis/api/v3/models/organization.rb:52:in `account_env_vars' # ./lib/travis/api/v3/renderer/owner.rb:8:in `account_env_vars' # ./lib/travis/api/v3/model_renderer.rb:130:in `block in render' # ./lib/travis/api/v3/model_renderer.rb:125:in `each' # ./lib/travis/api/v3/model_renderer.rb:125:in `render' # ./lib/travis/api/v3/model_renderer.rb:46:in `render' # ./lib/travis/api/v3/result.rb:32:in `render' # ./lib/travis/api/v3/router.rb:67:in `render' # ./lib/travis/api/v3/router.rb:44:in `call' # ./lib/travis/api/v3/opt_in.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/jsonp.rb:39:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/json_body_parser.rb:69:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/deflater.rb:44:in `call' # ./lib/travis/api/app.rb:282:in `call' # ./lib/travis/api/app/middleware/error_handler.rb:10:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./lib/travis/api/app.rb:187:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:50:in `_call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:38:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `get' # ./spec/v3/services/organization/find_spec.rb:18:in `block (3 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::UndefinedTable: # ERROR: relation "account_env_vars" does not exist # LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass # ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' 25.2) Failure/Error: after { org.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/organization/find_spec.rb:6:in `block (2 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 26) Travis::API::V3::Services::Organization::Find existing educational org, private api, authorized user Got 0 failures and 2 other errors: 26.1) Failure/Error: if operator ||= table.type(attribute.name).force_equality?(value) && :eq  ActiveRecord::StatementInvalid:  PG::UndefinedTable: ERROR: relation "account_env_vars" does not exist  LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass  ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `block (2 levels) in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:18:in `block in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:17:in `query' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:916:in `column_definitions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:117:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:117:in `block in columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:125:in `block in columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:580:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attributes.rb:264:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/encryption/encryptable_record.rb:122:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:566:in `block in load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:429:in `attribute_types' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:455:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/type_caster/map.rb:16:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/arel/table.rb:107:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/table_metadata.rb:18:in `type' # ./lib/patches/active_record/predicate_builder.rb:69:in `build' # ./lib/patches/active_record/predicate_builder.rb:64:in `[]' # ./lib/patches/active_record/predicate_builder.rb:136:in `block in expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:89:in `each' # ./lib/patches/active_record/predicate_builder.rb:89:in `flat_map' # ./lib/patches/active_record/predicate_builder.rb:89:in `expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:35:in `build_from_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:1333:in `build_where_clause' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:774:in `where!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:769:in `where' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/querying.rb:22:in `where' # ./lib/travis/api/v3/models/organization.rb:52:in `account_env_vars' # ./lib/travis/api/v3/renderer/owner.rb:8:in `account_env_vars' # ./lib/travis/api/v3/model_renderer.rb:130:in `block in render' # ./lib/travis/api/v3/model_renderer.rb:125:in `each' # ./lib/travis/api/v3/model_renderer.rb:125:in `render' # ./lib/travis/api/v3/model_renderer.rb:46:in `render' # ./lib/travis/api/v3/result.rb:32:in `render' # ./lib/travis/api/v3/router.rb:67:in `render' # ./lib/travis/api/v3/router.rb:44:in `call' # ./lib/travis/api/v3/opt_in.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/jsonp.rb:39:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/json_body_parser.rb:69:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/deflater.rb:44:in `call' # ./lib/travis/api/app.rb:282:in `call' # ./lib/travis/api/app/middleware/error_handler.rb:10:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./lib/travis/api/app.rb:187:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:50:in `_call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:38:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `get' # ./spec/v3/services/organization/find_spec.rb:69:in `block (3 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::UndefinedTable: # ERROR: relation "account_env_vars" does not exist # LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass # ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' 26.2) Failure/Error: after { org.delete }  ActiveRecord::StatementInvalid:  PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:67:in `exec_delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/database_statements.rb:181:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `delete' # ./vendor/bundle/ruby/3.2.0/gems/composite_primary_keys-14.0.6/lib/composite_primary_keys/persistence.rb:70:in `_delete_record' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:1046:in `_delete_row' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/persistence.rb:664:in `delete' # ./spec/v3/services/organization/find_spec.rb:6:in `block (2 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::InFailedSqlTransaction: # ERROR: current transaction is aborted, commands ignored until end of transaction block # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params' 27) Travis::API::V3::Services::Executions authenticated responds with list of executions per sender Failure/Error: if operator ||= table.type(attribute.name).force_equality?(value) && :eq  ActiveRecord::StatementInvalid:  PG::UndefinedTable: ERROR: relation "account_env_vars" does not exist  LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass  ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `block (2 levels) in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:18:in `block in query' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log' # ./vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:17:in `query' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql_adapter.rb:916:in `column_definitions' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:117:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:117:in `block in columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:116:in `columns' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:125:in `block in columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `fetch' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/schema_cache.rb:124:in `columns_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:580:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/attributes.rb:264:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/encryption/encryptable_record.rb:122:in `load_schema!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:566:in `block in load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `synchronize' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:563:in `load_schema' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:429:in `attribute_types' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/model_schema.rb:455:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/type_caster/map.rb:16:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/arel/table.rb:107:in `type_for_attribute' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/table_metadata.rb:18:in `type' # ./lib/patches/active_record/predicate_builder.rb:69:in `build' # ./lib/patches/active_record/predicate_builder.rb:64:in `[]' # ./lib/patches/active_record/predicate_builder.rb:136:in `block in expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:89:in `each' # ./lib/patches/active_record/predicate_builder.rb:89:in `flat_map' # ./lib/patches/active_record/predicate_builder.rb:89:in `expand_from_hash' # ./lib/patches/active_record/predicate_builder.rb:35:in `build_from_hash' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:1333:in `build_where_clause' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:774:in `where!' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/relation/query_methods.rb:769:in `where' # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/querying.rb:22:in `where' # ./lib/travis/api/v3/models/user.rb:106:in `account_env_vars' # ./lib/travis/api/v3/renderer/owner.rb:8:in `account_env_vars' # ./lib/travis/api/v3/model_renderer.rb:130:in `block in render' # ./lib/travis/api/v3/model_renderer.rb:125:in `each' # ./lib/travis/api/v3/model_renderer.rb:125:in `render' # ./lib/travis/api/v3/model_renderer.rb:46:in `render' # ./lib/travis/api/v3/renderer.rb:44:in `render_model' # ./lib/travis/api/v3/services/executions/for_owner_per_sender.rb:34:in `block in recuce_by_sender' # ./lib/travis/api/v3/services/executions/for_owner_per_sender.rb:22:in `each' # ./lib/travis/api/v3/services/executions/for_owner_per_sender.rb:22:in `recuce_by_sender' # ./lib/travis/api/v3/services/executions/for_owner_per_sender.rb:17:in `run!' # ./lib/travis/api/v3/service.rb:125:in `run' # ./lib/travis/api/v3/router.rb:40:in `call' # ./lib/travis/api/v3/opt_in.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/jsonp.rb:39:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-contrib-2.3.0/lib/rack/contrib/json_body_parser.rb:69:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/deflater.rb:44:in `call' # ./lib/travis/api/app.rb:282:in `call' # ./lib/travis/api/app/middleware/error_handler.rb:10:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:991:in `forward' # ./lib/travis/api/app/base.rb:25:in `route_missing' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1032:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1028:in `route!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1138:in `block in dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1133:in `dispatch!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `block in call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `catch' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:1109:in `invoke' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:949:in `call!' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:938:in `call' # ./lib/travis/api/app/base.rb:29:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/null_logger.rb:11:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/head.rb:12:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:219:in `call' # ./vendor/bundle/ruby/3.2.0/gems/sinatra-3.0.6/lib/sinatra/base.rb:2018:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/config.rb:19:in `call' # ./lib/travis/api/app.rb:187:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:50:in `_call' # ./vendor/bundle/ruby/3.2.0/gems/rack-2.2.7/lib/rack/lint.rb:38:in `call' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:163:in `custom_request' # ./vendor/bundle/ruby/3.2.0/gems/rack-test-2.1.0/lib/rack/test.rb:112:in `get' # ./spec/v3/services/v2_subscription/executions_spec.rb:173:in `block (3 levels) in ' # ./vendor/bundle/ruby/3.2.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::UndefinedTable: # ERROR: relation "account_env_vars" does not exist # LINE 9: WHERE a.attrelid = '"account_env_vars"'::regclass # ^ # ./vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec' Finished in 2 minutes 57.6 seconds (files took 6.22 seconds to load) 1809 examples, 27 failures, 8 pending Failed examples: rspec ./spec/v3/services/owner/find_spec.rb:28 # Travis::API::V3::Services::Owner::Find organization existing org, public api, by login  rspec ./spec/v3/services/owner/find_spec.rb:29 # Travis::API::V3::Services::Owner::Find organization existing org, public api, by login  rspec ./spec/v3/services/owner/find_spec.rb:71 # Travis::API::V3::Services::Owner::Find organization existing org, public api, by github_id  rspec ./spec/v3/services/owner/find_spec.rb:72 # Travis::API::V3::Services::Owner::Find organization existing org, public api, by github_id  rspec ./spec/v3/services/owner/find_spec.rb:118 # Travis::API::V3::Services::Owner::Find organization eager loading repositories via organization.repositories  rspec ./spec/v3/services/owner/find_spec.rb:119 # Travis::API::V3::Services::Owner::Find organization eager loading repositories via organization.repositories  rspec ./spec/v3/services/owner/find_spec.rb:224 # Travis::API::V3::Services::Owner::Find organization eager loading repositories via owner.repositories  rspec ./spec/v3/services/owner/find_spec.rb:225 # Travis::API::V3::Services::Owner::Find organization eager loading repositories via owner.repositories  rspec ./spec/v3/services/owner/find_spec.rb:324 # Travis::API::V3::Services::Owner::Find organization it is not case sensitive  rspec ./spec/v3/services/owner/find_spec.rb:325 # Travis::API::V3::Services::Owner::Find organization it is not case sensitive  rspec ./spec/v3/services/owner/find_spec.rb:371 # Travis::API::V3::Services::Owner::Find organization does not allow overriding org id  rspec ./spec/v3/services/owner/find_spec.rb:372 # Travis::API::V3::Services::Owner::Find organization does not allow overriding org id  rspec ./spec/v3/services/owner/find_spec.rb:422 # Travis::API::V3::Services::Owner::Find user existing user, public api, by login  rspec ./spec/v3/services/owner/find_spec.rb:423 # Travis::API::V3::Services::Owner::Find user existing user, public api, by login  rspec ./spec/v3/services/owner/find_spec.rb:456 # Travis::API::V3::Services::Owner::Find user existing user, public api, by github_id  rspec ./spec/v3/services/owner/find_spec.rb:457 # Travis::API::V3::Services::Owner::Find user existing user, public api, by github_id  rspec ./spec/v3/services/owner/find_spec.rb:490 # Travis::API::V3::Services::Owner::Find user it is not case sensitive  rspec ./spec/v3/services/owner/find_spec.rb:491 # Travis::API::V3::Services::Owner::Find user it is not case sensitive  rspec ./spec/v3/services/owner/find_spec.rb:528 # Travis::API::V3::Services::Owner::Find user does not allow overriding user id  rspec ./spec/v3/services/owner/find_spec.rb:529 # Travis::API::V3::Services::Owner::Find user does not allow overriding user id  rspec ./spec/v3/services/organizations/for_current_user_spec.rb:26 # Travis::API::V3::Services::Organizations::ForCurrentUser with role query param filters by role rspec ./spec/v3/services/organizations/for_current_user_spec.rb:39 # Travis::API::V3::Services::Organizations::ForCurrentUser authenticated as user with access  rspec ./spec/v3/services/organizations/for_current_user_spec.rb:40 # Travis::API::V3::Services::Organizations::ForCurrentUser authenticated as user with access  rspec ./spec/v3/services/organization/find_spec.rb:19 # Travis::API::V3::Services::Organization::Find existing org, public api  rspec ./spec/v3/services/organization/find_spec.rb:20 # Travis::API::V3::Services::Organization::Find existing org, public api  rspec ./spec/v3/services/organization/find_spec.rb:71 # Travis::API::V3::Services::Organization::Find existing educational org, private api, authorized user  rspec ./spec/v3/services/v2_subscription/executions_spec.rb:172 # Travis::API::V3::Services::Executions authenticated responds with list of executions per sender Coverage report generated for RSpec to /home/travis/build/travis-ci/travis-api/.coverage. 11591 / 14913 LOC (77.72%) covered. Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected travis_time:end:0a7cfe66:start=1737101643238076310,finish=1737101842772934768,duration=199534858458,event=script The command "bundle exec rake knapsack:rspec" exited with 1. Done. Your build exited with 1.