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

Lineage generation fails on some files #1432

Open
eikek opened this issue Apr 20, 2023 · 0 comments
Open

Lineage generation fails on some files #1432

eikek opened this issue Apr 20, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@eikek
Copy link
Member

eikek commented Apr 20, 2023

Describe the bug

When clicking on a file in the given project, the lineage finder throws an exception. It throws an illegal argument error, wihich is wrong given that the file that has been clicked on exists. So it might be a not-found or perhaps a very bad state of the database. This issue has been found on dev.

2023-04-20 09:05:26,417 ERROR application - Lineage generation failed
java.lang.Exception: Finding lineage for 'tasko.olevski/nccr-demo-test-1' and 'data/evals/random_forest_test_set_perf.png' failed
        at io.renku.knowledgegraph.projects.files.lineage.LineageFinderImpl$$anonfun$loggingError$1.applyOrElse(LineageFinder.scala:85)
        at io.renku.knowledgegraph.projects.files.lineage.LineageFinderImpl$$anonfun$loggingError$1.applyOrElse(LineageFinder.scala:81)
        at cats.ApplicativeError.$anonfun$recoverWith$1(ApplicativeError.scala:172)
        at main$ @ io.renku.knowledgegraph.Microservice$.main(Microservice.scala:35)
        at main$ @ io.renku.knowledgegraph.Microservice$.main(Microservice.scala:35)
        at parSequence$extension @ io.renku.knowledgegraph.users.projects.finder.GLProjectFinderImpl.fetchAllOtherPagesPar(GLProjectFinder.scala:68)
Caused by: java.lang.IllegalArgumentException: No plan with https://dev.renku.ch/activities/90c803dcc1e942298289bf26fd791765
        at io.renku.knowledgegraph.projects.files.lineage.NodeDetailsFinderImpl.$anonfun$failIf$1(NodeDetailsFinder.scala:105)
        at >>$extension @ fs2.Pull$.fs2$Pull$$go$1(Pull.scala:1240)
        at foreverM$extension @ io.renku.knowledgegraph.metrics.KGMetricsImpl.run(KGMetrics.scala:42)
        at >>$extension @ fs2.Pull$.fs2$Pull$$go$1(Pull.scala:1240)
        at foreverM$extension @ io.renku.knowledgegraph.metrics.KGMetricsImpl.run(KGMetrics.scala:42)
        at delay @ fs2.io.net.SocketGroupCompanionPlatform$AsyncSocketGroup.$anonfun$client$2(SocketGroupPlatform.scala:55)
        at guarantee$extension @ fs2.internal.InterruptContext.complete(InterruptContext.scala:49)
        at >>$extension @ fs2.Pull$.fs2$Pull$$go$1(Pull.scala:1240)
        at foreverM$extension @ io.renku.knowledgegraph.metrics.KGMetricsImpl.run(KGMetrics.scala:42)
        at delay @ fs2.io.net.SocketCompanionPlatform.$anonfun$forAsync$2(SocketPlatform.scala:43)
        at guarantee$extension @ fs2.internal.InterruptContext.complete(InterruptContext.scala:49)
        at delay @ fs2.io.net.SocketCompanionPlatform$AsyncSocket.endOfOutput(SocketPlatform.scala:167)
2023-04-20 09:05:26,484 ERROR application - Lineage generation failed
java.lang.Exception: Finding lineage for 'tasko.olevski/nccr-demo-test-1' and 'data/evals/random_forest_test_set_perf.png' failed
        at io.renku.knowledgegraph.projects.files.lineage.LineageFinderImpl$$anonfun$loggingError$1.applyOrElse(LineageFinder.scala:85)
        at io.renku.knowledgegraph.projects.files.lineage.LineageFinderImpl$$anonfun$loggingError$1.applyOrElse(LineageFinder.scala:81)
        at cats.ApplicativeError.$anonfun$recoverWith$1(ApplicativeError.scala:172)
        at main$ @ io.renku.knowledgegraph.Microservice$.main(Microservice.scala:35)
        at parSequence$extension @ io.renku.knowledgegraph.users.projects.finder.GLProjectFinderImpl.fetchAllOtherPagesPar(GLProjectFinder.scala:68)
        at sequence @ io.renku.knowledgegraph.metrics.KGMetricsImpl.$anonfun$updateCounts$2(KGMetrics.scala:48)
        at sequence @ io.renku.knowledgegraph.metrics.KGMetricsImpl.$anonfun$updateCounts$2(KGMetrics.scala:48)
        at map @ io.renku.knowledgegraph.projects.files.lineage.NodeDetailsFinderImpl.findDetails(NodeDetailsFinder.scala:61)
Caused by: java.lang.IllegalArgumentException: No plan with https://dev.renku.ch/activities/3a9276d39788403b96bf378e74fa1546
        at io.renku.knowledgegraph.projects.files.lineage.NodeDetailsFinderImpl.$anonfun$failIf$1(NodeDetailsFinder.scala:105)
        at >>$extension @ fs2.Pull$.fs2$Pull$$go$1(Pull.scala:1240)
        at foreverM$extension @ io.renku.knowledgegraph.metrics.KGMetricsImpl.run(KGMetrics.scala:42)
        at >>$extension @ fs2.Pull$.fs2$Pull$$go$1(Pull.scala:1240)
        at foreverM$extension @ io.renku.knowledgegraph.metrics.KGMetricsImpl.run(KGMetrics.scala:42)
        at delay @ fs2.io.net.SocketGroupCompanionPlatform$AsyncSocketGroup.$anonfun$client$2(SocketGroupPlatform.scala:55)
        at guarantee$extension @ fs2.internal.InterruptContext.complete(InterruptContext.scala:49)
        at >>$extension @ fs2.Pull$.fs2$Pull$$go$1(Pull.scala:1240)
        at foreverM$extension @ io.renku.knowledgegraph.metrics.KGMetricsImpl.run(KGMetrics.scala:42)
        at delay @ fs2.io.net.SocketCompanionPlatform.$anonfun$forAsync$2(SocketPlatform.scala:43)
        at guarantee$extension @ fs2.internal.InterruptContext.complete(InterruptContext.scala:49)
        at delay @ fs2.io.net.SocketCompanionPlatform$AsyncSocket.endOfOutput(SocketPlatform.scala:167)

Link to project

https://dev.renku.ch/projects/tasko.olevski/nccr-demo-test-1/files/lineage/data/evals/baseline_test_set_perf.png

@eikek eikek added bug Something isn't working status/triage Issue needs to be triaged labels Apr 20, 2023
@Panaetius Panaetius removed the status/triage Issue needs to be triaged label Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants