Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-13050

Scalatest tags fail builds with the addition of the sketch module

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: Build
    • Labels:
      None

      Description

      Builds fail at the new sketch module when a scalatest tag is used. Found when using "-Dtest.exclude.tags=org.apache.spark.tags.DockerTest" since Docker isn't install-able on CentOS 6.

      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] 
      [INFO] Spark Project Parent POM ........................... SUCCESS [  2.815 s]
      [INFO] Spark Project Sketch ............................... FAILURE [  1.148 s]
      [INFO] Spark Project Test Tags ............................ SKIPPED
      [INFO] Spark Project Launcher ............................. SKIPPED
      [INFO] Spark Project Networking ........................... SKIPPED
      [INFO] Spark Project Shuffle Streaming Service ............ SKIPPED
      [INFO] Spark Project Unsafe ............................... SKIPPED
      [INFO] Spark Project Core ................................. SKIPPED
      [INFO] Spark Project GraphX ............................... SKIPPED
      [INFO] Spark Project Streaming ............................ SKIPPED
      [INFO] Spark Project Catalyst ............................. SKIPPED
      [INFO] Spark Project SQL .................................. SKIPPED
      [INFO] Spark Project ML Library ........................... SKIPPED
      [INFO] Spark Project Tools ................................ SKIPPED
      [INFO] Spark Project Hive ................................. SKIPPED
      [INFO] Spark Project Docker Integration Tests ............. SKIPPED
      [INFO] Spark Project REPL ................................. SKIPPED
      [INFO] Spark Project YARN Shuffle Service ................. SKIPPED
      [INFO] Spark Project YARN ................................. SKIPPED
      [INFO] Spark Project Hive Thrift Server ................... SKIPPED
      [INFO] Spark Project Assembly ............................. SKIPPED
      [INFO] Spark Project External Twitter ..................... SKIPPED
      [INFO] Spark Project External Flume Sink .................. SKIPPED
      [INFO] Spark Project External Flume ....................... SKIPPED
      [INFO] Spark Project External Flume Assembly .............. SKIPPED
      [INFO] Spark Project External Akka ........................ SKIPPED
      [INFO] Spark Project External MQTT ........................ SKIPPED
      [INFO] Spark Project External MQTT Assembly ............... SKIPPED
      [INFO] Spark Project External ZeroMQ ...................... SKIPPED
      [INFO] Spark Project External Kafka ....................... SKIPPED
      [INFO] Spark Project Examples ............................. SKIPPED
      [INFO] Spark Project External Kafka Assembly .............. SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 4.909 s
      [INFO] Finished at: 2016-01-27T12:40:12-08:00
      [INFO] Final Memory: 47M/456M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project spark-sketch_2.10: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test failed: There was an error in the forked process
      [ERROR] java.lang.RuntimeException: Unable to load category: org.apache.spark.tags.DockerTest
      [ERROR] at org.apache.maven.surefire.group.match.SingleGroupMatcher.loadGroupClasses(SingleGroupMatcher.java:157)
      [ERROR] at org.apache.maven.surefire.common.junit48.FilterFactory.createGroupFilter(FilterFactory.java:93)
      [ERROR] at org.apache.maven.surefire.junitcore.JUnitCoreProvider.createJUnit48Filter(JUnitCoreProvider.java:202)
      [ERROR] at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:119)
      [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
      [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
      [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      [ERROR] Caused by: java.lang.ClassNotFoundException: org.apache.spark.tags.DockerTest
      [ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
      [ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      [ERROR] at java.security.AccessController.doPrivileged(Native Method)
      [ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
      [ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
      [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      [ERROR] at org.apache.maven.surefire.group.match.SingleGroupMatcher.loadGroupClasses(SingleGroupMatcher.java:153)
      [ERROR] ... 6 more
      

        Attachments

          Activity

            People

            • Assignee:
              ajbozarth Alex Bozarth
              Reporter:
              ajbozarth Alex Bozarth
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: