java.lang.AssertionError: expected [2xx] status code but api [snapshot.create_repository] returned [500 Internal Server Error] [{"error":{"root_cause":[{"type":"repository_exception","reason":"[test_repo_s3_1] failed to create repository"}],"type":"repository_exception","reason":"[test_repo_s3_1] failed to create repository","caused_by":{"type":"amazon_client_exception","reason":"Unable to execute HTTP request: s3.amazonaws.com","caused_by":{"type":"unknown_host_exception","reason":"s3.amazonaws.com"}}},"status":500}] at __randomizedtesting.SeedInfo.seed([39589EDC630B851:8BC1B63768CCD5A9]:0)

GitHub | dadoonet | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 13686#234250974

    GitHub | 10 months ago | dadoonet
    java.lang.AssertionError: expected [2xx] status code but api [snapshot.create_repository] returned [500 Internal Server Error] [{"error":{"root_cause":[{"type":"repository_exception","reason":"[test_repo_s3_1] failed to create repository"}],"type":"repository_exception","reason":"[test_repo_s3_1] failed to create repository","caused_by":{"type":"amazon_client_exception","reason":"Unable to execute HTTP request: s3.amazonaws.com","caused_by":{"type":"unknown_host_exception","reason":"s3.amazonaws.com"}}},"status":500}] at __randomizedtesting.SeedInfo.seed([39589EDC630B851:8BC1B63768CCD5A9]:0)
  2. 0

    GitHub comment 17779#210748527

    GitHub | 1 year ago | dadoonet
    java.lang.AssertionError: expected [2xx] status code but api [cluster.health] returned [408 Request Timeout] [{"cluster_name":"qa_backwards-5.0_integTest","status":"red","timed_out":true,"number_of_nodes":2,"number_of_data_nodes":2,"active_primary_shards":0,"active_shards":0,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":15,"delayed_unassigned_shards":0,"number_of_pending_tasks":0,"number_of_in_flight_fetch":0,"task_max_waiting_in_queue_millis":0,"active_shards_percent_as_number":0.0}] at __randomizedtesting.SeedInfo.seed([CFB477C2B2E2A7B7:47E048181C1ECA4F]:0)
  3. 0

    GitHub comment 17779#211552411

    GitHub | 1 year ago | dadoonet
    java.lang.AssertionError: expected [2xx] status code but api [index] returned [503 Service Unavailable] [{"error":{"root_cause":[{"type":"unavailable_shards_exception","reason":"[test_1][3] primary shard is not active Timeout: [1m], request: [index {[test_1][test][1], source[{\"foo\":\"bar\"}]}]"}],"type":"unavailable_shards_exception","reason":"[test_1][3] primary shard is not active Timeout: [1m], request: [index {[test_1][test][1], source[{\"foo\":\"bar\"}]}]"},"status":503}] at __randomizedtesting.SeedInfo.seed([6B2AE5C58B795DD0:E37EDA1F25853028]:0)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [CI] org.elasticsearch.smoketest.SmokeTestDocsIT failure

    GitHub | 1 year ago | dakrone
    java.lang.AssertionError: expected [2xx] status code but api [raw] returned [503 Service Unavailable] [{"error":{"root_cause":[{"type":"no_shard_available_action_exception","reason":"No shard available for [org.elasticsearch.action.admin.indices.analyze.AnalyzeRequest@3dc5f582]"}],"type":"no_shard_available_action_exception","reason":"No shard available for [org.elasticsearch.action.admin.indices.analyze.AnalyzeRequest@3dc5f582]"},"status":503}] at __randomizedtesting.SeedInfo.seed([56269F69F703EF6B:DE72A0B359FF8293]:0)
  6. 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)

    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.AssertionError

      expected [2xx] status code but api [snapshot.create_repository] returned [500 Internal Server Error] [{"error":{"root_cause":[{"type":"repository_exception","reason":"[test_repo_s3_1] failed to create repository"}],"type":"repository_exception","reason":"[test_repo_s3_1] failed to create repository","caused_by":{"type":"amazon_client_exception","reason":"Unable to execute HTTP request: s3.amazonaws.com","caused_by":{"type":"unknown_host_exception","reason":"s3.amazonaws.com"}}},"status":500}] at __randomizedtesting.SeedInfo.seed([39589EDC630B851:8BC1B63768CCD5A9]:0)

      at org.elasticsearch.test.rest.section.DoSection.execute()
    2. org.elasticsearch.test
      ESRestTestCase.test
      1. org.elasticsearch.test.rest.section.DoSection.execute(DoSection.java:108)
      2. org.elasticsearch.test.rest.ESRestTestCase.test(ESRestTestCase.java:399)
      2 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame