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

Mohammad Arshad resolved AMBARI-26134.
--------------------------------------
    Fix Version/s: metrics-3.1.0
         Assignee: Sandeep Kumar
       Resolution: Fixed

> Resolve Test case failures in Ambari Metrics host Monitoring
> ------------------------------------------------------------
>
>                 Key: AMBARI-26134
>                 URL: https://issues.apache.org/jira/browse/AMBARI-26134
>             Project: Ambari
>          Issue Type: Improvement
>         Environment: Ambari Metrics. 
>            Reporter: Sandeep Kumar
>            Assignee: Sandeep Kumar
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: metrics-3.1.0
>
>
> Ambari Metrics tests are failing in ambari-metrics-monitoring.
> ERROR: TestEmitter (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: TestEmitter
> Traceback (most recent call last):
>   File 
> "/home/runner/work/ambari-metrics/ambari-metrics/ambari-metrics-host-monitoring/src/main/python/core/spnego_kerberos_auth.py",
>  line 27, in <module>
>     import kerberos
> ModuleNotFoundError: No module named 'kerberos'
> During handling of the above exception, another exception occurred:
> Traceback (most recent call last):
>   File "/usr/lib/python3.8/unittest/loader.py", line 154, in loadTestsFromName
>     module = _{_}import{_}_(module_name)
>   File 
> "/home/runner/work/ambari-metrics/ambari-metrics/ambari-metrics-host-monitoring/src/test/python/core/TestEmitter.py",
>  line 29, in <module>
>     from spnego_kerberos_auth import SPNEGOKerberosAuth
>   File 
> "/home/runner/work/ambari-metrics/ambari-metrics/ambari-metrics-host-monitoring/src/main/python/core/spnego_kerberos_auth.py",
>  line 29, in <module>
>     from resource_monitoring.core import krberr as kerberos
> ModuleNotFoundError: No module named 'resource_monitoring'
> Build Link: 
> https://github.com/apache/ambari-metrics/actions/runs/10781416216/job/29951037926



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to