Skip to content

server does not start with qlever engine if no files provided #78

@JJ-Author

Description

@JJ-Author
dbpedia-mappings fulldumps # docker run --privileged=true -d -v /var/run/docker.sock:/var/run/docker.sock -u "$(id -u):$(id -g)" --group-add "$(getent group docker | cut -d: -f3)" -v "/data/fusion-tmp/qlever/2025-07-18:/db" -i aksw/rpt:latest-dev integrate -e qlever --loc /db --server --port 8766                                                                                                                                                                                                                                                 80bc90cecd753b730fdd0702aaeafb0d41944187c26dc600d9696cd24e87c1e5                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          dbpedia-mappings fulldumps # docker logs 80bc90cecd753b730fdd0702aaeafb0d41944187c26dc600d9696cd24e87c1e5                                                                                                                                                                                                                                                                                                                                                                                                                                                 08:50:04 main [INFO] [o.a.j.d.s.f.d.RDFEngineFactoryLegacyBase:157] - Folder already existed - delete action disabled: /db                                                                                                                                                                                                                                                                                                                                                                                                                                08:50:04 main [INFO] [o.t.DockerClientFactory:150] - Testcontainers version: 1.20.4                                                                                                                                                                                                                                                                                                                                                                                                                                                                       08:50:04 main [INFO] [o.t.d.DockerClientProviderStrategy:290] - Found Docker environment with local Unix socket (unix:///var/run/docker.sock)                                                                                                                                                                                                                                                                                                                                                                                                             08:50:04 main [INFO] [o.t.DockerClientFactory:208] - Docker host IP address is 172.17.0.1                                                                                                                                                                                                                                                                                                                                                                                                                                                                 08:50:04 main [INFO] [o.t.DockerClientFactory:241] - Connected to docker:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   Server Version: 27.3.1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    API Version: 1.47                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         Operating System: Debian GNU/Linux 12 (bookworm)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Total Memory: 192028 MB                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 08:50:04 main [INFO] [o.t.i.PullPolicy:59] - Image pull policy will be performed by: DefaultPullPolicy()                                                                                                                                                                                                                                                                                                                                                                                                                                                  08:50:04 main [INFO] [o.t.u.ImageNameSubstitutor:55] - Image name substitution will be performed by: DefaultImageNameSubstitutor (composite of 'ConfigurationFileImageNameSubstitutor' and 'PrefixingImageNameSubstitutor')                                                                                                                                                                                                                                                                                                                               08:50:05 main [INFO] [t.t.1.0:379] - Creating container for image: testcontainers/ryuk:0.11.0                                                                                                                                                                                                                                                                                                                                                                                                                                                             08:50:05 main [INFO] [o.t.u.RegistryAuthLocator:167] - Failure when attempting to lookup auth config. Please ignore if you don't have images in an authenticated registry. Details: (dockerImageName: testcontainers/ryuk:0.11.0, configFile: /root/.docker/config.json, configEnv: DOCKER_AUTH_CONFIG). Falling back to docker-java default behaviour. Exception message: Status 404: No config supplied. Checked in order: /root/.docker/config.json (file not found), DOCKER_AUTH_CONFIG (not set)
08:50:05 main [INFO] [t.t.1.0:443] - Container testcontainers/ryuk:0.11.0 is starting: 77ead65a2cd18b71ae75b185966ff728192a11fac0025b57144e867a8452418c                                                                                                                                                                                                                                                                                                                                                                                                   08:50:05 main [INFO] [t.t.1.0:533] - Container testcontainers/ryuk:0.11.0 started in PT0.571584707S                                                                                                                                                                                                                                                                                                                                                                                                                                                       08:50:05 main [INFO] [o.t.u.RyukResourceReaper:43] - Ryuk started - will monitor and terminate Testcontainers containers on JVM exit                                                                                                                                                                                                                                                                                                                                                                                                                      08:50:05 main [INFO] [o.t.DockerClientFactory:256] - Checking the system...                                                                                                                                                                                                                                                                                                                                                                                                                                                                               08:50:05 main [INFO] [o.t.DockerClientFactory:277] - ✔︎ Docker server version should be at least 1.6.0                                                                                                                                                                                                                                                                                                                                                                                                                                                     08:50:05 main [INFO] [o.a.j.e.d.c.ContainerUtils:116] - Candidate container ids: [80bc90cecd75]                                                                                                                                                                                                                                                                                                                                                                                                                                                           08:50:05 main [INFO] [o.a.j.e.d.c.ContainerUtils:129] - Detected container ID: 80bc90cecd753b730fdd0702aaeafb0d41944187c26dc600d9696cd24e87c1e5                                                                                                                                                                                                                                                                                                                                                                                                           08:50:05 main [INFO] [o.a.j.e.d.c.ContainerPathResolver:118] - Mount map: {/var/run/docker.sock=/var/run/docker.sock, /db=/data/fusion-tmp/qlever/2025-07-18}                                                                                                                                                                                                                                                                                                                                                                                             08:50:05 main [INFO] [o.a.j.e.q.RDFDatabaseBuilderQlever:131] - Detected docker-in-docker setup (dind).                                                                                                                                                                                                                                                                                                                                                                                                                                                   08:50:05 main [INFO] [o.a.j.e.q.RDFDatabaseBuilderQlever:768] - Attempting to launch container with binds and file arg                                                                                                                                                                                                                                                                                                                                                                                                                                    08:50:05 main [INFO] [o.a.j.e.q.RDFDatabaseBuilderQlever:465] - Setting up qlever indexer container as UID: 0, GID: 0                                                                                                                                                                                                                                                                                                                                                                                                                                     08:50:05 main [INFO] [o.a.j.e.q.RDFDatabaseBuilderQlever:480] - Start command: IndexBuilderMain -i default                                                                                                                                                                                                                                                                                                                                                                                                                                                08:50:05 main [INFO] [o.a.j.e.d.c.ContainerPathResolver:72] - Container path -> Host path: /db -> /data/fusion-tmp/qlever/2025-07-18                                                                                                                                                                                                                                                                                                                                                                                                                      08:50:05 main [INFO] [t.adfreiburg/qlever:commit-a307781:379] - Creating container for image: adfreiburg/qlever:commit-a307781                                                                                                                                                                                                                                                                                                                                                                                                                            08:50:06 main [INFO] [t.adfreiburg/qlever:commit-a307781:443] - Container adfreiburg/qlever:commit-a307781 is starting: 7ef884ea210b053c099fa7cfaa2fd1eeae372fae06a4f1a30cdc16b9058e1e08                                                                                                                                                                                                                                                                                                                                                                  08:50:06 main [INFO] [t.adfreiburg/qlever:commit-a307781:533] - Container adfreiburg/qlever:commit-a307781 started in PT0.955573783S                                                                                                                                                                                                                                                                                                                                                                                                                      08:50:06 docker-java-stream--1159582649 [INFO] [o.a.j.e.q.RDFDatabaseBuilderQlever:498] - 2025-07-25 08:50:06.934 - INFO: QLever IndexBuilder, compiled on Thu Feb  6 20:06:12 UTC 2025 using git hash a30778                                                                                                                                                                                                                                                                                                                                             08:50:06 docker-java-stream--1159582649 [INFO] [o.a.j.e.q.RDFDatabaseBuilderQlever:498] - 2025-07-25 08:50:06.935 - ERROR: Assertion `!fileSpecifications.empty()` failed. Please report this to the developers. In file "/qlever/src/index/IndexBuilderMain.cpp " at line 329                                                                                                                                                                                                                                                                            08:50:06 docker-java-stream--1159582649 [INFO] [o.a.j.e.q.RDFDatabaseBuilderQlever:498] -                                                                                                                                                                                                                                                                                                                                                                                                                                                                 08:50:06 docker-java-stream--1159582649 [INFO] [o.a.j.e.q.RDFDatabaseBuilderQlever:498] -                                                                                                                                                                                                                                                                                                                                                                                                                                                                 08:50:07 main [INFO] [j.e.q.d.RDFEngineBuilderQlever:233] - Setting attribute: tempDir -> /tmp                                                                                                                                                                                                                                                                                                                                                                                                                                                            08:50:07 main [INFO] [j.e.q.d.RDFEngineBuilderQlever:233] - Setting attribute: autoDeleteIfCreated -> true                                                                                                                                                                                                                                                                                                                                                                                                                                                08:50:07 main [INFO] [j.e.q.d.RDFEngineBuilderQlever:233] - Setting attribute: location -> /db                                                                                                                                                                                                                                                                                                                                                                                                                                                            08:50:07 main [INFO] [o.a.j.d.s.f.d.RDFEngineFactoryLegacyBase:157] - Folder already existed - delete action disabled: /db                                                                                                                                                                                                                                                                                                                                                                                                                                08:50:07 main [INFO] [o.a.j.e.d.c.ContainerUtils:116] - Candidate container ids: [80bc90cecd75]                                                                                                                                                                                                                                                                                                                                                                                                                                                           08:50:07 main [INFO] [o.a.j.e.d.c.ContainerUtils:129] - Detected container ID: 80bc90cecd753b730fdd0702aaeafb0d41944187c26dc600d9696cd24e87c1e5                                                                                                                                                                                                                                                                                                                                                                                                           08:50:07 main [INFO] [o.a.j.e.d.c.ContainerPathResolver:118] - Mount map: {/var/run/docker.sock=/var/run/docker.sock, /db=/data/fusion-tmp/qlever/2025-07-18}                                                                                                                                                                                                                                                                                                                                                                                             08:50:07 main [INFO] [j.e.q.d.RDFEngineBuilderQlever:75] - Detected docker-in-docker setup (dind).                                                                                                                                                                                                                                                                                                                                                                                                                                                        08:50:07 main [INFO] [o.a.j.e.d.c.ContainerPathResolver:72] - Container path -> Host path: /db -> /data/fusion-tmp/qlever/2025-07-18                                                                                                                                                                                                                                                                                                                                                                                                                      08:50:07 main [INFO] [j.e.q.d.RDFEngineBuilderQlever:86] - Running as UID: 0, GID: 0                                                                                                                                                                                                                                                                                                                                                                                                                                                                      08:50:07 main [INFO] [j.e.q.d.RDFEngineBuilderQlever:98] - Generated command line: ServerMain -i default -p 8080                                                                                                                                                                                                                                                                                                                                                                                                                                          08:50:07 main [INFO] [t.adfreiburg/qlever:commit-a307781:379] - Creating container for image: adfreiburg/qlever:commit-a307781                                                                                                                                                                                                                                                                                                                                                                                                                            08:50:07 main [INFO] [t.adfreiburg/qlever:commit-a307781:443] - Container adfreiburg/qlever:commit-a307781 is starting: cc503b587fc53c87eb362831d8bb0d0463c74dbe04ad18c8a191dd323d25c46b                                                                                                                                                                                                                                                                                                                                                                  08:50:07 testcontainers-wait-0 [WARN] [o.t.c.w.i.InternalCommandPortListeningCheck:58] - An exception while executing the internal check: Container.ExecResult(exitCode=137, stdout=, stderr=)                                                                                                                                                                                                                                                                                                                                                            08:50:07 main [INFO] [t.adfreiburg/qlever:commit-a307781:533] - Container adfreiburg/qlever:commit-a307781 started in PT0.489599911S                                                                                                                                                                                                                                                                                                                                                                                                                      java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: Cannot infer destination URL because container is stopped.                                                                                                                                                                                                                                                                                                                                                                                                                    at org.aksw.commons.util.exception.ExceptionUtilsAksw.rethrowUnless(ExceptionUtilsAksw.java:40)                                                                                                                                                                                                                                                                                                                                                                                                                                                           at org.aksw.commons.util.exception.ExceptionUtilsAksw.rethrowIfNotBrokenPipe(ExceptionUtilsAksw.java:88)                                                                                                                                                                                                                                                                                                                                                                                                                                                  at org.aksw.commons.picocli.CmdUtils.lambda$callCmd$0(CmdUtils.java:77)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   at picocli.CommandLine.execute(CommandLine.java:2088)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     at org.aksw.commons.picocli.CmdUtils.callCmd(CmdUtils.java:83)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            at org.aksw.commons.picocli.CmdUtils.execCmd(CmdUtils.java:29)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            at org.aksw.rdf_processing_toolkit.cli.main.MainCliRdfProcessingToolkit.main(MainCliRdfProcessingToolkit.java:19)                                                                                                                                                                                                                                                                                                                                                                                                                                 Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Cannot infer destination URL because container is stopped.                                                                                                                                                                                                                                                                                                                                                                                                                                     at jenax.engine.qlever.docker.RDFEngineBuilderQlever.build(RDFEngineBuilderQlever.java:185)                                                                                                                                                                                                                                                                                                                                                                                                                                                               at org.aksw.sparql_integrate.cli.main.SparqlIntegrateCmdImpls.sparqlIntegrate(SparqlIntegrateCmdImpls.java:480)                                                                                                                                                                                                                                                                                                                                                                                                                                           at org.aksw.sparql_integrate.cli.cmd.CmdSparqlIntegrateMain.call(CmdSparqlIntegrateMain.java:260)                                                                                                                                                                                                                                                                                                                                                                                                                                                         at org.aksw.sparql_integrate.cli.cmd.CmdSparqlIntegrateMain.call(CmdSparqlIntegrateMain.java:33)                                                                                                                                                                                                                                                                                                                                                                                                                                                          at picocli.CommandLine.executeUserObject(CommandLine.java:1953)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           at picocli.CommandLine.access$1300(CommandLine.java:145)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)                                                                                                                                                                                                                                                                                                                                                                                                                                                     at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)                                                                                                                                                                                                                                                                                                                                                                                                                                                                          at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             at picocli.CommandLine.execute(CommandLine.java:2078)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     ... 3 more                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Caused by: java.lang.RuntimeException: Cannot infer destination URL because container is stopped.
        at jenax.engine.qlever.docker.ServiceControlQlever.getDestination(ServiceControlQlever.java:34)
        at jenax.engine.qlever.docker.ServiceControlQlever.start(ServiceControlQlever.java:28)
        at jenax.engine.qlever.docker.RDFEngineBuilderQlever.run(RDFEngineBuilderQlever.java:120)
        at jenax.engine.qlever.docker.RDFEngineBuilderQlever.build(RDFEngineBuilderQlever.java:180)
        ... 14 more

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions