-
Notifications
You must be signed in to change notification settings - Fork 27
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
Unstable test: validateDeployment – com.linagora.tmail.deployment.DistributedImapAndSmtpTest #1571
Comments
They do break sometimes cause they are declared in james but not tested there anymore, while we still use it for tmail deployment tests on our side. So you need to fix it on james while testing on tmail to make it pass |
Except if flaky maybe... did you try to run this locally on your PR? green or not? If breaks with your changes on tmail though, you might want to check your PR again |
Tested in local. It is flaky |
In master branch or your branch? |
In my branch. I am only able to reproduce it once. However, I don't think my code change has anything to do with this test. My best guess is that the mailbox is changed by something after being created (one possible root cause is recent change by Tung for MailboxACL in PropagateLookupRightListener). Therefore, I suggest removing checking HIGHESTMODSEQ in the test script:
|
Error
Location: /com/linagora/tmail/deployment/scripts/ValidateDeployment.test:404
LastClientMsg: s0001 SELECT anothermailbox
Expected: '* OK [HIGHESTMODSEQ 0] Highest'
Actual : '* OK [HIGHESTMODSEQ 1] Highest'
Stacktrace
org.apache.james.mpt.protocol.ProtocolSession$InvalidServerResponseException:
Location: /com/linagora/tmail/deployment/scripts/ValidateDeployment.test:404
LastClientMsg: s0001 SELECT anothermailbox
Expected: '* OK [HIGHESTMODSEQ 0] Highest'
Actual : '* OK [HIGHESTMODSEQ 1] Highest'
at org.apache.james.mpt.protocol.ProtocolSession.handleFailure(ProtocolSession.java:508)
at org.apache.james.mpt.protocol.ProtocolSession$ServerResponse.checkResponse(ProtocolSession.java:354)
at org.apache.james.mpt.protocol.ProtocolSession$ServerResponse.testProtocol(ProtocolSession.java:340)
at org.apache.james.mpt.protocol.ProtocolSession.runSessions(ProtocolSession.java:105)
at org.apache.james.mpt.script.GenericSimpleScriptedTestProtocol.runSessions(GenericSimpleScriptedTestProtocol.java:178)
at org.apache.james.mpt.script.GenericSimpleScriptedTestProtocol.run(GenericSimpleScriptedTestProtocol.java:131)
at com.linagora.tmail.deployment.TMailDeploymentValidation.validateDeployment(TMailDeploymentValidation.java:79)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at java.base/java.util.ArrayList.forEach(Unknown Source)
at java.base/java.util.ArrayList.forEach(Unknown Source)
https://james-jenkins.lin-saas.com/blue/organizations/jenkins/Tmail%20build/detail/PR-1566/1/tests/
The text was updated successfully, but these errors were encountered: