PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [debug] ******************************************************************* ok: [localhost] => { "msg": "Using 'b38262' 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] ***************** ok: [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 '53839' as staff port" } TASK [Get host port for sandbox opac port] ************************************* changed: [localhost] TASK [debug] ******************************************************************* ok: [localhost] => { "msg": "Using '53840' as opac port" } TASK [Get host port for sandbox ssh port] ************************************** changed: [localhost] TASK [debug] ******************************************************************* ok: [localhost] => { "msg": "Using '53840' 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-b38262 to ansible hosts] *********************** ok: [localhost] TASK [Test connection to docker container] ************************************* changed: [localhost -> koha-b38262] 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 b38262 in docker container] *************************** skipping: [localhost] TASK [git checkout commit_id or tag in docker container] ********************** skipping: [localhost] TASK [git checkout b38262/ in docker container] ******************************** skipping: [localhost] TASK [Marking repo as a safe git directory] ************************************ changed: [localhost -> koha-b38262] TASK [Checkout origin/main in docker container] ******************************** changed: [localhost -> koha-b38262] TASK [Apply bug 38262 via git-bz in docker container] ************************** fatal: [localhost -> koha-b38262]: FAILED! => {"changed": true, "cmd": "koha-shell -c 'cd /kohadevbox/koha && yes | git bz apply 38262' b38262", "delta": "0:00:10.520254", "end": "2025-11-06 12:50:51.983658", "msg": "non-zero return code", "rc": 1, "start": "2025-11-06 12:50:41.463404", "stderr": "fatal: update_ref failed for ref 'HEAD': cannot update the ref 'refs/heads/main': unable to append to '.git/logs/refs/heads/main': Permission denied\nPatch left in /tmp/Bug-38446-Add-a-dedicated-route-to-retrieve-ERM-re-hsh52kns.patch\n\nCannot apply cleanly patches from bug 38446. Everything will be left dirty.\ngit bz apply --continue will not continue the process if patches from other bug reports need to be applied.", "stderr_lines": ["fatal: update_ref failed for ref 'HEAD': cannot update the ref 'refs/heads/main': unable to append to '.git/logs/refs/heads/main': Permission denied", "Patch left in /tmp/Bug-38446-Add-a-dedicated-route-to-retrieve-ERM-re-hsh52kns.patch", "", "Cannot apply cleanly patches from bug 38446. Everything will be left dirty.", "git bz apply --continue will not continue the process if patches from other bug reports need to be applied."], "stdout": "\nBug 38262 Depends on bug 38446 (Passed QA)\nFollow? [(y)es, (n)o] \nBug 38446 - Permission error for additional fields\n\n189158 - Bug 38446: Add a dedicated route to retrieve ERM-related additional fields\n189159 - Bug 38446: Add a unit test for the additional fields wrapper\n\nApply? [(y)es, (n)o, (i)nteractive] Applying: Bug 38446: Add a dedicated route to retrieve ERM-related additional fields", "stdout_lines": ["", "Bug 38262 Depends on bug 38446 (Passed QA)", "Follow? [(y)es, (n)o] ", "Bug 38446 - Permission error for additional fields", "", "189158 - Bug 38446: Add a dedicated route to retrieve ERM-related additional fields", "189159 - Bug 38446: Add a unit test for the additional fields wrapper", "", "Apply? [(y)es, (n)o, (i)nteractive] Applying: Bug 38446: Add a dedicated route to retrieve ERM-related additional fields"]} 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=15 unreachable=0 failed=1 skipped=5 rescued=0 ignored=0