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

Testcase fail : test_main_embedded (TestMetadata.TestMetadata) in atlas-distro

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 1.1.0
    • 1.2.0
    • None
    • None

    Description

      [DEBUG] Executing command line: python unitTests.py
      test_jar_java_lookups_fail (TestMetadata.TestMetadata) ... ok
      test_jar_java_lookups_succeed_from_path (TestMetadata.TestMetadata) ... ok
      test_main_default (TestMetadata.TestMetadata) ... Apache Atlas Server started!!!
      
      FAIL
      test_main_embedded (TestMetadata.TestMetadata) ... configured for local hbase.
      hbase started.
      configured for local solr.
      get_config_mock_side_effect (atlas.graph.index.search.solr.zookeeper-url)
      solr started.
      setting up solr collections...
      Apache Atlas Server started!!!
      
      FAIL
      
      ======================================================================
      FAIL: test_main_default (TestMetadata.TestMetadata)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/Users/nixon/projects/atlas-gitbox/distro/src/test/mock/mock.py", line 1199, in patched
          return func(*args, **keywargs)
        File "/Users/nixon/projects/atlas-gitbox/distro/src/test/python/scripts/TestMetadata.py", line 236, in test_main_default
          'atlas_home/logs')
        File "/Users/nixon/projects/atlas-gitbox/distro/src/test/mock/mock.py", line 833, in assert_called_with
          raise AssertionError(msg)
      AssertionError: Expected call: java('org.apache.atlas.Atlas', ['-app', 'atlas_home/server/webapp/atlas'], 'atlas_home/conf:atlas_home/server/webapp/atlas/WEB-INF/classes:atlas_home/server/webapp/atlas/WEB-INF/lib/*:atlas_home/libext/*:atlas_home/hbase/conf', ['-Datlas.log.dir=atlas_home/logs', '-Datlas.log.file=application.log', '-Datlas.home=atlas_home', '-Datlas.conf=atlas_home/conf', '-Xmx1024m', '-Dlog4j.configuration=atlas-log4j.xml', '-Djava.net.preferIPv4Stack=true', '-server'], 'atlas_home/logs')
      Actual call: java('org.apache.atlas.Atlas', ['-app', 'atlas_home/server/webapp/atlas'], 'atlas_home/conf:atlas_home/server/webapp/atlas/WEB-INF/classes:atlas_home/server/webapp/atlas/WEB-INF/lib/*:atlas_home/libext/*:atlas_home/hbase/conf', ['-Datlas.log.dir=atlas_home/logs', '-Datlas.log.file=application.log', '-Datlas.home=atlas_home', '-Datlas.conf=atlas_home/conf', '-Xms15360m', '-Xmx15360m', '-XX:MaxNewSize=5120m', '-XX:MetaspaceSize=100M', '-XX:MaxMetaspaceSize=512m', '-Dlog4j.configuration=atlas-log4j.xml', '-Djava.net.preferIPv4Stack=true', '-server'], 'atlas_home/logs')
      
      ======================================================================
      FAIL: test_main_embedded (TestMetadata.TestMetadata)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/Users/nixon/projects/atlas-gitbox/distro/src/test/mock/mock.py", line 1199, in patched
          return func(*args, **keywargs)
        File "/Users/nixon/projects/atlas-gitbox/distro/src/test/python/scripts/TestMetadata.py", line 143, in test_main_embedded
          'atlas_home/logs')
        File "/Users/nixon/projects/atlas-gitbox/distro/src/test/mock/mock.py", line 833, in assert_called_with
          raise AssertionError(msg)
      AssertionError: Expected call: java('org.apache.atlas.Atlas', ['-app', 'atlas_home/server/webapp/atlas'], 'atlas_home/conf:atlas_home/server/webapp/atlas/WEB-INF/classes:atlas_home/server/webapp/atlas/WEB-INF/lib/*:atlas_home/libext/*:atlas_home/hbase/conf', ['-Datlas.log.dir=atlas_home/logs', '-Datlas.log.file=application.log', '-Datlas.home=atlas_home', '-Datlas.conf=atlas_home/conf', '-Xmx1024m', '-Dlog4j.configuration=atlas-log4j.xml', '-Djava.net.preferIPv4Stack=true', '-server'], 'atlas_home/logs')
      Actual call: java('org.apache.atlas.Atlas', ['-app', 'atlas_home/server/webapp/atlas'], 'atlas_home/conf:atlas_home/server/webapp/atlas/WEB-INF/classes:atlas_home/server/webapp/atlas/WEB-INF/lib/*:atlas_home/libext/*:atlas_home/hbase/conf', ['-Datlas.log.dir=atlas_home/logs', '-Datlas.log.file=application.log', '-Datlas.home=atlas_home', '-Datlas.conf=atlas_home/conf', '-Xms15360m', '-Xmx15360m', '-XX:MaxNewSize=5120m', '-XX:MetaspaceSize=100M', '-XX:MaxMetaspaceSize=512m', '-Dlog4j.configuration=atlas-log4j.xml', '-Djava.net.preferIPv4Stack=true', '-server'], 'atlas_home/logs')
      
      ----------------------------------------------------------------------
      Ran 4 tests in 0.012s
      
      FAILED (failures=2)
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      
      

      Attachments

        Activity

          People

            nixon Nixon Rodrigues
            nixon Nixon Rodrigues
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: