{
  "test": {
    "id": "tests/1.0/unordered/immutable-root-restart",
    "directory": "tests/1.0/unordered/immutable-root-restart",
    "manifestPath": "tests/1.0/unordered/immutable-root-restart/manifest.ttl",
    "scenarioPath": "tests/1.0/unordered/immutable-root-restart/scenario.yaml",
    "expectedPath": "tests/1.0/unordered/immutable-root-restart/expected/events.ndjson",
    "iri": "https://www.pieter.pm/ldes-client-conformance-test-suite/1.0#unordered-immutable-root-restart",
    "title": "An immutable root is reused when resuming",
    "description": "After the initial run persists root context and state, a later synchronization run must communicate the same context and continue without fetching the RDF-immutable root again.",
    "requirement": "LDES10-CTX-001",
    "requirements": [
      "LDES10-CTX-001",
      "LDES10-UNORD-018",
      "LDES10-UNORD-023",
      "LDES10-UNORD-024"
    ],
    "requirementLevel": "Should",
    "group": "UnorderedTraversal",
    "requiredCapabilities": []
  },
  "outcome": "failed",
  "events": [
    {
      "protocolVersion": 0,
      "type": "member",
      "runId": "initial",
      "id": "https://raw.githubusercontent.com/pietercolpaert/ldes-client-conformance-test-suite/main/tests/1.0/unordered/immutable-root-restart/responses/root.ttl#member/initial",
      "dataset": "<https://raw.githubusercontent.com/pietercolpaert/ldes-client-conformance-test-suite/main/tests/1.0/unordered/immutable-root-restart/responses/root.ttl#member/initial> <https://raw.githubusercontent.com/pietercolpaert/ldes-client-conformance-test-suite/main/tests/1.0/unordered/immutable-root-restart/responses/root.ttl#vocab/value> \"initial\" .\n",
      "mediaType": "application/n-quads",
      "receivedAt": "2026-10-16T10:22:59.582Z"
    },
    {
      "protocolVersion": 0,
      "type": "statistics",
      "runId": "initial",
      "membersEmitted": 1,
      "receivedAt": "2026-10-16T10:22:59.592Z"
    },
    {
      "protocolVersion": 0,
      "type": "run-end",
      "runId": "initial",
      "status": "completed",
      "receivedAt": "2026-10-16T10:22:59.592Z",
      "adapterStderr": "Oct 16, 2026 10:22:54 AM org.hibernate.jpa.boot.spi.ProviderChecker hibernateProviderNamesContain\nWARN: HHH015016: Encountered a deprecated javax.persistence.spi.PersistenceProvider [org.hibernate.ejb.HibernatePersistence]; [org.hibernate.jpa.HibernatePersistenceProvider] will be used instead.\nOct 16, 2026 10:22:54 AM org.hibernate.jpa.internal.util.LogHelper logPersistenceUnitInformation\nINFO: HHH000204: Processing PersistenceUnitInfo [name: pu-sql-jpa]\nOct 16, 2026 10:22:55 AM org.hibernate.Version logVersion\nINFO: HHH000412: Hibernate ORM core version [WORKING]\nOct 16, 2026 10:22:55 AM org.hibernate.annotations.common.reflection.java.JavaReflectionManager <clinit>\nINFO: HCANN000001: Hibernate Commons Annotations {5.1.2.Final}\nOct 16, 2026 10:22:55 AM org.hibernate.dialect.Dialect <init>\nINFO: HHH000400: Using dialect: org.sqlite.hibernate.dialect.SQLiteDialect\nOct 16, 2026 10:22:58 AM org.hibernate.engine.jdbc.connections.internal.ConnectionProviderInitiator initiateService\nINFO: HHH000130: Instantiating explicit connection provider: com.zaxxer.hikari.hibernate.HikariConnectionProvider\nSLF4J: No SLF4J providers were found.\nSLF4J: Defaulting to no-operation (NOP) logger implementation\nSLF4J: See http://www.slf4j.org/codes.html#noProviders for further details.\nOct 16, 2026 10:22:58 AM org.hibernate.dialect.Dialect <init>\nINFO: HHH000400: Using dialect: org.sqlite.hibernate.dialect.SQLiteDialect\nOct 16, 2026 10:22:58 AM org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator initiateService\nINFO: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]\nOpenLDES status: REPLICATING\nOpenLDES status: SYNCHRONISING\n"
    },
    {
      "protocolVersion": 0,
      "type": "error",
      "runId": "repeat",
      "kind": "client",
      "message": "java.lang.UnsupportedOperationException: Cannot handle response 500 of TreeNodeRequest TreeNodeRequest{treeNodeUrl='http://127.0.0.1:41493/root', lang=Lang:Turtle, etag='null'}",
      "receivedAt": "2026-10-16T10:23:04.198Z",
      "adapterStderr": "Oct 16, 2026 10:23:00 AM org.hibernate.jpa.boot.spi.ProviderChecker hibernateProviderNamesContain\nWARN: HHH015016: Encountered a deprecated javax.persistence.spi.PersistenceProvider [org.hibernate.ejb.HibernatePersistence]; [org.hibernate.jpa.HibernatePersistenceProvider] will be used instead.\nOct 16, 2026 10:23:00 AM org.hibernate.jpa.internal.util.LogHelper logPersistenceUnitInformation\nINFO: HHH000204: Processing PersistenceUnitInfo [name: pu-sql-jpa]\nOct 16, 2026 10:23:00 AM org.hibernate.Version logVersion\nINFO: HHH000412: Hibernate ORM core version [WORKING]\nOct 16, 2026 10:23:00 AM org.hibernate.annotations.common.reflection.java.JavaReflectionManager <clinit>\nINFO: HCANN000001: Hibernate Commons Annotations {5.1.2.Final}\nOct 16, 2026 10:23:00 AM org.hibernate.dialect.Dialect <init>\nINFO: HHH000400: Using dialect: org.sqlite.hibernate.dialect.SQLiteDialect\nOct 16, 2026 10:23:03 AM org.hibernate.engine.jdbc.connections.internal.ConnectionProviderInitiator initiateService\nINFO: HHH000130: Instantiating explicit connection provider: com.zaxxer.hikari.hibernate.HikariConnectionProvider\nSLF4J: No SLF4J providers were found.\nSLF4J: Defaulting to no-operation (NOP) logger implementation\nSLF4J: See http://www.slf4j.org/codes.html#noProviders for further details.\nOct 16, 2026 10:23:03 AM org.hibernate.dialect.Dialect <init>\nINFO: HHH000400: Using dialect: org.sqlite.hibernate.dialect.SQLiteDialect\nOct 16, 2026 10:23:03 AM org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator initiateService\nINFO: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]\nOpenLDES status: SYNCHRONISING\njava.lang.UnsupportedOperationException: Cannot handle response 500 of TreeNodeRequest TreeNodeRequest{treeNodeUrl='http://127.0.0.1:41493/root', lang=Lang:Turtle, etag='null'}\n\tat ldes.client.treenodefetcher.TreeNodeFetcher.fetchTreeNode(TreeNodeFetcher.java:53)\n\tat ldes.client.treenodesupplier.TreeNodeProcessor.processTreeNode(TreeNodeProcessor.java:76)\n\tat ldes.client.treenodesupplier.TreeNodeProcessor.getMember(TreeNodeProcessor.java:57)\n\tat ldes.client.treenodesupplier.membersuppliers.MemberSupplierImpl.get(MemberSupplierImpl.java:27)\n\tat ldes.client.treenodesupplier.membersuppliers.MemberSupplierImpl.get(MemberSupplierImpl.java:9)\n\tat org.openldes.conformance.OpenLdesAdapter.main(OpenLdesAdapter.java:82)\n"
    }
  ],
  "requests": [
    {
      "sequence": 1,
      "method": "GET",
      "path": "/root",
      "headers": {
        "accept": "text/turtle",
        "host": "127.0.0.1:41493",
        "connection": "Keep-Alive",
        "user-agent": "Apache-HttpClient/4.5.13 (Java/21.0.12.1)",
        "accept-encoding": "gzip,deflate"
      },
      "phase": "initial",
      "status": 200,
      "timestamp": "2026-10-16T10:22:59.272Z",
      "completedAt": "2026-10-16T10:22:59.272Z"
    },
    {
      "sequence": 2,
      "method": "GET",
      "path": "/root",
      "headers": {
        "accept": "text/turtle",
        "accept-encoding": "gzip",
        "host": "127.0.0.1:41493",
        "connection": "Keep-Alive",
        "user-agent": "Apache-HttpClient/4.5.13 (Java/21.0.12.1)"
      },
      "phase": "initial",
      "status": 200,
      "timestamp": "2026-10-16T10:22:59.473Z",
      "completedAt": "2026-10-16T10:22:59.474Z"
    },
    {
      "sequence": 3,
      "method": "GET",
      "path": "/root",
      "headers": {
        "accept": "text/turtle",
        "accept-encoding": "gzip",
        "host": "127.0.0.1:41493",
        "connection": "Keep-Alive",
        "user-agent": "Apache-HttpClient/4.5.13 (Java/21.0.12.1)"
      },
      "phase": "repeat",
      "status": 500,
      "timestamp": "2026-10-16T10:23:04.161Z",
      "completedAt": "2026-10-16T10:23:04.161Z"
    }
  ],
  "diagnostics": [
    "expected 5 observable events, got 3",
    "event 0: expected type context, got member",
    "event 1: missing matching member in permitted member block",
    "event 2: expected type run-end, got error",
    "request initial:/root: expected count 1, got 2",
    "request repeat:/root: expected count 0, got 1"
  ]
}
