[jira] [Updated] (AMBARI-25865) Fix an unit test failure on ambari-metrics-host-monitoring

2023-02-28 Thread Zhiguo Wu (Jira)


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

Zhiguo Wu updated AMBARI-25865:
---
Epic Link: AMBARI-25860
Fix Version/s: ambari-metrics-3.0.0

> Fix an unit test failure on ambari-metrics-host-monitoring
> --
>
> Key: AMBARI-25865
> URL: https://issues.apache.org/jira/browse/AMBARI-25865
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-metrics
>Reporter: Kengo Seki
>Assignee: Kengo Seki
>Priority: Major
>  Labels: pull-request-available
> Fix For: ambari-metrics-3.0.0
>
>
> I tried to run unit tests on the release-2.0.0-rc0 branch and ran into the 
> following error:
> {code}
> $ mvn test -f ambari-metrics-host-monitoring/pom.xml
> ...
> [INFO] --- exec-maven-plugin:1.2.1:exec (python-test) @ 
> ambari-metrics-host-monitoring ---
> Running tests
> No handlers could be found for logger "root"
> Traceback (most recent call last):
>   File "unitTests.py", line 137, in 
> sys.exit(main())
>   File "unitTests.py", line 106, in main
> modules]
>   File "/usr/lib/python2.7/unittest/loader.py", line 91, in loadTestsFromName
> module = __import__('.'.join(parts_copy))
>   File 
> "/home/sekikn/repos/ambari-metrics/ambari-metrics-host-monitoring/src/test/python/core/TestMetricCollector.py",
>  line 24, in 
> from core.application_metric_map import ApplicationMetricMap
>   File 
> "/home/sekikn/repos/ambari-metrics/ambari-metrics-host-monitoring/src/main/python/core/__init__.py",
>  line 29, in 
> for dir in os.walk(path).next()[1]:
> StopIteration
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time:  1.126 s
> [INFO] Finished at: 2023-02-24T09:45:36+09:00
> [INFO] 
> 
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec 
> (python-test) on project ambari-metrics-host-monitoring: Command execution 
> failed.: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
> {code}



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

-
To unsubscribe, e-mail: issues-unsubscr...@ambari.apache.org
For additional commands, e-mail: issues-h...@ambari.apache.org



[jira] [Updated] (AMBARI-25865) Fix an unit test failure on ambari-metrics-host-monitoring

2023-02-24 Thread Zhiguo Wu (Jira)


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

Zhiguo Wu updated AMBARI-25865:
---
Resolution: Fixed
Status: Resolved  (was: Patch Available)

> Fix an unit test failure on ambari-metrics-host-monitoring
> --
>
> Key: AMBARI-25865
> URL: https://issues.apache.org/jira/browse/AMBARI-25865
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-metrics
>Reporter: Kengo Seki
>Assignee: Kengo Seki
>Priority: Major
>  Labels: pull-request-available
>
> I tried to run unit tests on the release-2.0.0-rc0 branch and ran into the 
> following error:
> {code}
> $ mvn test -f ambari-metrics-host-monitoring/pom.xml
> ...
> [INFO] --- exec-maven-plugin:1.2.1:exec (python-test) @ 
> ambari-metrics-host-monitoring ---
> Running tests
> No handlers could be found for logger "root"
> Traceback (most recent call last):
>   File "unitTests.py", line 137, in 
> sys.exit(main())
>   File "unitTests.py", line 106, in main
> modules]
>   File "/usr/lib/python2.7/unittest/loader.py", line 91, in loadTestsFromName
> module = __import__('.'.join(parts_copy))
>   File 
> "/home/sekikn/repos/ambari-metrics/ambari-metrics-host-monitoring/src/test/python/core/TestMetricCollector.py",
>  line 24, in 
> from core.application_metric_map import ApplicationMetricMap
>   File 
> "/home/sekikn/repos/ambari-metrics/ambari-metrics-host-monitoring/src/main/python/core/__init__.py",
>  line 29, in 
> for dir in os.walk(path).next()[1]:
> StopIteration
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time:  1.126 s
> [INFO] Finished at: 2023-02-24T09:45:36+09:00
> [INFO] 
> 
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec 
> (python-test) on project ambari-metrics-host-monitoring: Command execution 
> failed.: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
> {code}



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

