[ 
https://issues.apache.org/jira/browse/AMBARI-15182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15167224#comment-15167224
 ] 

Andrew Onischuk commented on AMBARI-15182:
------------------------------------------

The BAO is unavailable for some reason
{noformat}
Service Unavailable

The server is temporarily unable to service your request due to maintenance 
downtime or capacity problems. Please try again later.
{noformat}

The tests fail as of now, with and without my patch
{noformat}
======================================================================
FAIL: test_dump_command_to_json 
(TestCustomServiceOrchestrator.TestCustomServiceOrchestrator)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/user/ambari/ambari-common/src/test/python/mock/mock.py", line 
1199, in patched
    return func(*args, **keywargs)
  File 
"/home/user/ambari/ambari-agent/src/test/python/ambari_agent/TestCustomServiceOrchestrator.py",
 line 120, in test_dump_command_to_json
    self.assertEqual(oct(os.stat(json_file).st_mode & 0777), '0600')
AssertionError: '0777' != '0600'

======================================================================
FAIL: test_dump_command_to_json_with_retry 
(TestCustomServiceOrchestrator.TestCustomServiceOrchestrator)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/user/ambari/ambari-common/src/test/python/mock/mock.py", line 
1199, in patched
    return func(*args, **keywargs)
  File 
"/home/user/ambari/ambari-agent/src/test/python/ambari_agent/TestCustomServiceOrchestrator.py",
 line 180, in test_dump_command_to_json_with_retry
    self.assertEqual(oct(os.stat(json_file).st_mode & 0777), '0600')
AssertionError: '0777' != '0600'

----------------------------------------------------------------------
Ran 420 tests in 8.303s

FAILED (failures=2)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Ambari Views ...................................... SUCCESS [3.260s]
[INFO] Ambari Metrics Common ............................. SUCCESS [0.481s]
[INFO] Ambari Server ..................................... SUCCESS [49.765s]
[INFO] Ambari Agent ...................................... FAILURE [9.343s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:03.775s
[INFO] Finished at: Thu Feb 25 16:04:15 EET 2016
[INFO] Final Memory: 62M/1139M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1: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
{noformat}

My patch is not causing any new test failures.

> Ambari-server executable not present in cluster after upgrade from 2.2.0.
> -------------------------------------------------------------------------
>
>                 Key: AMBARI-15182
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15182
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.2.2
>
>         Attachments: AMBARI-15182.patch
>
>
> **Steps**  
> Setup cluster with Ambari-2.2.0.  
> Try to upgrade Ambari to 2.2.2.0 latest.  
> Unable to run "ambari-server upgrade" command since the executable (symlink)
> is not found.
> **Repro Cluster**
> 172.22.93.84 avijayan-ams-3.novalocal avijayan-ams-3 
> avijayan-ams-3.novalocal.  
> 172.22.93.75 avijayan-ams-2.novalocal avijayan-ams-2 
> avijayan-ams-2.novalocal.  
> 172.22.93.74 avijayan-ams-1.novalocal avijayan-ams-1 avijayan-ams-1.novalocal.



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

Reply via email to