Repository navigation
Closed
Description
Failing smashbox test: test_basicSync.py, ...
Description of the minimal failing version:
- Create directory for the sync client
- Run sync (will pull the welcome.txt)
- Create file
TEST_FILE_MODIFIED_NONE.datwithstr_repeat('0', 1000) - Run sync (should upload the file)
- Check that the file exists
Expected
Step 5 returns true
Actual
Step 4 creates the following log entry:
{
"reqId": "e84pKwfa343OfvplLhWm",
"remoteAddr": "127.0.0.1",
"app": "webdav",
"message": {
"Exception": {
"Message": "HTTP/1.1 423 \"TEST_FILE_MODIFIED_NONE.dat\" is locked",
"Code": 0,
"Trace": {
"#0": [
"/home/nickv/ownCloud/Smashbox/master/lib/private/connector/sabre/directory.php(111): OC\Connector\Sabre\File->put(Resource id #23)",
null
],
"#1": [
"/home/nickv/ownCloud/Smashbox/master/3rdparty/sabre/dav/lib/DAV/Server.php(1053): OC\Connector\Sabre\Directory->createFile('TEST_FILE_MODIF...', Resource id #23)",
null
],
"#2": [
"/home/nickv/ownCloud/Smashbox/master/3rdparty/sabre/dav/lib/DAV/CorePlugin.php(513): Sabre\DAV\Server->createFile('TEST_FILE_MODIF...', Resource id #23, NULL)",
null
],
"#3": [
"[internal function]: Sabre\DAV\CorePlugin->httpPut(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))",
null
],
"#4": [
"/home/nickv/ownCloud/Smashbox/master/3rdparty/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)",
null
],
"#5": [
"/home/nickv/ownCloud/Smashbox/master/3rdparty/sabre/dav/lib/DAV/Server.php(469): Sabre\Event\EventEmitter->emit('method:PUT', Array)",
null
],
"#6": [
"/home/nickv/ownCloud/Smashbox/master/3rdparty/sabre/dav/lib/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))",
null
],
"#7": [
"/home/nickv/ownCloud/Smashbox/master/apps/files/appinfo/remote.php(83):",
"Sabre\DAV\Server->exec()"
],
"#8": [
"/home/nickv/ownCloud/Smashbox/master/remote.php(84):",
"require_once('/home/nickv/own...')"
],
"#9": [
"{main}",
null
]
},
"File": "/home/nickv/ownCloud/Smashbox/master/lib/private/connector/sabre/file.php",
"Line": 198
}
},
"level": 4,
"time": "2015-06-16T10:57:09+00:00"
}@icewind1991 @DeepDiver1975 this most of the tests to fail
Activity
DeepDiver1975 commentedon Jun 16, 2015
@icewind1991 can you please have a look? THX
nickvergessen commentedon Jun 16, 2015
I added logs on locking actions and found related:
Which brought me to #16955 which fixes the issue.
nickvergessen commentedon Jun 17, 2015
#16955 as been merged, so closing (forgot to add to auto-close)