Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-508

Apache nightly build failure - UnsupportedOperationException: Not a single key: __traitNames

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 0.7-incubating
    • None
    • None

    Description

      https://builds.apache.org/job/apache-atlas-nightly/184/console

      Failed tests: 
        GremlinTest.beforeAll:41 » Script javax.script.ScriptException: java.lang.Unsu...
        LineageQueryTest.beforeAll:41 » Script javax.script.ScriptException: java.lang...
      
      Tests run: 200, Failures: 2, Errors: 0, Skipped: 28
      
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] 
      [INFO] apache-atlas ...................................... SUCCESS [ 21.262 s]
      [INFO] Apache Atlas Common ............................... SUCCESS [ 58.381 s]
      [INFO] Apache Atlas Typesystem ........................... SUCCESS [04:51 min]
      [INFO] Apache Atlas Server API ........................... SUCCESS [ 37.922 s]
      [INFO] Apache Atlas Client ............................... SUCCESS [01:12 min]
      [INFO] Apache Atlas Notification ......................... SUCCESS [01:25 min]
      [INFO] Apache Atlas Titan ................................ SUCCESS [01:56 min]
      [INFO] Apache Atlas Repository ........................... FAILURE [10:51 min]
      [INFO] Apache Atlas UI ................................... SKIPPED
      [INFO] Apache Atlas Web Application ...................... SKIPPED
      [INFO] Apache Atlas Documentation ........................ SKIPPED
      [INFO] Apache Atlas Hive Bridge .......................... SKIPPED
      [INFO] Apache Atlas Falcon Bridge ........................ SKIPPED
      [INFO] Apache Atlas Sqoop Bridge ......................... SKIPPED
      [INFO] Apache Atlas Storm Bridge ......................... SKIPPED
      [INFO] Apache Atlas Distribution ......................... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      
      Running org.apache.atlas.query.LineageQueryTest
      Tests run: 7, Failures: 1, Errors: 0, Skipped: 6, Time elapsed: 16.236 sec <<< FAILURE! - in org.apache.atlas.query.LineageQueryTest
      beforeAll(org.apache.atlas.query.LineageQueryTest)  Time elapsed: 16.159 sec  <<< FAILURE!
      javax.script.ScriptException: javax.script.ScriptException: java.lang.UnsupportedOperationException: Not a single key: __traitNames. Use addProperty instead
      	at com.thinkaurelius.titan.graphdb.transaction.StandardTitanTx.setProperty(StandardTitanTx.java:755)
      	at com.thinkaurelius.titan.graphdb.vertices.AbstractVertex.setProperty(AbstractVertex.java:244)
      	at com.thinkaurelius.titan.graphdb.vertices.AbstractVertex.setProperty(AbstractVertex.java:239)
      	at com.tinkerpop.blueprints.util.wrappers.batch.BatchGraph$BatchVertex.setProperty(BatchGraph.java:492)
      	at com.tinkerpop.blueprints.util.io.graphson.GraphSONUtility.vertexFromJson(GraphSONUtility.java:136)
      	at com.tinkerpop.blueprints.util.io.graphson.GraphSONReader.inputGraph(GraphSONReader.java:158)
      	at com.tinkerpop.blueprints.util.io.graphson.GraphSONReader.inputGraph(GraphSONReader.java:104)
      	at com.tinkerpop.blueprints.util.io.graphson.GraphSONReader.inputGraph(GraphSONReader.java:88)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
      	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
      	at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.invoke(StaticMetaMethodSite.java:43)
      	at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.call(StaticMetaMethodSite.java:88)
      	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
      	at com.tinkerpop.gremlin.groovy.loaders.GraphLoader$_load_closure14.doCall(GraphLoader.groovy:126)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
      	at org.codehaus.groovy.runtime.metaclass.ClosureMetaMethod.invoke(ClosureMetaMethod.java:80)
      	at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271)
      	at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
      	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
      	at Script1.run(Script1.groovy:1)
      	at com.tinkerpop.gremlin.groovy.jsr223.GremlinGroovyScriptEngine.eval(GremlinGroovyScriptEngine.java:219)
      	at com.tinkerpop.gremlin.groovy.jsr223.GremlinGroovyScriptEngine.eval(GremlinGroovyScriptEngine.java:90)
      	at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:233)
      	at org.apache.atlas.query.QueryTestsUtils$.setupTestGraph(QueryTestsUtils.scala:165)
      	at org.apache.atlas.query.LineageQueryTest.beforeAll(LineageQueryTest.scala:41)
      

      Attachments

        1. ATLAS-508.patch
          2 kB
          Shwetha GS

        Activity

          People

            shwethags Shwetha GS
            shwethags Shwetha GS
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: