Unit test PythonTest_solenv_python failing on Linux on est_gbuildtojson

Luke Benes lukebenes at hotmail.com
Mon Dec 11 17:47:33 UTC 2017


Can anyone run the subsequent tests successfully or do any tinderboxes run a make check? Recently, the test_gbuildtojson test started failing. It looks like it is related to xmlsecurity/qa/unit/signing/data/S.gpg-agent' being prematurely removed or never created. 

I could reproduce this on both Arch Linux and Ubuntu 17.10. 

-Luke


mkdir -p /tmp/gbuildjsd3l63b/LinkTarget/Library/
LD_LIBRARY_PATH=/core/instdir/program:/core/instdir/program:/core/workdir/UnpackedTarball/cppunit/src/cppunit/.libs LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"/core/instdir/program:/core/instdir/program"   /tmp/gbuildjsd3l63b/LinkTarget/Executable/gbuildtojson --makefile=/tmp/gbuild.5p5Rcq --linktarget=/tmp/gbuild.xNoSJJ --ilibtarget=/tmp/gbuild.bDHJyo --cxxobjects=/tmp/gbuild.Q3s4UK --yaccobjects=/tmp/gbuild.91p7jm --objcobjects=/tmp/gbuild.8ZDptA --objcxxobjects=/tmp/gbuild.ccElEo --cxxclrobjects=/tmp/gbuild.f0GWsq --asmobjects=/tmp/gbuild.KtPIxc --lexobjects=/tmp/gbuild.wBGLK1 --gencobjects=/tmp/gbuild.Pe8qnm --gencxxobjects=/tmp/gbuild.8OlNN4 --gencxxclrobjects=/tmp/gbuild.CIsZx4 --cobjects=/tmp/gbuild.YQzJUx --javaobjects=/tmp/gbuild.GXDPjE --pythonobjects=/tmp/gbuild.VRoMPV --cflags=/tmp/gbuild.03xla9 --cflagsappend=/tmp/gbuild.vSATGa --cxxflags=/tmp/gbuild.AGLyMq --cxxflagsappend=/tmp/gbuild.zUdwXa --objcflags=/tmp/gbuild.8dBWHe --objcflagsappend=/tmp/gbuild.QaEADe --objcxxflags=/tmp/gbuild.Q3YE4h --objcxxflagsappend=/tmp/gbuild.aAMno0 --cxxclrflags=/tmp/gbuild.WRxbbS --cxxclrflagsappend=/tmp/gbuild.Cj0Sx2 --defs=/tmp/gbuild.jvX8aI --include=/tmp/gbuild.hDGcj4 --linked_libs=/tmp/gbuild.5crr8W --linked_static_libs=/tmp/gbuild.S3zyx3 > /tmp/gbuildjsd3l63b/GbuildToJson/Library/libxmlscriptlo.so
E
======================================================================
ERROR: test_gbuildtojson (gbuildtojson.CheckGbuildToJsonModules)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/core/solenv/qa/python/gbuildtojson.py", line 135, in test_gbuildtojson
    shutil.copytree(os.path.join(os.environ['SRCDIR'], module), os.path.join(self.tempsrc, module))
  File "/usr/lib/python3.6/shutil.py", line 359, in copytree
    raise Error(errors)
shutil.Error: [('/core/xmlsecurity/qa/unit/signing/data/S.gpg-agent', '/tmp/gbuild0cf_xhb1/xmlsecurity/qa/unit/signing/data/S.gpg-agent', "[Errno 6] No such device or address: '/core/xmlsecurity/qa/unit/signing/data/S.gpg-agent'")]


----------------------------------------------------------------------
Ran 2 tests in 122.261s


FAILED (errors=1)


Error: a unit test failed, please do one of:


make PythonTest_solenv_python CPPUNITTRACE="gdb --args"
    # for interactive debugging on Linux
make PythonTest_solenv_python VALGRIND=memcheck
    # for memory checking
make PythonTest_solenv_python DEBUGCPPUNIT=TRUE
    # for exception catching


You can limit the execution to just one particular test by:


make CPPUNIT_TEST_NAME="testXYZ" ...above mentioned params...


make[1]: *** [/core/solenv/gbuild/PythonTest.mk:39: /core/workdir/PythonTest/solenv_python/done] Error 1
make: *** [Makefile:276: build] Error 2




More information about the LibreOffice mailing list