PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [debug] ******************************************************************* ok: [localhost] => { "msg": "Using 'irene38666' 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] ***************** ok: [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 '33876' as staff port" } TASK [Get host port for sandbox opac port] ************************************* changed: [localhost] TASK [debug] ******************************************************************* ok: [localhost] => { "msg": "Using '33875' as opac port" } TASK [Get host port for sandbox ssh port] ************************************** changed: [localhost] TASK [debug] ******************************************************************* ok: [localhost] => { "msg": "Using '33875' 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-irene38666 to ansible hosts] ******************* ok: [localhost] TASK [Test connection to docker container] ************************************* changed: [localhost -> koha-irene38666] 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 irene38666 in docker container] *********************** skipping: [localhost] TASK [git checkout commit_id or tag in docker container] ********************** skipping: [localhost] TASK [git checkout irene38666/ in docker container] **************************** skipping: [localhost] TASK [Fix git repo permissions] ************************************************ changed: [localhost -> koha-irene38666] TASK [Make .git directory writable by all users inside container (allows apply_bug to run git am)] *** changed: [localhost -> koha-irene38666] TASK [Marking repo as a safe git directory] ************************************ changed: [localhost -> koha-irene38666] TASK [Checkout origin/main in docker container] ******************************** changed: [localhost -> koha-irene38666] TASK [Apply bug 38666 via git-bz in docker container] ************************** fatal: [localhost -> koha-irene38666]: FAILED! => {"changed": true, "cmd": "koha-shell -c 'cd /kohadevbox/koha && yes | git bz apply 38666' irene38666", "delta": "0:00:14.366488", "end": "2026-11-16 14:42:40.254065", "msg": "non-zero return code", "rc": 1, "start": "2026-11-16 14:42:25.887577", "stderr": "\nPatch application failed for attachment 208197 - Bug 38666: Closed stack requests\n\nPatches left in /tmp/Fn8mEMEkq5 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/Fn8mEMEkq5/0001-208197.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 208197 - Bug 38666: Closed stack requests", "", "Patches left in /tmp/Fn8mEMEkq5 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/Fn8mEMEkq5/0001-208197.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 38666...Fetching bug 38666 attachments...\n📋 Bug 38666 - Closed stack requests\n\n • 208197 - Bug 38666: Closed stack requests\n • 208198 - Bug 38666: [DO NOT PUSH] Update DBIC schema\n • 208199 - Bug 38666: Flag new columns as boolean (SQL12)\n • 208200 - Bug 38666: Fix CSRF error when cancelling closed stack request\n • 208201 - Bug 38666: Fix DBI error in pendingreserves.pl\n • 208202 - Bug 38666: Make checked out closed stack items holdable\n • 208203 - Bug 38666: Add closed_stack_request_slip_printed to OpenAPI hold schema\n • 208204 - Bug 38666: Disable hold suspension for closed stack requests at OPAC\n • 208205 - Bug 38666: Fix terminology on closed stack requests page\n • 208206 - Bug 38666: Resolve QA issues in the closed stack request series\n • 212004 - Bug 38666: Add EnableClosedStackRequests preference\n • 212005 - Bug 38666: Gate closed stack requests with a system preference\n • 212006 - Bug 38666: Mark the closed stack regression test executable\n\nApply? [(y)es, (n)o, (i)nteractive] \nPreparing 13 patch(es):\n ✓ [1/13] Preparing Bug 38666: Closed stack requests\n ✓ [2/13] Preparing Bug 38666: [DO NOT PUSH] Update DBIC schema\n ✓ [3/13] Preparing Bug 38666: Flag new columns as boolean (SQL12)\n ✓ [4/13] Preparing Bug 38666: Fix CSRF error when cancelling closed stack req…\n ✓ [5/13] Preparing Bug 38666: Fix DBI error in pendingreserves.pl\n ✓ [6/13] Preparing Bug 38666: Make checked out closed stack items holdable\n ✓ [7/13] Preparing Bug 38666: Add closed_stack_request_slip_printed to OpenAP…\n ✓ [8/13] Preparing Bug 38666: Disable hold suspension for closed stack reques…\n ✓ [9/13] Preparing Bug 38666: Fix terminology on closed stack requests page\n ✓ [10/13] Preparing Bug 38666: Resolve QA issues in the closed stack request …\n ✓ [11/13] Preparing Bug 38666: Add EnableClosedStackRequests preference\n ✓ [12/13] Preparing Bug 38666: Gate closed stack requests with a system prefe…\n ✓ [13/13] Preparing Bug 38666: Mark the closed stack regression test executab…\n\u001b[32m ✓ \u001b[0mPrepared 13 patch(es)\n\nApplying 13 patch(es):", "stdout_lines": ["Fetching bug 38666...Fetching bug 38666 attachments...", "📋 Bug 38666 - Closed stack requests", "", " • 208197 - Bug 38666: Closed stack requests", " • 208198 - Bug 38666: [DO NOT PUSH] Update DBIC schema", " • 208199 - Bug 38666: Flag new columns as boolean (SQL12)", " • 208200 - Bug 38666: Fix CSRF error when cancelling closed stack request", " • 208201 - Bug 38666: Fix DBI error in pendingreserves.pl", " • 208202 - Bug 38666: Make checked out closed stack items holdable", " • 208203 - Bug 38666: Add closed_stack_request_slip_printed to OpenAPI hold schema", " • 208204 - Bug 38666: Disable hold suspension for closed stack requests at OPAC", " • 208205 - Bug 38666: Fix terminology on closed stack requests page", " • 208206 - Bug 38666: Resolve QA issues in the closed stack request series", " • 212004 - Bug 38666: Add EnableClosedStackRequests preference", " • 212005 - Bug 38666: Gate closed stack requests with a system preference", " • 212006 - Bug 38666: Mark the closed stack regression test executable", "", "Apply? [(y)es, (n)o, (i)nteractive] ", "Preparing 13 patch(es):", " ✓ [1/13] Preparing Bug 38666: Closed stack requests", " ✓ [2/13] Preparing Bug 38666: [DO NOT PUSH] Update DBIC schema", " ✓ [3/13] Preparing Bug 38666: Flag new columns as boolean (SQL12)", " ✓ [4/13] Preparing Bug 38666: Fix CSRF error when cancelling closed stack req…", " ✓ [5/13] Preparing Bug 38666: Fix DBI error in pendingreserves.pl", " ✓ [6/13] Preparing Bug 38666: Make checked out closed stack items holdable", " ✓ [7/13] Preparing Bug 38666: Add closed_stack_request_slip_printed to OpenAP…", " ✓ [8/13] Preparing Bug 38666: Disable hold suspension for closed stack reques…", " ✓ [9/13] Preparing Bug 38666: Fix terminology on closed stack requests page", " ✓ [10/13] Preparing Bug 38666: Resolve QA issues in the closed stack request …", " ✓ [11/13] Preparing Bug 38666: Add EnableClosedStackRequests preference", " ✓ [12/13] Preparing Bug 38666: Gate closed stack requests with a system prefe…", " ✓ [13/13] Preparing Bug 38666: Mark the closed stack regression test executab…", "\u001b[32m ✓ \u001b[0mPrepared 13 patch(es)", "", "Applying 13 patch(es):"]} PLAY RECAP ********************************************************************* localhost : ok=30 changed=20 unreachable=0 failed=1 skipped=5 rescued=0 ignored=0