Created
October 15, 2021 21:52
-
-
Save dhess/1344497ff8ad3cf9e43af26bb7e3a2ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2021-10-15T21:51:51.4511916Z Found online and idle self-hosted runner in the current repository that matches the required labels: 'self-hosted , linux , ec2' | |
2021-10-15T21:51:51.4726535Z Waiting for the runner to pick up this job... | |
2021-10-15T21:51:51.9876490Z Job is about to start running on the runner: i-02d5b59baba1afa58 (repository) | |
2021-10-15T21:51:58.5613253Z Current runner version: '2.283.3' | |
2021-10-15T21:51:58.5618443Z Runner name: 'i-02d5b59baba1afa58' | |
2021-10-15T21:51:58.5619393Z Runner group name: 'Default' | |
2021-10-15T21:51:58.5621333Z Machine name: 'ip-10-0-8-73' | |
2021-10-15T21:51:58.5625997Z ##[group]GITHUB_TOKEN Permissions | |
2021-10-15T21:51:58.5627657Z Actions: write | |
2021-10-15T21:51:58.5628315Z Checks: write | |
2021-10-15T21:51:58.5628987Z Contents: write | |
2021-10-15T21:51:58.5629687Z Deployments: write | |
2021-10-15T21:51:58.5630437Z Discussions: write | |
2021-10-15T21:51:58.5631141Z Issues: write | |
2021-10-15T21:51:58.5631775Z Metadata: read | |
2021-10-15T21:51:58.5632453Z Packages: write | |
2021-10-15T21:51:58.5633113Z Pages: write | |
2021-10-15T21:51:58.5633812Z PullRequests: write | |
2021-10-15T21:51:58.5634609Z RepositoryProjects: write | |
2021-10-15T21:51:58.5635466Z SecurityEvents: write | |
2021-10-15T21:51:58.5636172Z Statuses: write | |
2021-10-15T21:51:58.5636998Z ##[endgroup] | |
2021-10-15T21:51:58.5640703Z Prepare workflow directory | |
2021-10-15T21:51:58.6479295Z Prepare all required actions | |
2021-10-15T21:51:58.6491863Z Getting action download info | |
2021-10-15T21:51:58.9455616Z Download action repository 'actions/checkout@v2.3.4' (SHA:5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f) | |
2021-10-15T21:51:59.5532098Z Download action repository 'cachix/install-nix-action@712fbc2bf94f397a90c5cf7ef2e4e5f159fbebab' (SHA:712fbc2bf94f397a90c5cf7ef2e4e5f159fbebab) | |
2021-10-15T21:52:00.2529146Z ##[group]Run actions/checkout@v2.3.4 | |
2021-10-15T21:52:00.2530073Z with: | |
2021-10-15T21:52:00.2530622Z fetch-depth: 0 | |
2021-10-15T21:52:00.2531410Z repository: hackworthltd/scratchpad | |
2021-10-15T21:52:00.2532690Z token: *** | |
2021-10-15T21:52:00.2533324Z ssh-strict: true | |
2021-10-15T21:52:00.2534073Z persist-credentials: true | |
2021-10-15T21:52:00.2534753Z clean: true | |
2021-10-15T21:52:00.2535303Z lfs: false | |
2021-10-15T21:52:00.2535869Z submodules: false | |
2021-10-15T21:52:00.2536509Z ##[endgroup] | |
2021-10-15T21:52:01.1224806Z Syncing repository: hackworthltd/scratchpad | |
2021-10-15T21:52:01.1297961Z ##[group]Getting Git version info | |
2021-10-15T21:52:01.1300668Z Working directory is '/home/ec2-user/actions-runner/_work/scratchpad/scratchpad' | |
2021-10-15T21:52:01.1303519Z [command]/usr/bin/git version | |
2021-10-15T21:52:01.1304598Z git version 2.32.0 | |
2021-10-15T21:52:01.1308087Z ##[endgroup] | |
2021-10-15T21:52:01.1309685Z [command]/usr/bin/git config --local --get remote.origin.url | |
2021-10-15T21:52:01.1311470Z https://github.com/hackworthltd/scratchpad | |
2021-10-15T21:52:01.1313942Z ##[group]Removing previously created refs, to avoid conflicts | |
2021-10-15T21:52:01.1315916Z [command]/usr/bin/git rev-parse --symbolic-full-name --verify --quiet HEAD | |
2021-10-15T21:52:01.1317824Z refs/heads/dhess/fix-install-nix-action | |
2021-10-15T21:52:01.1319546Z [command]/usr/bin/git checkout --detach | |
2021-10-15T21:52:01.1321206Z HEAD is now at b9dba3e Test new install-nix-action. | |
2021-10-15T21:52:01.1323056Z [command]/usr/bin/git rev-parse --symbolic-full-name --branches | |
2021-10-15T21:52:01.1325056Z refs/heads/dhess/fix-install-nix-action | |
2021-10-15T21:52:01.1344440Z [command]/usr/bin/git branch --delete --force dhess/fix-install-nix-action | |
2021-10-15T21:52:01.1346560Z Deleted branch dhess/fix-install-nix-action (was b9dba3e). | |
2021-10-15T21:52:01.1348549Z [command]/usr/bin/git rev-parse --symbolic-full-name --remotes=origin | |
2021-10-15T21:52:01.1350543Z refs/remotes/origin/chore/update-nix-dependencies | |
2021-10-15T21:52:01.1352456Z refs/remotes/origin/dhess/fix-install-nix-action | |
2021-10-15T21:52:01.1353866Z refs/remotes/origin/main | |
2021-10-15T21:52:01.1355048Z refs/remotes/origin/staging | |
2021-10-15T21:52:01.1356245Z refs/remotes/origin/trying | |
2021-10-15T21:52:01.1358104Z ##[endgroup] | |
2021-10-15T21:52:01.1360073Z ##[group]Cleaning the repository | |
2021-10-15T21:52:01.1361555Z [command]/usr/bin/git clean -ffdx | |
2021-10-15T21:52:01.1362690Z Removing result | |
2021-10-15T21:52:01.1364159Z [command]/usr/bin/git reset --hard HEAD | |
2021-10-15T21:52:01.1365840Z HEAD is now at b9dba3e Test new install-nix-action. | |
2021-10-15T21:52:01.1367831Z ##[endgroup] | |
2021-10-15T21:52:01.1373445Z ##[group]Disabling automatic garbage collection | |
2021-10-15T21:52:01.1375110Z [command]/usr/bin/git config --local gc.auto 0 | |
2021-10-15T21:52:01.1376968Z ##[endgroup] | |
2021-10-15T21:52:01.1382138Z ##[group]Setting up auth | |
2021-10-15T21:52:01.1383907Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand | |
2021-10-15T21:52:01.1386527Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || : | |
2021-10-15T21:52:01.1389142Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader | |
2021-10-15T21:52:01.1392406Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || : | |
2021-10-15T21:52:01.1395580Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic *** | |
2021-10-15T21:52:01.1397923Z ##[endgroup] | |
2021-10-15T21:52:01.1399793Z ##[group]Fetching the repository | |
2021-10-15T21:52:01.1402200Z [command]/usr/bin/git -c protocol.version=2 fetch --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/* | |
2021-10-15T21:52:01.1404893Z [command]/usr/bin/git branch --list --remote origin/dhess/fix-install-nix-action | |
2021-10-15T21:52:01.1406897Z origin/dhess/fix-install-nix-action | |
2021-10-15T21:52:01.1408891Z [command]/usr/bin/git rev-parse refs/remotes/origin/dhess/fix-install-nix-action | |
2021-10-15T21:52:01.1410670Z b9dba3e0e2ec48ddf72d700809f44bff2e539a33 | |
2021-10-15T21:52:01.1412734Z ##[endgroup] | |
2021-10-15T21:52:01.1414597Z ##[group]Determining the checkout info | |
2021-10-15T21:52:01.1416439Z ##[endgroup] | |
2021-10-15T21:52:01.1418230Z ##[group]Checking out the ref | |
2021-10-15T21:52:01.1420802Z [command]/usr/bin/git checkout --progress --force -B dhess/fix-install-nix-action refs/remotes/origin/dhess/fix-install-nix-action | |
2021-10-15T21:52:01.1442054Z Switched to a new branch 'dhess/fix-install-nix-action' | |
2021-10-15T21:52:01.1444560Z Branch 'dhess/fix-install-nix-action' set up to track remote branch 'dhess/fix-install-nix-action' from 'origin'. | |
2021-10-15T21:52:01.1447198Z ##[endgroup] | |
2021-10-15T21:52:01.1448652Z [command]/usr/bin/git log -1 --format='%H' | |
2021-10-15T21:52:01.1450418Z 'b9dba3e0e2ec48ddf72d700809f44bff2e539a33' | |
2021-10-15T21:52:01.1551158Z ##[group]Run cachix/install-nix-action@712fbc2bf94f397a90c5cf7ef2e4e5f159fbebab | |
2021-10-15T21:52:01.1552229Z with: | |
2021-10-15T21:52:01.1553831Z install_url: https://nixos-nix-install-tests.cachix.org/serve/i6laym9jw3wg9mw6ncyrk6gjx4l34vvx/install | |
2021-10-15T21:52:01.1556353Z install_options: --tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve | |
2021-10-15T21:52:01.1561350Z extra_nix_config: experimental-features = nix-command flakes ca-references | |
substituters = https://cache.nixos.org?priority=10 s3://hackworth-nix-cache?region=eu-west-1&priority=20 https://hydra.iohk.io?priority=30 | |
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.hackworth-corp.com-1:uLc3Th8lJtfvFAFLqdzRZWEwIk98gAitd5XrDr3Q8SY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= | |
2021-10-15T21:52:01.1565536Z ##[endgroup] | |
2021-10-15T21:52:02.1557854Z % Total % Received % Xferd Average Speed Time Time Time Current | |
2021-10-15T21:52:02.1563285Z installer options: --tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve --no-channel-add --darwin-use-unencrypted-nix-store-volume --nix-extra-conf-file /tmp/nix.conf --daemon --daemon-user-count 4 | |
2021-10-15T21:52:02.1638067Z Dload Upload Total Spent Left Speed | |
2021-10-15T21:52:02.1643167Z downloading Nix 2.4pre19700101_323e545 binary tarball for x86_64-linux from 'https://nixos-nix-install-tests.cachix.org/serve/8d9layafw9rw0rz35mv11smnmb6rm428/nix-2.4pre19700101_323e545-x86_64-linux.tar.xz' to '/tmp/nix-binary-tarball-unpack.jbeCw5pvPN'... | |
2021-10-15T21:52:02.1661683Z | |
2021-10-15T21:52:02.1663421Z 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
2021-10-15T21:52:02.1709339Z 100 3286 0 3286 0 0 110k 0 --:--:-- --:--:-- --:--:-- 110k | |
2021-10-15T21:52:02.1710510Z % Total % Received % Xferd Average Speed Time Time Time Current | |
2021-10-15T21:52:02.1711597Z Dload Upload Total Spent Left Speed | |
2021-10-15T21:52:02.1712163Z | |
2021-10-15T21:52:02.1712993Z 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
2021-10-15T21:52:02.1713937Z 100 27.1M 0 27.1M 0 0 231M 0 --:--:-- --:--:-- --:--:-- 231M | |
2021-10-15T21:52:04.8110364Z Note: a multi-user installation is possible. See https://nixos.org/nix/manual/#sect-multi-user-installation | |
2021-10-15T21:52:04.8127454Z Warning: the flag --darwin-use-unencrypted-nix-store-volume | |
2021-10-15T21:52:04.8131827Z is no longer needed and will be removed in the future. | |
2021-10-15T21:52:04.8135110Z | |
2021-10-15T21:52:04.8170815Z [1;31mSwitching to the Multi-user Installer[0m | |
2021-10-15T21:52:04.8238331Z [32mWelcome to the Multi-User Nix Installation | |
2021-10-15T21:52:04.8250152Z [0m | |
2021-10-15T21:52:04.8253284Z This installation tool will set up your computer with the Nix package | |
2021-10-15T21:52:04.8256781Z manager. This will happen in a few stages: | |
2021-10-15T21:52:04.8259413Z | |
2021-10-15T21:52:04.8264075Z 1. Make sure your computer doesn't already have Nix. If it does, I | |
2021-10-15T21:52:04.8267052Z will show you instructions on how to clean up your old install. | |
2021-10-15T21:52:04.8269486Z | |
2021-10-15T21:52:04.8271914Z 2. Show you what we are going to install and where. Then we will ask | |
2021-10-15T21:52:04.8275733Z if you are ready to continue. | |
2021-10-15T21:52:04.8282895Z | |
2021-10-15T21:52:04.8284252Z 3. Create the system users and groups that the Nix daemon uses to run | |
2021-10-15T21:52:04.8286253Z builds. | |
2021-10-15T21:52:04.8287085Z | |
2021-10-15T21:52:04.8288365Z 4. Perform the basic installation of the Nix files daemon. | |
2021-10-15T21:52:04.8289481Z | |
2021-10-15T21:52:04.8290815Z 5. Configure your shell to import special Nix Profile files, so you | |
2021-10-15T21:52:04.8292201Z can use Nix. | |
2021-10-15T21:52:04.8292785Z | |
2021-10-15T21:52:04.8293697Z 6. Start the Nix daemon. | |
2021-10-15T21:52:04.8294461Z | |
2021-10-15T21:52:04.8347659Z [32m[4;32mWould you like to see a more detailed list of what we will do? | |
2021-10-15T21:52:04.8353386Z [0mNo TTY, assuming you would say yes :) | |
2021-10-15T21:52:04.8365945Z | |
2021-10-15T21:52:04.8367471Z We will: | |
2021-10-15T21:52:04.8368735Z | |
2021-10-15T21:52:04.8371124Z - make sure your computer doesn't already have Nix files | |
2021-10-15T21:52:04.8373368Z (if it does, I will tell you how to clean them up.) | |
2021-10-15T21:52:04.8375850Z - create local users (see the list above for the users we'll make) | |
2021-10-15T21:52:04.8378329Z - create a local group (nixbld) | |
2021-10-15T21:52:04.8380825Z - install Nix in to /nix | |
2021-10-15T21:52:04.8383003Z - create a configuration file in /etc/nix | |
2021-10-15T21:52:04.8385859Z - set up the "default profile" by creating some Nix-related files in | |
2021-10-15T21:52:04.8387624Z /root | |
2021-10-15T21:52:04.8401828Z - back up /etc/bashrc to /etc/bashrc.backup-before-nix | |
2021-10-15T21:52:04.8404597Z - update /etc/bashrc to include some Nix configuration | |
2021-10-15T21:52:04.8419224Z - back up /etc/profile.d/nix.sh to /etc/profile.d/nix.sh.backup-before-nix | |
2021-10-15T21:52:04.8422347Z - update /etc/profile.d/nix.sh to include some Nix configuration | |
2021-10-15T21:52:04.8435685Z - back up /etc/zshenv to /etc/zshenv.backup-before-nix | |
2021-10-15T21:52:04.8438238Z - update /etc/zshenv to include some Nix configuration | |
2021-10-15T21:52:04.8451252Z - back up /etc/bash.bashrc to /etc/bash.bashrc.backup-before-nix | |
2021-10-15T21:52:04.8454108Z - update /etc/bash.bashrc to include some Nix configuration | |
2021-10-15T21:52:04.8467907Z - load and start a service (at /etc/systemd/system/nix-daemon.service | |
2021-10-15T21:52:04.8471403Z and /etc/systemd/system/nix-daemon.socket) for nix-daemon | |
2021-10-15T21:52:04.8473051Z | |
2021-10-15T21:52:04.8480248Z [32m[4;32mReady to continue? | |
2021-10-15T21:52:04.8482141Z [0mNo TTY, assuming you would say yes :) | |
2021-10-15T21:52:04.8503705Z | |
2021-10-15T21:52:04.8506110Z [34m---- let's talk about sudo ----------------------------------------------------- | |
2021-10-15T21:52:04.8518126Z [0mThis script is going to call sudo a lot. Normally, it would show you | |
2021-10-15T21:52:04.8520407Z exactly what commands it is running and why. However, the script is | |
2021-10-15T21:52:04.8522354Z run in a headless fashion, like this: | |
2021-10-15T21:52:04.8523536Z | |
2021-10-15T21:52:04.8525541Z $ curl -L https://nixos.org/nix/install | sh | |
2021-10-15T21:52:04.8526988Z | |
2021-10-15T21:52:04.8528905Z or maybe in a CI pipeline. Because of that, we're going to skip the | |
2021-10-15T21:52:04.8531006Z verbose output in the interest of brevity. | |
2021-10-15T21:52:04.8532409Z | |
2021-10-15T21:52:04.8533565Z If you would like to | |
2021-10-15T21:52:04.8535109Z see the output, try like this: | |
2021-10-15T21:52:04.8536567Z | |
2021-10-15T21:52:04.8538598Z $ curl -L -o install-nix https://nixos.org/nix/install | |
2021-10-15T21:52:04.8541845Z $ sh ./install-nix | |
2021-10-15T21:52:04.8542499Z | |
2021-10-15T21:52:04.8568917Z | |
2021-10-15T21:52:04.8571400Z [34m---- oh no! -------------------------------------------------------------------- | |
2021-10-15T21:52:04.8579954Z [0m[31mWhen this script runs, it backs up the current /etc/bashrc to | |
2021-10-15T21:52:04.8585004Z /etc/bashrc.backup-before-nix. This backup file already exists, though. | |
2021-10-15T21:52:04.8586284Z | |
2021-10-15T21:52:04.8587425Z Please follow these instructions to clean up the old backup file: | |
2021-10-15T21:52:04.8588445Z | |
2021-10-15T21:52:04.8590244Z 1. Copy /etc/bashrc and /etc/bashrc.backup-before-nix to another place, just | |
2021-10-15T21:52:04.8591601Z in case. | |
2021-10-15T21:52:04.8592123Z | |
2021-10-15T21:52:04.8593845Z 2. Take care to make sure that /etc/bashrc.backup-before-nix doesn't look like | |
2021-10-15T21:52:04.8596297Z it has anything nix-related in it. If it does, something is probably | |
2021-10-15T21:52:04.8598176Z quite wrong. Please open an issue or get in touch immediately. | |
2021-10-15T21:52:04.8604899Z [0m | |
2021-10-15T21:52:04.8615984Z [31mWe'd love to help if you need it. | |
2021-10-15T21:52:04.8617205Z | |
2021-10-15T21:52:04.8619230Z You can open an issue at https://github.com/nixos/nix/issues | |
2021-10-15T21:52:04.8621073Z | |
2021-10-15T21:52:04.8622563Z Or feel free to contact the team: | |
2021-10-15T21:52:04.8624520Z - Matrix: #nix:nixos.org | |
2021-10-15T21:52:04.8626476Z - IRC: in #nixos on irc.libera.chat | |
2021-10-15T21:52:04.8628408Z - twitter: @nixos_org | |
2021-10-15T21:52:04.8630577Z - forum: https://discourse.nixos.org | |
2021-10-15T21:52:04.9518094Z child_process.js:642 | |
2021-10-15T21:52:04.9519084Z throw err; | |
2021-10-15T21:52:04.9519770Z ^ | |
2021-10-15T21:52:04.9520172Z | |
2021-10-15T21:52:04.9522960Z Error: Command failed: /home/ec2-user/actions-runner/_work/_actions/cachix/install-nix-action/712fbc2bf94f397a90c5cf7ef2e4e5f159fbebab/lib/install-nix.sh | |
2021-10-15T21:52:04.9526682Z at checkExecSyncError (child_process.js:621:11) | |
2021-10-15T21:52:04.9528216Z at Object.execFileSync (child_process.js:639:15) | |
2021-10-15T21:52:04.9531807Z at Object.<anonymous> (/home/ec2-user/actions-runner/_work/_actions/cachix/install-nix-action/712fbc2bf94f397a90c5cf7ef2e4e5f159fbebab/lib/main.js:4:17) | |
2021-10-15T21:52:04.9534686Z at Module._compile (internal/modules/cjs/loader.js:959:30) | |
2021-10-15T21:52:04.9536450Z at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10) | |
2021-10-15T21:52:04.9538132Z at Module.load (internal/modules/cjs/loader.js:815:32) | |
2021-10-15T21:52:04.9549774Z at Function.Module._load (internal/modules/cjs/loader.js:727:14) | |
2021-10-15T21:52:04.9551742Z at Function.Module.runMain (internal/modules/cjs/loader.js:1047:10) | |
2021-10-15T21:52:04.9553329Z at internal/main/run_main_module.js:17:11 { | |
2021-10-15T21:52:04.9554607Z status: 1, | |
2021-10-15T21:52:04.9555375Z signal: null, | |
2021-10-15T21:52:04.9556195Z output: [ null, null, null ], | |
2021-10-15T21:52:04.9557030Z pid: 8950, | |
2021-10-15T21:52:04.9557713Z stdout: null, | |
2021-10-15T21:52:04.9558566Z stderr: null | |
2021-10-15T21:52:04.9559221Z } | |
2021-10-15T21:52:04.9560384Z [0m | |
2021-10-15T21:52:04.9686323Z Post job cleanup. | |
2021-10-15T21:52:05.0892830Z [command]/usr/bin/git version | |
2021-10-15T21:52:05.0962080Z git version 2.32.0 | |
2021-10-15T21:52:05.1010630Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand | |
2021-10-15T21:52:05.1043589Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || : | |
2021-10-15T21:52:05.1322064Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader | |
2021-10-15T21:52:05.1343923Z http.https://github.com/.extraheader | |
2021-10-15T21:52:05.1349192Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader | |
2021-10-15T21:52:05.1379367Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || : | |
2021-10-15T21:52:05.1798971Z Cleaning up orphan processes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment