PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [debug] ******************************************************************* ok: [localhost] => { "msg": "Using 'gretchen' as instance name" } TASK [Check if git dir already exists] ***************************************** ok: [localhost] TASK [Force get new tags and branches] ***************************************** changed: [localhost] TASK [Clone koha source to /usr/local/src/koha] ******************************** skipping: [localhost] TASK [Copy source koha clone for sandbox] ************************************** changed: [localhost] TASK [Install koha git config for sandbox] ************************************* changed: [localhost] TASK [Change owner for koha clone for sandbox] ********************************* changed: [localhost] TASK [Make .git directory writable by all users (allows container root to run git am)] *** changed: [localhost] TASK [Set as safe directory] *************************************************** changed: [localhost] TASK [Check out origin/main by default] **************************************** changed: [localhost] TASK [Create a new database for Koha instance] ********************************* changed: [localhost] TASK [Ensure user doesn't exist or the create below will fail] ***************** changed: [localhost] TASK [mysql_user] ************************************************************** changed: [localhost] TASK [Start new koha-testing-docker container] ********************************* changed: [localhost] TASK [Get host port for sandbox staff port] ************************************ changed: [localhost] TASK [debug] ******************************************************************* ok: [localhost] => { "msg": "Using '33734' as staff port" } TASK [Get host port for sandbox opac port] ************************************* changed: [localhost] TASK [debug] ******************************************************************* ok: [localhost] => { "msg": "Using '33733' as opac port" } TASK [Get host port for sandbox ssh port] ************************************** changed: [localhost] TASK [debug] ******************************************************************* ok: [localhost] => { "msg": "Using '33733' as ssh port" } TASK [Install apache config for sandbox instance] ****************************** changed: [localhost] TASK [Symlink the new apache config from sites-available to sites-enabled] ***** changed: [localhost] TASK [Add docker container koha-gretchen to ansible hosts] ********************* ok: [localhost] TASK [Test connection to docker container] ************************************* changed: [localhost -> koha-gretchen] TASK [debug] ******************************************************************* skipping: [localhost] TASK [Pausing for 5 minutes whilst container sets itself up] ******************* Pausing for 300 seconds (ctrl+C then 'C' = continue early, ctrl+C then 'A' = abort) ok: [localhost] TASK [debug] ******************************************************************* ok: [localhost] => { "msg": "GIT_REMOTE is set to " } TASK [Add git remote as gretchen in docker container] ************************* skipping: [localhost] TASK [git checkout commit_id or tag in docker container] ********************** skipping: [localhost] TASK [git checkout gretchen/ in docker container] ****************************** skipping: [localhost] TASK [Fix git repo permissions] ************************************************ changed: [localhost -> koha-gretchen] TASK [Make .git directory writable by all users inside container (allows apply_bug to run git am)] *** changed: [localhost -> koha-gretchen] TASK [Marking repo as a safe git directory] ************************************ changed: [localhost -> koha-gretchen] TASK [Checkout origin/main in docker container] ******************************** changed: [localhost -> koha-gretchen] TASK [Apply bug 42399 via git-bz in docker container] ************************** fatal: [localhost -> koha-gretchen]: FAILED! => {"changed": true, "cmd": "koha-shell -c 'cd /kohadevbox/koha && yes | git bz apply 42399' gretchen", "delta": "0:00:03.842106", "end": "2026-09-14 18:29:31.226059", "msg": "non-zero return code", "rc": 1, "start": "2026-09-14 18:29:27.383953", "stderr": "\nPatch application failed for attachment 203587 - Bug 42399: Update some tools pages to use grid layout for forms - Part 2\n\nPatches left in /tmp/PUsULiLfaC for manual application if needed\n\nTo resolve:\n 1. Fix conflicts (use 'git mergetool' or edit files manually)\n 2. Stage resolved files with 'git add'\n 3. Continue with 'git bz apply --continue' or 'git am --continue'\n 4. Or skip this patch with 'git bz apply --skip'\n 5. Or abort with 'git bz apply --abort'\n\nError: Apply failed: Git command (git am -3 /tmp/PUsULiLfaC/0001-203587.patch) failed: error: Failed to merge in the changes.\nhint: Use 'git am --show-current-patch=diff' to see the failed patch\nhint: When you have resolved this problem, run \"git am --continue\".\nhint: If you prefer to skip this patch, run \"git am --skip\" instead.\nhint: To restore the original branch and stop patching, run \"git am --abort\".\nhint: Disable this message with \"git config advice.mergeConflict false\"", "stderr_lines": ["", "Patch application failed for attachment 203587 - Bug 42399: Update some tools pages to use grid layout for forms - Part 2", "", "Patches left in /tmp/PUsULiLfaC for manual application if needed", "", "To resolve:", " 1. Fix conflicts (use 'git mergetool' or edit files manually)", " 2. Stage resolved files with 'git add'", " 3. Continue with 'git bz apply --continue' or 'git am --continue'", " 4. Or skip this patch with 'git bz apply --skip'", " 5. Or abort with 'git bz apply --abort'", "", "Error: Apply failed: Git command (git am -3 /tmp/PUsULiLfaC/0001-203587.patch) failed: error: Failed to merge in the changes.", "hint: Use 'git am --show-current-patch=diff' to see the failed patch", "hint: When you have resolved this problem, run \"git am --continue\".", "hint: If you prefer to skip this patch, run \"git am --skip\" instead.", "hint: To restore the original branch and stop patching, run \"git am --abort\".", "hint: Disable this message with \"git config advice.mergeConflict false\""], "stdout": "Fetching bug 42399...Checking dependency bug 41823...Fetching bug 42399 attachments...\n📋 Bug 42399 - Update some tools pages to use grid layout for forms - Part 2\n\n • 203587 - Bug 42399: Update some tools pages to use grid layout for forms - Part 2\n\nApply? [(y)es, (n)o, (i)nteractive] \nPreparing 1 patch(es):\n ✓ [1/1] Preparing Bug 42399: Update some tools pages to use grid layout for f…\n\u001b[32m ✓ \u001b[0mPrepared 1 patch(es)\n\nApplying 1 patch(es):", "stdout_lines": ["Fetching bug 42399...Checking dependency bug 41823...Fetching bug 42399 attachments...", "📋 Bug 42399 - Update some tools pages to use grid layout for forms - Part 2", "", " • 203587 - Bug 42399: Update some tools pages to use grid layout for forms - Part 2", "", "Apply? [(y)es, (n)o, (i)nteractive] ", "Preparing 1 patch(es):", " ✓ [1/1] Preparing Bug 42399: Update some tools pages to use grid layout for f…", "\u001b[32m ✓ \u001b[0mPrepared 1 patch(es)", "", "Applying 1 patch(es):"]} PLAY RECAP ********************************************************************* localhost : ok=30 changed=21 unreachable=0 failed=1 skipped=5 rescued=0 ignored=0