-
To unsubscribe, e-mail: issues-unsubscr...@ambari.apache.org
For additional commands, e-mail: issues-h...@ambari.apache.org



[jira] [Updated] (AMBARI-25865) Fix an unit test failure on ambari-metrics-host-monitoring

2023-02-23 Thread Kengo Seki (Jira)


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

Kengo Seki updated AMBARI-25865:

Assignee: Kengo Seki
  Status: Patch Available  (was: Open)

> Fix an unit test failure on ambari-metrics-host-monitoring
> --
>
> Key: AMBARI-25865
> URL: https://issues.apache.org/jira/browse/AMBARI-25865
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-metrics
>Reporter: Kengo Seki
>Assignee: Kengo Seki
>Priority: Major
>  Labels: pull-request-available
>
> I tried to run unit tests on the release-2.0.0-rc0 branch and ran into the 
> following error:
> {code}
> $ mvn test -f ambari-metrics-host-monitoring/pom.xml
> ...
> [INFO] --- exec-maven-plugin:1.2.1:exec (python-test) @ 
> ambari-metrics-host-monitoring ---
> Running tests
> No handlers could be found for logger "root"
> Traceback (most recent call last):
>   File "unitTests.py", line 137, in 
> sys.exit(main())
>   File "unitTests.py", line 106, in main
> modules]
>   File "/usr/lib/python2.7/unittest/loader.py", line 91, in loadTestsFromName
> module = __import__('.'.join(parts_copy))
>   File 
> "/home/sekikn/repos/ambari-metrics/ambari-metrics-host-monitoring/src/test/python/core/TestMetricCollector.py",
>  line 24, in 
> from core.application_metric_map import ApplicationMetricMap
>   File 
> "/home/sekikn/repos/ambari-metrics/ambari-metrics-host-monitoring/src/main/python/core/__init__.py",
>  line 29, in 
> for dir in os.walk(path).next()[1]:
> StopIteration
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time:  1.126 s
> [INFO] Finished at: 2023-02-24T09:45:36+09:00
> [INFO] 
> 
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec 
> (python-test) on project ambari-metrics-host-monitoring: Command execution 
> failed.: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
> {code}



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

-
To unsubscribe, e-mail: issues-unsubscr...@ambari.apache.org
For additional commands, e-mail: issues-h...@ambari.apache.org



[jira] [Updated] (AMBARI-25865) Fix an unit test failure on ambari-metrics-host-monitoring

2023-02-23 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot updated AMBARI-25865:

Labels: pull-request-available  (was: )

> Fix an unit test failure on ambari-metrics-host-monitoring
> --
>
> Key: AMBARI-25865
> URL: https://issues.apache.org/jira/browse/AMBARI-25865
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-metrics
>Reporter: Kengo Seki
>Priority: Major
>  Labels: pull-request-available
>
> I tried to run unit tests on the release-2.0.0-rc0 branch and ran into the 
> following error:
> {code}
> $ mvn test -f ambari-metrics-host-monitoring/pom.xml
> ...
> [INFO] --- exec-maven-plugin:1.2.1:exec (python-test) @ 
> ambari-metrics-host-monitoring ---
> Running tests
> No handlers could be found for logger "root"
> Traceback (most recent call last):
>   File "unitTests.py", line 137, in 
> sys.exit(main())
>   File "unitTests.py", line 106, in main
> modules]
>   File "/usr/lib/python2.7/unittest/loader.py", line 91, in loadTestsFromName
> module = __import__('.'.join(parts_copy))
>   File 
> "/home/sekikn/repos/ambari-metrics/ambari-metrics-host-monitoring/src/test/python/core/TestMetricCollector.py",
>  line 24, in 
> from core.application_metric_map import ApplicationMetricMap
>   File 
> "/home/sekikn/repos/ambari-metrics/ambari-metrics-host-monitoring/src/main/python/core/__init__.py",
>  line 29, in 
> for dir in os.walk(path).next()[1]:
> StopIteration
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time:  1.126 s
> [INFO] Finished at: 2023-02-24T09:45:36+09:00
> [INFO] 
> 
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec 
> (python-test) on project ambari-metrics-host-monitoring: Command execution 
> failed.: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
> {code}



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

-
To unsubscribe, e-mail: issues-unsubscr...@ambari.apache.org
For additional commands, e-mail: issues-h...@ambari.apache.org