It looks like the trunk build has been broken for a couple of builds now.
Looking at the output of the builds, I see that a bunch of python tests
have been failing since build #968.  It seems that python test failures are
not reported as test failures by Jenkins

This build included the following changes:

   1. AMBARI-8364 <https://issues.apache.org/jira/browse/AMBARI-8364> Create
   mocks for installing repo versions per on hosts. (ababiichuk)
   2. AMBARI-8298 <https://issues.apache.org/jira/browse/AMBARI-8298>.
   Distribute Repositories/Install Components - custom action script
   (dlysnichenko)

It appears that most of the failing python tests are repository related so
these patches are likely candidates.

Here are the failing tests from the build output:

======================================================================
FAIL: test_exclude_existing_repo (TestInstallPackages.TestInstallPackages)
----------------------------------------------------------------------
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/custom_actions/TestInstallPackages.py",
line 89, in test_exclude_existing_repo
    mirror_list=None,
  File
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/stacks/utils/RMFTestCase.py",
line 193, in assertResourceCalled
    self.assertEquals(kwargs, resource.arguments)
AssertionError: {'base_url': u'http://host1/hdp', 'repo_template':
'repo_suse_rhel.j2', 'compone [truncated]... != {'base_url': u'
http://host1/hdp', 'action': ['create'], 'components': [u'HDP-2.2
[truncated]...
  {'action': ['create'],
   'base_url': u'http://host1/hdp',
   'components': [u'HDP-2.2.0.0-885', 'main'],
   'mirror_list': None,
   'repo_file_name': u'HDP-2.2.0.0-885',
-  'repo_template': 'repo_suse_rhel.j2'}
?                         - ^^^^^^^

+  'repo_template': 'repo_ubuntu.j2'}
?                          ^^^^^


======================================================================
FAIL: test_normal_flow (TestInstallPackages.TestInstallPackages)
----------------------------------------------------------------------
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/custom_actions/TestInstallPackages.py",
line 52, in test_normal_flow
    mirror_list=None,
  File
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/stacks/utils/RMFTestCase.py",
line 193, in assertResourceCalled
    self.assertEquals(kwargs, resource.arguments)
AssertionError: {'base_url': u'http://host1/hdp', 'repo_template':
'repo_suse_rhel.j2', 'compone [truncated]... != {'base_url': u'
http://host1/hdp', 'action': ['create'], 'components': [u'HDP-2.2
[truncated]...
  {'action': ['create'],
   'base_url': u'http://host1/hdp',
   'components': [u'HDP-2.2.0.0-885', 'main'],
   'mirror_list': None,
   'repo_file_name': u'HDP-2.2.0.0-885',
-  'repo_template': 'repo_suse_rhel.j2'}
?                         - ^^^^^^^

+  'repo_template': 'repo_ubuntu.j2'}
?                          ^^^^^

======================================================================
FAIL: test_check_postgre_up (TestAmbariServer.TestAmbariServer)
----------------------------------------------------------------------
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/TestAmbariServer.py",
line 2140, in test_check_postgre_up
    self.assertEqual(4, retcode)
AssertionError: 4 != 0

----------------------------------------------------------------------
Ran 246 tests in 3.712s

FAILED (failures=1)
----------------------------------------------------------------------
Failed tests:
FAIL: test_exclude_existing_repo (TestInstallPackages.TestInstallPackages)
----------------------------------------------------------------------
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/custom_actions/TestInstallPackages.py",
line 89, in test_exclude_existing_repo
    mirror_list=None,
  File
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/stacks/utils/RMFTestCase.py",
line 193, in assertResourceCalled
    self.assertEquals(kwargs, resource.arguments)
AssertionError: {'base_url': u'http://host1/hdp', 'repo_template':
'repo_suse_rhel.j2', 'compone [truncated]... != {'base_url': u'
http://host1/hdp', 'action': ['create'], 'components': [u'HDP-2.2
[truncated]...
  {'action': ['create'],
   'base_url': u'http://host1/hdp',
   'components': [u'HDP-2.2.0.0-885', 'main'],
   'mirror_list': None,
   'repo_file_name': u'HDP-2.2.0.0-885',
-  'repo_template': 'repo_suse_rhel.j2'}
?                         - ^^^^^^^

+  'repo_template': 'repo_ubuntu.j2'}
?                          ^^^^^


FAIL: test_normal_flow (TestInstallPackages.TestInstallPackages)
----------------------------------------------------------------------
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/custom_actions/TestInstallPackages.py",
line 52, in test_normal_flow
    mirror_list=None,
  File
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/stacks/utils/RMFTestCase.py",
line 193, in assertResourceCalled
    self.assertEquals(kwargs, resource.arguments)
AssertionError: {'base_url': u'http://host1/hdp', 'repo_template':
'repo_suse_rhel.j2', 'compone [truncated]... != {'base_url': u'
http://host1/hdp', 'action': ['create'], 'components': [u'HDP-2.2
[truncated]...
  {'action': ['create'],
   'base_url': u'http://host1/hdp',
   'components': [u'HDP-2.2.0.0-885', 'main'],
   'mirror_list': None,
   'repo_file_name': u'HDP-2.2.0.0-885',
-  'repo_template': 'repo_suse_rhel.j2'}
?                         - ^^^^^^^

+  'repo_template': 'repo_ubuntu.j2'}
?                          ^^^^^


FAIL: test_check_postgre_up (TestAmbariServer.TestAmbariServer)
----------------------------------------------------------------------
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/TestAmbariServer.py",
line 2140, in test_check_postgre_up
    self.assertEqual(4, retcode)
AssertionError: 4 != 0

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Reply via email to