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

Imported: Failure in RCA #48

Open
DaGeRe opened this issue Nov 15, 2021 · 1 comment
Open

Imported: Failure in RCA #48

DaGeRe opened this issue Nov 15, 2021 · 1 comment

Comments

@DaGeRe
Copy link
Owner

DaGeRe commented Nov 15, 2021

This issue has been imported from an old repository. It was originally created by @Schattensilber at 2021-10-20T08:52:56Z with number #48

When executing RCA with

measure versionDiff: 1, VMs: 20, 
              createDefaultConstructor: false, executeRCA: true, iterations: 40, 
              executeParallel: false, warmup: 10,
              includes: 'immo.geomap.backend.objektservice.impl.objekte.TestObjektServiceImpl#*',
              measurementMode: 'LEVELWISE', repetitions: 10, testGoal: '', timeout: 100,
              useAggregation: true, useSourceInstrumentation: true, displayRTSLogs: true, nightlyBuild: false,
              redirectToNull: false, showStart: true, excludeLog4j: true, generateCoverageSelection: true

In Console view when running:

Cannot reduce iterations (5) or repetitions (2) anymore
Was unable to analyze: testSearchPaging
java.lang.RuntimeException: Execution took too long, Iterations: 2 Warmup: 0 Repetitions: 2
   at de.dagere.peass.measurement.rca.CauseTester.measureVersion(CauseTester.java:66)
   at de.dagere.peass.measurement.rca.searcher.LevelCauseSearcher.measureLevel(LevelCauseSearcher.java:99)
   at de.dagere.peass.measurement.rca.searcher.LevelCauseSearcher.isLevelDifferent(LevelCauseSearcher.java:83)
   at de.dagere.peass.measurement.rca.searcher.LevelCauseSearcher.isLevelDifferent(LevelCauseSearcher.java:93)
   at de.dagere.peass.measurement.rca.searcher.LevelCauseSearcher.searchCause(LevelCauseSearcher.java:70)
   at de.dagere.peass.measurement.rca.searcher.CauseSearcher.search(CauseSearcher.java:67)
   at de.dagere.peass.ci.helper.RCAExecutor.executeRCA(RCAExecutor.java:139)
   at de.dagere.peass.ci.helper.RCAExecutor.analyseChange(RCAExecutor.java:119)
   at de.dagere.peass.ci.helper.RCAExecutor.executeRCAs(RCAExecutor.java:72)
   at de.dagere.peass.ci.remote.RemoteRCA.executeRCA(RemoteRCA.java:88)
   at de.dagere.peass.ci.remote.RemoteRCA.invoke(RemoteRCA.java:58)
   at de.dagere.peass.ci.remote.RemoteRCA.invoke(RemoteRCA.java:28)
   at hudson.FilePath.act(FilePath.java:1173)
   at hudson.FilePath.act(FilePath.java:1156)
   at de.dagere.peass.ci.LocalPeassProcessManager.rca(LocalPeassProcessManager.java:98)
   at de.dagere.peass.ci.MeasureVersionBuilder.measure(MeasureVersionBuilder.java:171)
   at de.dagere.peass.ci.MeasureVersionBuilder.runAllSteps(MeasureVersionBuilder.java:155)
   at de.dagere.peass.ci.MeasureVersionBuilder.perform(MeasureVersionBuilder.java:119)
   at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:99)
   at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:69)
   at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   at java.lang.Thread.run(Thread.java:748)
@DaGeRe
Copy link
Owner Author

DaGeRe commented Nov 15, 2021

This comment has been imported from an old repository. It was originally created by @DaGeRe at 2021-10-20T10:34:04Z

Thanks for the issue, the problem seems to be that enum constructors must not access static fields, and therefore the instrumentation failed. This should be fixed by DaGeRe/peass@c917b2d Can you confirm this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant