You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@linkis.apache.org by "yijut2 (via GitHub)" <gi...@apache.org> on 2023/11/30 07:23:22 UTC

[I] Flaky test under ExceptionManagerTest.java [linkis]

yijut2 opened a new issue, #5004:
URL: https://github.com/apache/linkis/issues/5004

   ### Search before asking
   
   - [X] I searched the [issues](https://github.com/apache/linkis/issues) and found no similar issues.
   
   
   ### Linkis Component
   
   linkis-commons
   
   ### Steps to reproduce
   
   1. mvn install -pl linkis-commons -am -DskipTests
   2. using the Nondex tools that are used to detect flakiness. `mvn edu.illinois:nondex-maven-plugin:2.1.1:nondex -pl linkis-commons/linkis-common -Dtest=org.apache.linkis.common.exception.ExceptionManagerTest#testGenerateException`
   4. Will see the failure log 
   ```[ERROR] Failures: 
   [ERROR]   ExceptionManagerTest.testGenerateException:55 expected: <LinkisException{errCode=10000, desc='The map cannot be parsed normally, the map is empty or the LEVEL value is missing:(map不能被正常的解析,map为空或者缺少LEVEL值: ){desc=test, port=0, errCode=1, level=null, ip=null, serviceKind=null}', ip='null', port=0, serviceKind='null'}> but was: <LinkisException{errCode=10000, desc='The map cannot be parsed normally, the map is empty or the LEVEL value is missing:(map不能被正常的解析,map为空或者缺少LEVEL值: ){errCode=1, ip=null, desc=test, port=0, level=null, serviceKind=null}', ip='null', port=0, serviceKind='null'}>
   [INFO] 
   [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0```
   
   ### Expected behavior
   
   The actual value for AssertEquals() should be `<LinkisException{errCode=10000, desc='The map cannot be parsed normally, the map is empty or the LEVEL value is missing:(map不能被正常的解析,map为空或者缺少LEVEL值: ){desc=test, port=0, errCode=1, level=null, ip=null, serviceKind=null}', ip='null', port=0, serviceKind='null'}>`
   
   ### Your environment
   
   <!-- Please describe the linkis version you are using and basic environment information -->
   <!-- 请描述您使用的linkis版本和基本环境信息 -->
   - Linkis version used: latest version
   - Environment name and version:
       - openjdk version "11.0.20.1"
       - maven 3.9.5
   
   
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!


-- 
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: notifications-unsubscribe@linkis.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org


Re: [I] Flaky test under ExceptionManagerTest.java [linkis]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #5004:
URL: https://github.com/apache/linkis/issues/5004#issuecomment-1833235051

   ## :blush:  Welcome to the Apache Linkis community!!
   We are glad that you are contributing by opening this issue.
   
   Please make sure to include all the relevant context.
   We will be here shortly.
   
   If you are interested in contributing to our website project, please let us know!
   You can check out our contributing guide on
    :point_right:  [How to Participate in Project Contribution](https://linkis.apache.org/community/how-to-contribute).
   
   
   ### Community
   
   |WeChat Assistant|WeChat Public Account|
   |-|-|
   |<img src="https://linkis.apache.org/Images/wedatasphere_contact_01.png" width="128"/>|<img src="https://linkis.apache.org/Images/gzh_01.png" width="128"/>|
   
   
   ### Mailing Lists
   |Name|Description|Subscribe|Unsubscribe|Archive|
   |:-----|:--------|:------|:-------|:-----|
   | [dev@linkis.apache.org](mailto:dev@linkis.apache.org) | community activity information | [subscribe](mailto:dev-subscribe@linkis.apache.org) | [unsubscribe](mailto:dev-unsubscribe@linkis.apache.org) | [archive](http://mail-archives.apache.org/mod_mbox/linkis-dev) |


-- 
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: notifications-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org


Re: [I] Flaky test under ExceptionManagerTest.java [linkis]

Posted by "peacewong (via GitHub)" <gi...@apache.org>.
peacewong closed issue #5004: Flaky test under ExceptionManagerTest.java
URL: https://github.com/apache/linkis/issues/5004


-- 
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: notifications-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org