PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [debug] ******************************************************************* ok: [localhost] => { "msg": "Using 'checkout1' 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 [Change owner for koha clone for sandbox] ********************************* 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 [Install koha git config for sandbox] ************************************* 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 '53656' as staff port" } TASK [Get host port for sandbox opac port] ************************************* changed: [localhost] TASK [debug] ******************************************************************* ok: [localhost] => { "msg": "Using '53657' as opac port" } TASK [Get host port for sandbox ssh port] ************************************** changed: [localhost] TASK [debug] ******************************************************************* ok: [localhost] => { "msg": "Using '53657' 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-checkout1 to ansible hosts] ******************** ok: [localhost] TASK [Test connection to docker container] ************************************* changed: [localhost -> koha-checkout1] 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 checkout1 in docker container] ************************ skipping: [localhost] TASK [git checkout commit_id or tag in docker container] ********************** skipping: [localhost] TASK [git checkout checkout1/ in docker container] ***************************** skipping: [localhost] TASK [Marking repo as a safe git directory] ************************************ changed: [localhost -> koha-checkout1] TASK [Checkout origin/main in docker container] ******************************** changed: [localhost -> koha-checkout1] TASK [Apply bug 21572 via git-bz in docker container] ************************** fatal: [localhost -> koha-checkout1]: FAILED! => {"changed": true, "cmd": "koha-shell -c 'cd /kohadevbox/koha && yes | git bz apply 21572' checkout1", "delta": "0:00:06.900638", "end": "2025-09-17 16:00:40.815141", "msg": "non-zero return code", "rc": 1, "start": "2025-09-17 16:00:33.914503", "stderr": "error: sha1 information is lacking or useless (C4/Circulation.pm).\nerror: could not build fake ancestor\nhint: Use 'git am --show-current-patch=diff' to see the failed patch\nPatch left in /tmp/Bug-21572-Update-CanBookBeIssued-to-ignore-each-ho-312otrxb.patch", "stderr_lines": ["error: sha1 information is lacking or useless (C4/Circulation.pm).", "error: could not build fake ancestor", "hint: Use 'git am --show-current-patch=diff' to see the failed patch", "Patch left in /tmp/Bug-21572-Update-CanBookBeIssued-to-ignore-each-ho-312otrxb.patch"], "stdout": "\nBug 21572 - Improve flexibility and consistency of AllowItemsOnHoldCheckoutSIP and AllowItemsOnHoldCheckoutSCO\n\n185564 - Bug 21572: Update CanBookBeIssued to ignore each hold status separately\n185565 - Bug 21572: Dbrev - multi-selection for AllowItemsOnHoldCheckout sysprefs\n185566 - Bug 21572: Adjust SIP and SCO checkout logic\n\nApply? [(y)es, (n)o, (i)nteractive] Applying: Bug 21572: Update CanBookBeIssued to ignore each hold status separately\nPatch failed at 0001 Bug 21572: Update CanBookBeIssued to ignore each hold status separately\nWhen you have resolved this problem run \"git bz apply --continue\".\nIf you would prefer to skip this patch, instead run \"git bz apply --skip\".\nTo restore the original branch and stop patching run \"git bz apply --abort\".", "stdout_lines": ["", "Bug 21572 - Improve flexibility and consistency of AllowItemsOnHoldCheckoutSIP and AllowItemsOnHoldCheckoutSCO", "", "185564 - Bug 21572: Update CanBookBeIssued to ignore each hold status separately", "185565 - Bug 21572: Dbrev - multi-selection for AllowItemsOnHoldCheckout sysprefs", "185566 - Bug 21572: Adjust SIP and SCO checkout logic", "", "Apply? [(y)es, (n)o, (i)nteractive] Applying: Bug 21572: Update CanBookBeIssued to ignore each hold status separately", "Patch failed at 0001 Bug 21572: Update CanBookBeIssued to ignore each hold status separately", "When you have resolved this problem run \"git bz apply --continue\".", "If you would prefer to skip this patch, instead run \"git bz apply --skip\".", "To restore the original branch and stop patching run \"git bz apply --abort\"."]} RUNNING HANDLER [Restart apache] *********************************************** RUNNING HANDLER [Update koha git repo for sandbox] ***************************** RUNNING HANDLER [Restart plack in docker container] **************************** RUNNING HANDLER [Run updatedatabase.pl in docker container] ******************** PLAY RECAP ********************************************************************* localhost : ok=25 changed=16 unreachable=0 failed=1 skipped=5 rescued=0 ignored=0