Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348684 - [server] testUpdateUsers failed
Summary: [server] testUpdateUsers failed
Status: RESOLVED INVALID
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Malgorzata Janczarska CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-08 04:30 EDT by Malgorzata Janczarska CLA
Modified: 2011-08-30 10:22 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Malgorzata Janczarska CLA 2011-06-08 04:30:14 EDT
{"Severity":"Error","Message":"Invalid old password","HttpCode":401,"Code":0} expected:<200> but was:<401> 

java.lang.AssertionError: {"Severity":"Error","Message":"Invalid old password","HttpCode":401,"Code":0} expected:<200> but was:<401>
at org.eclipse.orion.server.tests.servlets.users.BasicUsersTest.testUpdateUsers(BasicUsersTest.java:203)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:416)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:249)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:36)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:32)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 1 Malgorzata Janczarska CLA 2011-06-08 07:04:24 EDT
Test passes locally.

The error message indicates that user password wasn't verified positively. There are a few possibilities that could cause it:
1. While creating user for test the password wasn't set
2. While updating user the old password wasn't send
3. Wrong password was send
4. User's password was changed in meantime

I don't really see how could it happen. The test was passing on server for a long time and nothing has changed since last pass.
I'll get back to it when it fails again. Maybe something was happening on the server while performing the test.
Comment 2 Tomasz Zarna CLA 2011-06-09 10:26:49 EDT
What build was it?
Comment 3 Tomasz Zarna CLA 2011-06-09 10:52:57 EDT
All JUnit tests passed in http://download.eclipse.org/e4/orion/drops/I201106091015/.
Comment 4 Malgorzata Janczarska CLA 2011-06-09 12:07:23 EDT
there must have been some background tasks modifying our users list, I'm marking if invalid, if it happens again we may reopen.