Created
April 12, 2021 19:56
-
-
Save r-rmcgibbo/98c5fd32a4894a614ea0d481f48a9afd to your computer and use it in GitHub Desktop.
system: aarch64-linux | build_time: 11 seconds | https://github.com/NixOS/nixpkgs/pull/119258
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sourcing python-remove-tests-dir-hook | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing python-remove-bin-bytecode-hook.sh | |
Sourcing setuptools-build-hook | |
Using setuptoolsBuildPhase | |
Using setuptoolsShellHook | |
Sourcing pip-install-hook | |
Using pipInstallPhase | |
Sourcing python-imports-check-hook.sh | |
Using pythonImportsCheckPhase | |
Sourcing python-namespaces-hook | |
Sourcing setuptools-check-hook | |
Using setuptoolsCheckPhase | |
Sourcing pytest-check-hook | |
Using pytestCheckPhase | |
Removing setuptoolsCheckPhase | |
@nix { "action": "setPhase", "phase": "unpackPhase" } | |
unpacking sources | |
unpacking source archive /nix/store/0307j9vsmk28ifmwf3wdwhyr5cln4v7r-source | |
source root is source | |
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tox.ini | |
@nix { "action": "setPhase", "phase": "patchPhase" } | |
patching sources | |
applying patch /nix/store/98hmcs889k2k36bbqwicj3zpfw5vbmjl-cc41e290f690c4eb67f75c98fa9f027bdb6eb16b.patch | |
patching file requirements.txt | |
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } | |
updateAutotoolsGnuConfigScriptsPhase | |
@nix { "action": "setPhase", "phase": "configurePhase" } | |
configuring | |
no configure script, doing nothing | |
@nix { "action": "setPhase", "phase": "buildPhase" } | |
building | |
Executing setuptoolsBuildPhase | |
running bdist_wheel | |
The [wheel] section is deprecated. Use [bdist_wheel] instead. | |
running build | |
running build_py | |
creating build | |
creating build/lib | |
creating build/lib/influxdb | |
copying influxdb/helper.py -> build/lib/influxdb | |
copying influxdb/resultset.py -> build/lib/influxdb | |
copying influxdb/chunked_json.py -> build/lib/influxdb | |
copying influxdb/__init__.py -> build/lib/influxdb | |
copying influxdb/client.py -> build/lib/influxdb | |
copying influxdb/line_protocol.py -> build/lib/influxdb | |
copying influxdb/exceptions.py -> build/lib/influxdb | |
copying influxdb/dataframe_client.py -> build/lib/influxdb | |
copying influxdb/_dataframe_client.py -> build/lib/influxdb | |
creating build/lib/influxdb/influxdb08 | |
copying influxdb/influxdb08/helper.py -> build/lib/influxdb/influxdb08 | |
copying influxdb/influxdb08/chunked_json.py -> build/lib/influxdb/influxdb08 | |
copying influxdb/influxdb08/__init__.py -> build/lib/influxdb/influxdb08 | |
copying influxdb/influxdb08/client.py -> build/lib/influxdb/influxdb08 | |
copying influxdb/influxdb08/dataframe_client.py -> build/lib/influxdb/influxdb08 | |
creating build/lib/influxdb/tests | |
copying influxdb/tests/chunked_json_test.py -> build/lib/influxdb/tests | |
copying influxdb/tests/client_test.py -> build/lib/influxdb/tests | |
copying influxdb/tests/__init__.py -> build/lib/influxdb/tests | |
copying influxdb/tests/helper_test.py -> build/lib/influxdb/tests | |
copying influxdb/tests/dataframe_client_test.py -> build/lib/influxdb/tests | |
copying influxdb/tests/misc.py -> build/lib/influxdb/tests | |
copying influxdb/tests/test_line_protocol.py -> build/lib/influxdb/tests | |
copying influxdb/tests/resultset_test.py -> build/lib/influxdb/tests | |
creating build/lib/influxdb/tests/influxdb08 | |
copying influxdb/tests/influxdb08/client_test.py -> build/lib/influxdb/tests/influxdb08 | |
copying influxdb/tests/influxdb08/__init__.py -> build/lib/influxdb/tests/influxdb08 | |
copying influxdb/tests/influxdb08/helper_test.py -> build/lib/influxdb/tests/influxdb08 | |
copying influxdb/tests/influxdb08/dataframe_client_test.py -> build/lib/influxdb/tests/influxdb08 | |
creating build/lib/influxdb/tests/server_tests | |
copying influxdb/tests/server_tests/client_test_with_server.py -> build/lib/influxdb/tests/server_tests | |
copying influxdb/tests/server_tests/__init__.py -> build/lib/influxdb/tests/server_tests | |
copying influxdb/tests/server_tests/influxdb_instance.py -> build/lib/influxdb/tests/server_tests | |
copying influxdb/tests/server_tests/base.py -> build/lib/influxdb/tests/server_tests | |
installing to build/bdist.linux-aarch64/wheel | |
running install | |
running install_lib | |
creating build/bdist.linux-aarch64 | |
creating build/bdist.linux-aarch64/wheel | |
creating build/bdist.linux-aarch64/wheel/influxdb | |
creating build/bdist.linux-aarch64/wheel/influxdb/influxdb08 | |
copying build/lib/influxdb/influxdb08/helper.py -> build/bdist.linux-aarch64/wheel/influxdb/influxdb08 | |
copying build/lib/influxdb/influxdb08/chunked_json.py -> build/bdist.linux-aarch64/wheel/influxdb/influxdb08 | |
copying build/lib/influxdb/influxdb08/__init__.py -> build/bdist.linux-aarch64/wheel/influxdb/influxdb08 | |
copying build/lib/influxdb/influxdb08/client.py -> build/bdist.linux-aarch64/wheel/influxdb/influxdb08 | |
copying build/lib/influxdb/influxdb08/dataframe_client.py -> build/bdist.linux-aarch64/wheel/influxdb/influxdb08 | |
copying build/lib/influxdb/helper.py -> build/bdist.linux-aarch64/wheel/influxdb | |
copying build/lib/influxdb/resultset.py -> build/bdist.linux-aarch64/wheel/influxdb | |
copying build/lib/influxdb/chunked_json.py -> build/bdist.linux-aarch64/wheel/influxdb | |
copying build/lib/influxdb/__init__.py -> build/bdist.linux-aarch64/wheel/influxdb | |
copying build/lib/influxdb/client.py -> build/bdist.linux-aarch64/wheel/influxdb | |
copying build/lib/influxdb/line_protocol.py -> build/bdist.linux-aarch64/wheel/influxdb | |
copying build/lib/influxdb/exceptions.py -> build/bdist.linux-aarch64/wheel/influxdb | |
copying build/lib/influxdb/dataframe_client.py -> build/bdist.linux-aarch64/wheel/influxdb | |
creating build/bdist.linux-aarch64/wheel/influxdb/tests | |
creating build/bdist.linux-aarch64/wheel/influxdb/tests/influxdb08 | |
copying build/lib/influxdb/tests/influxdb08/client_test.py -> build/bdist.linux-aarch64/wheel/influxdb/tests/influxdb08 | |
copying build/lib/influxdb/tests/influxdb08/__init__.py -> build/bdist.linux-aarch64/wheel/influxdb/tests/influxdb08 | |
copying build/lib/influxdb/tests/influxdb08/helper_test.py -> build/bdist.linux-aarch64/wheel/influxdb/tests/influxdb08 | |
copying build/lib/influxdb/tests/influxdb08/dataframe_client_test.py -> build/bdist.linux-aarch64/wheel/influxdb/tests/influxdb08 | |
copying build/lib/influxdb/tests/chunked_json_test.py -> build/bdist.linux-aarch64/wheel/influxdb/tests | |
copying build/lib/influxdb/tests/client_test.py -> build/bdist.linux-aarch64/wheel/influxdb/tests | |
copying build/lib/influxdb/tests/__init__.py -> build/bdist.linux-aarch64/wheel/influxdb/tests | |
copying build/lib/influxdb/tests/helper_test.py -> build/bdist.linux-aarch64/wheel/influxdb/tests | |
copying build/lib/influxdb/tests/dataframe_client_test.py -> build/bdist.linux-aarch64/wheel/influxdb/tests | |
creating build/bdist.linux-aarch64/wheel/influxdb/tests/server_tests | |
copying build/lib/influxdb/tests/server_tests/client_test_with_server.py -> build/bdist.linux-aarch64/wheel/influxdb/tests/server_tests | |
copying build/lib/influxdb/tests/server_tests/__init__.py -> build/bdist.linux-aarch64/wheel/influxdb/tests/server_tests | |
copying build/lib/influxdb/tests/server_tests/influxdb_instance.py -> build/bdist.linux-aarch64/wheel/influxdb/tests/server_tests | |
copying build/lib/influxdb/tests/server_tests/base.py -> build/bdist.linux-aarch64/wheel/influxdb/tests/server_tests | |
copying build/lib/influxdb/tests/misc.py -> build/bdist.linux-aarch64/wheel/influxdb/tests | |
copying build/lib/influxdb/tests/test_line_protocol.py -> build/bdist.linux-aarch64/wheel/influxdb/tests | |
copying build/lib/influxdb/tests/resultset_test.py -> build/bdist.linux-aarch64/wheel/influxdb/tests | |
copying build/lib/influxdb/_dataframe_client.py -> build/bdist.linux-aarch64/wheel/influxdb | |
running install_egg_info | |
running egg_info | |
creating influxdb.egg-info | |
writing influxdb.egg-info/PKG-INFO | |
writing dependency_links to influxdb.egg-info/dependency_links.txt | |
writing requirements to influxdb.egg-info/requires.txt | |
writing top-level names to influxdb.egg-info/top_level.txt | |
writing manifest file 'influxdb.egg-info/SOURCES.txt' | |
reading manifest file 'influxdb.egg-info/SOURCES.txt' | |
reading manifest template 'MANIFEST.in' | |
writing manifest file 'influxdb.egg-info/SOURCES.txt' | |
Copying influxdb.egg-info to build/bdist.linux-aarch64/wheel/influxdb-5.3.0-py3.9.egg-info | |
running install_scripts | |
adding license file "LICENSE" (matched pattern "LICEN[CS]E*") | |
creating build/bdist.linux-aarch64/wheel/influxdb-5.3.0.dist-info/WHEEL | |
creating 'dist/influxdb-5.3.0-py2.py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it | |
adding 'influxdb/__init__.py' | |
adding 'influxdb/_dataframe_client.py' | |
adding 'influxdb/chunked_json.py' | |
adding 'influxdb/client.py' | |
adding 'influxdb/dataframe_client.py' | |
adding 'influxdb/exceptions.py' | |
adding 'influxdb/helper.py' | |
adding 'influxdb/line_protocol.py' | |
adding 'influxdb/resultset.py' | |
adding 'influxdb/influxdb08/__init__.py' | |
adding 'influxdb/influxdb08/chunked_json.py' | |
adding 'influxdb/influxdb08/client.py' | |
adding 'influxdb/influxdb08/dataframe_client.py' | |
adding 'influxdb/influxdb08/helper.py' | |
adding 'influxdb/tests/__init__.py' | |
adding 'influxdb/tests/chunked_json_test.py' | |
adding 'influxdb/tests/client_test.py' | |
adding 'influxdb/tests/dataframe_client_test.py' | |
adding 'influxdb/tests/helper_test.py' | |
adding 'influxdb/tests/misc.py' | |
adding 'influxdb/tests/resultset_test.py' | |
adding 'influxdb/tests/test_line_protocol.py' | |
adding 'influxdb/tests/influxdb08/__init__.py' | |
adding 'influxdb/tests/influxdb08/client_test.py' | |
adding 'influxdb/tests/influxdb08/dataframe_client_test.py' | |
adding 'influxdb/tests/influxdb08/helper_test.py' | |
adding 'influxdb/tests/server_tests/__init__.py' | |
adding 'influxdb/tests/server_tests/base.py' | |
adding 'influxdb/tests/server_tests/client_test_with_server.py' | |
adding 'influxdb/tests/server_tests/influxdb_instance.py' | |
adding 'influxdb-5.3.0.dist-info/LICENSE' | |
adding 'influxdb-5.3.0.dist-info/METADATA' | |
adding 'influxdb-5.3.0.dist-info/WHEEL' | |
adding 'influxdb-5.3.0.dist-info/top_level.txt' | |
adding 'influxdb-5.3.0.dist-info/RECORD' | |
removing build/bdist.linux-aarch64/wheel | |
Finished executing setuptoolsBuildPhase | |
@nix { "action": "setPhase", "phase": "installPhase" } | |
installing | |
Executing pipInstallPhase | |
/build/source/dist /build/source | |
Processing ./influxdb-5.3.0-py2.py3-none-any.whl | |
Requirement already satisfied: msgpack in /nix/store/ngj6s6m4amxnajl142191qjqpwnfwlpq-python3.9-msgpack-1.0.2/lib/python3.9/site-packages (from influxdb==5.3.0) (1.0.2) | |
Requirement already satisfied: pytz in /nix/store/yg5bxfx7sakw6kfbjzwxrjxdmw9rn0a4-python3.9-pytz-2021.1/lib/python3.9/site-packages (from influxdb==5.3.0) (2021.1) | |
Requirement already satisfied: six>=1.10.0 in /nix/store/6phbjjn7dkhlm182lv2azzqzz227cxzn-python3.9-six-1.15.0/lib/python3.9/site-packages (from influxdb==5.3.0) (1.15.0) | |
Requirement already satisfied: requests>=2.17.0 in /nix/store/i3bfin27c4xz22ciyhmr017hg5ygiayb-python3.9-requests-2.25.1/lib/python3.9/site-packages (from influxdb==5.3.0) (2.25.1) | |
Requirement already satisfied: python-dateutil>=2.6.0 in /nix/store/nijb2a0v1pp9n6x824j2vny03qsyjl05-python3.9-python-dateutil-2.8.1/lib/python3.9/site-packages (from influxdb==5.3.0) (2.8.1) | |
Requirement already satisfied: certifi>=2017.4.17 in /nix/store/803q1hdymvc6h86fqppl9fc40kr9kc7l-python3.9-certifi-2020.12.5/lib/python3.9/site-packages (from requests>=2.17.0->influxdb==5.3.0) (2020.12.5) | |
Requirement already satisfied: idna<3,>=2.5 in /nix/store/7vr5423px722nw45s2scgyzc9zs3ym0a-python3.9-idna-2.10/lib/python3.9/site-packages (from requests>=2.17.0->influxdb==5.3.0) (2.10) | |
Requirement already satisfied: chardet<5,>=3.0.2 in /nix/store/4m5ipl6awpvy9aq3gyja6kzkyxj7gnin-python3.9-chardet-3.0.4/lib/python3.9/site-packages (from requests>=2.17.0->influxdb==5.3.0) (3.0.4) | |
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /nix/store/ga3r1s8103pp0g9a2i22fh0drdkwq27q-python3.9-urllib3-1.26.4/lib/python3.9/site-packages (from requests>=2.17.0->influxdb==5.3.0) (1.26.4) | |
Installing collected packages: influxdb | |
Successfully installed influxdb-5.3.0 | |
/build/source | |
Finished executing pipInstallPhase | |
@nix { "action": "setPhase", "phase": "fixupPhase" } | |
post-installation fixup | |
shrinking RPATHs of ELF executables and libraries in /nix/store/9a70f1ydpqsxvrn57jn8zc2kw0nas24z-python3.9-influxdb-5.3.0 | |
strip is /nix/store/av448v0ddbmphfjd823zglgw0cv1pn19-binutils-2.35.1/bin/strip | |
stripping (with command strip and flags -S) in /nix/store/9a70f1ydpqsxvrn57jn8zc2kw0nas24z-python3.9-influxdb-5.3.0/lib | |
patching script interpreter paths in /nix/store/9a70f1ydpqsxvrn57jn8zc2kw0nas24z-python3.9-influxdb-5.3.0 | |
checking for references to /build/ in /nix/store/9a70f1ydpqsxvrn57jn8zc2kw0nas24z-python3.9-influxdb-5.3.0... | |
Executing pythonRemoveTestsDir | |
Finished executing pythonRemoveTestsDir | |
@nix { "action": "setPhase", "phase": "installCheckPhase" } | |
running install tests | |
no Makefile or custom installCheckPhase, doing nothing | |
@nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" } | |
pythonCatchConflictsPhase | |
@nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" } | |
pythonRemoveBinBytecodePhase | |
@nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" } | |
pythonImportsCheckPhase | |
Executing pythonImportsCheckPhase | |
Check whether the following modules can be imported: influxdb | |
@nix { "action": "setPhase", "phase": "pytestCheckPhase" } | |
pytestCheckPhase | |
Executing pytestCheckPhase | |
============================= test session starts ============================== | |
platform linux -- Python 3.9.2, pytest-6.2.2, py-1.9.0, pluggy-0.13.1 | |
rootdir: /build/source | |
plugins: requests-mock-1.8.0 | |
collecting ... | |
collecting 73 items | |
collected 226 items / 2 deselected / 224 selected | |
influxdb/tests/chunked_json_test.py . [ 0%] | |
influxdb/tests/client_test.py .......................................... [ 19%] | |
s...............F............. [ 32%] | |
influxdb/tests/dataframe_client_test.py ................................ [ 46%] | |
.......... [ 51%] | |
influxdb/tests/helper_test.py .........s. [ 56%] | |
influxdb/tests/resultset_test.py ......... [ 60%] | |
influxdb/tests/test_line_protocol.py .......... [ 64%] | |
influxdb/tests/influxdb08/client_test.py ............................... [ 78%] | |
............................. [ 91%] | |
influxdb/tests/influxdb08/dataframe_client_test.py ............. [ 97%] | |
influxdb/tests/influxdb08/helper_test.py ...... [100%] | |
=================================== FAILURES =================================== | |
______________________ TestInfluxDBClient.test_write_gzip ______________________ | |
self = <influxdb.tests.client_test.TestInfluxDBClient testMethod=test_write_gzip> | |
def test_write_gzip(self): | |
"""Test write in TestInfluxDBClient object.""" | |
with requests_mock.Mocker() as m: | |
m.register_uri( | |
requests_mock.POST, | |
"http://localhost:8086/write", | |
status_code=204 | |
) | |
cli = InfluxDBClient(database='db', gzip=True) | |
cli.write( | |
{"database": "mydb", | |
"retentionPolicy": "mypolicy", | |
"points": [{"measurement": "cpu_load_short", | |
"tags": {"host": "server01", | |
"region": "us-west"}, | |
"time": "2009-11-10T23:00:00Z", | |
"fields": {"value": 0.64}}]} | |
) | |
compressed = io.BytesIO() | |
with gzip.GzipFile( | |
compresslevel=9, | |
fileobj=compressed, | |
mode='w' | |
) as f: | |
f.write( | |
b"cpu_load_short,host=server01,region=us-west " | |
b"value=0.64 1257894000000000000\n" | |
) | |
> self.assertEqual( | |
m.last_request.body, | |
compressed.getvalue(), | |
) | |
E AssertionError: b'\x1f\x8b\x08\x00Z\xa5t`\x02\xffK.(\x8d\xcf\xc9OL\x89/\xce[130 chars]\x00' != b'\x1f\x8b\x08\x00[\xa5t`\x02\xffK.(\x8d\xcf\xc9OL\x89/\xce[130 chars]\x00' | |
influxdb/tests/client_test.py:250: AssertionError | |
=============================== warnings summary =============================== | |
influxdb/tests/client_test.py:527 | |
/build/source/influxdb/tests/client_test.py:527: DeprecationWarning: invalid escape sequence \( | |
"\(use 'n', 'u', 'ms', 's', 'm' or 'h'\)" | |
../../nix/store/96lbzyigsfqsf56s3h4ln4030qkpbxz2-python3.9-nose-1.3.7/lib/python3.9/site-packages/nose/importer.py:12 | |
/nix/store/96lbzyigsfqsf56s3h4ln4030qkpbxz2-python3.9-nose-1.3.7/lib/python3.9/site-packages/nose/importer.py:12: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses | |
from imp import find_module, load_module, acquire_lock, release_lock | |
<unknown>:527 | |
<unknown>:527: DeprecationWarning: invalid escape sequence \( | |
influxdb/tests/dataframe_client_test.py:23 | |
/build/source/influxdb/tests/dataframe_client_test.py:23: FutureWarning: pandas.util.testing is deprecated. Use the functions in the public API at pandas.testing instead. | |
from pandas.util.testing import assert_frame_equal | |
influxdb/tests/influxdb08/client_test.py:309 | |
/build/source/influxdb/tests/influxdb08/client_test.py:309: DeprecationWarning: invalid escape sequence \( | |
"Invalid time precision is given. \(use 's', 'm', 'ms' or 'u'\)" | |
influxdb/tests/influxdb08/client_test.py:453 | |
/build/source/influxdb/tests/influxdb08/client_test.py:453: DeprecationWarning: invalid escape sequence \( | |
"Invalid time precision is given. \(use 's', 'm', 'ms' or 'u'\)" | |
influxdb/tests/influxdb08/client_test.py:737 | |
/build/source/influxdb/tests/influxdb08/client_test.py:737: DeprecationWarning: invalid escape sequence \( | |
"'permissions' must be \(readFrom, writeTo\) tuple" | |
<unknown>:309 | |
<unknown>:309: DeprecationWarning: invalid escape sequence \( | |
<unknown>:453 | |
<unknown>:453: DeprecationWarning: invalid escape sequence \( | |
<unknown>:737 | |
<unknown>:737: DeprecationWarning: invalid escape sequence \( | |
influxdb/tests/client_test.py::TestInfluxDBClient::test_write_points_bad_precision | |
/build/source/influxdb/tests/client_test.py:524: DeprecationWarning: Please use assertRaisesRegex instead. | |
with self.assertRaisesRegexp( | |
influxdb/tests/resultset_test.py::TestResultSet::test_filter_by_name | |
influxdb/tests/resultset_test.py::TestResultSet::test_filter_by_name_and_tags | |
influxdb/tests/resultset_test.py::TestResultSet::test_filter_by_name_and_tags | |
influxdb/tests/resultset_test.py::TestResultSet::test_filter_by_tags | |
influxdb/tests/resultset_test.py::TestResultSet::test_system_query | |
/build/source/influxdb/resultset.py:56: DeprecationWarning: ResultSet's ``__getitem__`` method will be deprecated. Use``get_points`` instead. | |
warnings.warn( | |
influxdb/tests/influxdb08/client_test.py::TestInfluxDBClient::test_add_database_user_bad_permissions | |
/build/source/influxdb/tests/influxdb08/client_test.py:735: DeprecationWarning: Please use assertRaisesRegex instead. | |
with self.assertRaisesRegexp( | |
influxdb/tests/influxdb08/client_test.py::TestInfluxDBClient::test_query_bad_precision | |
/build/source/influxdb/tests/influxdb08/client_test.py:451: DeprecationWarning: Please use assertRaisesRegex instead. | |
with self.assertRaisesRegexp( | |
influxdb/tests/influxdb08/client_test.py::TestInfluxDBClient::test_write_bad_precision_udp | |
/build/source/influxdb/tests/influxdb08/client_test.py:282: DeprecationWarning: Please use assertRaisesRegex instead. | |
with self.assertRaisesRegexp( | |
influxdb/tests/influxdb08/client_test.py::TestInfluxDBClient::test_write_points_bad_precision | |
/build/source/influxdb/tests/influxdb08/client_test.py:307: DeprecationWarning: Please use assertRaisesRegex instead. | |
with self.assertRaisesRegexp( | |
-- Docs: https://docs.pytest.org/en/stable/warnings.html | |
=========================== short test summary info ============================ | |
FAILED influxdb/tests/client_test.py::TestInfluxDBClient::test_write_gzip - A... | |
===== 1 failed, 221 passed, 2 skipped, 2 deselected, 20 warnings in 2.90s ====== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment