[BKR-643] regression in 2.30: undefined local variable or method `databases' Created: 2015/12/02 Updated: 2015/12/08 Resolved: 2015/12/04 Status: Project: Component/s: Affects Version/s: Fix Version/s: Resolved Beaker None None Type: Reporter: Resolution: Labels: Remaining Estimate: Time Spent: Original Estimate: Bug Russell Mull Fixed None Not Specified Issue Links: Relates relates to relates to Template: Story Points: Sprint: Scope Change Category: Scope Change Reason: BKR 2.31.0 Priority: Assignee: Votes: Critical Rick Bradley 0 Not Specified Not Specified BKR645 BKR646 --helper flag is not working on beake... Protect against direct usages of Beak... Needs Information Ready for Engineering customfield_10700 true 1 QE 2015-12-09 Found This ended up being both caused, and fixed, by work in this sprint. Might as well do the bookkeeping right. Description 'databases' is defined in our helper.rb, but isn't showing up. http://jenkins-enterprise.delivery.puppetlabs.net/job/enterprise_puppetdb_integration-systempuppetdb_full-master/375/INSTALL_TYPE=install,LAYOUT=ec2-west-el7-64mda-el764a,PUPPETDB_DATABASE=postgres,label=beaker/consoleText Comments Comment by Chris Cowell [ 2015/12/02 ] Seeing something similar. This build: http://jenkins-qe.delivery.puppetlabs.net/job/qe_sweep_intn-sys_vpoolnode_management/207/label=beaker,platform=centos7/console is choking with this error: Test Case /var/lib/jenkins/workspace/qe_sweep_intn-sys_vpoolnode_management/label/beaker/platform/centos7/pe-consoleui/acceptance/setup/pre-suite/05_cfg_mgmt_init.rb reported: #<NameError: uninitialized constant Beaker::Runner::Native::TestCase::ConfigManagementService> Comment by Russell Mull [ 2015/12/02 ] This step passed on our build after pinning to 2.29.1. Comment by Rick Bradley [ 2015/12/03 ] Looking into this now. Pretty sure this is due to refactorings to lay groundwork to support minitest as a test runner. Comment by Rick Bradley [ 2015/12/03 ] Fielding a PR to test one approach at dealing with the problem here: https://github.com/puppetlabs/puppetdb/pull/1772 Comment by Rick Bradley [ 2015/12/03 ] Email sent to dev list. Triaged the responsible code (some of my refactoring work as prep for alternate test runners for Beaker) Revert PR prepped, going through testing https://github.com/puppetlabs/beaker/pull/1024 http://jenkins-beaker.delivery.puppetlabs.net/job/qe_beaker_btc-intn/1890/ Comment by Rick Bradley [ 2015/12/03 ] Beaker 2.30.1 has been released to address this problem. Removing pins, or upgrading to this newest Beaker should correct these errors. Will leave this open until we get confirmation. Release notes: https://github.com/puppetlabs/beaker/releases/tag/2.30.1 Comment by Kevin Imber [ 2015/12/04 ] Resolving this issue because I'm pretty sure this fixed it for Russell Mull: [Dec-3 3:43 PM] Russell Mull: Looks like today's release fixes our bug. Thanks for your help! Please let us know if this isn't the case by re-opening if needed. Thanks, KI Generated at Tue Feb 09 08:51:17 PST 2016 using JIRA 6.4.12#64027sha1:e3691cc1283c0f3cef6d65d3ea82d47743692b57.