Reopened due to introduction of unit test failures on trunk.
The patch has been reverted from trunk.
https://builds.apache.org/job/Ambari-trunk-commit/6360/
###
Running tests for stack:2.5 service:ZEPPELIN
test_configure_default (test_zeppelin_master.TestZeppelinMaster) ... 2017-01-05 09:40:02,925 - Skipping get_stack_version since " + stack_selector_tool + " is not yet available
2017-01-05 09:40:02,935 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf
FAIL
test_configure_secured (test_zeppelin_master.TestZeppelinMaster) ... 2017-01-05 09:40:02,951 - Skipping get_stack_version since " + stack_selector_tool + " is not yet available
2017-01-05 09:40:02,961 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf
FAIL
test_start_default (test_zeppelin_master.TestZeppelinMaster) ... 2017-01-05 09:40:02,974 - Skipping get_stack_version since " + stack_selector_tool + " is not yet available
2017-01-05 09:40:02,984 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf
2017-01-05 09:40:02,992 - Pid file is: /tmp
FAIL
test_start_secured (test_zeppelin_master.TestZeppelinMaster) ... 2017-01-05 09:40:02,997 - Skipping get_stack_version since " + stack_selector_tool + " is not yet available
2017-01-05 09:40:03,007 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf
2017-01-05 09:40:03,015 - Pid file is: /tmp
FAIL
test_stop_default (test_zeppelin_master.TestZeppelinMaster) ... 2017-01-05 09:40:03,020 - Skipping get_stack_version since " + stack_selector_tool + " is not yet available
2017-01-05 09:40:03,031 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf
FAIL
test_stop_secured (test_zeppelin_master.TestZeppelinMaster) ... 2017-01-05 09:40:03,038 - Skipping get_stack_version since " + stack_selector_tool + " is not yet available
2017-01-05 09:40:03,049 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf
FAIL
======================================================================
FAIL: test_configure_default (test_zeppelin_master.TestZeppelinMaster)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
return func(*args, **keywargs)
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/stacks/2.5/ZEPPELIN/test_zeppelin_master.py", line 140, in test_configure_default
self.assert_configure_default()
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/stacks/2.5/ZEPPELIN/test_zeppelin_master.py", line 47, in assert_configure_default
cd_access = 'a',
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 280, in assertResourceCalled
self.assertEquals(resource_type, resource._class.name_)
AssertionError: 'Directory' != 'Execute'
======================================================================
FAIL: test_configure_secured (test_zeppelin_master.TestZeppelinMaster)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
return func(*args, **keywargs)
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/stacks/2.5/ZEPPELIN/test_zeppelin_master.py", line 151, in test_configure_secured
self.assert_configure_secured()
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/stacks/2.5/ZEPPELIN/test_zeppelin_master.py", line 96, in assert_configure_secured
cd_access = 'a',
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 280, in assertResourceCalled
self.assertEquals(resource_type, resource._class.name_)
AssertionError: 'Directory' != 'Execute'
======================================================================
FAIL: test_start_default (test_zeppelin_master.TestZeppelinMaster)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
return func(*args, **keywargs)
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/stacks/2.5/ZEPPELIN/test_zeppelin_master.py", line 311, in test_start_default
self.assert_configure_default()
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/stacks/2.5/ZEPPELIN/test_zeppelin_master.py", line 47, in assert_configure_default
cd_access = 'a',
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 280, in assertResourceCalled
self.assertEquals(resource_type, resource._class.name_)
AssertionError: 'Directory' != 'Execute'
======================================================================
FAIL: test_start_secured (test_zeppelin_master.TestZeppelinMaster)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
return func(*args, **keywargs)
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/stacks/2.5/ZEPPELIN/test_zeppelin_master.py", line 323, in test_start_secured
self.assert_configure_secured()
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/stacks/2.5/ZEPPELIN/test_zeppelin_master.py", line 96, in assert_configure_secured
cd_access = 'a',
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 280, in assertResourceCalled
self.assertEquals(resource_type, resource._class.name_)
AssertionError: 'Directory' != 'Execute'
======================================================================
FAIL: test_stop_default (test_zeppelin_master.TestZeppelinMaster)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
return func(*args, **keywargs)
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/stacks/2.5/ZEPPELIN/test_zeppelin_master.py", line 190, in test_stop_default
user = 'zeppelin',
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 281, in assertResourceCalled
self.assertEquals(name, resource.name)
AssertionError: '/usr/hdp/current/zeppelin-server/bin/zeppelin-daemon.sh stop >> /var/log/zeppelin/zeppelin-setup.log' != ('chown', '-R', u'zeppelin:zeppelin', u'/var/run/zeppelin')
======================================================================
FAIL: test_stop_secured (test_zeppelin_master.TestZeppelinMaster)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
return func(*args, **keywargs)
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/stacks/2.5/ZEPPELIN/test_zeppelin_master.py", line 170, in test_stop_secured
user = 'zeppelin',
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 281, in assertResourceCalled
self.assertEquals(name, resource.name)
AssertionError: '/usr/hdp/current/zeppelin-server/bin/zeppelin-daemon.sh stop >> /var/log/zeppelin/zeppelin-setup.log' != ('chown', '-R', u'zeppelin:zeppelin', u'/var/run/zeppelin')
----------------------------------------------------------------------
Ran 6 tests in 0.136s
FAILED (failures=6)
###
branch-2.5 doesn't have this unit test failure issue.
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12845080/AMBARI-19316-branch-2.5-v1.patch
against trunk revision .
+1 @author. The patch does not contain any @author tags.
-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no new tests are needed for this patch.
Also please list what manual steps were performed to verify this patch.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
-1 core tests. The test build failed in ambari-server
Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/9857//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/9857//console
This message is automatically generated.