Page MenuHomeSoftware Heritage

settings/common: Filter out debug logs of swh.core.statsd
AbandonedPublicDraft

Authored by anlambert on Sep 28 2021, 4:59 PM.

Details

Reviewers
None
Group Reviewers
Reviewers
Summary

This produces a lot of noise when running tests and capturing
output so silent those debug logs.

Diff Detail

Repository
rDWAPPS Web applications
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 24058
Build 37538: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 37537: arc lint + arc unit

Unit TestsFailed

TimeTest
236 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.web.tests.api.views.test_origin::Tests / Python tests / test_api_origin_by_url
api_client = <rest_framework.test.APIClient object at 0x7f91c0ede668> archive_data = <swh.web.tests.conftest._ArchiveData object at 0x7f91c0ede710>
190 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.web.tests.api.views.test_origin::Tests / Python tests / test_api_origin_search[swh-storage]
api_client = <rest_framework.test.APIClient object at 0x7f91c0be4470> mocker = <pytest_mock.plugin.MockerFixture object at 0x7f91c0a33f98> backend = 'swh-storage'
503 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.web.tests.api.views.test_origin::Tests / Python tests / test_api_origin_search_limit[swh-storage]
api_client = <rest_framework.test.APIClient object at 0x7f91c0e2a0f0> archive_data = <swh.web.tests.conftest._ArchiveData object at 0x7f91c0e3cf60> tests_data = {'contents': [{'blake2s256': '819b04890457029a003db7c4a66c0184ddf0719dfa1ebb6e8bc89761b5bc4a29', 'data': '// !$*UTF8*$...c569188ca45c771d82', '4aa52c283e519cc6613e9e6e38d0600e00fde707', 'a1ffbd272b2f22a7e9648cfccb13266a99fad273', ...], ...}
193 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.web.tests.api.views.test_origin::Tests / Python tests / test_api_origin_search_scroll[1-swh-storage]
api_client = <rest_framework.test.APIClient object at 0x7f91c261de48> archive_data = <swh.web.tests.conftest._ArchiveData object at 0x7f91c26cddd8> mocker = <pytest_mock.plugin.MockerFixture object at 0x7f91c26cd8d0>, limit = 1
197 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.web.tests.api.views.test_origin::Tests / Python tests / test_api_origin_search_scroll[10-swh-storage]
api_client = <rest_framework.test.APIClient object at 0x7f91c274c7b8> archive_data = <swh.web.tests.conftest._ArchiveData object at 0x7f91c274cb38> mocker = <pytest_mock.plugin.MockerFixture object at 0x7f91c274c898>, limit = 10
View Full Test Results (16 Failed · 720 Passed · 5 Skipped)

Event Timeline

Build has FAILED

Patch application report for D6369 (id=23145)

Rebasing onto 14a3caeadc...

Current branch diff-target is up to date.
Changes applied before test
commit 7de1681b6db4fb588e4328aed0c056361533579a
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Tue Sep 28 16:58:02 2021 +0200

    settings/common: Filter out debug logs of swh.core.statsd
    
    This produces a lot of noise when running tests and capturing
    output so silent those debug logs.

Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1124/
See console output for more information: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1124/console

Harbormaster returned this revision to the author for changes because remote builds failed.Sep 28 2021, 5:03 PM
Harbormaster failed remote builds in B24058: Diff 23145!

Build has FAILED

Patch application report for D6369 (id=23145)

Rebasing onto 14a3caeadc...

Current branch diff-target is up to date.
Changes applied before test
commit 7de1681b6db4fb588e4328aed0c056361533579a
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Tue Sep 28 16:58:02 2021 +0200

    settings/common: Filter out debug logs of swh.core.statsd
    
    This produces a lot of noise when running tests and capturing
    output so silent those debug logs.

Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1125/
See console output for more information: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1125/console