java.lang.Exception: No tests found in class [it.com.pbaranchikov.stash.checks.InheritedEolTest]

Atlassian JIRA | Pavel Baranchikov | 1 year ago
  1. 0

    It is not possible to execute wired integration tests. I get error instead: {code} java.lang.Exception: No tests found in class [it.com.pbaranchikov.stash.checks.InheritedEolTest] at com.atlassian.plugins.osgi.test.AtlassianPluginsTestRunner.runViaRestCall(AtlassianPluginsTestRunner.java:125) at com.atlassian.plugins.osgi.test.AtlassianPluginsTestRunner.run(AtlassianPluginsTestRunner.java:75) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) {code} Bitbucket server output contains the following: {code} [INFO] [talledLocalContainer] 2015-09-25 12:08:39,431 WARN [ThreadPoolAsyncTaskExecutor::Thread 1] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=urlRouteModuleDescriptorFactory, objectType=com.atlassian.prettyurls.module.UrlRouteModuleDescriptorFactory, level=-5] [INFO] [talledLocalContainer] 2015-09-25 12:08:39,466 WARN [spring-startup] c.a.plugin.impl.AbstractPlugin Because of this exception [INFO] [talledLocalContainer] com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.pbaranchikov.stash-eol-check [INFO] [talledLocalContainer] at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:449) ~[OsgiPlugin.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:336) ~[AbstractPlugin.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:150) [PluginEnabler.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:118) [PluginEnabler.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.enableDependentPlugins(DefaultPluginManager.java:1249) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:1221) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.StashPluginManager.addPlugins(StashPluginManager.java:71) [StashPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:513) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.StashPluginManager.lambda$earlyStartup$3(StashPluginManager.java:51) [StashPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.PluginUpgradeHelper.withUpgrade(PluginUpgradeHelper.java:82) ~[PluginUpgradeHelper.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.StashPluginManager.earlyStartup(StashPluginManager.java:51) [StashPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:426) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.SpringPluginSystemLifecycle.start(SpringPluginSystemLifecycle.java:34) ~[SpringPluginSystemLifecycle.class:na] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:173) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:51) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:346) ~[DefaultLifecycleProcessor$LifecycleGroup.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:149) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:112) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:770) ~[AbstractApplicationContext.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:483) ~[AbstractApplicationContext.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at javax.servlet.GenericServlet.init(GenericServlet.java:158) ~[servlet-api.jar:3.1.FR] [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_60] [INFO] [talledLocalContainer] ... 8 frames trimmed [INFO] [talledLocalContainer] Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle com.pbaranchikov.stash-eol-check [111]: Unable to resolve 111.0: missing requirement [111.0] osgi.wiring.package; (osgi.wiring.package=com.atlassian.stash.commit) [INFO] [talledLocalContainer] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974) ~[Felix.class:na] [INFO] [talledLocalContainer] ... 22 common frames omitted [INFO] [talledLocalContainer] 2015-09-25 12:08:39,492 ERROR [spring-startup] c.a.plugin.manager.PluginEnabler Unable to enable plugin com.pbaranchikov.stash-eol-check [INFO] [talledLocalContainer] com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.pbaranchikov.stash-eol-check [INFO] [talledLocalContainer] at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:449) ~[OsgiPlugin.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:336) ~[AbstractPlugin.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:150) [PluginEnabler.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:118) [PluginEnabler.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.enableDependentPlugins(DefaultPluginManager.java:1249) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:1221) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.StashPluginManager.addPlugins(StashPluginManager.java:71) [StashPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:513) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.StashPluginManager.lambda$earlyStartup$3(StashPluginManager.java:51) [StashPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.PluginUpgradeHelper.withUpgrade(PluginUpgradeHelper.java:82) ~[PluginUpgradeHelper.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.StashPluginManager.earlyStartup(StashPluginManager.java:51) [StashPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:426) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.SpringPluginSystemLifecycle.start(SpringPluginSystemLifecycle.java:34) ~[SpringPluginSystemLifecycle.class:na] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:173) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:51) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:346) ~[DefaultLifecycleProcessor$LifecycleGroup.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:149) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:112) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:770) ~[AbstractApplicationContext.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:483) ~[AbstractApplicationContext.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at javax.servlet.GenericServlet.init(GenericServlet.java:158) ~[servlet-api.jar:3.1.FR] [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_60] [INFO] [talledLocalContainer] ... 8 frames trimmed [INFO] [talledLocalContainer] Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle com.pbaranchikov.stash-eol-check [111]: Unable to resolve 111.0: missing requirement [111.0] osgi.wiring.package; (osgi.wiring.package=com.atlassian.stash.commit) [INFO] [talledLocalContainer] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974) ~[Felix.class:na] [INFO] [talledLocalContainer] ... 22 common frames omitted [INFO] [talledLocalContainer] 2015-09-25 12:08:39,501 ERROR [spring-startup] c.a.plugin.osgi.factory.OsgiPlugin Detected an error (BundleException) enabling the plugin 'com.pbaranchikov.stash-eol-check-tests' : Unresolved constraint in bundle com.pbaranchikov.stash-eol-check-tests [112]: Unable to resolve 112.0: missing requirement [112.0] osgi.wiring.package; (osgi.wiring.package=com.atlassian.stash.commit). This error usually occurs when your plugin imports a package from another bundle with a specific version constraint and either the bundle providing that package doesn't meet those version constraints, or there is no bundle available that provides the specified package. For more details on how to fix this, see https://developer.atlassian.com/x/mQAN [INFO] [talledLocalContainer] 2015-09-25 12:08:39,501 WARN [spring-startup] c.a.plugin.impl.AbstractPlugin Unable to enable plugin 'com.pbaranchikov.stash-eol-check-tests' [INFO] [talledLocalContainer] 2015-09-25 12:08:39,505 WARN [spring-startup] c.a.plugin.impl.AbstractPlugin Because of this exception [INFO] [talledLocalContainer] com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.pbaranchikov.stash-eol-check-tests [INFO] [talledLocalContainer] at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:449) ~[OsgiPlugin.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:336) ~[AbstractPlugin.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:150) [PluginEnabler.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:118) [PluginEnabler.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.enableDependentPlugins(DefaultPluginManager.java:1249) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:1221) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.StashPluginManager.addPlugins(StashPluginManager.java:71) [StashPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:513) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.StashPluginManager.lambda$earlyStartup$3(StashPluginManager.java:51) [StashPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.PluginUpgradeHelper.withUpgrade(PluginUpgradeHelper.java:82) ~[PluginUpgradeHelper.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.StashPluginManager.earlyStartup(StashPluginManager.java:51) [StashPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:426) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.SpringPluginSystemLifecycle.start(SpringPluginSystemLifecycle.java:34) ~[SpringPluginSystemLifecycle.class:na] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:173) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:51) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:346) ~[DefaultLifecycleProcessor$LifecycleGroup.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:149) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:112) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:770) ~[AbstractApplicationContext.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:483) ~[AbstractApplicationContext.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at javax.servlet.GenericServlet.init(GenericServlet.java:158) ~[servlet-api.jar:3.1.FR] [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_60] [INFO] [talledLocalContainer] ... 8 frames trimmed [INFO] [talledLocalContainer] Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle com.pbaranchikov.stash-eol-check-tests [112]: Unable to resolve 112.0: missing requirement [112.0] osgi.wiring.package; (osgi.wiring.package=com.atlassian.stash.commit) [INFO] [talledLocalContainer] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974) ~[Felix.class:na] [INFO] [talledLocalContainer] ... 22 common frames omitted [INFO] [talledLocalContainer] 2015-09-25 12:08:39,508 ERROR [spring-startup] c.a.plugin.manager.PluginEnabler Unable to enable plugin com.pbaranchikov.stash-eol-check-tests [INFO] [talledLocalContainer] com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.pbaranchikov.stash-eol-check-tests [INFO] [talledLocalContainer] at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:449) ~[OsgiPlugin.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:336) ~[AbstractPlugin.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:150) [PluginEnabler.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:118) [PluginEnabler.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.enableDependentPlugins(DefaultPluginManager.java:1249) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:1221) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.StashPluginManager.addPlugins(StashPluginManager.java:71) [StashPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:513) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.StashPluginManager.lambda$earlyStartup$3(StashPluginManager.java:51) [StashPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.PluginUpgradeHelper.withUpgrade(PluginUpgradeHelper.java:82) ~[PluginUpgradeHelper.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.StashPluginManager.earlyStartup(StashPluginManager.java:51) [StashPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:426) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.SpringPluginSystemLifecycle.start(SpringPluginSystemLifecycle.java:34) ~[SpringPluginSystemLifecycle.class:na] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:173) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:51) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:346) ~[DefaultLifecycleProcessor$LifecycleGroup.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:149) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:112) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:770) ~[AbstractApplicationContext.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:483) ~[AbstractApplicationContext.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at javax.servlet.GenericServlet.init(GenericServlet.java:158) ~[servlet-api.jar:3.1.FR] [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_60] [INFO] [talledLocalContainer] ... 8 frames trimmed [INFO] [talledLocalContainer] Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle com.pbaranchikov.stash-eol-check-tests [112]: Unable to resolve 112.0: missing requirement [112.0] osgi.wiring.package; (osgi.wiring.package=com.atlassian.stash.commit) {code} So, are there still some stash references left by accident? As, I have not received any answer on support forum, I suppose this is an issue. {code}

    Atlassian JIRA | 1 year ago | Pavel Baranchikov
    java.lang.Exception: No tests found in class [it.com.pbaranchikov.stash.checks.InheritedEolTest]
  2. 0

    It is not possible to execute wired integration tests. I get error instead: {code} java.lang.Exception: No tests found in class [it.com.pbaranchikov.stash.checks.InheritedEolTest] at com.atlassian.plugins.osgi.test.AtlassianPluginsTestRunner.runViaRestCall(AtlassianPluginsTestRunner.java:125) at com.atlassian.plugins.osgi.test.AtlassianPluginsTestRunner.run(AtlassianPluginsTestRunner.java:75) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) {code} Bitbucket server output contains the following: {code} [INFO] [talledLocalContainer] 2015-09-25 12:08:39,431 WARN [ThreadPoolAsyncTaskExecutor::Thread 1] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=urlRouteModuleDescriptorFactory, objectType=com.atlassian.prettyurls.module.UrlRouteModuleDescriptorFactory, level=-5] [INFO] [talledLocalContainer] 2015-09-25 12:08:39,466 WARN [spring-startup] c.a.plugin.impl.AbstractPlugin Because of this exception [INFO] [talledLocalContainer] com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.pbaranchikov.stash-eol-check [INFO] [talledLocalContainer] at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:449) ~[OsgiPlugin.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:336) ~[AbstractPlugin.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:150) [PluginEnabler.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:118) [PluginEnabler.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.enableDependentPlugins(DefaultPluginManager.java:1249) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:1221) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.StashPluginManager.addPlugins(StashPluginManager.java:71) [StashPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:513) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.StashPluginManager.lambda$earlyStartup$3(StashPluginManager.java:51) [StashPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.PluginUpgradeHelper.withUpgrade(PluginUpgradeHelper.java:82) ~[PluginUpgradeHelper.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.StashPluginManager.earlyStartup(StashPluginManager.java:51) [StashPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:426) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.SpringPluginSystemLifecycle.start(SpringPluginSystemLifecycle.java:34) ~[SpringPluginSystemLifecycle.class:na] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:173) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:51) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:346) ~[DefaultLifecycleProcessor$LifecycleGroup.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:149) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:112) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:770) ~[AbstractApplicationContext.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:483) ~[AbstractApplicationContext.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at javax.servlet.GenericServlet.init(GenericServlet.java:158) ~[servlet-api.jar:3.1.FR] [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_60] [INFO] [talledLocalContainer] ... 8 frames trimmed [INFO] [talledLocalContainer] Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle com.pbaranchikov.stash-eol-check [111]: Unable to resolve 111.0: missing requirement [111.0] osgi.wiring.package; (osgi.wiring.package=com.atlassian.stash.commit) [INFO] [talledLocalContainer] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974) ~[Felix.class:na] [INFO] [talledLocalContainer] ... 22 common frames omitted [INFO] [talledLocalContainer] 2015-09-25 12:08:39,492 ERROR [spring-startup] c.a.plugin.manager.PluginEnabler Unable to enable plugin com.pbaranchikov.stash-eol-check [INFO] [talledLocalContainer] com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.pbaranchikov.stash-eol-check [INFO] [talledLocalContainer] at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:449) ~[OsgiPlugin.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:336) ~[AbstractPlugin.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:150) [PluginEnabler.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:118) [PluginEnabler.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.enableDependentPlugins(DefaultPluginManager.java:1249) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:1221) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.StashPluginManager.addPlugins(StashPluginManager.java:71) [StashPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:513) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.StashPluginManager.lambda$earlyStartup$3(StashPluginManager.java:51) [StashPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.PluginUpgradeHelper.withUpgrade(PluginUpgradeHelper.java:82) ~[PluginUpgradeHelper.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.StashPluginManager.earlyStartup(StashPluginManager.java:51) [StashPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:426) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.SpringPluginSystemLifecycle.start(SpringPluginSystemLifecycle.java:34) ~[SpringPluginSystemLifecycle.class:na] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:173) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:51) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:346) ~[DefaultLifecycleProcessor$LifecycleGroup.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:149) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:112) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:770) ~[AbstractApplicationContext.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:483) ~[AbstractApplicationContext.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at javax.servlet.GenericServlet.init(GenericServlet.java:158) ~[servlet-api.jar:3.1.FR] [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_60] [INFO] [talledLocalContainer] ... 8 frames trimmed [INFO] [talledLocalContainer] Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle com.pbaranchikov.stash-eol-check [111]: Unable to resolve 111.0: missing requirement [111.0] osgi.wiring.package; (osgi.wiring.package=com.atlassian.stash.commit) [INFO] [talledLocalContainer] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974) ~[Felix.class:na] [INFO] [talledLocalContainer] ... 22 common frames omitted [INFO] [talledLocalContainer] 2015-09-25 12:08:39,501 ERROR [spring-startup] c.a.plugin.osgi.factory.OsgiPlugin Detected an error (BundleException) enabling the plugin 'com.pbaranchikov.stash-eol-check-tests' : Unresolved constraint in bundle com.pbaranchikov.stash-eol-check-tests [112]: Unable to resolve 112.0: missing requirement [112.0] osgi.wiring.package; (osgi.wiring.package=com.atlassian.stash.commit). This error usually occurs when your plugin imports a package from another bundle with a specific version constraint and either the bundle providing that package doesn't meet those version constraints, or there is no bundle available that provides the specified package. For more details on how to fix this, see https://developer.atlassian.com/x/mQAN [INFO] [talledLocalContainer] 2015-09-25 12:08:39,501 WARN [spring-startup] c.a.plugin.impl.AbstractPlugin Unable to enable plugin 'com.pbaranchikov.stash-eol-check-tests' [INFO] [talledLocalContainer] 2015-09-25 12:08:39,505 WARN [spring-startup] c.a.plugin.impl.AbstractPlugin Because of this exception [INFO] [talledLocalContainer] com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.pbaranchikov.stash-eol-check-tests [INFO] [talledLocalContainer] at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:449) ~[OsgiPlugin.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:336) ~[AbstractPlugin.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:150) [PluginEnabler.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:118) [PluginEnabler.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.enableDependentPlugins(DefaultPluginManager.java:1249) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:1221) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.StashPluginManager.addPlugins(StashPluginManager.java:71) [StashPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:513) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.StashPluginManager.lambda$earlyStartup$3(StashPluginManager.java:51) [StashPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.PluginUpgradeHelper.withUpgrade(PluginUpgradeHelper.java:82) ~[PluginUpgradeHelper.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.StashPluginManager.earlyStartup(StashPluginManager.java:51) [StashPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:426) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.SpringPluginSystemLifecycle.start(SpringPluginSystemLifecycle.java:34) ~[SpringPluginSystemLifecycle.class:na] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:173) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:51) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:346) ~[DefaultLifecycleProcessor$LifecycleGroup.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:149) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:112) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:770) ~[AbstractApplicationContext.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:483) ~[AbstractApplicationContext.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at javax.servlet.GenericServlet.init(GenericServlet.java:158) ~[servlet-api.jar:3.1.FR] [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_60] [INFO] [talledLocalContainer] ... 8 frames trimmed [INFO] [talledLocalContainer] Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle com.pbaranchikov.stash-eol-check-tests [112]: Unable to resolve 112.0: missing requirement [112.0] osgi.wiring.package; (osgi.wiring.package=com.atlassian.stash.commit) [INFO] [talledLocalContainer] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974) ~[Felix.class:na] [INFO] [talledLocalContainer] ... 22 common frames omitted [INFO] [talledLocalContainer] 2015-09-25 12:08:39,508 ERROR [spring-startup] c.a.plugin.manager.PluginEnabler Unable to enable plugin com.pbaranchikov.stash-eol-check-tests [INFO] [talledLocalContainer] com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.pbaranchikov.stash-eol-check-tests [INFO] [talledLocalContainer] at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:449) ~[OsgiPlugin.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:336) ~[AbstractPlugin.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:150) [PluginEnabler.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:118) [PluginEnabler.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.enableDependentPlugins(DefaultPluginManager.java:1249) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:1221) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.StashPluginManager.addPlugins(StashPluginManager.java:71) [StashPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:513) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.StashPluginManager.lambda$earlyStartup$3(StashPluginManager.java:51) [StashPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.PluginUpgradeHelper.withUpgrade(PluginUpgradeHelper.java:82) ~[PluginUpgradeHelper.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.StashPluginManager.earlyStartup(StashPluginManager.java:51) [StashPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:426) [DefaultPluginManager.class:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.SpringPluginSystemLifecycle.start(SpringPluginSystemLifecycle.java:34) ~[SpringPluginSystemLifecycle.class:na] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:173) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:51) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:346) ~[DefaultLifecycleProcessor$LifecycleGroup.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:149) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:112) ~[DefaultLifecycleProcessor.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:770) ~[AbstractApplicationContext.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:483) ~[AbstractApplicationContext.class:4.1.7.RELEASE] [INFO] [talledLocalContainer] at javax.servlet.GenericServlet.init(GenericServlet.java:158) ~[servlet-api.jar:3.1.FR] [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_60] [INFO] [talledLocalContainer] ... 8 frames trimmed [INFO] [talledLocalContainer] Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle com.pbaranchikov.stash-eol-check-tests [112]: Unable to resolve 112.0: missing requirement [112.0] osgi.wiring.package; (osgi.wiring.package=com.atlassian.stash.commit) {code} So, are there still some stash references left by accident? As, I have not received any answer on support forum, I suppose this is an issue. {code}

    Atlassian JIRA | 1 year ago | Pavel Baranchikov
    java.lang.Exception: No tests found in class [it.com.pbaranchikov.stash.checks.InheritedEolTest]
  3. 0

    Plugin, newly created by atlas-create-stash-plugin command has its integration tests faile, when run though a atlas-integration-test program. {code} ------------------------------------------------------- T E S T S ------------------------------------------------------- Running it.com.pbaranchikov.MyComponentWiredTest SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.405 sec <<< FAILURE! it.com.pbaranchikov.MyComponentWiredTest Time elapsed: 1.405 sec <<< ERROR! java.lang.NoClassDefFoundError: com/atlassian/upm/api/util/Option at com.atlassian.plugins.osgi.test.AtlassianPluginsTestRunner.runViaRestCall(AtlassianPluginsTestRunner.java:114) at com.atlassian.plugins.osgi.test.AtlassianPluginsTestRunner.run(AtlassianPluginsTestRunner.java:75) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) Caused by: java.lang.ClassNotFoundException: com.atlassian.upm.api.util.Option at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 14 more {code} To avoid this error I am to add additional dependency {code} <dependency> <groupId>com.atlassian.upm</groupId> <artifactId>upm-api</artifactId> <version>2.1.4</version> <scope>test</scope> </dependency> {code} After this, I get new errors {code} ------------------------------------------------------- T E S T S ------------------------------------------------------- Running it.com.pbaranchikov.MyComponentWiredTest SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.618 sec <<< FAILURE! No tests found in class [it.com.pbaranchikov.MyComponentWiredTest] Time elapsed: 0.617 sec <<< ERROR! java.lang.Exception: No tests found in class [it.com.pbaranchikov.MyComponentWiredTest] at com.atlassian.plugins.osgi.test.AtlassianPluginsTestRunner.runViaRestCall(AtlassianPluginsTestRunner.java:125) at com.atlassian.plugins.osgi.test.AtlassianPluginsTestRunner.run(AtlassianPluginsTestRunner.java:75) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) {code} During next iteration I;ve changed my pom.xml, as mentioned in [Asynchronous startup section of API changelog|https://developer.atlassian.com/stash/docs/latest/reference/api-changelog.html] the following way: {code} <plugin> <groupId>com.atlassian.maven.plugins</groupId> <artifactId>maven-stash-plugin</artifactId> <version>${amps.version}</version> <extensions>true</extensions> <configuration> <products> <product> <id>stash</id> <instanceId>stash</instanceId> <version>${stash.version}</version> <dataVersion>${stash.data.version}</dataVersion> <systemPropertyVariables> <!-- Force Stash to start up synchronously --> <johnson.spring.lifecycle.synchronousStartup>true</johnson.spring.lifecycle.synchronousStartup> </systemPropertyVariables> </product>.. </products> </configuration> </plugin> {code} This change have not fixed enything at all. I suppose, that plugin, created by Atlassian SDK should work out-of-the-box.

    Atlassian JIRA | 2 years ago | Pavel Baranchikov
    java.lang.Exception: No tests found in class [it.com.pbaranchikov.MyComponentWiredTest]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SwitchYard: cannot execute ProjectCreationTest:createProjectWithServerTest

    GitHub | 2 years ago | apodhrad
    java.lang.Exception: No tests found matching Method createProjectWithServerTest(org.jboss.tools.switchyard.ui.bot.test.ProjectCreationTest) from org.junit.internal.requests.ClassRequest@228eb03f
  6. 0

    when i run the test case in the IDEA , will throw exceptions as follows

    GitHub | 9 months ago | vwyuheng
    java.lang.Exception: No tests found matching Method execute(com.navercorp.pinpoint.plugin.google.httpclient.HttpRequestIT) from org.junit.internal.requests.ClassRequest@24367e26

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.Exception

      No tests found in class [it.com.pbaranchikov.stash.checks.InheritedEolTest]

      at com.atlassian.plugins.osgi.test.AtlassianPluginsTestRunner.runViaRestCall()
    2. com.atlassian.plugins
      AtlassianPluginsTestRunner.run
      1. com.atlassian.plugins.osgi.test.AtlassianPluginsTestRunner.runViaRestCall(AtlassianPluginsTestRunner.java:125)
      2. com.atlassian.plugins.osgi.test.AtlassianPluginsTestRunner.run(AtlassianPluginsTestRunner.java:75)
      2 frames
    3. JUnit4 Provider
      JUnit4Provider.executeTestSet
      1. org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
      2. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
      2 frames