backdrop-contrib / backup_migrate

Port of the Drupal backup_migrate module to Backdrop
GNU General Public License v2.0
7 stars 14 forks source link

Test failing on GHA, but passing on local installation #104

Closed argiepiano closed 1 year ago

argiepiano commented 1 year ago

I'm in a situation where all tests are passing in my local install, but BmTestBasics::testQuickBackup() is failing on GHA.

I was wondering if anyone with experience with GHA could take a quick look at the yml file that sets up the tests to see if you see something that doesn't look right.

The problem I'm seeing is that a table ('backup_migrate_profiles') that's supposed to be created upon installation of B&M is appearing as non-existing. The error GHA is throwing is SQLSTATE[42S02]: Base table or view not found: 1146 Table 'backdrop.simpletest171190backup_migrate_profiles' doesn't exist.

This happens when B&M runs the query SHOW CREATE TABLE `simpletest171190backup_migrate_profiles`.

I've looked back and forth unsuccessully. Step debug on my local shows everything working fine. I don't know if there is any way to step debug GHA? It would be helpful to also be able to dump the db that's created by Simpletest on GHA after setting up the test, to check that all required B&M tables are there. Wondering if someone with experience on GHA could help? (@herbdool, @indigoxela, @quicksketch)

argiepiano commented 1 year ago

After hours trying to figure out what was wrong, I clicked "Rerun tests" and they all passed. Strange.