[JBoss JIRA] (DROOLS-4658) Executable model compilation fails with ClassCastException when using accumulate and additional constraint
by Luca Molteni (Jira)
[ https://issues.jboss.org/browse/DROOLS-4658?page=com.atlassian.jira.plugi... ]
Luca Molteni commented on DROOLS-4658:
--------------------------------------
Fixed here https://github.com/kiegroup/drools/commit/a47901fa5f5519154042969affcf7d0...
> Executable model compilation fails with ClassCastException when using accumulate and additional constraint
> ----------------------------------------------------------------------------------------------------------
>
> Key: DROOLS-4658
> URL: https://issues.jboss.org/browse/DROOLS-4658
> Project: Drools
> Issue Type: Bug
> Components: core engine, executable model
> Affects Versions: 7.28.0.Final
> Reporter: Martin Weiler
> Assignee: Luca Molteni
> Priority: Major
> Labels: support
>
> A rule containing the following constraint:
> {noformat}
> when
> $customer : Customer( code == "RHT" )
> $max1 : Number() from accumulate(
> StockTick( company == $customer.code
> , $time : dueDate);
> max($time.getTime().getTime()))
> {noformat}
> fails with a ClassCastException when building with the executable model:
> {noformat}
> java.lang.ClassCastException: com.github.javaparser.ast.expr.NameExpr cannot be cast to com.github.javaparser.ast.expr.LambdaExpr
> at org.drools.modelcompiler.builder.generator.visitor.accumulate.AccumulateVisitorPatternDSL.lambda$composeTwoBindings$4(AccumulateVisitorPatternDSL.java:67)
> at java.util.Optional.ifPresent(Optional.java:159)
> at org.drools.modelcompiler.builder.generator.visitor.accumulate.AccumulateVisitorPatternDSL.composeTwoBindings(AccumulateVisitorPatternDSL.java:64)
> at org.drools.modelcompiler.builder.generator.visitor.accumulate.AccumulateVisitorPatternDSL.lambda$null$1(AccumulateVisitorPatternDSL.java:53)
> at java.util.Optional.ifPresent(Optional.java:159)
> at org.drools.modelcompiler.builder.generator.visitor.accumulate.AccumulateVisitorPatternDSL.lambda$processNewBinding$3(AccumulateVisitorPatternDSL.java:53)
> at java.util.Optional.ifPresent(Optional.java:159)
> at org.drools.modelcompiler.builder.generator.visitor.accumulate.AccumulateVisitorPatternDSL.processNewBinding(AccumulateVisitorPatternDSL.java:44)
> at org.drools.modelcompiler.builder.generator.visitor.accumulate.AccumulateVisitor.classicAccumulate(AccumulateVisitor.java:129)
> at org.drools.modelcompiler.builder.generator.visitor.accumulate.AccumulateVisitor.visit(AccumulateVisitor.java:107)
> at org.drools.modelcompiler.builder.generator.visitor.ModelGeneratorVisitor.visit(ModelGeneratorVisitor.java:122)
> at org.drools.compiler.lang.descr.PatternDescr.accept(PatternDescr.java:272)
> at org.drools.modelcompiler.builder.generator.visitor.AndVisitor.visit(AndVisitor.java:29)
> at org.drools.modelcompiler.builder.generator.visitor.ModelGeneratorVisitor.visit(ModelGeneratorVisitor.java:69)
> at org.drools.modelcompiler.builder.generator.ModelGenerator.processRule(ModelGenerator.java:176)
> at org.drools.modelcompiler.builder.generator.ModelGenerator.generateModel(ModelGenerator.java:156)
> at org.drools.modelcompiler.builder.ModelBuilderImpl.compileKnowledgePackages(ModelBuilderImpl.java:176)
> at org.drools.modelcompiler.builder.ModelBuilderImpl.buildRules(ModelBuilderImpl.java:121)
> at org.drools.modelcompiler.builder.ModelBuilderImpl.buildPackages(ModelBuilderImpl.java:71)
> at org.drools.compiler.builder.impl.CompositeKnowledgeBuilderImpl.build(CompositeKnowledgeBuilderImpl.java:108)
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 9 months
[JBoss JIRA] (SWSQE-984) kiali-test-mesh-operator is failing to start
by Filip Brychta (Jira)
Filip Brychta created SWSQE-984:
-----------------------------------
Summary: kiali-test-mesh-operator is failing to start
Key: SWSQE-984
URL: https://issues.jboss.org/browse/SWSQE-984
Project: Kiali QE
Issue Type: QE Task
Reporter: Filip Brychta
Assignee: Guilherme Baufaker Rêgo
The pod is restarted all the time: "Back-off restarting failed container"
Following error visible in log:
{"level":"info","ts":1571914222.454874,"logger":"cmd","msg":"Go Version: go1.12.10"}
{"level":"info","ts":1571914222.4549806,"logger":"cmd","msg":"Go OS/Arch: linux/amd64"}
{"level":"info","ts":1571914222.454985,"logger":"cmd","msg":"Version of operator-sdk: v0.11.0"}
{"level":"info","ts":1571914222.45501,"logger":"cmd","msg":"Watching namespace.","Namespace":""}
{"level":"info","ts":1571914224.7101812,"logger":"controller-runtime.metrics","msg":"metrics server is starting to listen","addr":"0.0.0.0:8383"}
{"level":"info","ts":1571914224.7112012,"logger":"ansible-controller","msg":"Watching resource","Options.Group":"bookinfo.kiali.io","Options.Version":"v1","Options.Kind":"Bookinfo"}
{"level":"info","ts":1571914224.7115371,"logger":"controller-runtime.controller","msg":"Starting EventSource","controller":"bookinfo-controller","source":"kind source: bookinfo.kiali.io/v1, Kind=Bookinfo"}
{"level":"info","ts":1571914224.7117562,"logger":"ansible-controller","msg":"Watching resource","Options.Group":"complexmesh.kiali.io","Options.Version":"v1","Options.Kind":"ComplexMesh"}
{"level":"info","ts":1571914224.7118504,"logger":"controller-runtime.controller","msg":"Starting EventSource","controller":"complexmesh-controller","source":"kind source: complexmesh.kiali.io/v1, Kind=ComplexMesh"}
{"level":"info","ts":1571914224.712039,"logger":"ansible-controller","msg":"Watching resource","Options.Group":"scalemesh.kiali.io","Options.Version":"v1","Options.Kind":"ScaleMesh"}
{"level":"info","ts":1571914224.7121336,"logger":"controller-runtime.controller","msg":"Starting EventSource","controller":"scalemesh-controller","source":"kind source: scalemesh.kiali.io/v1, Kind=ScaleMesh"}
{"level":"error","ts":1571914228.4757526,"logger":"controller-runtime.source","msg":"if kind is a CRD, it should be installed before calling Start","kind":"ScaleMesh.scalemesh.kiali.io","error":"no matches for kind \"ScaleMesh\" in version \"scalemesh.kiali.io/v1\"","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\tpkg/mod/github.com/go-logr/..."}
{"level":"error","ts":1571914228.4761193,"logger":"ansible-controller","msg":"","error":"no matches for kind \"ScaleMesh\" in version \"scalemesh.kiali.io/v1\"","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\tpkg/mod/github.com/go-logr/..."}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 9 months
[JBoss JIRA] (SWSQE-983) Bookinfo installation does not create route for productpage
by Filip Brychta (Jira)
Filip Brychta created SWSQE-983:
-----------------------------------
Summary: Bookinfo installation does not create route for productpage
Key: SWSQE-983
URL: https://issues.jboss.org/browse/SWSQE-983
Project: Kiali QE
Issue Type: QE Task
Reporter: Filip Brychta
Assignee: Guilherme Baufaker Rêgo
The checker job is expecting bookinfo productpage to be available via route. The route is not created by bookinfo installation. We need the route to be able to check that product page is browsable.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 9 months