You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Yusaku Sako (JIRA)" <ji...@apache.org> on 2014/10/30 21:21:35 UTC

[jira] [Resolved] (AMBARI-7957) [Test] ambari-server python-test hangs in branch-windows-dev

     [ https://issues.apache.org/jira/browse/AMBARI-7957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yusaku Sako resolved AMBARI-7957.
---------------------------------
    Resolution: Fixed

Committed to branch-windows-dev.

> [Test] ambari-server python-test hangs in branch-windows-dev
> ------------------------------------------------------------
>
>                 Key: AMBARI-7957
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7957
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-agent, ambari-server
>    Affects Versions: branch-windows-dev
>            Reporter: Florian Barca
>            Assignee: Florian Barca
>            Priority: Critical
>             Fix For: branch-windows-dev
>
>         Attachments: AMBARI-7957.4.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Ran into following test issue in ambari-server
> Tests run: 2170, Failures: 0, Errors: 0, Skipped: 17
> INFO
> INFO — apache-rat-plugin:0.11:check (default) @ ambari-server —
> INFO 51 implicit excludes (use -debug for more details).
> INFO Exclude: pass.txt
> INFO Exclude: derby.log
> INFO Exclude: src/test/resources/users.ldif
> INFO Exclude: src/test/resources/gsInstaller-hosts.txt
> INFO Exclude: src/test/resources/temporal_ganglia_data.txt
> INFO Exclude: src/test/resources/users.ldif
> INFO Exclude: src/main/resources/hive-schema-0.10.0.oracle.sql
> INFO Exclude: src/main/resources/hive-schema-0.12.0.oracle.sql
> INFO Exclude: src/main/resources/db/serial
> INFO Exclude: src/main/resources/db/index.txt
> INFO Exclude: src/main/resources/stacks/HDP/2.1.GlusterFS/services/YARN/package/templates/exclude_hosts_list.j2
> INFO Exclude: src/main/windows/ambari-server.cmd
> INFO Exclude: src/main/windows/ambari-server.ps1
> INFO Exclude: src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/balancer-emulator/balancer-err.log
> INFO Exclude: src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/balancer-emulator/balancer.log
> INFO Exclude: src/main/resources/stacks/BIGTOP/0.8/services/HDFS/package/scripts/balancer-emulator/balancer.log
> INFO Exclude: src/main/resources/stacks/BIGTOP/0.8/services/HDFS/package/scripts/balancer-emulator/balancer-err.log
> INFO Exclude: conf/unix/ca.config
> INFO Exclude: conf/unix/krb5JAASLogin.conf
> INFO Exclude: conf/windows/ca.config
> INFO Exclude: conf/windows/krb5JAASLogin.conf
> INFO Exclude: */.iml
> INFO Exclude: */.json
> INFO Exclude: */.sql
> INFO Exclude: */.wxs
> INFO Exclude: **/repo_suse_rhel.j2
> INFO Exclude: **/repo_debian.j2
> INFO Exclude: **/cluster.properties.j2
> INFO Exclude: **/repo_ubuntu.j2
> INFO Exclude: */.pydev
> INFO Exclude: src/main/resources/db/newcerts/**
> INFO Exclude: src/main/resources/stacks/HDP/2.0._/services/HBASE/package/templates/regionservers.j2
> INFO Exclude: src/main/resources/stacks/HDPWIN/2.1/services//configuration/
> INFO Exclude: src/test/resources/TestAmbaryServer.samples/**
> INFO Exclude: src/test/resources/*.txt
> INFO Exclude: src/test/resources/users_for_dn_with_space.ldif
> INFO Exclude: */velocity.log
> INFO 3067 resources included (use -debug for more details)
> Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.
> INFO Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 3062 licence.
> INFO
> INFO — exec-maven-plugin:1.2:exec (python-test) @ ambari-server —
> Running tests for stack:1.3.2 service:GANGLIA
> Process Process-1:
> Traceback (most recent call last):
> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
> self.run()
> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 114, in run
> self._target(*self._args, **self._kwargs)
> File "unitTests.py", line 95, in stack_test_executor
> modules]
> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 91, in loadTestsFromName
> module = _import_('.'.join(parts_copy))
> File "/Users/jluniya/winapache/ambari/ambari-server/src/test/python/stacks/1.3.2/GANGLIA/test_ganglia_server.py", line 21, in <module>
> from stacks.utils.RMFTestCase import *
> File "/Users/jluniya/winapache/ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 32, in <module>
> from resource_management.core.environment import Environment
> File "/Users/jluniya/winapache/ambari/ambari-common/src/main/python/resource_management/_init_.py", line 23, in <module>
> from resource_management.libraries import *
> File "/Users/jluniya/winapache/ambari/ambari-common/src/main/python/resource_management/libraries/_init_.py", line 23, in <module>
> from resource_management.libraries.functions import *
> File "/Users/jluniya/winapache/ambari/ambari-common/src/main/python/resource_management/libraries/functions/_init_.py", line 23, in <module>
> from resource_management.libraries.functions.default import *
> File "/Users/jluniya/winapache/ambari/ambari-common/src/main/python/resource_management/libraries/functions/default.py", line 24, in <module>
> from resource_management.libraries.script import Script
> File "/Users/jluniya/winapache/ambari/ambari-common/src/main/python/resource_management/libraries/script/_init_.py", line 23, in <module>
> from resource_management.libraries.script.script import *
> File "/Users/jluniya/winapache/ambari/ambari-common/src/main/python/resource_management/libraries/script/script.py", line 32, in <module>
> from resource_management.libraries.resources import XmlConfig
> File "/Users/jluniya/winapache/ambari/ambari-common/src/main/python/resource_management/libraries/resources/_init_.py", line 23, in <module>
> from resource_management.libraries.resources.execute_hadoop import *
> File "/Users/jluniya/winapache/ambari/ambari-common/src/main/python/resource_management/libraries/resources/execute_hadoop.py", line 24, in <module>
> from resource_management.core.base import Resource, ForcedListArgument, ResourceArgument, BooleanArgument
> File "/Users/jluniya/winapache/ambari/ambari-common/src/main/python/resource_management/core/_init_.py", line 23, in <module>
> from resource_management.core.base import *
> File "/Users/jluniya/winapache/ambari/ambari-common/src/main/python/resource_management/core/base.py", line 27, in <module>
> from resource_management.core.environment import Environment
> File "/Users/jluniya/winapache/ambari/ambari-common/src/main/python/resource_management/core/environment.py", line 30, in <module>
> from resource_management.core import shell
> File "/Users/jluniya/winapache/ambari/ambari-common/src/main/python/resource_management/core/shell.py", line 32, in <module>
> from resource_management.core.logger import Logger
> File "/Users/jluniya/winapache/ambari/ambari-common/src/main/python/resource_management/core/logger.py", line 27, in <module>
> class Logger:
> File "/Users/jluniya/winapache/ambari/ambari-common/src/main/python/resource_management/core/logger.py", line 28, in Logger
> logger = logging.getLogger("resource_management")
> AttributeError: 'module' object has no attribute 'getLogger'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)