Bug#999519: xrayutilities: FTBFS with matplotlib 3.5 (in experimental): dh_auto_test: error: pybuild --test -i python{version} -p 3.9 -s custom "--test-args={interpreter} {dir}/setup.py egg_info -e {build_dir}; cd {build_dir}; {interpreter} -m unittest2 discover -v; " returned exit code 13

Lucas Nussbaum lucas at debian.org
Fri Nov 12 07:19:54 GMT 2021


Source: xrayutilities
Version: 1.7.1-2
Severity: important
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-matplotlib35

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64, using matplotlib 3.5 currently in experimental. This version
will soon be uploaded to unstable.

If you have questions about this, please contact Sandro Tosi
<morph at debian.org>.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test -- -s custom --test-args="{interpreter} {dir}/setup.py egg_info -e {build_dir}; cd {build_dir}; {interpreter} -m unittest2 discover -v;"
> 	pybuild --test -i python{version} -p 3.9 -s custom "--test-args={interpreter} {dir}/setup.py egg_info -e {build_dir}; cd {build_dir}; {interpreter} -m unittest2 discover -v;"
> I: pybuild pybuild:285: cp -r tests /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xrayutilities/build; cp -r examples /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xrayutilities/build; cp -r lib/xrayutilities/materials/data /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xrayutilities/build/xrayutilities/materials/
> I: pybuild base:232: python3.9 /<<PKGBUILDDIR>>/setup.py egg_info -e /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xrayutilities/build; cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xrayutilities/build; python3.9 -m unittest2 discover -v;
> running egg_info
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xrayutilities/build/xrayutilities.egg-info
> writing /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xrayutilities/build/xrayutilities.egg-info/PKG-INFO
> writing dependency_links to /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xrayutilities/build/xrayutilities.egg-info/dependency_links.txt
> writing requirements to /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xrayutilities/build/xrayutilities.egg-info/requires.txt
> writing top-level names to /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xrayutilities/build/xrayutilities.egg-info/top_level.txt
> writing manifest file '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xrayutilities/build/xrayutilities.egg-info/SOURCES.txt'
> reading manifest file '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xrayutilities/build/xrayutilities.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '.gitignore' found anywhere in distribution
> warning: no previously-included files found matching '.coveragerc'
> warning: no previously-included files found matching 'tox.ini'
> warning: no previously-included files found matching 'release.txt'
> adding license file 'LICENSE.txt'
> writing manifest file '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xrayutilities/build/xrayutilities.egg-info/SOURCES.txt'
> test_Q2Ang_hxrd_geom_hi_lo (tests.test_HXRD.TestQ2Ang_HXRD) ... ok
> test_Q2Ang_hxrd_geom_lo_hi (tests.test_HXRD.TestQ2Ang_HXRD) ... ok
> test_Q2Ang_hxrd_geom_real (tests.test_HXRD.TestQ2Ang_HXRD) ... ok
> test_Q2Ang_hxrd_geom_realTilt (tests.test_HXRD.TestQ2Ang_HXRD) ... ok
> test_Q2Ang_hxrd_point (tests.test_HXRD.TestQ2Ang_HXRD) ... ok
> test_Q2Ang_nonCOP_point (tests.test_NonCOP.TestQ2Ang_nonCOP) ... ok
> test_Q2Ang_nonCOP_point2 (tests.test_NonCOP.TestQ2Ang_nonCOP) ... ok
> test_ContentAsym (tests.test_alloy_content_calc.TestAlloyContentCalc) ... ok
> test_ContentSym (tests.test_alloy_content_calc.TestAlloyContentCalc) ... ok
> test_composition (tests.test_amorphous.Test_maplog) ... ok
> test_elements (tests.test_amorphous.Test_maplog) ... ok
> test_arbitrary_cut (tests.test_analysis_linecuts.Test_analysis_linecuts) ... ok
> test_omega_cut (tests.test_analysis_linecuts.Test_analysis_linecuts) ... ok
> test_qcut_width (tests.test_analysis_linecuts.Test_analysis_linecuts) ... ok
> test_qy_cut (tests.test_analysis_linecuts.Test_analysis_linecuts) ... ok
> test_qz_cut (tests.test_analysis_linecuts.Test_analysis_linecuts) ... ok
> test_radial_cut (tests.test_analysis_linecuts.Test_analysis_linecuts) ... ok
> test_ttheta_cut (tests.test_analysis_linecuts.Test_analysis_linecuts) ... ok
> test_area_calib (tests.test_area_calib.TestArea_calib) ... skipped 'this test is not running on CI or additional test data are needed (http://xrayutilities.sf.io)'
> test_area_calib_hkl (tests.test_area_calib.TestArea_calib) ... skipped 'this test is not running on CI or additional test data are needed (http://xrayutilities.sf.io)'
> test_blockav1d (tests.test_blockaverage.TestBlockAverageFunctions) ... ok
> test_blockav2d (tests.test_blockaverage.TestBlockAverageFunctions) ... ok
> test_blockav_psd (tests.test_blockaverage.TestBlockAverageFunctions) ... ok
> test_datashape (tests.test_ccd_normalizer.TestCCD_Normalizer) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datavalues (tests.test_ccd_normalizer.TestCCD_Normalizer) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_simpack_powdermodel (tests.test_examples.TestExampleScripts) ... ok
> test_simpack_xrd_AlGaAs (tests.test_examples.TestExampleScripts) ... ok
> test_simpack_xrd_Darwin_AlGaAs (tests.test_examples.TestExampleScripts) ... ok
> test_simpack_xrd_InAs_fitting (tests.test_examples.TestExampleScripts) ... ok
> test_simpack_xrd_SiGe (tests.test_examples.TestExampleScripts) ... ok
> test_simpack_xrd_SiGe111 (tests.test_examples.TestExampleScripts) ... ok
> test_simpack_xrd_SiGe_asymmmetric (tests.test_examples.TestExampleScripts) ... ok
> test_simpack_xrd_SiGe_superlattice (tests.test_examples.TestExampleScripts) ... ok
> test_simpack_xrr_SiO2_Ru_CoFe_IrMn_Al2O3 (tests.test_examples.TestExampleScripts) ... Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xrayutilities/build/examples/simpack_xrr_SiO2_Ru_CoFe_IrMn_Al2O3.py", line 57, in <module>
>     res = fitm.fit(edata, p, ai, weights=1/eps)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xrayutilities/build/xrayutilities/simpack/fit.py", line 257, in fit
>     self.fitplot.plot_init(x, data, weights, initmodel, mask, self.verbose)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xrayutilities/build/xrayutilities/simpack/fit.py", line 211, in plot_init
>     self.ax.set_yscale("log", nonposy='clip')
>   File "/usr/lib/python3/dist-packages/matplotlib/axes/_base.py", line 4100, in set_yscale
>     ax.yaxis._set_scale(value, **kwargs)
>   File "/usr/lib/python3/dist-packages/matplotlib/axis.py", line 761, in _set_scale
>     self._scale = mscale.scale_factory(value, self, **kwargs)
>   File "/usr/lib/python3/dist-packages/matplotlib/scale.py", line 597, in scale_factory
>     return scale_cls(axis, **kwargs)
> TypeError: __init__() got an unexpected keyword argument 'nonposy'
> ERROR
> test_simpack_xrr_diffuse (tests.test_examples.TestExampleScripts) ... ok
> test_simpack_xrr_matrixmethod (tests.test_examples.TestExampleScripts) ... ok
> test_xrayutilities_angular2hkl_conversion (tests.test_examples.TestExampleScripts) ... ok
> test_xrayutilities_components_of_the_structure_factor (tests.test_examples.TestExampleScripts) ... ok
> test_xrayutilities_define_material (tests.test_examples.TestExampleScripts) ... ok
> test_xrayutilities_energy_dependent_structure_factor (tests.test_examples.TestExampleScripts) ... ok
> test_xrayutilities_experiment_Powder_example_Iron (tests.test_examples.TestExampleScripts) ... ok
> test_xrayutilities_experiment_angle_calculation (tests.test_examples.TestExampleScripts) ... ok
> test_xrayutilities_experiment_kappa (tests.test_examples.TestExampleScripts) ... ok
> test_xrayutilities_fuzzygridding (tests.test_examples.TestExampleScripts) ... /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xrayutilities/build/examples/xrayutilities_fuzzygridding.py:83: UserWarning: The input coordinates to pcolormesh are interpreted as cell centers, but are not monotonically increasing or decreasing. This may lead to incorrectly calculated cell edges, in which case, please supply explicit cell edges to pcolormesh.
>   plt.pcolormesh(qy, qz, psd, norm=LogNorm(MIN, MAX))
> ok
> test_xrayutilities_hotpixelkill_variant (tests.test_examples.TestExampleScripts) ... ok
> test_xrayutilities_id01_functions (tests.test_examples.TestExampleScripts) ... ok
> test_xrayutilities_io_cif_parser (tests.test_examples.TestExampleScripts) ... /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xrayutilities/build/xrayutilities/experiment.py:1398: UserWarning: Experiment: given inplane direction is not perpendicular to normal direction
>  -> Experiment class uses the following direction with the same azimuth:
>  -0.606 0.432 0.668
>   warnings.warn("Experiment: given inplane direction is not "
> ok
> test_xrayutilities_io_cif_parser_bi2te3 (tests.test_examples.TestExampleScripts) ... ok
> test_xrayutilities_materials_Alloy_contentcalc (tests.test_examples.TestExampleScripts) ... ok
> test_xrayutilities_math_fitting (tests.test_examples.TestExampleScripts) ... ok
> test_xrayutilities_orientation_matrix (tests.test_examples.TestExampleScripts) ... ok
> test_xrayutilities_peak_angles_beamtime (tests.test_examples.TestExampleScripts) ... ok
> test_xrayutilities_q2ang_general (tests.test_examples.TestExampleScripts) ... ok
> test_xrayutilities_read_panalytical (tests.test_examples.TestExampleScripts) ... ok
> test_xrayutilities_read_spec (tests.test_examples.TestExampleScripts) ... ok
> test_xrayutilities_reflection_strength (tests.test_examples.TestExampleScripts) ... ok
> test_xrayutilities_show_reciprocal_space_plane (tests.test_examples.TestExampleScripts) ... ok
> test_derivatives (tests.test_functions.TestMathFunctions) ... ok
> test_gauss1darea (tests.test_functions.TestMathFunctions) ... ok
> test_gauss1dwidth (tests.test_functions.TestMathFunctions) ... ok
> test_gauss2darea (tests.test_functions.TestMathFunctions) ... ok
> test_lorentz1darea (tests.test_functions.TestMathFunctions) ... ok
> test_lorentz1dwidth (tests.test_functions.TestMathFunctions) ... ok
> test_normedgauss1d (tests.test_functions.TestMathFunctions) ... ok
> test_pvoigt1darea (tests.test_functions.TestMathFunctions) ... ok
> test_pvoigt1dwidth (tests.test_functions.TestMathFunctions) ... ok
> test_gridder1d_axis (tests.test_fuzzygridder1d.TestFuzzyGridder1D) ... ok
> test_gridder1d_data (tests.test_fuzzygridder1d.TestFuzzyGridder1D) ... ok
> test_fuzzygridder2d_data (tests.test_fuzzygridder2d.TestFuzzyGridder2D) ... ok
> test_gridder2d_xaxis (tests.test_fuzzygridder2d.TestFuzzyGridder2D) ... ok
> test_gridder2d_yaxis (tests.test_fuzzygridder2d.TestFuzzyGridder2D) ... ok
> test_fuzzygridder3d_data (tests.test_fuzzygridder3d.TestFuzzyGridder3D) ... ok
> test_gridder3d_xaxis (tests.test_fuzzygridder3d.TestFuzzyGridder3D) ... ok
> test_gridder3d_yaxis (tests.test_fuzzygridder3d.TestFuzzyGridder3D) ... ok
> test_gridder3d_zaxis (tests.test_fuzzygridder3d.TestFuzzyGridder3D) ... ok
> test_getang001 (tests.test_getang.TestGetAngles) ... ok
> test_getang111 (tests.test_getang.TestGetAngles) ... ok
> test_getunitvector (tests.test_getang.TestGetAngles) ... ok
> test_gridder1d_axis (tests.test_gridder1d.TestGridder1D) ... ok
> test_gridder1d_data (tests.test_gridder1d.TestGridder1D) ... ok
> test_gridder2d_data (tests.test_gridder2d.TestGridder2D) ... ok
> test_gridder2d_xaxis (tests.test_gridder2d.TestGridder2D) ... ok
> test_gridder2d_yaxis (tests.test_gridder2d.TestGridder2D) ... ok
> test_gridder2d_data (tests.test_gridder2dlist.TestGridder2DList) ... ok
> test_gridder3d_data (tests.test_gridder3d.TestGridder3D) ... ok
> test_gridder3d_xaxis (tests.test_gridder3d.TestGridder3D) ... ok
> test_gridder3d_yaxis (tests.test_gridder3d.TestGridder3D) ... ok
> test_gridder3d_zaxis (tests.test_gridder3d.TestGridder3D) ... ok
> test_CBFDirectory (tests.test_io_cbf.TestIO_CBF) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datashape (tests.test_io_cbf.TestIO_CBF) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datavalues (tests.test_io_cbf.TestIO_CBF) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_savehdf5 (tests.test_io_cbf.TestIO_CBF) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_EDFDirectory (tests.test_io_edf.TestIO_EDF) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datashape (tests.test_io_edf.TestIO_EDF) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datavalues (tests.test_io_edf.TestIO_EDF) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_savehdf5 (tests.test_io_edf.TestIO_EDF) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datashape (tests.test_io_esg.TestIO_ESG) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datavalues (tests.test_io_esg.TestIO_ESG) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datashape (tests.test_io_fastscan.TestIO_FastScan) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datavalues (tests.test_io_fastscan.TestIO_FastScan) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_grid2D (tests.test_io_fastscan.TestIO_FastScan) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datashape (tests.test_io_fio.TestIO_FIO) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datavalues (tests.test_io_fio.TestIO_FIO) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_hdf5file (tests.test_io_fio.TestIO_FIO) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_normalizer (tests.test_io_fio.TestIO_FIO) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datashape (tests.test_io_nja.TestIO_NJA) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datavalues (tests.test_io_nja.TestIO_NJA) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_headervalue (tests.test_io_nja.TestIO_NJA) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datashape (tests.test_io_nja_map.TestIO_map_NJA) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datavalues (tests.test_io_nja_map.TestIO_map_NJA) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datashape (tests.test_io_nja_tsk.TestIO_task_NJA) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datavalues (tests.test_io_nja_tsk.TestIO_task_NJA) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datashape (tests.test_io_numor.TestIO_numor) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datavalues (tests.test_io_numor.TestIO_numor) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_equaldata (tests.test_io_numor.TestIO_numor) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datashape (tests.test_io_pdcif.TestIO_pdCIF) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datavalues (tests.test_io_pdcif.TestIO_pdCIF) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datashape (tests.test_io_perkinelmer.TestIO_PerkinElmer) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datavalues (tests.test_io_perkinelmer.TestIO_PerkinElmer) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_tiffread (tests.test_io_perkinelmer.TestIO_PerkinElmer) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datashape (tests.test_io_pilatus.TestIO_Pilatus) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datavalues (tests.test_io_pilatus.TestIO_Pilatus) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datamethods (tests.test_io_rigaku.TestIO_Rigaku) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datashape_all (tests.test_io_rigaku.TestIO_Rigaku) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datashape_ras (tests.test_io_rigaku.TestIO_Rigaku) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datavalues (tests.test_io_rigaku.TestIO_Rigaku) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datashape (tests.test_io_roperccd.TestIO_RoperCCD) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datavalues (tests.test_io_roperccd.TestIO_RoperCCD) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datamethods (tests.test_io_spec.TestIO_SPEC) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datashape (tests.test_io_spec.TestIO_SPEC) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datavalues (tests.test_io_spec.TestIO_SPEC) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_getheader (tests.test_io_spec.TestIO_SPEC) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_hdf5file (tests.test_io_spec.TestIO_SPEC) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_iterations (tests.test_io_specalignmentlog.TestIO_SPEC_RA_Log) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_peaknames (tests.test_io_specalignmentlog.TestIO_SPEC_RA_Log) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_linenumber (tests.test_io_speclog.TestIO_SPECLog) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datashape_aborted (tests.test_io_specsardana.TestIO_SPEC_Sardana) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datavalues (tests.test_io_specsardana.TestIO_SPEC_Sardana) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_init_mopo (tests.test_io_specsardana.TestIO_SPEC_Sardana) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datashape (tests.test_io_tty.TestIO_TTY) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datavalues (tests.test_io_tty.TestIO_TTY) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_equaldata (tests.test_io_tty.TestIO_TTY) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datamethods (tests.test_io_xrdml.TestIO_XRDML) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datashape (tests.test_io_xrdml.TestIO_XRDML) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_datavalues (tests.test_io_xrdml.TestIO_XRDML) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_version2 (tests.test_io_xrdml.TestIO_XRDML) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_linear_calib (tests.test_linear_calib.TestLinear_calib) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_maplog (tests.test_maplog.Test_maplog) ... ok
> test_maplogzero (tests.test_maplog.Test_maplog) ... ok
> test_Bmatrix (tests.test_materials.TestMaterialsTransform)
> check if our B matrix is compatible with the one from ... ok
> test_Bmatrix_after_a_setter (tests.test_materials.TestMaterialsTransform) ... ok
> test_Bmatrix_after_all_setters (tests.test_materials.TestMaterialsTransform) ... ok
> test_Bmatrix_after_alpha_setter (tests.test_materials.TestMaterialsTransform) ... ok
> test_environment (tests.test_materials.TestMaterialsTransform) ... ok
> test_environment_Si (tests.test_materials.TestMaterialsTransform) ... ok
> test_isequivalent (tests.test_materials.TestMaterialsTransform) ... ok
> test_q2hkl_hkl2q (tests.test_materials.TestMaterialsTransform) ... ok
> test_latticeparameters (tests.test_materials_cif.TestMAT_CIF) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_spacegroup (tests.test_materials_cif.TestMAT_CIF) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_structurefactor (tests.test_materials_cif.TestMAT_CIF) ... skipped 'additional test data needed (http://xrayutilities.sf.io)'
> test_export (tests.test_materials_cifexport.Test_CIF_export) ... ok
> test_db_f0 (tests.test_materials_database.TestDatabase) ... ok
> test_db_f1 (tests.test_materials_database.TestDatabase) ... ok
> test_db_f1_neg (tests.test_materials_database.TestDatabase) ... ok
> test_db_f2 (tests.test_materials_database.TestDatabase) ... ok
> test_db_f2_neg (tests.test_materials_database.TestDatabase) ... ok
> test_owndb_f0 (tests.test_materials_database.TestDatabase) ... ok
> test_owndb_f1 (tests.test_materials_database.TestDatabase) ... ok
> test_owndb_f1_neg (tests.test_materials_database.TestDatabase) ... ok
> test_owndb_f2 (tests.test_materials_database.TestDatabase) ... ok
> test_owndb_f2_neg (tests.test_materials_database.TestDatabase) ... ok
> test_findsym (tests.test_materials_findsym.Test_findsym)
> Test that built in materials use the highest possible space group ... ok
> test_get_allowed_hkl (tests.test_materials_hklcond.Test_Materials_reflection_condition)
> use some random hkls to test the get_allowed_hkl function. The internal ... ok
> test_hklcond_predefined (tests.test_materials_hklcond.Test_Materials_reflection_condition) ... ok
> test_hklcond_random (tests.test_materials_hklcond.Test_Materials_reflection_condition) ... ok
> test_SymOp_fromxyz (tests.test_materials_symop.TestMaterialsSymOp)
> tests that the creation of the symmetry operations from the xyz string ... ok
> test_Wyckoff_consistency (tests.test_materials_symop.TestMaterialsSymOp)
> tests that all Wyckoff positions are consistent with the symmetry ... ok
> test_equivalent_hkl (tests.test_materials_symop.TestMaterialsSymOp) ... ok
> test_iscentrosymmetric (tests.test_materials_symop.TestMaterialsSymOp) ... ok
> test_gaussfit (tests.test_math_peak_fit.TestPeakFit) ... ok
> test_gaussfit_linear (tests.test_math_peak_fit.TestPeakFit) ... ok
> test_lorentzfit (tests.test_math_peak_fit.TestPeakFit) ... ok
> test_lorentzfit_linear (tests.test_math_peak_fit.TestPeakFit) ... ok
> test_pvoigtfit (tests.test_math_peak_fit.TestPeakFit) ... ok
> test_pvoigtfit_linear (tests.test_math_peak_fit.TestPeakFit) ... ok
> test_solver (tests.test_math_solve_quartic.TestSolveQuartic) ... ok
> test_distance (tests.test_math_vector.TestMathVector) ... ok
> test_miscut2pom0 (tests.test_miscut_calc.TestMiscutCalc) ... ok
> test_miscut3 (tests.test_miscut_calc.TestMiscutCalc) ... ok
> test_miscut4 (tests.test_miscut_calc.TestMiscutCalc) ... ok
> test_npygridder1d_axis (tests.test_npygridder1d.TestNpyGridder1D) ... ok
> test_npygridder1d_data (tests.test_npygridder1d.TestNpyGridder1D) ... ok
> test_chi0 (tests.test_optical_properties.TestOpticalProperties) ... ok
> test_delta_beta (tests.test_optical_properties.TestOpticalProperties) ... ok
> test_idx_refraction (tests.test_optical_properties.TestOpticalProperties) ... ok
> test_pseudomoprhic001 (tests.test_pseudomorphic.TestPseudomorphic) ... ok
> test_pseudomorphic111 (tests.test_pseudomorphic.TestPseudomorphic) ... ok
> test_q2angfit (tests.test_q2angfit.TestQ2AngFit) ... ok
> test_qconversion_detpos (tests.test_qconversion.TestQConversion) ... ok
> test_qconversion_energy (tests.test_qconversion.TestQConversion) ... ok
> test_qconversion_point (tests.test_qconversion.TestQConversion) ... ok
> test_qconversion_point_asym (tests.test_qconversion.TestQConversion) ... ok
> test_qconversion_area (tests.test_qconversion_area.TestQConversion) ... ok
> test_qconversion_area_asym (tests.test_qconversion_area.TestQConversion) ... ok
> test_qconversion_area_detpos (tests.test_qconversion_area.TestQConversion) ... ok
> test_qconversion_area_distance (tests.test_qconversion_area.TestQConversion) ... ok
> test_qconversion_area_energy (tests.test_qconversion_area.TestQConversion) ... ok
> test_qconversion_linear (tests.test_qconversion_linear.TestQConversion) ... ok
> test_qconversion_linear_asym (tests.test_qconversion_linear.TestQConversion) ... ok
> test_qconversion_linear_detpos (tests.test_qconversion_linear.TestQConversion) ... ok
> test_qconversion_linear_energy (tests.test_qconversion_linear.TestQConversion) ... ok
> test_qtrans0 (tests.test_qconversion_trans.TestQConversionTrans) ... ok
> test_qtrans0_area (tests.test_qconversion_trans.TestQConversionTrans) ... ok
> test_qtrans0_linear (tests.test_qconversion_trans.TestQConversionTrans) ... ok
> test_qtrans45 (tests.test_qconversion_trans.TestQConversionTrans) ... ok
> test_qtrans45_area (tests.test_qconversion_trans.TestQConversionTrans) ... ok
> test_qtrans45_linear (tests.test_qconversion_trans.TestQConversionTrans) ... ok
> test_qtrans90 (tests.test_qconversion_trans.TestQConversionTrans) ... ok
> test_qtrans90_area (tests.test_qconversion_trans.TestQConversionTrans) ... ok
> test_qtrans90_linear (tests.test_qconversion_trans.TestQConversionTrans) ... ok
> test_Calculation (tests.test_simpack_dynamicalmodel.Test_DynamicalModel) ... ok
> test_Consistency (tests.test_simpack_dynamicalmodel.Test_DynamicalModel) ... ok
> test_FitModel_eval (tests.test_simpack_dynamicalmodel.Test_DynamicalModel) ... ok
> test_FitModel_eval_dyn (tests.test_simpack_dynamicalmodel.Test_DynamicalModel) ... ok
> test_Calculation (tests.test_simpack_kinematicalmodel.Test_KinematicalModel) ... ok
> test_Consistency (tests.test_simpack_kinematicalmodel.Test_KinematicalModel) ... ok
> test_FitModel_eval (tests.test_simpack_kinematicalmodel.Test_KinematicalModel) ... ok
> test_FitModel_eval_mult (tests.test_simpack_kinematicalmodel.Test_KinematicalModel) ... ok
> test_Calculation (tests.test_simpack_powdermodel.Test_PowderModel) ... skipped 'additional test data (see http://xrayutilities.sf.io) and the lmfit Python package are needed'
> test_fitting (tests.test_simpack_powdermodel.Test_PowderModel) ... skipped 'additional test data (see http://xrayutilities.sf.io) and the lmfit Python package are needed'
> test_multiprocessing (tests.test_simpack_powdermodel.Test_PowderModel) ... skipped 'additional test data (see http://xrayutilities.sf.io) and the lmfit Python package are needed'
> test_Calculation (tests.test_simpack_xrrdiffuse.Test_DiffuseReflectivityModel) ... ok
> test_Consistency (tests.test_simpack_xrrdiffuse.Test_DiffuseReflectivityModel) ... ok
> test_Calculation (tests.test_simpack_xrrspecular.Test_SpecularReflectivityModel) ... ok
> test_FitModel_eval (tests.test_simpack_xrrspecular.Test_SpecularReflectivityModel) ... ok
> test_densityprofile (tests.test_simpack_xrrspecular.Test_SpecularReflectivityModel) ... ok
> test_StructureFactor (tests.test_structure_factor.TestStructureFactor) ... ok
> test_StructureFactorE (tests.test_structure_factor.TestStructureFactor) ... ok
> test_StructureFactorQ (tests.test_structure_factor.TestStructureFactor) ... ok
> test_Axis2Z (tests.test_transforms.TestTransforms) ... ok
> test_Xrot (tests.test_transforms.TestTransforms) ... ok
> test_Yrot (tests.test_transforms.TestTransforms) ... ok
> test_Zrot (tests.test_transforms.TestTransforms) ... ok
> test_arbrot (tests.test_transforms.TestTransforms) ... ok
> 
> ======================================================================
> ERROR: test_simpack_xrr_SiO2_Ru_CoFe_IrMn_Al2O3 (tests.test_examples.TestExampleScripts)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xrayutilities/build/tests/test_examples.py", line 78, in test
>     subprocess.run(cmd, env=env, cwd=scriptdir, stdout=fid,
>   File "/usr/lib/python3.9/subprocess.py", line 528, in run
>     raise CalledProcessError(retcode, process.args,
> subprocess.CalledProcessError: Command '['/usr/bin/python3.9', 'simpack_xrr_SiO2_Ru_CoFe_IrMn_Al2O3.py']' returned non-zero exit status 1.
> 
> ----------------------------------------------------------------------
> Ran 244 tests in 166.113s
> 
> FAILED (errors=1, skipped=69)
> E: pybuild pybuild:354: test: plugin custom failed with: exit code=1: python3.9 /<<PKGBUILDDIR>>/setup.py egg_info -e /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xrayutilities/build; cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xrayutilities/build; python3.9 -m unittest2 discover -v;
> 	rm -fr -- /tmp/dh-xdg-rundir-NekCBuUS
> dh_auto_test: error: pybuild --test -i python{version} -p 3.9 -s custom "--test-args={interpreter} {dir}/setup.py egg_info -e {build_dir}; cd {build_dir}; {interpreter} -m unittest2 discover -v;" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/http://qa-logs.debian.net/2021/11/numpy-matplotlib/matplotlib-exp/xrayutilities_1.7.1-2_unstable_matplotlib-exp.log

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the debian-science-maintainers mailing list