Ah, that makes sense. Thanks Markus.

Chris

Sent from my iPad

> On 7 Mar 2016, at 2:58 AM, Markus Mohrhard <[email protected]> 
> wrote:
> 
> Hey,
> 
>> On Sun, Mar 6, 2016 at 4:42 PM, Chris Sherlock <[email protected]> 
>> wrote:
>> Forgive my inexperience, but is it related to the change itself? Or is it 
>> something else?
>> 
>> If it's not too much bother, could you elaborate a little? :-)
> 
> Windows has a much stricter file locking so if we use the same file in two 
> tests it might happen that two tests try to access the same file at the same 
> time. As a result one of the two tests fails because it can't open the test 
> file. See https://gerrit.libreoffice.org/#/c/22954/ for the fix.
> 
> Regards,
> Markus
> 
>> 
>> Chris
>> 
>> P.S. Apologies if you responded on IRC, I went to bed and I'm using my iPad 
>> as I just noticed your reply
>> 
>>> On 7 Mar 2016, at 2:35 AM, Markus Mohrhard <[email protected]> 
>>> wrote:
>>> 
>>> 
>>> 
>>>> On Sun, Mar 6, 2016 at 4:32 PM, Chris Sherlock 
>>>> <[email protected]> wrote:
>>>> Hi all,
>>>> 
>>>> Getting an odd failure on a backported patch on Jenkins:
>>>> 
>>>> https://gerrit.libreoffice.org/#/c/22947/
>>>> 
>>>> Only failing on Windows, error is:
>>>> 
>>>> [build ALL] top level modules: build-non-l10n-only build-l10n-only
>>>> C:/cygwin/home/tdf/lode/jenkins/workspace/lo_gerrit_master/Gerrit/Gerrit/Platform/Windows/sc/qa/unit/copy_paste_test.cxx:57:ScCopyPasteTest::testCopyPasteXLS
>>>> assertion failed
>>>> - Expression: xDocSh.Is()
>>>> - Failed to load chartx.xls.
>>>> 
>>>> C:/cygwin/home/tdf/lode/jenkins/workspace/lo_gerrit_master/Gerrit/Gerrit/Platform/Windows/sc/qa/unit/copy_paste_test.cxx(57)
>>>>  : error : Assertion
>>>> Test name: ScCopyPasteTest::testCopyPasteXLS
>>>> assertion failed
>>>> - Expression: xDocSh.Is()
>>>> - Failed to load chartx.xls.
>>>> 
>>>> Failures !!!
>>>> Run: 1   Failure total: 1   Failures: 1   Errors: 0
>>>> 
>>>> Error: a unit test failed, please do one of:
>>>> 
>>>> export CPPUNITTRACE=""[full path to devenv.exe]" /debugexe" # for 
>>>> interactive debugging in Visual Studio
>>>> export CPPUNITTRACE="drmemory -free_max_frames 20"            # for memory 
>>>> checking (install Dr.Memory first, and put it to your PATH)
>>>> 
>>>> and retry using: make CppunitTest_sc_copypaste
>>>> 
>>>> 
>>>> Anyone have any ideas?
>>> 
>>> 
>>> It is a locking issue.
> 
_______________________________________________
LibreOffice mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to