Nixon Rodrigues created ATLAS-3238:
--------------------------------------

             Summary: Testcase fail : test_main_embedded 
(TestMetadata.TestMetadata) in atlas-distro
                 Key: ATLAS-3238
                 URL: https://issues.apache.org/jira/browse/ATLAS-3238
             Project: Atlas
          Issue Type: Bug
    Affects Versions: 1.1.0
            Reporter: Nixon Rodrigues
            Assignee: Nixon Rodrigues
             Fix For: 1.2.0


{noformat}

[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

{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to