Bug#997068: keras: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 returned exit code 13

Lucas Nussbaum lucas at debian.org
Sat Oct 23 14:48:06 BST 2021


Source: keras
Version: 2.3.1+dfsg-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211023 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> =========================== short test summary info ============================
> FAILED tests/test_model_saving.py::test_sequential_model_saving - AttributeEr...
> FAILED tests/test_model_saving.py::test_sequential_model_saving_2 - Attribute...
> FAILED tests/test_model_saving.py::test_functional_model_saving - AttributeEr...
> FAILED tests/test_model_saving.py::test_model_saving_to_pre_created_h5py_file
> FAILED tests/test_model_saving.py::test_model_saving_to_binary_stream - Attri...
> FAILED tests/test_model_saving.py::test_model_loading_from_binary_stream - At...
> FAILED tests/test_model_saving.py::test_model_save_load_binary_in_memory - At...
> FAILED tests/test_model_saving.py::test_saving_multiple_metrics_outputs - Att...
> FAILED tests/test_model_saving.py::test_saving_without_compilation - Attribut...
> FAILED tests/test_model_saving.py::test_saving_right_after_compilation - Attr...
> FAILED tests/test_model_saving.py::test_saving_unused_layers_is_ok - Attribut...
> FAILED tests/test_model_saving.py::test_loading_weights_by_name_and_reshape
> FAILED tests/test_model_saving.py::test_loading_weights_by_name_2 - Attribute...
> FAILED tests/test_model_saving.py::test_loading_weights_by_name_skip_mismatch
> FAILED tests/test_model_saving.py::test_saving_lambda_custom_objects - Attrib...
> FAILED tests/test_model_saving.py::test_saving_lambda_numpy_array_arguments
> FAILED tests/test_model_saving.py::test_saving_custom_activation_function - A...
> FAILED tests/test_model_saving.py::test_saving_model_with_long_layer_names - ...
> FAILED tests/test_model_saving.py::test_saving_model_with_long_weights_names
> FAILED tests/test_model_saving.py::test_saving_recurrent_layer_with_init_state
> FAILED tests/test_model_saving.py::test_saving_recurrent_layer_without_bias
> FAILED tests/test_model_saving.py::test_loop_model_saving - AttributeError: '...
> FAILED tests/test_model_saving.py::test_saving_constant_initializer_with_numpy
> FAILED tests/test_model_saving.py::test_save_load_weights_gcs - AttributeErro...
> FAILED tests/test_model_saving.py::test_saving_overwrite_option - AttributeEr...
> FAILED tests/test_model_saving.py::test_saving_overwrite_option_gcs - Attribu...
> FAILED tests/test_model_saving.py::test_model_saving_with_rnn_initial_state_and_args
> FAILED tests/keras/losses_test.py::TestLossFunctions::test_serializing_model_with_loss_class
> FAILED tests/keras/optimizers_test.py::test_sgd - AttributeError: 'str' objec...
> FAILED tests/keras/optimizers_test.py::test_rmsprop - AttributeError: 'str' o...
> FAILED tests/keras/optimizers_test.py::test_adagrad - AttributeError: 'str' o...
> FAILED tests/keras/optimizers_test.py::test_adadelta - AttributeError: 'str' ...
> FAILED tests/keras/optimizers_test.py::test_adam - AttributeError: 'str' obje...
> FAILED tests/keras/optimizers_test.py::test_adamax - AttributeError: 'str' ob...
> FAILED tests/keras/optimizers_test.py::test_nadam - AttributeError: 'str' obj...
> FAILED tests/keras/optimizers_test.py::test_adam_amsgrad - AttributeError: 's...
> FAILED tests/keras/optimizers_test.py::test_clipnorm - AttributeError: 'str' ...
> FAILED tests/keras/optimizers_test.py::test_clipvalue - AttributeError: 'str'...
> FAILED tests/keras/test_sequential_model.py::test_sequential - AttributeError...
> FAILED tests/keras/test_sequential_model.py::test_nested_sequential - Attribu...
> FAILED tests/keras/utils/io_utils_test.py::test_H5Dict_attrs - ValueError: Th...
> FAILED tests/keras/utils/io_utils_test.py::test_H5Dict_groups - ValueError: T...
> ERROR tests/keras/test_sequential_model.py::test_sequential - AssertionError:...
> ERROR tests/keras/test_sequential_model.py::test_nested_sequential - Assertio...
> = 42 failed, 759 passed, 250 skipped, 59 warnings, 2 errors in 1837.50s (0:30:37) =
> E: pybuild pybuild:354: test: plugin custom failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_keras/build && py.test-3 -oaddopts=-v --ignore=tests/keras/utils/multi_gpu_test.py --ignore=tests/docs/test_documentation.py --ignore=tests/keras/callbacks/callbacks_test.py --ignore=tests/keras/metrics_confusion_matrix_test.py --ignore=tests/integration_tests/test_image_data_tasks.py --ignore=tests/integration_tests/test_temporal_data_tasks.py --ignore=tests/keras/backend/backend_test.py --ignore=tests/integration_tests/imagenet_utils_test.py --ignore=tests/integration_tests/test_datasets.py --ignore=tests/docs/test_doc_auto_generation.py --ignore=tests/test_api.py
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/keras_2.3.1+dfsg-3_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

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