JuliaCollections / AbstractTrees.jl

Abstract julia interfaces for working with trees
Other
201 stars 58 forks source link

`julia-docdeploy` action failing #147

Open ReubenJ opened 4 months ago

ReubenJ commented 4 months ago

Documentation deployment is currently failing, as seen in the latest run of the Documentation workflow here: https://github.com/JuliaCollections/AbstractTrees.jl/actions/runs/9571277293/job/26387972996. From a glance, it looks like a permissions issue.

Error

``` Initialized empty Git repository in /tmp/jl_H8RJg7/.git/ git@github.com: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Error: Git failed to fetch git@github.com:JuliaCollections/AbstractTrees.jl.git This can be caused by a DOCUMENTER_KEY variable that is not correctly set up. Make sure that the environment variable is properly set up as a Base64-encoded string of the SSH private key. You may need to re-generate the keys with DocumenterTools. Error: Failed to push: exception = failed process: Process(setenv(`/home/runner/.julia/artifacts/8cf34d79d19454822fddcbe0828c1858538ac1c9/bin/git fetch upstream`,["PATH=/home/runner/.julia/artifacts/1308e48c3f4f2fd9adaa56b9bd4a86a995d50abd/bin:/home/runner/.julia/artifacts/59ad2df0e0417250790a9d28529385c2329e22b9/bin:/home/runner/.julia/artifacts/8cf34d79d19454822fddcbe0828c1858538ac1c9/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", "DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1", "GITHUB_RUN_NUMBER=154", "GITHUB_REF_NAME=master", "RUNNER_ARCH=X64", "PERFLOG_LOCATION_SETTING=RUNNER_PERFLOG", "LD_LIBRARY_PATH=/usr/local/julia1.10.4/bin/../lib/julia:/home/runner/.julia/artifacts/1308e48c3f4f2fd9adaa56b9bd4a86a995d50abd/lib:/home/runner/.julia/artifacts/59ad2df0e0417250790a9d28529385c2329e22b9/lib:/home/runner/.julia/artifacts/e4e0c1bb8f52a7a9d586af15bc1713e83c1f42af/lib:/usr/local/julia1.10.4/bin/../lib/julia:/usr/local/julia1.10.4/bin/../lib", "GOROOT_1_20_X64=/opt/hostedtoolcache/go/1.20.14/x64", "ACCEPT_EULA=Y", "GOROOT_1_21_X64=/opt/hostedtoolcache/go/1.21.11/x64", "ANT_HOME=/usr/share/ant", "RUNNER_USER=runner", "LEIN_HOME=/usr/local/lib/lein", "GITHUB_REPOSITORY_ID=39520281", "GITHUB_ACTOR=oscardssmith", "GITHUB_WORKFLOW_REF=JuliaCollections/AbstractTrees.jl/.github/workflows/Documenter.yml@refs/heads/master", "ANDROID_NDK_LATEST_HOME=/usr/local/lib/android/sdk/ndk/26.3.11579264", "SYSTEMD_EXEC_PID=589", "RUNNER_ENVIRONMENT=github-hosted", "OPENBLAS_DEFAULT_NUM_THREADS=1", "GIT_TEMPLATE_DIR=/home/runner/.julia/artifacts/8cf34d79d19454822fddcbe0828c1858538ac1c9/share/git-core/templates", "STATS_D_D=true", "USER=runner", "CONDA=/usr/share/miniconda", "JULIA_PKG_SERVER_REGISTRY_PREFERENCE=eager", "VCPKG_INSTALLATION_ROOT=/usr/local/share/vcpkg", "STATS_VMFE=true", "GITHUB_REF_PROTECTED=false", "GITHUB_API_URL=https://api.github.com/", "GITHUB_RUN_ATTEMPT=1", "GITHUB_ACTIONS=true", "STATS_V3PS=true", "GITHUB_SHA=af3fabd36631efe361bc8e1ba45f9b84e898b459", "JAVA_HOME=/usr/lib/jvm/temurin-11-jdk-amd64", "STATS_EXT=true", "ANDROID_SDK_ROOT=/usr/local/lib/android/sdk", "SWIFT_PATH=/usr/share/swift/usr/bin", "GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_07e678dd-47a7-4c35-8381-d407d3bff3c3", "JAVA_HOME_17_X64=/usr/lib/jvm/temurin-17-jdk-amd64", "GITHUB_ACTION_PATH=/home/runner/work/_actions/julia-actions/julia-docdeploy/latest", "RUNNER_PERFLOG=/home/runner/perflog", "RUNNER_NAME=GitHub Actions 3", "EDGEWEBDRIVER=/usr/local/share/edge_driver", "GITHUB_RUN_ID=9571277293", "GHCUP_INSTALL_BASE_PREFIX=/usr/local", "ImageOS=ubuntu22", "NVM_DIR=/home/runner/.nvm", "GIT_SSH_COMMAND=ssh -F /tmp/jl_kc2yXu", "GITHUB_HEAD_REF=", "GITHUB_RETENTION_DAYS=90", "GITHUB_SERVER_URL=https://github.com/", "GITHUB_OUTPUT=/home/runner/work/_temp/_runner_file_commands/set_output_07e678dd-47a7-4c35-8381-d407d3bff3c3", "STATS_UE=true", "GITHUB_JOB=Documenter", "DEBIAN_FRONTEND=noninteractive", "RUNNER_TRACKING_ID=github_a6fd0181-75a3-46c2-853d-01901a14b6c6", "RUNNER_TOOL_CACHE=/opt/hostedtoolcache", "HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS=3650", "AZURE_EXTENSION_DIR=/opt/az/azcliextensions", "HOMEBREW_NO_AUTO_UPDATE=1", "CHROMEWEBDRIVER=/usr/local/share/chromedriver-linux64", "GITHUB_ACTION_REPOSITORY=", "GITHUB_WORKFLOW=Documenter", "GITHUB_ACTION=__julia-actions_julia-docdeploy", "HOME=/home/runner", "JAVA_HOME_8_X64=/usr/lib/jvm/temurin-8-jdk-amd64", "GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json", "GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_07e678dd-47a7-4c35-8381-d407d3bff3c3", "SGX_AESM_ADDR=1", "GITHUB_REF=refs/heads/master", "GIT_EXEC_PATH=/home/runner/.julia/artifacts/8cf34d79d19454822fddcbe0828c1858538ac1c9/libexec/git-core", "GITHUB_REPOSITORY=JuliaCollections/AbstractTrees.jl", "INVOCATION_ID=3a4faaecfe544da8b64c1aa38f253eb6", "ImageVersion=20240609.1.0", "JAV ERROR: LoadError: failed process: Process(setenv(`/home/runner/.julia/artifacts/8cf34d79d19454822fddcbe0828c1858538ac1c9/bin/git fetch upstream`,["PATH=/home/runner/.julia/artifacts/1308e48c3f4f2fd9adaa56b9bd4a86a995d50abd/bin:/home/runner/.julia/artifacts/59ad2df0e0417250790a9d28529385c2329e22b9/bin:/home/runner/.julia/artifacts/8cf34d79d19454822fddcbe0828c1858538ac1c9/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", "DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1", "GITHUB_RUN_NUMBER=154", "GITHUB_REF_NAME=master", "RUNNER_ARCH=X64", "PERFLOG_LOCATION_SETTING=RUNNER_PERFLOG", "LD_LIBRARY_PATH=/usr/local/julia1.10.4/bin/../lib/julia:/home/runner/.julia/artifacts/1308e48c3f4f2fd9adaa56b9bd4a86a995d50abd/lib:/home/runner/.julia/artifacts/59ad2df0e0417250790a9d28529385c2329e22b9/lib:/home/runner/.julia/artifacts/e4e0c1bb8f52a7a9d586af15bc1713e83c1f42af/lib:/usr/local/julia1.10.4/bin/../lib/julia:/usr/local/julia1.10.4/bin/../lib", "GOROOT_1_20_X64=/opt/hostedtoolcache/go/1.20.14/x64", "ACCEPT_EULA=Y", "GOROOT_1_21_X64=/opt/hostedtoolcache/go/1.21.11/x64" … "JAVA_HOME_11_X64=/usr/lib/jvm/temurin-11-jdk-amd64", "GITHUB_TRIGGERING_ACTOR=oscardssmith", "RUNNER_TEMP=/home/runner/work/_temp", "GITHUB_REPOSITORY_OWNER=JuliaCollections", "GITHUB_EVENT_NAME=push", "DOTNET_NOLOGO=1", "GIT_SSL_CAINFO=/usr/local/julia1.10.4/share/julia/cert.pem", "OPENBLAS_MAIN_FREE=1", "ANDROID_NDK_HOME=/usr/local/lib/android/sdk/ndk/25.2.9519653", "AGENT_TOOLSDIRECTORY=/opt/hostedtoolcache"]), ProcessExited(128)) [128] ```

This was not picked up in PRs, as the deployment step is skipped on PR workflow runs.

ReubenJ commented 3 weeks ago

@oscardssmith any chance you could take a look at this? I assume this is just an outdated or missing DOCUMENTER_KEY.