java.lang.AssertionError

Jenkins JIRA | Anatoly Bubenkov | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    It looks like custom images are ignored on save and then in the log i see this: Provisioned slave jenkins-1e0de21e-2e55-438f-9d50-f413a9918538 failed to launch java.lang.AssertionError at com.dubture.jenkins.digitalocean.SlaveTemplate.provision(SlaveTemplate.java:170) at com.dubture.jenkins.digitalocean.Cloud$1.call(Cloud.java:287) at com.dubture.jenkins.digitalocean.Cloud$1.call(Cloud.java:282) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Jul 13, 2015 10:44:59 PM INFO com.dubture.jenkins.digitalocean.Cloud provision Provisioning digitalocean droplet for label !master&&!pytest, excessWorkload 1 Jul 13, 2015 10:44:59 PM INFO com.dubture.jenkins.digitalocean.Cloud addProvisionedSlave Adding provisioned slave null Jul 13, 2015 10:44:59 PM INFO com.dubture.jenkins.digitalocean.Cloud countCurrentDropletsSlaves countCurrentDropletsSlaves(null) Jul 13, 2015 10:44:59 PM INFO com.dubture.jenkins.digitalocean.Cloud getDroplets Listing all droplets Jul 13, 2015 10:44:59 PM INFO com.dubture.jenkins.digitalocean.Cloud countCurrentDropletsSlaves countCurrentDropletsSlaves(null) Jul 13, 2015 10:44:59 PM INFO com.dubture.jenkins.digitalocean.Cloud getDroplets Listing all droplets Jul 13, 2015 10:44:59 PM INFO com.dubture.jenkins.digitalocean.Cloud addProvisionedSlave Provisioning for AMI null; Estimated number of total slaves: 0; Estimated number of slaves for imageId null: 0

    Jenkins JIRA | 2 years ago | Anatoly Bubenkov
    java.lang.AssertionError
  2. 0

    It looks like custom images are ignored on save and then in the log i see this: Provisioned slave jenkins-1e0de21e-2e55-438f-9d50-f413a9918538 failed to launch java.lang.AssertionError at com.dubture.jenkins.digitalocean.SlaveTemplate.provision(SlaveTemplate.java:170) at com.dubture.jenkins.digitalocean.Cloud$1.call(Cloud.java:287) at com.dubture.jenkins.digitalocean.Cloud$1.call(Cloud.java:282) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Jul 13, 2015 10:44:59 PM INFO com.dubture.jenkins.digitalocean.Cloud provision Provisioning digitalocean droplet for label !master&&!pytest, excessWorkload 1 Jul 13, 2015 10:44:59 PM INFO com.dubture.jenkins.digitalocean.Cloud addProvisionedSlave Adding provisioned slave null Jul 13, 2015 10:44:59 PM INFO com.dubture.jenkins.digitalocean.Cloud countCurrentDropletsSlaves countCurrentDropletsSlaves(null) Jul 13, 2015 10:44:59 PM INFO com.dubture.jenkins.digitalocean.Cloud getDroplets Listing all droplets Jul 13, 2015 10:44:59 PM INFO com.dubture.jenkins.digitalocean.Cloud countCurrentDropletsSlaves countCurrentDropletsSlaves(null) Jul 13, 2015 10:44:59 PM INFO com.dubture.jenkins.digitalocean.Cloud getDroplets Listing all droplets Jul 13, 2015 10:44:59 PM INFO com.dubture.jenkins.digitalocean.Cloud addProvisionedSlave Provisioning for AMI null; Estimated number of total slaves: 0; Estimated number of slaves for imageId null: 0

    Jenkins JIRA | 2 years ago | Anatoly Bubenkov
    java.lang.AssertionError
  3. 0

    [Solr-user] Re: SolrTestCaseJ4 Error: "java.lang.RuntimeException: java.io.IOException: Can't find resource..." - Grokbase

    grokbase.com | 1 year ago
    java.lang.AssertionError: fix your classpath to have tests-framework.jar before lucene-core.jar* at __randomizedtesting.SeedInfo.seed([50225DA1F52F32BB]:0) at org.apache.lucene.util.TestRuleSetupAndRestoreClassEnv.before(TestRuleSetupAndRestoreClassEnv.java:189) at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45) at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:43) at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70) at org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:358)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Recovery a fairly large crawl on crawling013, getting following exception: 10/13/2005 01:16:57 +0000 FINE org.archive.crawler.frontier.BdbFrontier put Restoring: 146.145.120.3 10/13/2005 01:16:57 +0000 FINE org.archive.crawler.frontier.BdbFrontier put Restoring: 168.8.216.16 java.lang.NullPointerException at java.util.TreeMap.compare(TreeMap.java:1093) at java.util.TreeMap.put(TreeMap.java:465) at java.util.TreeSet.add(TreeSet.java:210) at java.util.Collections$SynchronizedCollection.add(Collections.java:1581) at org.archive.crawler.frontier.BdbFrontier$4.put(BdbFrontier.java:326) at org.archive.crawler.frontier.BdbFrontier.put(BdbFrontier.java:375) at org.archive.crawler.frontier.BdbFrontier.resurrectOneQueueState(BdbFrontier .java:359) at org.archive.crawler.frontier.BdbFrontier.resurrectQueueState(BdbFrontier.ja va:329) at org.archive.crawler.frontier.BdbFrontier.initQueue(BdbFrontier.java:272) at org.archive.crawler.frontier.WorkQueueFrontier.initialize(WorkQueueFrontier .java:269) at org.archive.crawler.frontier.BdbFrontier.initialize(BdbFrontier.java:467) at org.archive.crawler.framework.CrawlController.setupCrawlModules(CrawlContro ller.java:652) at org.archive.crawler.framework.CrawlController.initialize(CrawlController.ja va:378) at org.archive.crawler.admin.CrawlJob.startCrawling(CrawlJob.java:777) at org.archive.crawler.admin.CrawlJobHandler.startNextJobInternal(CrawlJobHand ler.java:1120) at org.archive.crawler.admin.CrawlJobHandler$2.run(CrawlJobHandler.java:1103) at java.lang.Thread.run(Thread.java:595) Later adding asserts, I see that for the key '146.145.120.3', there is not item in allqueues: Exception in thread "StartNextJob" java.lang.AssertionError: null is null: 146.145.120.3 at org.archive.crawler.frontier.BdbFrontier.put(BdbFrontier.java:374) at org.archive.crawler.frontier.BdbFrontier.resurrectOneQueueState(BdbFrontier .java:354) at org.archive.crawler.frontier.BdbFrontier.resurrectQueueState(BdbFrontier.ja va:329) at org.archive.crawler.frontier.BdbFrontier.initQueue(BdbFrontier.java:272) at org.archive.crawler.frontier.WorkQueueFrontier.initialize(WorkQueueFrontier .java:269) at org.archive.crawler.frontier.BdbFrontier.initialize(BdbFrontier.java:467) at org.archive.crawler.framework.CrawlController.setupCrawlModules(CrawlContro ller.java:652) at org.archive.crawler.framework.CrawlController.initialize(CrawlController.ja va:378) at org.archive.crawler.admin.CrawlJob.startCrawling(CrawlJob.java:777) at org.archive.crawler.admin.CrawlJobHandler.startNextJobInternal(CrawlJobHand ler.java:1120) at org.archive.crawler.admin.CrawlJobHandler$2.run(CrawlJobHandler.java:1103) at java.lang.Thread.run(Thread.java:595)

    JIRA | 1 decade ago | Michael Stack
    java.lang.AssertionError: null is null: 146.145.120.3 at org.archive.crawler.frontier.BdbFrontier.put(BdbFrontier.java:374) at org.archive.crawler.frontier.BdbFrontier.resurrectOneQueueState(BdbFrontier .java:354) at org.archive.crawler.frontier.BdbFrontier.resurrectQueueState(BdbFrontier.ja va:329) at org.archive.crawler.frontier.BdbFrontier.initQueue(BdbFrontier.java:272) at org.archive.crawler.frontier.WorkQueueFrontier.initialize(WorkQueueFrontier .java:269) at org.archive.crawler.frontier.BdbFrontier.initialize(BdbFrontier.java:467) at org.archive.crawler.framework.CrawlController.setupCrawlModules(CrawlContro ller.java:652) at org.archive.crawler.framework.CrawlController.initialize(CrawlController.ja va:378) at org.archive.crawler.admin.CrawlJob.startCrawling(CrawlJob.java:777) at org.archive.crawler.admin.CrawlJobHandler.startNextJobInternal(CrawlJobHand ler.java:1120) at org.archive.crawler.admin.CrawlJobHandler$2.run(CrawlJobHandler.java:1103)

    Root Cause Analysis

    1. java.lang.AssertionError

      No message provided

      at com.dubture.jenkins.digitalocean.SlaveTemplate.provision()
    2. com.dubture.jenkins
      Cloud$1.call
      1. com.dubture.jenkins.digitalocean.SlaveTemplate.provision(SlaveTemplate.java:170)
      2. com.dubture.jenkins.digitalocean.Cloud$1.call(Cloud.java:287)
      3. com.dubture.jenkins.digitalocean.Cloud$1.call(Cloud.java:282)
      3 frames
    3. jenkins.util
      ContextResettingExecutorService$2.call
      1. jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
      1 frame
    4. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames