Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Action should work under nektos/act, in the absence of systemd & docker #63

Open
fasterthanlime opened this issue Jan 5, 2024 · 5 comments

Comments

@fasterthanlime
Copy link

fasterthanlime commented Jan 5, 2024

What main does at the time I'm opening this is: notice systemd isn't there, try to run docker info and immediately fail because I think either of "docker isn't in PATH" or "docker info" returned a non-zero exit code end up throwing instead of just returning from detectAndForceDockerShim.

On Discord, @grahamc suggested trying v8, which happened to be "after Act workarounds were added" but "before GHE (GitHub Enterprise) stuff was added" and that version does work under act, it's only affected by #62.

@Hoverbear
Copy link
Contributor

This should be resolved on main now! I expect we'll be tagging a new version fairly soon, too.

@fasterthanlime
Copy link
Author

This should be resolved on main now! I expect we'll be tagging a new version fairly soon, too.

main seems to have all my issues resolved. thanks so much!

@andreabedini
Copy link

Thank you all for working on this! I tried main but I am afraid it is not fully working. The result seems to be halfway between a multi-user (user pool and /nix owned by root) and a single-user setup (no daemon).

Using act, the image ghcr.io/catthehacker/ubuntu:runner-latest and the following workflow

    - uses: DeterminateSystems/nix-installer-action@main
    - run: /nix/nix-installer self-test
      shell: bash

I get

| [command]/tmp/c38d2d29-229e-49a2-96dd-2a5db1ae4ed9 install linux
| `nix-installer` needs to run as `root`, attempting to escalate now via `sudo`...
|  INFO Step: Create directory `/nix`
|  INFO Step: Provision Nix
|  INFO Step: Create build users (UID 30000-30032) and group (GID 30000)
|  INFO Step: Configure Nix
|  INFO Step: Create directory `/etc/tmpfiles.d`
|  INFO Step: Leave the Nix daemon unconfigured
|  INFO Step: Remove directory `/nix/temp-install-dir`
| Nix was installed successfully!
| To get started using Nix, open a new shell or run `. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh`
|

but

[nix-based CI/format]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/1-composite-1.sh] user= workdir=
| Error:
|    0: Self test error, install may be only partially functional
|    0: Shell `sh` failed self-test with command `"sh" "-lc" "nix build --no-link --expr \'derivation { name = \"self-test-sh-1705388425111\"; system = \"x86_64-linux\"; builder = \"/bin/sh\"; args = [\"-c\" \"echo hello > \\$out\"]; }\'"`, stderr:
|       error: could not set permissions on '/nix/var/nix/profiles/per-user' to 755: Operation not permitted
|
|
|       Shell `bash` failed self-test with command `"bash" "-lc" "nix build --no-link --expr \'derivation { name = \"self-test-bash-1705388425133\"; system = \"x86_64-linux\"; builder = \"/bin/sh\"; args = [\"-c\" \"echo hello > \\$out\"]; }\'"`, stderr:
|       error: could not set permissions on '/nix/var/nix/profiles/per-user' to 755: Operation not permitted
|
|    0:
|
| Location:
|    src/cli/subcommand/self_test.rs:15
|
| Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
| Run with RUST_BACKTRACE=full to include source snippets.
|
| Consider reporting this error using this URL: https://github.com/DeterminateSystems/nix-installer/issues/new?title=%3Cautogenerated-issue%3E&body=%23%23+Error%0A%60%60%60%0AError%3A+%0A+++0%3A+Self+test+error%2C+install+may+be+only+partially+functional%0A+++0%3A+Shell+%60sh%60+failed+self-test+with+command+%60%22sh%22+%22-lc%22+%22nix+build+--no-link+--expr+%5C%27derivation+%7B+name+%3D+%5C%22self-test-sh-1705388425111%5C%22%3B+system+%3D+%5C%22x86_64-linux%5C%22%3B+builder+%3D+%5C%22%2Fbin%2Fsh%5C%22%3B+args+%3D+%5B%5C%22-c%5C%22+%5C%22echo+hello+%3E+%5C%5C%24out%5C%22%5D%3B+%7D%5C%27%22%60%2C+stderr%3A%0A++++++error%3A+could+not+set+permissions+on+%27%2Fnix%2Fvar%2Fnix%2Fprofiles%2Fper-user%27+to+755%3A+Operation+not+permitted%0A%0A%0A++++++Shell+%60bash%60+failed+self-test+with+command+%60%22bash%22+%22-lc%22+%22nix+build+--no-link+--expr+%5C%27derivation+%7B+name+%3D+%5C%22self-test-bash-1705388425133%5C%22%3B+system+%3D+%5C%22x86_64-linux%5C%22%3B+builder+%3D+%5C%22%2Fbin%2Fsh%5C%22%3B+args+%3D+%5B%5C%22-c%5C%22+%5C%22echo+hello+%3E+%5C%5C%24out%5C%22%5D%3B+%7D%5C%27%22%60%2C+stderr%3A%0A++++++error%3A+could+not+set+permissions+on+%27%2Fnix%2Fvar%2Fnix%2Fprofiles%2Fper-user%27+to+755%3A+Operation+not+permitted%0A%0A%0A%60%60%60%0A%0A%23%23+Metadata%0A%7Ckey%7Cvalue%7C%0A%7C--%7C--%7C%0A%7C**version**%7C0.15.1%7C%0A%7C**os**%7Clinux%7C%0A%7C**arch**%7Cx86_64%7C%0A

