Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


Hey,

On Sun, Mar 6, 2016 at 4:42 PM, Chris Sherlock <chris.sherlock79@gmail.com>
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 <markus.mohrhard@googlemail.com>
wrote:



On Sun, Mar 6, 2016 at 4:32 PM, Chris Sherlock <chris.sherlock79@gmail.com
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.



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.