:haskell:

Continuous integration for cardano-wallet

fix overlay probably from iohkNix update

Passed in 1h 19m and blocked
:buildkite: Upload steps
Check Nix (linux)
Dev Shell Attic Cache (linux)
Check Nix (macOS)
Dev Shell Attic Cache (macos)
:buildkite: Upload stepsbuildkite-agent pipeline upload .buildkite/pipeline.yml
Waited 1s
·
Ran in 3s
Check Nix (linux)nix --version && nix/regenerate.sh
Waited 5s
·
Ran in 6s
Dev Shell Attic Cache (linux)nix develop path:./scripts/buildkite/main -c ./scripts/buildkite/main/attic-cache.sh
Waited 1s
·
Ran in 44s
Check Nix (macOS)nix --version && nix flake info
Waited 3s
·
Ran in 2s
Dev Shell Attic Cache (macos)nix develop path:./scripts/buildkite/main -c ./scripts/buildkite/main/attic-cache.sh
Waited 11s
·
Ran in 24s
Nix build (linux)nix build -L .#cardano-wallet
Waited 2s
·
Ran in 14s
Nix evaluate shell (linux)nix shell -L .#cardano-node .#cardano-cli .#cardano-wallet --command cardano-wallet version
Waited 4s
·
Ran in 19s
Build package (linux)./scripts/buildkite/main/linux-package.sh
Waited 9s
·
Ran in 1h 0m
Run Local Cluster Tests (linux)mkdir local-cluster-logs && nix shell "nixpkgs#just" -c just test-local-cluster
Waited 9s
·
Ran in 3m 44s
Run Unit Tests (linux)nix build -L .#ci.x86_64-linux.tests.run.unit
Waited 4s
·
Ran in 17m 58s
Conway Integration Tests (linux)mkdir integration-test-dir && export CLUSTER_LOGS_DIR_PATH=integration-test-dir/cluster.logs && export INTEGRATION_TEST_DIR=integration-test-dir && export TEST_CONCURRENCY=$(buildkite-agent meta-data get "test-concurrency" --default 6) && nix shell 'nixpkgs#just' -c just conway-integration-tests $TEST_CONCURRENCY
Waited 1s
·
Ran in 18m 55s
Run Linux E2E Tests (linux)nix shell 'nixpkgs#just' -c just e2e
Preview Network Boot Synccd run/preview/nix && rm -rf logs && mkdir -p logs && rm -rf databases && ./run.sh sync 600
Waited 12s
·
Ran in 45s
Mainnet Boot Synccd run/mainnet/nix && rm -rf logs && mkdir -p logs && rm -rf databases && ./run.sh sync 600
Waited 4s
·
Ran in 49s
Mainnet Boot Sync with Mithrilcd run/mainnet/nix && rm -rf logs && mkdir -p logs && rm -rf databases && ./snapshot.sh && ./run.sh sync 7200
Check Cabal Configurenix develop --command scripts/buildkite/check-haskell-nix-cabal.sh
Waited 8s
·
Ran in 54s
Check Code Formatnix develop --command scripts/buildkite/main/check-code-format.sh
Waited 1s
·
Ran in 59m 47s
Check HLintnix develop --command bash -c "echo +++ HLint ; hlint lib"
Waited 7s
·
Ran in 5m 16s
Validate Swagger Filenix develop path:./scripts/buildkite/main -c ./scripts/buildkite/main/validate-swagger.sh
Waited 10s
·
Ran in 8s
Print TODO Listnix develop --command scripts/todo-list.sh
Waited 3s
·
Ran in 40s
Lint Bash Shell Scriptsecho +++ Shellcheck && ./scripts/shellcheck.sh
Waited 15s
·
Ran in 4s
Check HLS Worksnix develop --command bash -c "haskell-language-server lib/wallet/src/Cardano/Wallet.hs"
Waited 4s
·
Ran in 4m 57s
Cabal Build (linux)nix develop -c cabal update && nix develop -c cabal build all -frelease
Check eol is presentnix develop --command scripts/enforce-eol.sh
Waited 9s
·
Ran in 39s
Check for git revision in version outputscripts/buildkite/main/git-revision.sh
Waited 8s
·
Ran in 14s
Build Benchmarks (linux)nix build -L .#ci.benchmarks.all
Waited 2s
·
Ran in 2m 2s
Nix build on benchmark queue (linux)nix build -L && nix build -L .#ci.benchmarks.all
API Benchmark (linux)export BENCHMARK_CSV_FILE="`pwd`/bench-results.csv" && "./scripts/buildkite/main/bench-api.sh"
Latency Benchmark (linux)export BENCHMARK_CSV_FILE="`pwd`/bench-results.csv" && ./scripts/buildkite/main/bench-latency.sh
DB Benchmark (linux)export BENCHMARK_CSV_FILE="`pwd`/bench-results.csv" && ./scripts/buildkite/main/bench-db.sh
Read-blocks Benchmark (linux)export BENCHMARK_CSV_FILE="`pwd`/bench-results.csv" && ./scripts/buildkite/main/bench-read-blocks.sh
Memory Benchmark (linux)export BENCHMARK_CSV_FILE="`pwd`/bench-results.csv" && ./scripts/buildkite/main/bench-memory.sh
Build Integration Tests (macOS, arm64)nix build -L .#packages.aarch64-darwin.integration-exe
Build Package (macOS, arm64)nix build -L -o result/macos-silicon .#packages.aarch64-darwin.ci.artifacts.macos-silicon.release
Run Unit Tests (macOS, arm64)nix build -L .#ci.aarch64-darwin.tests.run.unit
Run Integration Tests (macOS)nix shell 'nixpkgs#just' -c just conway-integration-tests 2
Run E2E Tests (macOS, arm64)nix shell 'nixpkgs#just' -c just e2e
Build Package (windows)nix build -L -o result/windows .#ci.artifacts.win64.release
Build Testing Bundle (windows)nix build -L -o result .#ci.artifacts.win64.tests && cp result/cardano-wallet-*-tests-win64.zip ./windows-tests.zip
Windows Unit Testsbuildkite-agent artifact download "windows-tests.zip" . && mkdir -p windows\tests && tar -xf windows-tests.zip -C windows\tests && cd windows\tests && .\cardano-wallet-unit-test-unit.exe --color --jobs 1 --skip /Cardano.Wallet.DB.Sqlite/ +RTS -M2G -N2
Windows Text Class Testsbuildkite-agent artifact download "windows-tests.zip" . && mkdir windows-tests && tar -xf windows-tests.zip -C windows-tests && .\windows-tests\text-class-test-unit.exe --color
⚙️ Windows E2E Testsdiff -r configs/cardano/preprod lib/integration/configs/cardano/preprod && buildkite-agent artifact download "windows-tests.zip" . && mkdir windows-tests && tar -xf windows-tests.zip -C windows-tests && .\windows-tests\cardano-wallet-integration-test-e2e.exe
Build Docker Image./scripts/buildkite/main/docker-build.sh
Waited 2s
·
Ran in 18m 46s
Mainnet Boot Syncexport COMPOSE_PROJECT_NAME=$(head /dev/urandom | tr -dc a-z | head -c 8 ; echo '') && cd run/mainnet/docker && export WALLET_TAG=$(buildkite-agent meta-data get "docker-image-tag") && rm -rf databases && ./run.sh sync 600
Waited 7s
·
Ran in 9s
Preview Boot Syncexport COMPOSE_PROJECT_NAME=$(head /dev/urandom | tr -dc a-z | head -c 8 ; echo '') && cd run/preview/docker && export WALLET_TAG=$(buildkite-agent meta-data get "docker-image-tag") && rm -rf databases && ./run.sh sync 600
Waited 12s
·
Ran in 7s
Mainnet Boot Sync via Mithrilexport COMPOSE_PROJECT_NAME=$(head /dev/urandom | tr -dc a-z | head -c 8 ; echo '') && cd run/mainnet/docker && export WALLET_TAG=$(buildkite-agent meta-data get "docker-image-tag") && rm -rf databases && ./snapshot.sh && ./run.sh sync 7200
Total Job Run Time: 3h 18m