{
  "test": {
    "id": "tests/1.0/unordered/rebalancing",
    "directory": "tests/1.0/unordered/rebalancing",
    "manifestPath": "tests/1.0/unordered/rebalancing/manifest.ttl",
    "scenarioPath": "tests/1.0/unordered/rebalancing/scenario.yaml",
    "expectedPath": "tests/1.0/unordered/rebalancing/expected/events.ndjson",
    "iri": "https://www.pieter.pm/ldes-client-conformance-test-suite/1.0#unordered-rebalancing",
    "title": "Redirected and gone pages do not cause loss or duplicate emission during rebalancing",
    "description": "The server first publishes one member, then rebalances the page through redirect and 410 Gone responses; the client must retain state, avoid duplicate emission, and still discover the new member.",
    "requirement": "LDES10-UNORD-019",
    "requirements": [
      "LDES10-UNORD-019",
      "LDES10-UNORD-036",
      "LDES10-UNORD-046"
    ],
    "requirementLevel": "Must",
    "group": "UnorderedTraversal",
    "requiredCapabilities": []
  },
  "outcome": "failed",
  "events": [
    {
      "protocolVersion": 0,
      "type": "member",
      "runId": "run-1",
      "id": "https://raw.githubusercontent.com/pietercolpaert/ldes-client-conformance-test-suite/main/tests/1.0/unordered/rebalancing/responses/root.ttl#member/old",
      "dataset": "<https://raw.githubusercontent.com/pietercolpaert/ldes-client-conformance-test-suite/main/tests/1.0/unordered/rebalancing/responses/root.ttl#member/old> <https://raw.githubusercontent.com/pietercolpaert/ldes-client-conformance-test-suite/main/tests/1.0/unordered/rebalancing/responses/root.ttl#vocab/value> \"old\" .\n<https://raw.githubusercontent.com/pietercolpaert/ldes-client-conformance-test-suite/main/tests/1.0/unordered/rebalancing/responses/root.ttl#member/old> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://raw.githubusercontent.com/pietercolpaert/ldes-client-conformance-test-suite/main/tests/1.0/unordered/rebalancing/responses/root.ttl#vocab/Event> .\n",
      "mediaType": "application/n-quads",
      "receivedAt": "2026-10-16T10:23:33.415Z"
    },
    {
      "protocolVersion": 0,
      "type": "statistics",
      "runId": "run-1",
      "membersEmitted": 1,
      "receivedAt": "2026-10-16T10:23:33.423Z"
    },
    {
      "protocolVersion": 0,
      "type": "run-end",
      "runId": "run-1",
      "status": "completed",
      "receivedAt": "2026-10-16T10:23:33.423Z",
      "adapterStderr": "Oct 16, 2026 10:23:29 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:29 AM org.hibernate.jpa.internal.util.LogHelper logPersistenceUnitInformation\nINFO: HHH000204: Processing PersistenceUnitInfo [name: pu-sql-jpa]\nOct 16, 2026 10:23:29 AM org.hibernate.Version logVersion\nINFO: HHH000412: Hibernate ORM core version [WORKING]\nOct 16, 2026 10:23:29 AM org.hibernate.annotations.common.reflection.java.JavaReflectionManager <clinit>\nINFO: HCANN000001: Hibernate Commons Annotations {5.1.2.Final}\nOct 16, 2026 10:23:29 AM org.hibernate.dialect.Dialect <init>\nINFO: HHH000400: Using dialect: org.sqlite.hibernate.dialect.SQLiteDialect\nOct 16, 2026 10:23:31 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:32 AM org.hibernate.dialect.Dialect <init>\nINFO: HHH000400: Using dialect: org.sqlite.hibernate.dialect.SQLiteDialect\nOct 16, 2026 10:23:32 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: REPLICATING\nOpenLDES status: SYNCHRONISING\n"
    },
    {
      "protocolVersion": 0,
      "type": "member",
      "runId": "run-2",
      "id": "https://raw.githubusercontent.com/pietercolpaert/ldes-client-conformance-test-suite/main/tests/1.0/unordered/rebalancing/responses/root.ttl#member/new",
      "dataset": "<https://raw.githubusercontent.com/pietercolpaert/ldes-client-conformance-test-suite/main/tests/1.0/unordered/rebalancing/responses/root.ttl#member/new> <https://raw.githubusercontent.com/pietercolpaert/ldes-client-conformance-test-suite/main/tests/1.0/unordered/rebalancing/responses/root.ttl#vocab/value> \"new\" .\n<https://raw.githubusercontent.com/pietercolpaert/ldes-client-conformance-test-suite/main/tests/1.0/unordered/rebalancing/responses/root.ttl#member/new> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://raw.githubusercontent.com/pietercolpaert/ldes-client-conformance-test-suite/main/tests/1.0/unordered/rebalancing/responses/root.ttl#vocab/Event> .\n",
      "mediaType": "application/n-quads",
      "receivedAt": "2026-10-16T10:23:38.787Z"
    },
    {
      "protocolVersion": 0,
      "type": "member",
      "runId": "run-2",
      "id": "https://raw.githubusercontent.com/pietercolpaert/ldes-client-conformance-test-suite/main/tests/1.0/unordered/rebalancing/responses/root.ttl#member/old",
      "dataset": "<https://raw.githubusercontent.com/pietercolpaert/ldes-client-conformance-test-suite/main/tests/1.0/unordered/rebalancing/responses/root.ttl#member/old> <https://raw.githubusercontent.com/pietercolpaert/ldes-client-conformance-test-suite/main/tests/1.0/unordered/rebalancing/responses/root.ttl#vocab/value> \"old\" .\n<https://raw.githubusercontent.com/pietercolpaert/ldes-client-conformance-test-suite/main/tests/1.0/unordered/rebalancing/responses/root.ttl#member/old> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://raw.githubusercontent.com/pietercolpaert/ldes-client-conformance-test-suite/main/tests/1.0/unordered/rebalancing/responses/root.ttl#vocab/Event> .\n",
      "mediaType": "application/n-quads",
      "receivedAt": "2026-10-16T10:23:38.794Z"
    },
    {
      "protocolVersion": 0,
      "type": "statistics",
      "runId": "run-2",
      "membersEmitted": 2,
      "receivedAt": "2026-10-16T10:23:38.801Z"
    },
    {
      "protocolVersion": 0,
      "type": "run-end",
      "runId": "run-2",
      "status": "completed",
      "receivedAt": "2026-10-16T10:23:38.801Z",
      "adapterStderr": "Oct 16, 2026 10:23:34 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:34 AM org.hibernate.jpa.internal.util.LogHelper logPersistenceUnitInformation\nINFO: HHH000204: Processing PersistenceUnitInfo [name: pu-sql-jpa]\nOct 16, 2026 10:23:34 AM org.hibernate.Version logVersion\nINFO: HHH000412: Hibernate ORM core version [WORKING]\nOct 16, 2026 10:23:34 AM org.hibernate.annotations.common.reflection.java.JavaReflectionManager <clinit>\nINFO: HCANN000001: Hibernate Commons Annotations {5.1.2.Final}\nOct 16, 2026 10:23:34 AM org.hibernate.dialect.Dialect <init>\nINFO: HHH000400: Using dialect: org.sqlite.hibernate.dialect.SQLiteDialect\nOct 16, 2026 10:23:37 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:37 AM org.hibernate.dialect.Dialect <init>\nINFO: HHH000400: Using dialect: org.sqlite.hibernate.dialect.SQLiteDialect\nOct 16, 2026 10:23:37 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\nOpenLDES status: SYNCHRONISING\nOpenLDES status: REPLICATING\nOpenLDES status: REPLICATING\nOpenLDES status: REPLICATING\nOpenLDES status: SYNCHRONISING\n"
    },
    {
      "protocolVersion": 0,
      "type": "statistics",
      "runId": "run-3",
      "membersEmitted": 0,
      "receivedAt": "2026-10-16T10:23:43.943Z"
    },
    {
      "protocolVersion": 0,
      "type": "run-end",
      "runId": "run-3",
      "status": "completed",
      "receivedAt": "2026-10-16T10:23:43.943Z",
      "adapterStderr": "Oct 16, 2026 10:23:39 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:39 AM org.hibernate.jpa.internal.util.LogHelper logPersistenceUnitInformation\nINFO: HHH000204: Processing PersistenceUnitInfo [name: pu-sql-jpa]\nOct 16, 2026 10:23:39 AM org.hibernate.Version logVersion\nINFO: HHH000412: Hibernate ORM core version [WORKING]\nOct 16, 2026 10:23:39 AM org.hibernate.annotations.common.reflection.java.JavaReflectionManager <clinit>\nINFO: HCANN000001: Hibernate Commons Annotations {5.1.2.Final}\nOct 16, 2026 10:23:39 AM org.hibernate.dialect.Dialect <init>\nINFO: HHH000400: Using dialect: org.sqlite.hibernate.dialect.SQLiteDialect\nOct 16, 2026 10:23:42 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:42 AM org.hibernate.dialect.Dialect <init>\nINFO: HHH000400: Using dialect: org.sqlite.hibernate.dialect.SQLiteDialect\nOct 16, 2026 10:23:43 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\nOpenLDES status: SYNCHRONISING\n"
    }
  ],
  "requests": [
    {
      "sequence": 1,
      "method": "GET",
      "path": "/root",
      "headers": {
        "accept": "text/turtle",
        "host": "127.0.0.1:35943",
        "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:23:33.115Z",
      "completedAt": "2026-10-16T10:23:33.115Z"
    },
    {
      "sequence": 2,
      "method": "GET",
      "path": "/root",
      "headers": {
        "accept": "text/turtle",
        "accept-encoding": "gzip",
        "host": "127.0.0.1:35943",
        "connection": "Keep-Alive",
        "user-agent": "Apache-HttpClient/4.5.13 (Java/21.0.12.1)"
      },
      "phase": "initial",
      "status": 200,
      "timestamp": "2026-10-16T10:23:33.300Z",
      "completedAt": "2026-10-16T10:23:33.300Z"
    },
    {
      "sequence": 3,
      "method": "GET",
      "path": "/2022",
      "headers": {
        "accept": "text/turtle",
        "accept-encoding": "gzip",
        "host": "127.0.0.1:35943",
        "connection": "Keep-Alive",
        "user-agent": "Apache-HttpClient/4.5.13 (Java/21.0.12.1)"
      },
      "phase": "initial",
      "status": 200,
      "timestamp": "2026-10-16T10:23:33.323Z",
      "completedAt": "2026-10-16T10:23:33.323Z"
    },
    {
      "sequence": 4,
      "method": "GET",
      "path": "/root",
      "headers": {
        "accept": "text/turtle",
        "accept-encoding": "gzip",
        "host": "127.0.0.1:35943",
        "connection": "Keep-Alive",
        "user-agent": "Apache-HttpClient/4.5.13 (Java/21.0.12.1)"
      },
      "phase": "rebalanced",
      "status": 200,
      "timestamp": "2026-10-16T10:23:38.230Z",
      "completedAt": "2026-10-16T10:23:38.231Z"
    },
    {
      "sequence": 5,
      "method": "GET",
      "path": "/2022",
      "headers": {
        "accept": "text/turtle",
        "accept-encoding": "gzip",
        "host": "127.0.0.1:35943",
        "connection": "Keep-Alive",
        "user-agent": "Apache-HttpClient/4.5.13 (Java/21.0.12.1)"
      },
      "phase": "rebalanced",
      "status": 302,
      "timestamp": "2026-10-16T10:23:38.659Z",
      "completedAt": "2026-10-16T10:23:38.659Z"
    },
    {
      "sequence": 6,
      "method": "GET",
      "path": "/2022-rebalanced",
      "headers": {
        "accept": "text/turtle",
        "accept-encoding": "gzip",
        "host": "127.0.0.1:35943",
        "connection": "Keep-Alive",
        "user-agent": "Apache-HttpClient/4.5.13 (Java/21.0.12.1)"
      },
      "phase": "rebalanced",
      "status": 200,
      "timestamp": "2026-10-16T10:23:38.692Z",
      "completedAt": "2026-10-16T10:23:38.692Z"
    },
    {
      "sequence": 7,
      "method": "GET",
      "path": "/root",
      "headers": {
        "accept": "text/turtle",
        "accept-encoding": "gzip",
        "host": "127.0.0.1:35943",
        "connection": "Keep-Alive",
        "user-agent": "Apache-HttpClient/4.5.13 (Java/21.0.12.1)"
      },
      "phase": "gone",
      "status": 200,
      "timestamp": "2026-10-16T10:23:43.565Z",
      "completedAt": "2026-10-16T10:23:43.565Z"
    }
  ],
  "diagnostics": [
    "expected 5 observable events, got 6",
    "event 3: expected type run-end, got member",
    "event 4: expected runId run-3, got run-2"
  ]
}
