You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/05/29 10:56:21 UTC
[GitHub] [dolphinscheduler] 106umao opened a new issue, #10280: [Bug&Feature] [DolphinScheduler-common] Calling OSUtils.loadAverage() in OSUtilsTest.oadAverage() test case always returns -1 causing the assertion to fail
106umao opened a new issue, #10280:
URL: https://github.com/apache/dolphinscheduler/issues/10280
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
### What happened
Calling OSUtils.loadAverage() in OSUtilsTest.oadAverage() test case always returns -1 causing the assertion to fail and this problem does not occur on my linux system
### What you expected to happen
Assertion succeeded, return loadAverage > 0.0
### How to reproduce
OS Version :Windows 10
JDK Versin : JDK8
Run `mvn clean test -e` in command line window
### Anything else
INFO :
```
18:40:43.181 [main] INFO org.apache.dolphinscheduler.common.os.OSUtilsTest - loadAverage : -1.0
java.lang.AssertionError
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertTrue(Assert.java:52)
at org.apache.dolphinscheduler.common.os.OSUtilsTest.loadAverage(OSUtilsTest.java:49)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33)
at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:230)
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:58)
```
### Version
dev
### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] github-actions[bot] closed issue #10280: [Bug&Feature] [DolphinScheduler-common] Calling OSUtils.loadAverage() in OSUtilsTest.oadAverage() test case always returns -1 causing the assertion to fail
Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #10280: [Bug&Feature] [DolphinScheduler-common] Calling OSUtils.loadAverage() in OSUtilsTest.oadAverage() test case always returns -1 causing the assertion to fail
URL: https://github.com/apache/dolphinscheduler/issues/10280
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #10280: [Bug&Feature] [DolphinScheduler-common] Calling OSUtils.loadAverage() in OSUtilsTest.oadAverage() test case always returns -1 causing the assertion to fail
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #10280:
URL: https://github.com/apache/dolphinscheduler/issues/10280#issuecomment-1140424183
Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
* In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
* If you haven't received a reply for a long time, you can [join our slack](https://join.slack.com/t/asf-dolphinscheduler/shared_invite/zt-omtdhuio-_JISsxYhiVsltmC5h38yfw) and send your question to channel `#troubleshooting`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #10280: [Bug&Feature] [DolphinScheduler-common] Calling OSUtils.loadAverage() in OSUtilsTest.oadAverage() test case always returns -1 causing the assertion to fail
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #10280:
URL: https://github.com/apache/dolphinscheduler/issues/10280#issuecomment-1170616974
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #10280: [Bug&Feature] [DolphinScheduler-common] Calling OSUtils.loadAverage() in OSUtilsTest.oadAverage() test case always returns -1 causing the assertion to fail
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #10280:
URL: https://github.com/apache/dolphinscheduler/issues/10280#issuecomment-1183809711
This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org