--- Dependency check [begin] --- --- Dependency check [end] --- --- Distribution check [begin] --- Version 0.5.2 - 2022-08-26 (AG) Information: this ChangeLog entry matches the version number: Version 0.5.2 - 2022-08-26 (AG) Information: ./config/XMMextractorpy.par is an XML parameter file, I cannot yet validate it. Skipped. Warning: XMMextractorpy - missing lyt files. Now checking git repository... --- Distribution check [end] --- sed -e "s/DOC/XMMextractorpy/" -e "s/TYPE/user/" < \ /workspaces/xmm_sas/packages/sas/doc/lib/package.tex | /workspaces/xmm_sas/packages/sas/bin/texcombine | \ /workspaces/xmm_sas/packages/sas/bin/fixdoc -type=user XMMextractorpy 0.5.2 XMMextractorpy 22.0.0-f5b4ac1df-20240822 > XMMextractorpy.tex including sasuser... including sasglobal... including XMMextractorpy_description... latex XMMextractorpy < /dev/null > makedoc.log || ( cat makedoc.log ; exit 1 ) bibtex XMMextractorpy < /dev/null > makedoc.log make[5]: [/workspaces/xmm_sas/Make.include:1062: XMMextractorpy.ps.gz] Error 2 (ignored) latex XMMextractorpy < /dev/null > makedoc.log || ( cat makedoc.log ; exit 1 ) latex XMMextractorpy < /dev/null > makedoc.log || ( cat makedoc.log ; exit 1 ) dvips -o XMMextractorpy.ps XMMextractorpy > makedoc.log 2>&1 || ( cat makedoc.log ; exit 1 ) dvipdf XMMextractorpy > makedoc.log 2>&1 || ( cat makedoc.log ; continue ) gzip -f XMMextractorpy.ps sed -e "s/DOC/pyOAL/" -e "s/TYPE/user/" < \ /workspaces/xmm_sas/packages/sas/doc/lib/package.tex | /workspaces/xmm_sas/packages/sas/bin/texcombine | \ /workspaces/xmm_sas/packages/sas/bin/fixdoc -type=user pyOAL 0.5.2 XMMextractorpy 22.0.0-f5b4ac1df-20240822 > pyOAL.tex including sasuser... including sasglobal... including pyOAL_description... latex pyOAL < /dev/null > makedoc.log || ( cat makedoc.log ; exit 1 ) bibtex pyOAL < /dev/null > makedoc.log make[5]: [/workspaces/xmm_sas/Make.include:1062: pyOAL.ps.gz] Error 2 (ignored) latex pyOAL < /dev/null > makedoc.log || ( cat makedoc.log ; exit 1 ) latex pyOAL < /dev/null > makedoc.log || ( cat makedoc.log ; exit 1 ) dvips -o pyOAL.ps pyOAL > makedoc.log 2>&1 || ( cat makedoc.log ; exit 1 ) dvipdf pyOAL > makedoc.log 2>&1 || ( cat makedoc.log ; continue ) gzip -f pyOAL.ps sed -e "s/DOC/RunCifbuild/" -e "s/TYPE/user/" < \ /workspaces/xmm_sas/packages/sas/doc/lib/package.tex | /workspaces/xmm_sas/packages/sas/bin/texcombine | \ /workspaces/xmm_sas/packages/sas/bin/fixdoc -type=user RunCifbuild 0.5.2 XMMextractorpy 22.0.0-f5b4ac1df-20240822 > RunCifbuild.tex including sasuser... including sasglobal... including RunCifbuild_description... latex RunCifbuild < /dev/null > makedoc.log || ( cat makedoc.log ; exit 1 ) bibtex RunCifbuild < /dev/null > makedoc.log make[5]: [/workspaces/xmm_sas/Make.include:1062: RunCifbuild.ps.gz] Error 2 (ignored) latex RunCifbuild < /dev/null > makedoc.log || ( cat makedoc.log ; exit 1 ) latex RunCifbuild < /dev/null > makedoc.log || ( cat makedoc.log ; exit 1 ) dvips -o RunCifbuild.ps RunCifbuild > makedoc.log 2>&1 || ( cat makedoc.log ; exit 1 ) dvipdf RunCifbuild > makedoc.log 2>&1 || ( cat makedoc.log ; continue ) gzip -f RunCifbuild.ps SASRELDIR=../../.. ;\ export SASRELDIR ;\ latex2html -nouse_pdftex -init_file /workspaces/xmm_sas/packages/sas/doc/lib/latex2html.init XMMextractorpy > /dev/null texexpand V2020 (Released January 1, 2020) Warning: No implementation found for option: `version' for `sasdoc' package Warning: No implementation found for option: `version' for `sasdoc' package /usr/bin/echo "" mkpkgidx -t . > /dev/null || (rm -f XMMextractorpy/index.pl ; exit 1) pointer=XMMextractorpy/ChangeLog ; \ target=../../../packages/XMMextractorpy/ChangeLog ; \ if [ -f $target -a \( ! -h $pointer \) ] ; then \ ln -s ../$target $pointer ; \ fi SASRELDIR=../../.. ;\ export SASRELDIR ;\ latex2html -nouse_pdftex -init_file /workspaces/xmm_sas/packages/sas/doc/lib/latex2html.init pyOAL > /dev/null texexpand V2020 (Released January 1, 2020) Warning: No implementation found for option: `version' for `sasdoc' package Warning: No implementation found for option: `version' for `sasdoc' package /usr/bin/echo "" mkpkgidx -t . > /dev/null || (rm -f pyOAL/index.pl ; exit 1) pointer=pyOAL/ChangeLog ; \ target=../../../packages/XMMextractorpy/ChangeLog ; \ if [ -f $target -a \( ! -h $pointer \) ] ; then \ ln -s ../$target $pointer ; \ fi SASRELDIR=../../.. ;\ export SASRELDIR ;\ latex2html -nouse_pdftex -init_file /workspaces/xmm_sas/packages/sas/doc/lib/latex2html.init RunCifbuild > /dev/null texexpand V2020 (Released January 1, 2020) Warning: No implementation found for option: `version' for `sasdoc' package Warning: No implementation found for option: `version' for `sasdoc' package /usr/bin/echo "" mkpkgidx -t . > /dev/null || (rm -f RunCifbuild/index.pl ; exit 1) pointer=RunCifbuild/ChangeLog ; \ target=../../../packages/XMMextractorpy/ChangeLog ; \ if [ -f $target -a \( ! -h $pointer \) ] ; then \ ln -s ../$target $pointer ; \ fi rm XMMextractorpy.tex RunCifbuild.tex pyOAL.tex Testing testXMMextractorpy ... FAILED Message: will run ./testXMMextractorpy for no longer than 600 seconds. ============================= test session starts ============================== platform linux -- Python 3.12.4, pytest-8.3.2, pluggy-1.5.0 -- /sasbuild/tools/python-3.12.4/bin/python3 cachedir: .pytest_cache rootdir: /workspaces/xmm_sas/packages/XMMextractorpy plugins: anyio-4.4.0 collecting ... collected 4 items test_RunCifbuild.py::test_run_odfingest PASSED [ 25%] test_pyOAL.py::test_load_class FAILED [ 50%] test_pyOAL.py::test_brancher FAILED [ 75%] test_pyOAL.py::test_create_xml FAILED [100%] =================================== FAILURES =================================== _______________________________ test_load_class ________________________________ def test_load_class(): > obs = pyOAL.Observation('0505720401.xml') test_pyOAL.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib/python/pysas/pyOAL/pyOAL.py:404: in __init__ self.obs_start, self.obs_end, self.obs_duration = xmm_tools.ODF_times(os.environ['SAS_ODF']) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ SAS_file = '/workspaces/xmm_sas/lib/testodf/scisimsimple' def ODF_times(SAS_file = ''): ''' Searches for the start time and the end time of the observation. Args: SAS_file: (optional) a SAS file. By default it will search for one in the main directory for XMMExtractor. Output: (start time, end time, duration) ''' if SAS_file == '': SAS_file = glob.glob(XMMExtractor.main_dir + '/*.SAS')[0] t_start = 0 t_end = 0 duration = 0 > with open(SAS_file, 'r') as f: E IsADirectoryError: [Errno 21] Is a directory: '/workspaces/xmm_sas/lib/testodf/scisimsimple' ../../../lib/python/pysas/XMMextractor_tools/XMMextractor_tools.py:59: IsADirectoryError ________________________________ test_brancher _________________________________ def test_brancher(): > obs = pyOAL.Observation('0505720401.xml') test_pyOAL.py:32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib/python/pysas/pyOAL/pyOAL.py:404: in __init__ self.obs_start, self.obs_end, self.obs_duration = xmm_tools.ODF_times(os.environ['SAS_ODF']) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ SAS_file = '/workspaces/xmm_sas/lib/testodf/scisimsimple' def ODF_times(SAS_file = ''): ''' Searches for the start time and the end time of the observation. Args: SAS_file: (optional) a SAS file. By default it will search for one in the main directory for XMMExtractor. Output: (start time, end time, duration) ''' if SAS_file == '': SAS_file = glob.glob(XMMExtractor.main_dir + '/*.SAS')[0] t_start = 0 t_end = 0 duration = 0 > with open(SAS_file, 'r') as f: E IsADirectoryError: [Errno 21] Is a directory: '/workspaces/xmm_sas/lib/testodf/scisimsimple' ../../../lib/python/pysas/XMMextractor_tools/XMMextractor_tools.py:59: IsADirectoryError _______________________________ test_create_xml ________________________________ def test_create_xml(): > obs = pyOAL.Observation('0505720401.xml') test_pyOAL.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib/python/pysas/pyOAL/pyOAL.py:404: in __init__ self.obs_start, self.obs_end, self.obs_duration = xmm_tools.ODF_times(os.environ['SAS_ODF']) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ SAS_file = '/workspaces/xmm_sas/lib/testodf/scisimsimple' def ODF_times(SAS_file = ''): ''' Searches for the start time and the end time of the observation. Args: SAS_file: (optional) a SAS file. By default it will search for one in the main directory for XMMExtractor. Output: (start time, end time, duration) ''' if SAS_file == '': SAS_file = glob.glob(XMMExtractor.main_dir + '/*.SAS')[0] t_start = 0 t_end = 0 duration = 0 > with open(SAS_file, 'r') as f: E IsADirectoryError: [Errno 21] Is a directory: '/workspaces/xmm_sas/lib/testodf/scisimsimple' ../../../lib/python/pysas/XMMextractor_tools/XMMextractor_tools.py:59: IsADirectoryError =========================== short test summary info ============================ FAILED test_pyOAL.py::test_load_class - IsADirectoryError: [Errno 21] Is a di... FAILED test_pyOAL.py::test_brancher - IsADirectoryError: [Errno 21] Is a dire... FAILED test_pyOAL.py::test_create_xml - IsADirectoryError: [Errno 21] Is a di... ========================= 3 failed, 1 passed in 2.78s ========================== Error while running ./testXMMextractorpy ERROR: one of the tests failed