Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flaky test under ExceptionManagerTest.java #5004

Closed
2 tasks done
yijut2 opened this issue Nov 30, 2023 · 1 comment
Closed
2 tasks done

Flaky test under ExceptionManagerTest.java #5004

yijut2 opened this issue Nov 30, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@yijut2
Copy link
Contributor

yijut2 commented Nov 30, 2023

Search before asking

  • I searched the 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
  3. Will see the failure log
[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

  • 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?

  • Yes I am willing to submit a PR!
@yijut2 yijut2 added the bug Something isn't working label Nov 30, 2023
Copy link

😊 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
👉 How to Participate in Project Contribution.

Community

WeChat Assistant WeChat Public Account

Mailing Lists

Name Description Subscribe Unsubscribe Archive
[email protected] community activity information subscribe unsubscribe archive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants