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

STDCM For long distance path timeout #10034

Open
flomonster opened this issue Dec 12, 2024 · 2 comments
Open

STDCM For long distance path timeout #10034

flomonster opened this issue Dec 12, 2024 · 2 comments
Labels
area:core Work on Core Service kind:bug Something isn't working severity:minor Minor severity bug

Comments

@flomonster
Copy link
Contributor

What happened?

When searching for an STDCM core timeout.

...
[14:20:06,377] [INFO]                  [STDCM] node sample for progress 7/10: time=25982s, since departure=15388s, best remaining time=3940s, loc={lat=44.427971, lon=4.709518}, #visited nodes=204058
[14:20:07,900] [INFO]                  [STDCM] node sample for progress 8/10: time=28157s, since departure=17564s, best remaining time=2618s, loc={lat=44.038597, lon=4.892122}, #visited nodes=214180
fr.sncf.osrd.reporting.exceptions.OSRDError: Pathfinding timed out: no path could be found
    at fr.sncf.osrd.stdcm.graph.STDCMPathfinding.findPathImpl(STDCMPathfinding.kt:193)
    at fr.sncf.osrd.stdcm.graph.STDCMPathfinding.findPath(STDCMPathfinding.kt:123)
    at fr.sncf.osrd.stdcm.graph.STDCMPathfindingKt.findPath(STDCMPathfinding.kt:76)
    at fr.sncf.osrd.api.api_v2.stdcm.STDCMEndpointV2.act(STDCMEndpointV2.kt:105)
    at fr.sncf.osrd.cli.WorkerCommand.run$lambda$8$lambda$3(WorkerCommand.kt:249)
    at fr.sncf.osrd.cli.WorkerCommand.run$lambda$8$lambda$5$lambda$4(WorkerCommand.kt:303)
    at io.opentelemetry.javaagent.bootstrap.executors.ContextPropagatingRunnable.run(ContextPropagatingRunnable.java:37)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
    at java.base/java.lang.Thread.run(Thread.java:1583)

What did you expect to happen?

We should be able to find a response on time.

How can we reproduce it (as minimally and precisely as possible)?

With France infrastructure search for a DPY.13 to MAS.AR.

Image

On which environments the bug occurs?

Recette (SNCF)

On which browser the bug occurs?

Firefox

OSRD version (top right corner Account button > Informations)

9e75ce2

@flomonster flomonster added kind:bug Something isn't working area:core Work on Core Service severity:critical Critical severity bug labels Dec 12, 2024
@eckter eckter self-assigned this Dec 17, 2024
@eckter
Copy link
Contributor

eckter commented Jan 28, 2025

I'm lowering the severity, timeouts can still happen on France but it's a lot less common in the South-West lines only

@eckter eckter added severity:minor Minor severity bug severity:major Major severity bug and removed severity:critical Critical severity bug severity:minor Minor severity bug labels Jan 28, 2025
@eckter eckter added severity:minor Minor severity bug and removed severity:major Major severity bug labels Jan 31, 2025
@eckter
Copy link
Contributor

eckter commented Jan 31, 2025

This now only happens when requesting paths across the whole country, which is out of scope for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:core Work on Core Service kind:bug Something isn't working severity:minor Minor severity bug
Projects
None yet
Development

No branches or pull requests

2 participants