Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-1981 [Umbrella] Fix all flaky tests
  3. ZEPPELIN-784

DepInterpreterTest.testDefault - depends on network

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Abandoned
    • 0.5.6
    • None
    • None

    Description

      Test

      {spark.DepInterpreterTest.testDefault}

      depends on network availability while fetching external JAR resource from GitHub and is flaky - it failing the build sometimes.

      https://s3.amazonaws.com/archive.travis-ci.org/jobs/119974875/log.txt

      6/04/01 03:01:37 ERROR DepInterpreter: Exception in DepInterpreter while interpret 
      org.sonatype.aether.resolution.DependencyResolutionException: Could not transfer artifact com.ankurdave:part_2.10:jar:0.1 from/to Repoatgithubcomankurdavemavenrepo (https://raw.githubusercontent.com/ankurdave/maven-repo/master/): Failed to transfer file: https://raw.githubusercontent.com/ankurdave/maven-repo/master//com/ankurdave/part_2.10/0.1/part_2.10-0.1.jar. Return code is: 503
      	at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:375)
      	at org.apache.zeppelin.spark.dep.SparkDependencyContext.fetchArtifactWithDep(SparkDependencyContext.java:179)
      	at org.apache.zeppelin.spark.dep.SparkDependencyContext.fetch(SparkDependencyContext.java:129)
      	at org.apache.zeppelin.spark.DepInterpreter.interpret(DepInterpreter.java:220)
      	at org.apache.zeppelin.spark.DepInterpreterTest.testDefault(DepInterpreterTest.java:96)
      

      It should be refactored to rely on simple .jar included in

      {src/tests/resources}

      Attachments

        Activity

          People

            thinktank Rajarajan G
            bzz Alexander Bezzubov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: