Re: sc: test failure depending on order of execution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Xisco,

On Fri, Feb 24, 2023 at 02:40:23PM +0100, Xisco Fauli <xiscofauli@xxxxxxxxxxxxxxx> wrote:
> it seems there is a test in sc/qa/unit/subsequent_export_test2.cxx that
> fails depending on the order of execution.
> 
> If testTdf121260 is executed before testTdf107586, then it passes,
> otherwise, it fails with
> 
> ##Failure Location unknown## : Error
> Test name: ScExportTest2::testTdf121260
> An uncaught exception of type com.sun.star.container.NoSuchElementException
> - /home/tdf/lode/jenkins/workspace/lo_gerrit/Config/linux_clang_dbgutil_64/package/source/zippackage/zipfileaccess.cxx:263:
> at /home/tdf/lode/jenkins/workspace/lo_gerrit/Config/linux_clang_dbgutil_64/package/source/zippackage/zipfileaccess.cxx:263
> 
> which means the file 'xl/charts/chart1.xml' doesn't exist in the zip file
> and parseExport fails. See https://gerrit.libreoffice.org/c/core/+/147622
> 
> Anyone has any idea why the file is not created if testTdf107586 is executed
> first ?

Not really, but the way I would debug this is to see how
XmlFilterBase::openFragmentStream() at
oox/source/core/xmlfilterbase.cxx:495 gets called in the good case, and
then hopefully the backtrace would give you some idea how it's not
called in the bad case.

My first guess would be some static variable, but who knows.

Regards,

Miklos



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux