You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Erin A Boyd (JIRA)" <ji...@apache.org> on 2013/12/12 20:34:07 UTC

[jira] [Created] (AMBARI-4057) mvn clean test fails on current trunk

Erin A Boyd created AMBARI-4057:
-----------------------------------

             Summary: mvn clean test fails on current trunk
                 Key: AMBARI-4057
                 URL: https://issues.apache.org/jira/browse/AMBARI-4057
             Project: Ambari
          Issue Type: Bug
            Reporter: Erin A Boyd



======================================================================
ERROR: test_install_packages (TestScript.TestScript)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/eclipse/trunk7/ambari/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
    return func(*args, **keywargs)
  File "/opt/eclipse/trunk7/ambari/ambari-agent/src/test/python/resource_management/TestScript.py", line 68, in test_install_packages
    script.install_packages(env)
  File "/opt/eclipse/trunk7/ambari/ambari-agent/src/main/python/resource_management/libraries/script/script.py", line 125, in install_packages
    RepoInstaller.install_repos(config)
  File "/opt/eclipse/trunk7/ambari/ambari-agent/src/main/python/resource_management/libraries/script/repo_installer.py", line 26, in install_repos
    cls._alter_repo("create", config['hostLevelParams']['repo_info'])
KeyError: 'hostLevelParams'

----------------------------------------------------------------------
Ran 216 tests in 16.904s

FAILED (errors=1)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Ambari Main ....................................... SUCCESS [0.086s]
[INFO] Apache Ambari Project POM ......................... SUCCESS [0.031s]
[INFO] Ambari Web ........................................ SUCCESS [6.194s]
[INFO] Ambari Server ..................................... SUCCESS [8:55.378s]
[INFO] Ambari Agent ...................................... FAILURE [17.714s]
[INFO] Ambari Client ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9:19.933s
[INFO] Finished at: Thu Dec 12 12:25:21 MST 2013
[INFO] Final Memory: 23M/293M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (python-test) on project ambari-agent: Command execution failed. Process exited with an error: 1(Exit value: 1) -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :ambari-agent




--
This message was sent by Atlassian JIRA
(v6.1.4#6159)