Package: src:influxdb-python
Version: 4.1.1-2
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster with "dpkg-buildpackage -A"
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with python2,python3 --buildsystem=pybuild
   dh_update_autotools_config -i -O--buildsystem=pybuild
   dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:217: python2.7 setup.py config 
running config
I: pybuild base:217: python3.6 setup.py config 
running config
   dh_auto_build -i -O--buildsystem=pybuild
I: pybuild base:217: /usr/bin/python setup.py build 
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_influxdb/build/influxdb

[... snipped ...]

SKIP: Skipping server test (INFLUXDB_PYTHON_SKIP_SERVER_TESTS)
test_create_database 
(influxdb.tests.server_tests.client_test_with_server.SimpleTests) ... SKIP: 
Skipping server tests...
test_create_user 
(influxdb.tests.server_tests.client_test_with_server.SimpleTests) ... SKIP: 
Skipping server tests...
test_create_user_admin 
(influxdb.tests.server_tests.client_test_with_server.SimpleTests) ... SKIP: 
Skipping server tests...
test_create_user_blank_password 
(influxdb.tests.server_tests.client_test_with_server.SimpleTests) ... SKIP: 
Skipping server tests...
test_create_user_blank_username 
(influxdb.tests.server_tests.client_test_with_server.SimpleTests) ... SKIP: 
Skipping server tests...
test_drop_database 
(influxdb.tests.server_tests.client_test_with_server.SimpleTests) ... SKIP: 
Skipping server tests...
test_drop_user 
(influxdb.tests.server_tests.client_test_with_server.SimpleTests) ... SKIP: 
Skipping server tests...
test_drop_user_nonexisting 
(influxdb.tests.server_tests.client_test_with_server.SimpleTests) ... SKIP: 
Skipping server tests...
test_fresh_server_no_db 
(influxdb.tests.server_tests.client_test_with_server.SimpleTests) ... SKIP: 
Skipping server tests...
test_get_list_users 
(influxdb.tests.server_tests.client_test_with_server.SimpleTests) ... SKIP: 
Skipping server tests...
test_get_list_users_empty 
(influxdb.tests.server_tests.client_test_with_server.SimpleTests) ... SKIP: 
Skipping server tests...
test_grant_privilege 
(influxdb.tests.server_tests.client_test_with_server.SimpleTests) ... SKIP: 
Skipping server tests...
test_grant_privilege_invalid 
(influxdb.tests.server_tests.client_test_with_server.SimpleTests) ... SKIP: 
Skipping server tests...
test_invalid_port_fails 
(influxdb.tests.server_tests.client_test_with_server.SimpleTests) ... SKIP: 
Skipping server tests...
test_query_fail 
(influxdb.tests.server_tests.client_test_with_server.SimpleTests) ... SKIP: 
Skipping server tests...
test_query_fail_ignore_errors 
(influxdb.tests.server_tests.client_test_with_server.SimpleTests) ... SKIP: 
Skipping server tests...
test_revoke_admin_privileges 
(influxdb.tests.server_tests.client_test_with_server.SimpleTests) ... SKIP: 
Skipping server tests...
test_revoke_privilege 
(influxdb.tests.server_tests.client_test_with_server.SimpleTests) ... SKIP: 
Skipping server tests...
test_revoke_privilege_invalid 
(influxdb.tests.server_tests.client_test_with_server.SimpleTests) ... SKIP: 
Skipping server tests...
SKIP: Skipping server test (INFLUXDB_PYTHON_SKIP_SERVER_TESTS)
Ensure precision is preserved when casting floats into strings. ... ok
test_make_lines (influxdb.tests.test_line_protocol.TestLineProtocol) ... ok
test_make_lines_unicode (influxdb.tests.test_line_protocol.TestLineProtocol) 
... ok
test_quote_ident (influxdb.tests.test_line_protocol.TestLineProtocol) ... ok
test_quote_literal (influxdb.tests.test_line_protocol.TestLineProtocol) ... ok
test_string_val_newline (influxdb.tests.test_line_protocol.TestLineProtocol) 
... ok
test_timezone (influxdb.tests.test_line_protocol.TestLineProtocol) ... ok

======================================================================
FAIL: test_write_points_from_dataframe_with_numeric_precision 
(influxdb.tests.dataframe_client_test.TestDataFrameClient)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/influxdb/tests/dataframe_client_test.py", line 294, in 
test_write_points_from_dataframe_with_numeric_precision
    self.assertEqual(m.last_request.body, expected_default_precision)
AssertionError: 'foo,hello=there 0="1",1=1i,2=1.1111111111111 
0\nfoo,hello=there 0="2",1=2i,2=2.2222222222222 3600000000000\n' != 
'foo,hello=there 0="1",1=1i,2=1.11111111111 0\nfoo,hello=there 
0="2",1=2i,2=2.22222222222 3600000000000\n'

----------------------------------------------------------------------
Ran 190 tests in 0.634s

FAILED (SKIP=23, failures=1)
E: pybuild pybuild:336: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_influxdb/build; python2.7 -m nose {dir} 
--verbose
dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
debian/rules:10: recipe for target 'build-indep' failed
make: *** [build-indep] Error 25
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit 
status 2
--------------------------------------------------------------------------------

The above is how the build ends in my autobuilder and it's not
necessarily the relevant part.

The failure is not, however, related to using dpkg-buildpackage -A,
as it also fails in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/influxdb-python.html

If this is really a bug in one of the build-depends, please use reassign and 
affects,
so that this is still visible in the page for this package.

Thanks.

Reply via email to