@lucperkins
Copy link
Member

@fasterthanlime Could you try again with a more recent commit? We've overhauled the Action pretty significantly since this was submitted. Significantly enough that if things are still broken there would at least be a different error now 😄

detsys-pr-bot pushed a commit to detsys-pr-bot/nix-installer-action that referenced this issue Sep 4, 2024
…m DeterminateSystems/retry-streams` (`65dd73c562ac60a068340f8e0c040bdcf2c59afe`)
grahamc added a commit that referenced this issue Sep 4, 2024
…ms/retry-streams` (`65dd73c562ac60a068340f8e0c040bdcf2c59afe`) (#120)

Co-authored-by: grahamc <76716+grahamc@users.noreply.github.com>
@schickling
Copy link

schickling commented Mar 4, 2025

I'm facing the same problem using the latest main version. No luck. Here are some logs:

 *  Executing task: GitHub Local Actions: ci/test #2 

act --workflows ".github/workflows/ci.yml" --job "test" --secret-file "" --var-file "" --input-file "" --eventpath ""

Using docker host 'unix:///var/run/docker.sock', and daemon socket 'unix:///var/run/docker.sock'
[ci/test] 🚀  Start image=catthehacker/ubuntu:act-latest
[ci/test]   🐳  docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=true
[ci/test]   🐳  docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[ci/test]   🐳  docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[ci/test]   🐳  docker exec cmd=[node --no-warnings -e console.log(process.execPath)] user= workdir=
[ci/test]   ☁  git clone 'https://github.com/DeterminateSystems/nix-installer-action' # ref=main
[ci/test]   ☁  git clone 'https://github.com/DeterminateSystems/flakehub-cache-action' # ref=main
[ci/test]   ☁  git clone 'https://github.com/HatsuneMiku3939/direnv-action' # ref=v1
[ci/test]   ☁  git clone 'https://github.com/actions/upload-artifact' # ref=v4
[ci/test] 🧪  Matrix: map[os:ubuntu-latest]
[ci/test] ⭐ Run Main actions/checkout@v4
[ci/test]   🐳  docker cp src=/home/schickling/code/livestore-wip/. dst=/home/schickling/code/livestore-wip
[ci/test]   ✅  Success - Main actions/checkout@v4
[ci/test] ⭐ Run Main DeterminateSystems/nix-installer-action@main
[ci/test]   🐳  docker cp src=/home/schickling/.cache/act/DeterminateSystems-nix-installer-action@main/ dst=/var/run/act/actions/DeterminateSystems-nix-installer-action@main/
[ci/test]   🐳  docker exec cmd=[/opt/acttoolcache/node/18.20.7/x64/bin/node /var/run/act/actions/DeterminateSystems-nix-installer-action@main/dist/index.js] user= workdir=
[ci/test]   💬  ::debug::idslib options:
[ci/test]   💬  ::debug::{%0A  "name": "nix-installer",%0A  "idsProjectName": "nix-installer",%0A  "eventPrefix": "action:",%0A  "fetchStyle": "nix-style",%0A  "legacySourcePrefix": "nix-installer",%0A  "requireNix": "ignore",%0A  "binaryNamePrefixes": [%0A    "nix",%0A    "determinate-nixd",%0A    "nix-installer"%0A  ]%0A}
[ci/test]   💬  ::debug::Environment variable not set: GITHUB_REPOSITORY_OWNER_ID -- can't generate the requested identity
[ci/test]   💬  ::debug::Environment variable not set: GITHUB_REPOSITORY_OWNER_ID -- can't generate the requested identity
[ci/test]   💬  ::debug::Environment variable not set: GITHUB_REPOSITORY_OWNER_ID -- can't generate the requested identity
[ci/test]   💬  ::debug::Environment variable not set: GITHUB_REPOSITORY_OWNER_ID -- can't generate the requested identity
[ci/test]   💬  ::debug::Environment variable not set: GITHUB_REPOSITORY_OWNER_ID -- can't generate the requested identity
[ci/test]   💬  ::debug::Environment variable not set: GITHUB_REPOSITORY_OWNER_ID -- can't generate the requested identity
[ci/test]   💬  ::debug::Correlation data:
[ci/test]   💬  ::debug::{%0A  "correlation_source": "github-actions",%0A  "groups": {%0A    "ci": "github-actions",%0A    "project": "nix-installer"%0A  }%0A}
[ci/test]   💬  ::debug::Identified release info: {"type":"Linux","platform":"linux","hostname":"dev2","arch":"x64","release":"6.1.35","pretty_name":"Ubuntu 22.04.5 LTS","name":"Ubuntu","version_id":"22.04","version":"22.04.5 LTS (Jammy Jellyfish)","version_codename":"jammy","id":"ubuntu","id_like":"debian","home_url":"https://www.ubuntu.com/","support_url":"https://help.ubuntu.com/","bug_report_url":"https://bugs.launchpad.net/ubuntu/","privacy_policy_url":"https://www.ubuntu.com/legal/terms-and-policies/privacy-policy","ubuntu_codename":"jammy"}
[ci/test]   💬  ::debug::Resolved _detsys_ids._tcp.install.determinate.systems. to [{"name":"fiids.install.determinate.systems","port":443,"priority":1,"weight":10},{"name":"us-east-2.swim.install.determinate.systems","port":443,"priority":1,"weight":30}]
[ci/test]   💬  ::debug::Preflighting via https://us-east-2.swim.install.determinate.systems/check-in
[ci/test]   💬  ::debug::Transmuted https://us-east-2.swim.install.determinate.systems/check-in?ci=github&correlation=%257B%2522correlation_source%2522%253A%2522github-actions%2522%252C%2522groups%2522%253A%257B%2522ci%2522%253A%2522github-actions%2522%252C%2522project%2522%253A%2522nix-installer%2522%257D%257D into https://us-east-2.swim.install.determinate.systems/check-in?ci=github&correlation=%257B%2522correlation_source%2522%253A%2522github-actions%2522%252C%2522groups%2522%253A%257B%2522ci%2522%253A%2522github-actions%2522%252C%2522project%2522%253A%2522nix-installer%2522%257D%257D
[ci/test]   💬  ::debug::Nix not at /opt/acttoolcache/node/18.20.7/x64/bin/nix
[ci/test]   💬  ::debug::Nix not at /usr/local/sbin/nix
[ci/test]   💬  ::debug::Nix not at /usr/local/bin/nix
[ci/test]   💬  ::debug::Nix not at /usr/sbin/nix
[ci/test]   💬  ::debug::Nix not at /usr/bin/nix
[ci/test]   💬  ::debug::Nix not at /sbin/nix
[ci/test]   💬  ::debug::Nix not at /bin/nix
[ci/test]   💬  ::debug::Nix not at /usr/games/nix
[ci/test]   💬  ::debug::Nix not at /usr/local/games/nix
[ci/test]   💬  ::debug::Nix not at /snap/bin/nix
[ci/test]   💬  ::debug::Not bothering to detect if the docker shim should be used, as it is typically incompatible with act.
[ci/test]   ❓  ::group::Configuring KVM
[ci/test]   💬  ::debug::tee: /etc/udev/rules.d/99-determinate-nix-installer-kvm.rules: No such file or directory
[ci/test] [command]/usr/bin/rm -f /etc/udev/rules.d/99-determinate-nix-installer-kvm.rules
[ci/test]   ❓  ::endgroup::
[ci/test] KVM is not available.
[ci/test]   ❓  ::group::Installing Nix
[ci/test]   ❓  ::group::Downloading nix-installer for x86_64-linux
[ci/test] Fetching from https://us-east-2.swim.install.determinate.systems/nix-installer/stable/x86_64-linux
[ci/test]   💬  ::debug::Transmuted https://us-east-2.swim.install.determinate.systems/nix-installer/stable/x86_64-linux?ci=github&correlation=%257B%2522correlation_source%2522%253A%2522github-actions%2522%252C%2522groups%2522%253A%257B%2522ci%2522%253A%2522github-actions%2522%252C%2522project%2522%253A%2522nix-installer%2522%257D%257D into https://us-east-2.swim.install.determinate.systems/nix-installer/stable/x86_64-linux?ci=github&correlation=%257B%2522correlation_source%2522%253A%2522github-actions%2522%252C%2522groups%2522%253A%257B%2522ci%2522%253A%2522github-actions%2522%252C%2522project%2522%253A%2522nix-installer%2522%257D%257D
[ci/test]   💬  ::debug::No transmutations on https://nix-installer20230104193028379800000001.s3.dualstack.us-east-2.amazonaws.com/v0.38.1/nix-installer-x86_64-linux
[ci/test]   💬  ::debug::Checking the tool cache for https://us-east-2.swim.install.determinate.systems/nix-installer/stable/x86_64-linux at "7ed961d6141000afe6c47470d2c53f3c-8"
[ci/test]   💬  ::debug::Resolved Keys:
[ci/test]   💬  ::debug::["determinatesystem-nix-installer-x86_64-linux-7ed961d6141000afe6c47470d2c53f3c-8"]
[ci/test]   💬  ::debug::Checking zstd --quiet --version
[ci/test]   💬  ::debug::1.4.8
[ci/test]   💬  ::debug::zstd version: 1.4.8
[ci/test]   💬  ::debug::Resource Url: http://195.201.193.171:43653/_apis/artifactcache/cache?keys=determinatesystem-nix-installer-x86_64-linux-7ed961d6141000afe6c47470d2c53f3c-8&version=6c5f9ca9f7cf659e24742d2eccfdcd2eddf7d2249268e8dbf90401197b95bd28
[ci/test]   ⚙  ***
[ci/test]   💬  ::debug::Cache Result:
[ci/test]   💬  ::debug::{"archiveLocation":"***","cacheKey":"determinatesystem-nix-installer-x86_64-linux-7ed961d6141000afe6c47470d2c53f3c-8","result":"hit"}
[ci/test]   💬  ::debug::Archive Path: /tmp/c35b4cf7-af94-4188-84f7-046bbf9e760f/cache.tzst
[ci/test]   💬  ::debug::Use Azure SDK: false
[ci/test]   💬  ::debug::Download concurrency: 8
[ci/test]   💬  ::debug::Request timeout (ms): 30000
[ci/test]   💬  ::debug::Cache segment download timeout mins env var: undefined
[ci/test]   💬  ::debug::Segment download timeout (ms): 600000
[ci/test]   💬  ::debug::Lookup only: false
[ci/test] Cache Size: ~35 MB (36536838 B)
[ci/test] [command]/usr/bin/tar -xf /tmp/c35b4cf7-af94-4188-84f7-046bbf9e760f/cache.tzst -P -C /tmp/nix-installer-c8506a23-aff3-475f-b761-b7f7056f3820 --use-compress-program unzstd
[ci/test] Cache restored successfully
[ci/test]   💬  ::debug::Tool cache hit.
[ci/test]   ❓  ::endgroup::
[ci/test] Detected `$ACT` environment, assuming this is a https://github.com/nektos/act created container, set `NOT_ACT=true` to override this. This will change the setting of the `init` to be compatible with `act`
[ci/test]   💬  ::debug::Execution environment: {%0A    "NIX_INSTALLER_NO_CONFIRM": "true",%0A    "NIX_INSTALLER_DIAGNOSTIC_ATTRIBUTION": "{\"correlation_source\":\"github-actions\",\"groups\":{\"ci\":\"github-actions\",\"project\":\"nix-installer\"}}",%0A    "NIX_INSTALLER_MODIFY_PROFILE": "true",%0A    "NIX_INSTALLER_DIAGNOSTIC_ENDPOINT": "https://us-east-2.swim.install.determinate.systems/nix-installer/diagnostic",%0A    "NIX_INSTALLER_START_DAEMON": "true",%0A    "NIX_INSTALLER_EXTRA_CONF": "trusted-users = root root\n",%0A    "NIX_INSTALLER_INIT": "none"%0A}
[ci/test] Installing Determinate Nix using the --determinate flag
[ci/test] [command]/tmp/nix-installer-c8506a23-aff3-475f-b761-b7f7056f3820/nix-installer install linux --determinate
[ci/test]  INFO nix-installer v0.38.1
[ci/test]  INFO Step: Create directory `/nix`
[ci/test]  INFO Step: Install Determinate Nixd
[ci/test]  INFO Step: Provision Nix
[ci/test]  INFO Step: Create build users (UID 30001-30032) and group (GID 30000)
[ci/test]  INFO Step: Configure Nix
[ci/test]  INFO Step: Create directory `/etc/tmpfiles.d`
[ci/test]  INFO Step: Configure the Determinate Nix daemon
[ci/test]  INFO Step: Remove directory `/nix/temp-install-dir`
[ci/test] Nix was installed successfully!
[ci/test] To get started using Nix, open a new shell or run `. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh`
[ci/test]
[ci/test]   ❓  ::endgroup::
[ci/test]   💬  ::debug::Added `/usr/local/bin` to `$GITHUB_PATH`
[ci/test]   💬  ::debug::Added `/nix/var/nix/profiles/default/bin` to `$GITHUB_PATH`
[ci/test]   💬  ::debug::Added `/root/.nix-profile/bin` to `$GITHUB_PATH`
[ci/test]   💬  ::debug::Transmuted https://us-east-2.swim.install.determinate.systems/nix-installer/diagnostic into https://us-east-2.swim.install.determinate.systems/nix-installer/diagnostic
[ci/test]   ✅  Success - Main DeterminateSystems/nix-installer-action@main
[ci/test]   ⚙  ::set-env:: DETERMINATE_NIX_KVM=0
[ci/test]   ⚙  ::add-path:: /nix/var/nix/profiles/default/bin
[ci/test]   ⚙  ::add-path:: /usr/local/bin
[ci/test]   ⚙  ::add-path:: /nix/var/nix/profiles/default/bin
[ci/test]   ⚙  ::add-path:: /root/.nix-profile/bin
[ci/test] ⭐ Run Main DeterminateSystems/flakehub-cache-action@main
[ci/test]   🐳  docker cp src=/home/schickling/.cache/act/DeterminateSystems-flakehub-cache-action@main/ dst=/var/run/act/actions/DeterminateSystems-flakehub-cache-action@main/
[ci/test]   🐳  docker exec cmd=[/opt/acttoolcache/node/18.20.7/x64/bin/node /var/run/act/actions/DeterminateSystems-flakehub-cache-action@main/dist/index.js] user= workdir=
[ci/test]   💬  ::debug::idslib options:
[ci/test]   💬  ::debug::{%0A  "name": "flakehub-cache-action",%0A  "idsProjectName": "magic-nix-cache-closure",%0A  "eventPrefix": "action:",%0A  "fetchStyle": "gh-env-style",%0A  "requireNix": "warn",%0A  "binaryNamePrefixes": [%0A    "nix",%0A    "determinate-nixd",%0A    "flakehub-cache-action"%0A  ]%0A}
[ci/test]   💬  ::debug::Environment variable not set: GITHUB_REPOSITORY_OWNER_ID -- can't generate the requested identity
[ci/test]   💬  ::debug::Environment variable not set: GITHUB_REPOSITORY_OWNER_ID -- can't generate the requested identity
[ci/test]   💬  ::debug::Environment variable not set: GITHUB_REPOSITORY_OWNER_ID -- can't generate the requested identity
[ci/test]   💬  ::debug::Environment variable not set: GITHUB_REPOSITORY_OWNER_ID -- can't generate the requested identity
[ci/test]   💬  ::debug::Environment variable not set: GITHUB_REPOSITORY_OWNER_ID -- can't generate the requested identity
[ci/test]   💬  ::debug::Environment variable not set: GITHUB_REPOSITORY_OWNER_ID -- can't generate the requested identity
[ci/test]   💬  ::debug::Correlation data:
[ci/test]   💬  ::debug::{%0A  "correlation_source": "github-actions",%0A  "groups": {%0A    "ci": "github-actions",%0A    "project": "flakehub-cache-action"%0A  }%0A}
[ci/test]   💬  ::debug::Identified release info: {"type":"Linux","platform":"linux","hostname":"dev2","arch":"x64","release":"6.1.35","pretty_name":"Ubuntu 22.04.5 LTS","name":"Ubuntu","version_id":"22.04","version":"22.04.5 LTS (Jammy Jellyfish)","version_codename":"jammy","id":"ubuntu","id_like":"debian","home_url":"https://www.ubuntu.com/","support_url":"https://help.ubuntu.com/","bug_report_url":"https://bugs.launchpad.net/ubuntu/","privacy_policy_url":"https://www.ubuntu.com/legal/terms-and-policies/privacy-policy","ubuntu_codename":"jammy"}
[ci/test]   💬  ::debug::Resolved _detsys_ids._tcp.install.determinate.systems. to [{"name":"fiids.install.determinate.systems","port":443,"priority":1,"weight":10},{"name":"us-east-2.swim.install.determinate.systems","port":443,"priority":1,"weight":30}]
[ci/test]   💬  ::debug::Preflighting via https://fiids.install.determinate.systems/check-in
[ci/test]   💬  ::debug::Transmuted https://fiids.install.determinate.systems/check-in?ci=github&correlation=%257B%2522correlation_source%2522%253A%2522github-actions%2522%252C%2522groups%2522%253A%257B%2522ci%2522%253A%2522github-actions%2522%252C%2522project%2522%253A%2522flakehub-cache-action%2522%257D%257D into https://fiids.install.determinate.systems/check-in?ci=github&correlation=%257B%2522correlation_source%2522%253A%2522github-actions%2522%252C%2522groups%2522%253A%257B%2522ci%2522%253A%2522github-actions%2522%252C%2522project%2522%253A%2522flakehub-cache-action%2522%257D%257D
[ci/test]   💬  ::debug::Found Nix at /root/.nix-profile/bin/nix
[ci/test]   🚧  ::warning::Disabling automatic caching since required environment ACTIONS_RUNTIME_URL isn't available
[ci/test]   🚧  ::warning::Disabling automatic caching since required environment ACTIONS_RUNTIME_TOKEN isn't available
[ci/test]   💬  ::debug::magic-nix-cache not started - Skipping
[ci/test]   💬  ::debug::Transmuted https://fiids.install.determinate.systems/magic-nix-cache-closure/perf into https://fiids.install.determinate.systems/magic-nix-cache-closure/perf
[ci/test]   ✅  Success - Main DeterminateSystems/flakehub-cache-action@main
[ci/test]   ⚙  ::set-env:: MAGIC_NIX_CACHE_DAEMONDIR=/tmp/flakehub-cache-action-68d8cab0-0fdc-48c7-b418-f549fb33392c
[ci/test] ⭐ Run Main HatsuneMiku3939/direnv-action@v1
[ci/test]   🐳  docker cp src=/home/schickling/.cache/act/HatsuneMiku3939-direnv-action@v1/ dst=/var/run/act/actions/HatsuneMiku3939-direnv-action@v1/
[ci/test]   🐳  docker exec cmd=[/opt/acttoolcache/node/18.20.7/x64/bin/node /var/run/act/actions/HatsuneMiku3939-direnv-action@v1/dist/index.js] user= workdir=
[ci/test] installing direnv-2.32.1 on linux-x64
[ci/test]   💬  ::debug::isExplicit: 2.32.1
[ci/test]   💬  ::debug::explicit? true
[ci/test]   💬  ::debug::checking cache: /opt/hostedtoolcache/direnv/2.32.1/x64
[ci/test]   💬  ::debug::Found tool in cache direnv 2.32.1 x64
[ci/test] direnv found in tool-cache
[ci/test] allowing envrc...
[ci/test] [command]/opt/hostedtoolcache/direnv/2.32.1/x64/direnv allow
[ci/test] exporting envrc...
[ci/test] detected PATH in .envrc, appending to PATH...
[ci/test] setting masks:
[ci/test]   ✅  Success - Main HatsuneMiku3939/direnv-action@v1
[ci/test]   ⚙  ::set-env:: COREPACK_INTEGRITY_KEYS=0
[ci/test]   ⚙  ::set-env:: DEV_SSL_CERT=/home/schickling/code/livestore-wip/certs/cert.pem
[ci/test]   ⚙  ::set-env:: DEV_SSL_KEY=/home/schickling/code/livestore-wip/certs/key.pem
[ci/test]   ⚙  ::set-env:: LS_DEV=1
[ci/test]   ⚙  ::set-env:: NIX_SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
[ci/test]   ⚙  ::set-env:: DIRENV_DIR=-/home/schickling/code/livestore-wip
[ci/test]   ⚙  ::set-env:: DIRENV_FILE=/home/schickling/code/livestore-wip/.envrc
[ci/test]   ⚙  ::set-env:: NIX_PROFILES=/nix/var/nix/profiles/default /root/.nix-profile
[ci/test]   ⚙  ::set-env:: VITE_LIVESTORE_SYNC_URL=http://localhost:8787
[ci/test]   ⚙  ::set-env:: XDG_DATA_DIRS=/usr/local/share:/usr/share:/root/.nix-profile/share:/nix/var/nix/profiles/default/share
[ci/test]   ⚙  ::set-env:: VITE_LS_DEV=1
[ci/test]   ⚙  ::set-env:: DIRENV_DIFF=eJzkVF1zokgU_Stb_aw0MH4wVM0DgZ6AICgQjL50EWilFYGiW8dxKv99q9Ek1s5Wyt3XedH-Oudezr3n_gIN0H-BmRHbQAewbjgsasZJzuu6zNKsIDCnLamOUJW-qJICT6OBDtu65lCq6KnftPWalgS-0EqHFT3BY9p2_9cLBnOyTg8lv7w4sBaWdZaWl60Il2b8I1ZV5wQqmqTK0liE-ieK_RuL2H5cdIvL9v1sk-4Ju8VdD1iVNuIVeO2BSuhgBiGaGaaLHT9Gj6ETL7GLlhHQgQx6wEIJjiIPmyiMhVpFvSeQZQXNdiWtNjAT2Zf0SBivW9L_QRuYkZaz7ldqyP6Gw0XL_0SxIz_fGJwQ-Qm2nBDooH8Hwwfmu-OhO6NKpDq22Qd0YcSmjYQSZPKTyZYSnCxjXhwexwdjsArwcCsrUypHU_f8pTBbu9gOJwWbTOPcXaHFztyqButr2lnB1F3PV1vk7qeH1TKdDuWVF_c3zZOz84NA7fPEG40ba12TXG7p00Ar-TbaZ4v6OLFdy5ktqufNQOZLdfryMjo3OPeVk5fmVjWntuXXaxd9n5X5ksyz8c6ICJluw_br6SEtp6tJwwp7oobBdnI6H9T0Ya9sHu2RlYzo1-XQ2SbDHDVkGBVDrVrN1_21NtA0xY6tktkmbg5B9TJQZR9PzjVZPM_SRZj8yMlx4xjGDOPAMj2--fYN9IAXYQslQAcK6AHfecazMBDaC_k-dclfv1vryvDWd-81JDyDjJVvHZb2xYKuaZZywqSs5aD3buvOCHcUXdgP7-v8IFKSOtT_tvofOkru0pmc0n0jvoi1GcxK2s2gHgjNGPtogY3QtDHyjQcPWdcmSpwYYc9JUBQHIcLR0jfxU-gBHRScNzq8JCP01rWxNn5H3DbiIgjdaGaYCIdBcOcAAz3wbD1iy4gNMXG6Br7RsEhbclXtsvy9nNeLTwvavQGvr38HAAD__0OXOfk=
[ci/test]   ⚙  ::set-env:: DIRENV_WATCHES=eJys0D1OxDAQhuG7uA4ZO_5j01Mi0SMKz3hCrHhj5JhsJMTdKZEWkCj2As-88z1_iKfQZjEKmMuZYaM50ZLT-gpUIkNOO2-tVL67pDfoed0riU48ltjSmcWovJHKDIPWnXg40tY2Mbb6zp_dN1xLadDnQiHDNofKEFPldYeQc7kASeeMjRr9xBalMZJpshHJ2ROjJxzu2aBm1gGH6DV6i9Y5IjV5dEpe5Sh58nZQf-f84881HTDlsHC_puOnb420N_JzoeWXPaWRVwdevgIAAP__ODCLtg==
[ci/test]   ⚙  ::set-env:: RCT_NEW_ARCH_ENABLED=1
[ci/test]   ⚙  ::set-env:: WORKSPACE_ROOT=/home/schickling/code/livestore-wip
[ci/test]   ⚙  ::add-path:: /opt/hostedtoolcache/direnv/2.32.1/x64
[ci/test]   ⚙  ::add-path:: /bin:/home/schickling/code/livestore-wip/node_modules/.bin:/root/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/opt/hostedtoolcache/direnv/2.32.1/x64:/root/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/usr/local/bin:/opt/acttoolcache/node/18.20.7/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/schickling/code/livestore-wip/examples/src/cli/bin
[ci/test] ⭐ Run Main pnpm install
[ci/test]   🐳  docker exec cmd=[bash -e /var/run/act/workflow/4] user= workdir=
[ci/test] /var/run/act/workflow/4: line 2: pnpm: command not found
[ci/test]   ❌  Failure - Main pnpm install
[ci/test] exitcode '127': command not found, please refer to https://github.com/nektos/act/issues/107 for more information
[ci/test] Skipping step 'pnpm build:ts' due to ''
[ci/test] Skipping step 'pnpm --filter '!@livestore/webmesh' --filter '!@livestore/utils' --parallel run test' due to ''
[ci/test] Skipping step 'pnpm --filter '@livestore/webmesh' run test' due to ''
[ci/test] Skipping step 'pnpm --filter '@livestore/utils' run test' due to ''
[ci/test] ⭐ Run Main actions/upload-artifact@v4
[ci/test]   🐳  docker cp src=/home/schickling/.cache/act/actions-upload-artifact@v4/ dst=/var/run/act/actions/actions-upload-artifact@v4/
[ci/test]   🐳  docker exec cmd=[/opt/acttoolcache/node/18.20.7/x64/bin/node /var/run/act/actions/actions-upload-artifact@v4/dist/upload/index.js] user= workdir=
[ci/test]   💬  ::debug::followSymbolicLinks 'true'
[ci/test]   💬  ::debug::implicitDescendants 'true'
[ci/test]   💬  ::debug::omitBrokenSymbolicLinks 'true'
[ci/test]   💬  ::debug::excludeHiddenFiles 'true'
[ci/test]   💬  ::debug::followSymbolicLinks 'true'
[ci/test]   💬  ::debug::implicitDescendants 'true'
[ci/test]   💬  ::debug::matchDirectories 'true'
[ci/test]   💬  ::debug::omitBrokenSymbolicLinks 'true'
[ci/test]   💬  ::debug::excludeHiddenFiles 'true'
[ci/test]   💬  ::debug::Search path '/home/schickling/code/livestore-wip/tests/integration/playwright-report'
[ci/test]   🚧  ::warning::No files were found with the provided path: tests/integration/playwright-report/. No artifacts will be uploaded.
[ci/test]   ✅  Success - Main actions/upload-artifact@v4
[ci/test] ⭐ Run Main Upload trace
[ci/test]   🐳  docker exec cmd=[bash -e /var/run/act/workflow/10] user= workdir=
[ci/test] /var/run/act/workflow/10: line 2: pnpm: command not found
[ci/test]   ❌  Failure - Main Upload trace
[ci/test] exitcode '127': command not found, please refer to https://github.com/nektos/act/issues/107 for more information
[ci/test] ⭐ Run Post DeterminateSystems/flakehub-cache-action@main
[ci/test]   🐳  docker exec cmd=[/opt/acttoolcache/node/18.20.7/x64/bin/node /var/run/act/actions/DeterminateSystems-flakehub-cache-action@main/dist/index.js] user= workdir=
[ci/test]   💬  ::debug::idslib options:
[ci/test]   💬  ::debug::{%0A  "name": "flakehub-cache-action",%0A  "idsProjectName": "magic-nix-cache-closure",%0A  "eventPrefix": "action:",%0A  "fetchStyle": "gh-env-style",%0A  "requireNix": "warn",%0A  "binaryNamePrefixes": [%0A    "nix",%0A    "determinate-nixd",%0A    "flakehub-cache-action"%0A  ]%0A}
[ci/test]   💬  ::debug::Environment variable not set: GITHUB_REPOSITORY_OWNER_ID -- can't generate the requested identity
[ci/test]   💬  ::debug::Environment variable not set: GITHUB_REPOSITORY_OWNER_ID -- can't generate the requested identity
[ci/test]   💬  ::debug::Environment variable not set: GITHUB_REPOSITORY_OWNER_ID -- can't generate the requested identity
[ci/test]   💬  ::debug::Environment variable not set: GITHUB_REPOSITORY_OWNER_ID -- can't generate the requested identity
[ci/test]   💬  ::debug::Environment variable not set: GITHUB_REPOSITORY_OWNER_ID -- can't generate the requested identity
[ci/test]   💬  ::debug::Environment variable not set: GITHUB_REPOSITORY_OWNER_ID -- can't generate the requested identity
[ci/test]   💬  ::debug::Correlation data:
[ci/test]   💬  ::debug::{%0A  "correlation_source": "github-actions",%0A  "groups": {%0A    "ci": "github-actions",%0A    "project": "flakehub-cache-action"%0A  }%0A}
[ci/test]   💬  ::debug::Identified release info: {"type":"Linux","platform":"linux","hostname":"dev2","arch":"x64","release":"6.1.35","pretty_name":"Ubuntu 22.04.5 LTS","name":"Ubuntu","version_id":"22.04","version":"22.04.5 LTS (Jammy Jellyfish)","version_codename":"jammy","id":"ubuntu","id_like":"debian","home_url":"https://www.ubuntu.com/","support_url":"https://help.ubuntu.com/","bug_report_url":"https://bugs.launchpad.net/ubuntu/","privacy_policy_url":"https://www.ubuntu.com/legal/terms-and-policies/privacy-policy","ubuntu_codename":"jammy"}
[ci/test]   💬  ::debug::Resolved _detsys_ids._tcp.install.determinate.systems. to [{"name":"us-east-2.swim.install.determinate.systems","port":443,"priority":1,"weight":30},{"name":"fiids.install.determinate.systems","port":443,"priority":1,"weight":10}]
[ci/test]   💬  ::debug::Preflighting via https://us-east-2.swim.install.determinate.systems/check-in
[ci/test]   💬  ::debug::Transmuted https://us-east-2.swim.install.determinate.systems/check-in?ci=github&correlation=%257B%2522correlation_source%2522%253A%2522github-actions%2522%252C%2522groups%2522%253A%257B%2522ci%2522%253A%2522github-actions%2522%252C%2522project%2522%253A%2522flakehub-cache-action%2522%257D%257D into https://us-east-2.swim.install.determinate.systems/check-in?ci=github&correlation=%257B%2522correlation_source%2522%253A%2522github-actions%2522%252C%2522groups%2522%253A%257B%2522ci%2522%253A%2522github-actions%2522%252C%2522project%2522%253A%2522flakehub-cache-action%2522%257D%257D
[ci/test]   💬  ::debug::Nix not at /bin/nix
[ci/test]   💬  ::debug::Nix not at /home/schickling/code/livestore-wip/node_modules/.bin/nix
[ci/test]   💬  ::debug::Found Nix at /root/.nix-profile/bin/nix
[ci/test]   💬  ::debug::magic-nix-cache not started - Skipping
[ci/test]   💬  ::debug::Transmuted https://us-east-2.swim.install.determinate.systems/magic-nix-cache-closure/perf into https://us-east-2.swim.install.determinate.systems/magic-nix-cache-closure/perf
[ci/test]   ✅  Success - Post DeterminateSystems/flakehub-cache-action@main
[ci/test] ⭐ Run Post DeterminateSystems/nix-installer-action@main
[ci/test]   🐳  docker exec cmd=[/opt/acttoolcache/node/18.20.7/x64/bin/node /var/run/act/actions/DeterminateSystems-nix-installer-action@main/dist/index.js] user= workdir=
[ci/test]   💬  ::debug::idslib options:
[ci/test]   💬  ::debug::{%0A  "name": "nix-installer",%0A  "idsProjectName": "nix-installer",%0A  "eventPrefix": "action:",%0A  "fetchStyle": "nix-style",%0A  "legacySourcePrefix": "nix-installer",%0A  "requireNix": "ignore",%0A  "binaryNamePrefixes": [%0A    "nix",%0A    "determinate-nixd",%0A    "nix-installer"%0A  ]%0A}
[ci/test]   💬  ::debug::Environment variable not set: GITHUB_REPOSITORY_OWNER_ID -- can't generate the requested identity
[ci/test]   💬  ::debug::Environment variable not set: GITHUB_REPOSITORY_OWNER_ID -- can't generate the requested identity
[ci/test]   💬  ::debug::Environment variable not set: GITHUB_REPOSITORY_OWNER_ID -- can't generate the requested identity
[ci/test]   💬  ::debug::Environment variable not set: GITHUB_REPOSITORY_OWNER_ID -- can't generate the requested identity
[ci/test]   💬  ::debug::Environment variable not set: GITHUB_REPOSITORY_OWNER_ID -- can't generate the requested identity
[ci/test]   💬  ::debug::Environment variable not set: GITHUB_REPOSITORY_OWNER_ID -- can't generate the requested identity
[ci/test]   💬  ::debug::Correlation data:
[ci/test]   💬  ::debug::{%0A  "correlation_source": "github-actions",%0A  "groups": {%0A    "ci": "github-actions",%0A    "project": "nix-installer"%0A  }%0A}
[ci/test]   💬  ::debug::Identified release info: {"type":"Linux","platform":"linux","hostname":"dev2","arch":"x64","release":"6.1.35","pretty_name":"Ubuntu 22.04.5 LTS","name":"Ubuntu","version_id":"22.04","version":"22.04.5 LTS (Jammy Jellyfish)","version_codename":"jammy","id":"ubuntu","id_like":"debian","home_url":"https://www.ubuntu.com/","support_url":"https://help.ubuntu.com/","bug_report_url":"https://bugs.launchpad.net/ubuntu/","privacy_policy_url":"https://www.ubuntu.com/legal/terms-and-policies/privacy-policy","ubuntu_codename":"jammy"}
[ci/test]   💬  ::debug::Resolved _detsys_ids._tcp.install.determinate.systems. to [{"name":"us-east-2.swim.install.determinate.systems","port":443,"priority":1,"weight":30},{"name":"fiids.install.determinate.systems","port":443,"priority":1,"weight":10}]
[ci/test]   💬  ::debug::Preflighting via https://fiids.install.determinate.systems/check-in
[ci/test]   💬  ::debug::Transmuted https://fiids.install.determinate.systems/check-in?ci=github&correlation=%257B%2522correlation_source%2522%253A%2522github-actions%2522%252C%2522groups%2522%253A%257B%2522ci%2522%253A%2522github-actions%2522%252C%2522project%2522%253A%2522nix-installer%2522%257D%257D into https://fiids.install.determinate.systems/check-in?ci=github&correlation=%257B%2522correlation_source%2522%253A%2522github-actions%2522%252C%2522groups%2522%253A%257B%2522ci%2522%253A%2522github-actions%2522%252C%2522project%2522%253A%2522nix-installer%2522%257D%257D
[ci/test]   💬  ::debug::Nix not at /bin/nix
[ci/test]   💬  ::debug::Nix not at /home/schickling/code/livestore-wip/node_modules/.bin/nix
[ci/test]   💬  ::debug::Found Nix at /root/.nix-profile/bin/nix
[ci/test]   💬  ::debug::Transmuted https://fiids.install.determinate.systems/nix-installer/diagnostic into https://fiids.install.determinate.systems/nix-installer/diagnostic
[ci/test]   ✅  Success - Post DeterminateSystems/nix-installer-action@main
[ci/test] 🏁  Job failed
Error: Job 'test' failed

ci/test #2 exited with exit code 1.

 *  The terminal process terminated with exit code: 1. 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants