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

cardano-node 9.2.0 release #5944

Merged
merged 17 commits into from
Sep 18, 2024

Fix transaction test

ac6e894
Select commit
Loading
Failed to load commit list.
Merged

cardano-node 9.2.0 release #5944

Fix transaction test
ac6e894
Select commit
Loading
Failed to load commit list.
IOG Hydra / ci/hydra-build:x86_64-darwin.native.checks/cardano-testnet/cardano-testnet-test failed Sep 17, 2024 in 9m 58s

Build failed

1 failed steps

Details

Failed Steps

Step 1

Derivation

/nix/store/7hpphhlaiigqivxjdvfx0gdw9n14k3ns-cardano-testnet-test-cardano-testnet-test-9.0.0-check.drv

Log

unpacking sources
unpacking source archive /nix/store/w9s701j30xrf815v3cwhcyzs3cjh4vdf-source-root-cardano-testnet-test-cardano-testnet-test-root
source root is source-root-cardano-testnet-test-cardano-testnet-test-root
patching sources
building
/nix/store/bh40gdblzra70ghnwwwr7za3a88v1zp3-cardano-testnet-test-cardano-testnet-test-9.0.0/bin:
patching script interpreter paths in /tmp/tmp.xAGs9hpemN/tmp.lGugEfzux6/bin
test/Spec.hs
  Spec
    Ledger Events
      Sanity Check:                         FAIL (36.99s)
          ✗ Sanity Check failed at src/Testnet/Start/Cardano.hs:349:7
            after 1 test.
            shrink path: 1:
          
            forAll0 =
              Cardano node process did not start: Socket /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/./socket/pool1/sock was not created after 30 seconds. There was no output on stderr. Exception: Network.Socket.connect: <socket: 51>: does not exist (No such file or directory)
              Cardano node process did not start: Socket /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/./socket/pool2/sock was not created after 30 seconds. There was no output on stderr. Exception: Network.Socket.connect: <socket: 51>: does not exist (No such file or directory)
              Cardano node process did not start: Socket /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/./socket/pool3/sock was not created after 30 seconds. There was no output on stderr. Exception: Network.Socket.connect: <socket: 51>: does not exist (No such file or directory)
            
            forAll1 =
              Waiting for port 53680 to be available before starting node
            
            forAll2 =
              Node name: pool3
            
            forAll3 =
              Waiting for port 53679 to be available before starting node
            
            forAll4 =
              Node name: pool2
            
            forAll5 =
              Waiting for port 53678 to be available before starting node
            
            forAll6 =
              Node name: pool1
            
            forAll7 =
              Writing file: /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool3/topology.json
            
            forAll8 =
              Writing file: /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool2/topology.json
            
            forAll9 =
              Writing file: /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool1/topology.json
            
            forAll10 =
              Writing file: /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool3/port
            
            forAll11 =
              Renaming from "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/byron-gen-command/delegation-cert.002.json" to "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool3/byron-delegation.cert"
            
            forAll12 =
              Renaming from "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/byron-gen-command/delegate-keys.002.key" to "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool3/byron-delegate.key"
            
            forAll13 =
              Writing file: /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool2/port
            
            forAll14 =
              Renaming from "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/byron-gen-command/delegation-cert.001.json" to "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool2/byron-delegation.cert"
            
            forAll15 =
              Renaming from "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/byron-gen-command/delegate-keys.001.key" to "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool2/byron-delegate.key"
            
            forAll16 =
              Writing file: /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool1/port
            
            forAll17 =
              Renaming from "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/byron-gen-command/delegation-cert.000.json" to "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool1/byron-delegation.cert"
            
            forAll18 =
              Renaming from "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/byron-gen-command/delegate-keys.000.key" to "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool1/byron-delegate.key"
            
            forAll19 =
              Reading file: /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/utxo-keys/utxo3/utxo.addr
            
            forAll20 =
              ━━━━ command ━━━━
              /nix/store/n4wzhvw4q619i1b7pndiwnimvfygwr4k-cardano-cli-exe-cardano-cli-9.4.1.0/bin/cardano-cli address build --payment-verification-key-file /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/utxo-keys/utxo3/utxo.vkey --testnet-magic 42 --out-file /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/utxo-keys/utxo3/utxo.addr
            
            forAll21 =
              Reading file: /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/utxo-keys/utxo2/utxo.addr
            
            forAll22 =
              ━━━━ command ━━━━
              /nix/store/n4wzhvw4q619i1b7pndiwnimvfygwr4k-cardano-cli-exe-cardano-cli-9.4.1.0/bin/cardano-cli address build --payment-verification-key-file /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/utxo-keys/utxo2/utxo.vkey --testnet-magic 42 --out-file /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/utxo-keys/utxo2/utxo.addr
            
            forAll23 =
              Reading file: /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/utxo-keys/utxo1/utxo.addr
            
            forAll24 =
              ━━━━ command ━━━━
              /nix/store/n4wzhvw4q619i1b7pndiwnimvfygwr4k-cardano-cli-exe-cardano-cli-9.4.1.0/bin/cardano-cli address build --payment-verification-key-file /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/utxo-keys/utxo1/utxo.vkey --testnet-magic 42 --out-file /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/utxo-keys/utxo1/utxo.addr
            
            forAll25 =
              [PoolNodeKeys {poolNodeKeysCold = KeyPair {verificationKey = "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool1/cold.vkey", signingKey = "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool1/cold.skey"}, poolNodeKeysVrf = KeyPair {verificationKey = "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool1/vrf.vkey", signingKey = "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool1/vrf.skey"}, poolNodeKeysStaking = KeyPair {verificationKey = "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool1/staking-reward.vkey", signingKey = "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool1/staking-reward.skey"}},PoolNodeKeys {poolNodeKeysCold = KeyPair {verificationKey = "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool2/cold.vkey", signingKey = "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool2/cold.skey"}, poolNodeKeysVrf = KeyPair {verificationKey = "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool2/vrf.vkey", signingKey = "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool2/vrf.skey"}, poolNodeKeysStaking = KeyPair {verificationKey = "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool2/staking-reward.vkey", signingKey = "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool2/staking-reward.skey"}},PoolNodeKeys {poolNodeKeysCold = KeyPair {verificationKey = "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool3/cold.vkey", signingKey = "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool3/cold.skey"}, poolNodeKeysVrf = KeyPair {verificationKey = "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool3/vrf.vkey", signingKey = "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool3/vrf.skey"}, poolNodeKeysStaking = KeyPair {verificationKey = "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool3/staking-reward.vkey", signingKey = "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/pools-keys/pool3/staking-reward.skey"}}]
            
            forAll26 =
              Renaming from "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/byron-gen-command/genesis.json" to "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/byron/genesis.json"
            
            forAll27 =
              byron-gen-command
            
            forAll28 =
              pools-keys
            
            forAll29 =
              genesis.alonzo.spec.json
            
            forAll30 =
              utxo-keys
            
            forAll31 =
              stake-delegators
            
            forAll32 =
              byron
            
            forAll33 =
              conway-genesis.json
            
            forAll34 =
              byron.genesis.spec.json
            
            forAll35 =
              shelley-genesis.json
            
            forAll36 =
              module
            
            forAll37 =
              drep-keys
            
            forAll38 =
              genesis-keys
            
            forAll39 =
              delegate-keys
            
            forAll40 =
              alonzo-genesis.json
            
            forAll41 =
              genesis.conway.spec.json
            
            forAll42 =
              Listing directory: /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/
            
            forAll43 =
              Creating directory if missing: /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/byron
            
            forAll44 =
              ━━━━ command ━━━━
              /nix/store/n4wzhvw4q619i1b7pndiwnimvfygwr4k-cardano-cli-exe-cardano-cli-9.4.1.0/bin/cardano-cli babbage genesis create-testnet-data --spec-shelley /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/genesis-input.shelley.json --spec-alonzo /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/genesis-input.alonzo.json --spec-conway /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/genesis-input.conway.json --testnet-magic 42 --pools 3 --total-supply 100000020000000 --delegated-supply 50000010000000 --stake-delegators 3 --utxo-keys 3 --drep-keys 3 --start-time 2024-09-17T19:41:05Z --out-dir /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/
            
            forAll45 =
              Number of seeded UTxO keys: 3
            
            forAll46 =
              Number of stake delegators: 3
            
            forAll47 =
              Number of pools: 3
            
            forAll48 =
              Writing file: /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/genesis-input.shelley.json
            
            forAll49 =
              Reading file: /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/genesis-input.shelley.json
            
            forAll50 =
              Rewriting JSON file: /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/genesis-input.shelley.json
            
            forAll51 =
              Creating directory if missing: /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436
            
            forAll52 =
              "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/configuration.yaml"
            
            forAll53 =
              "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/genesis.conway.spec.json"
            
            forAll54 =
              "/private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/genesis.alonzo.spec.json"
            
            forAll55 =
              ━━━━ command ━━━━
              /nix/store/n4wzhvw4q619i1b7pndiwnimvfygwr4k-cardano-cli-exe-cardano-cli-9.4.1.0/bin/cardano-cli byron genesis genesis --protocol-magic 42 --start-time 1726602065 --k 10 --n-poor-addresses 0 --n-delegate-addresses 3 --total-balance 8000000001 --delegate-share 1 --avvm-entry-count 0 --avvm-entry-balance 0 --avvm-balance-factor 1 --protocol-parameters-file /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/byron.genesis.spec.json --genesis-output-dir /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/byron-gen-command
            
            forAll56 =
              Writing file: /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436/byron.genesis.spec.json
            
            forAll57 =
              darwin
            
            forAll58 =
              2024-09-17 19:41:05.170715 UTC
            
            forAll59 =
              2024-09-17 19:40:50.170715 UTC
          
               ┏━━ test/cardano-testnet-test/Cardano/Testnet/Test/SanityCheck.hs ━━━
            43 ┃ hprop_ledger_events_sanity_check :: Property
            44 ┃ hprop_ledger_events_sanity_check = integrationWorkspace "ledger-events-sanity-check" $ \tempAbsBasePath' -> H.runWithDefaultWatchdog_ $ do
               ┃ │ Workspace: /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436
            45 ┃   -- Start a local test net
            46 ┃   conf <- mkConf tempAbsBasePath'
               ┃   │ /private/tmp/tmp.xAGs9hpemN/ledger-events-sanity-check-test-31b84f6a30199436
            47 ┃ 
            48 ┃   let fastTestnetOptions = def
            49 ┃       shelleyOptions = def
            50 ┃         { shelleyEpochLength = 100
            51 ┃         , shelleySlotLength = 0.1
            52 ┃         }
            53 ┃ 
            54 ┃   TestnetRuntime{configurationFile, poolNodes}
            55 ┃     <- cardanoTestnetDefault fastTestnetOptions shelleyOptions conf
            56 ┃   nr@NodeRuntime{nodeSprocket} <- H.headM $ poolRuntime <$> poolNodes
            57 ┃   let socketPath = nodeSocketPath nr
            58 ┃ 
            59 ┃   H.note_ $ "Sprocket: " <> show nodeSprocket
            60 ┃   H.note_ $ "Abs path: " <> tempAbsBasePath'
            61 ┃   H.note_ $ "Socketpath: " <> unFile socketPath
            62 ┃ 
            63 ┃   !ret <- runExceptT $ handleIOExceptionsWith IOE
            64 ┃                    $ evalIO $ runExceptT $ foldBlocks
            65 ┃                        configurationFile
            66 ┃                        socketPath
            67 ┃                        FullValidation
            68 ┃                        [] -- Initial accumulator state
            69 ┃                        foldBlocksAccumulator
            70 ┃   case ret of
            71 ┃     Left (IOE e) ->
            72 ┃       H.failMessage callStack $ "foldBlocks failed with: " <> show e
            73 ┃     Right (Left e) ->
            74 ┃       H.failMessage callStack $ "foldBlocks failed with: " <> displayError e
            75 ┃     Right (Right _v) -> success
          
            This failure can be reproduced by running:
            > recheckAt (Seed 13364656160912496765 12395713692740796819) "1:" Sanity Check
          
        Use "--pattern '$NF ~ /Sanity Check/' --hedgehog-replay '1: Seed 13364656160912496765 12395713692740796819'" to reproduce from the command-line.
        
        Use -p '/Sanity Check/' to rerun this test only.
    CLI
      Shutdown:                             OK (59.78s)
          ✓ Shutdown passed 1 test.
      Shutdown On Sigint:                   IGNORED on MacOS and Windows
        IGNORED on MacOS and Windows
      stake-snapshot:                       OK (180.69s)
          ✓ stake-snapshot passed 1 test.
      simple transaction build:             OK (25.42s)
          ✓ simple transaction build passed 1 test.
      kes-period-info:                      OK (219.27s)
          ✓ kes-period-info passed 1 test.
      query-slot-number:                    OK (25.52s)
          ✓ query-slot-number passed 1 test.
      foldEpochState receives ledger state: OK (35.58s)
          ✓ foldEpochState receives ledger state passed 1 test.
  SubmitApi
    transaction:                            IGNORED on MacOS and Windows
      IGNORED on MacOS and Windows

1 out of 9 tests failed (583.27s)