Page MenuHomeSoftware Heritage

settings/common: Silence urllib3 debug logging
ClosedPublic

Authored by anlambert on Tue, Jul 19, 4:57 PM.

Details

Summary

It generates a lof of noise and clutters terminal a lot.

Also, do not filter out error output when running migrations

The error output was filtered out due to the high amount of urllib3 debug
logs but those logs are now longer enabled.

So remove error output filtering to help debugging failed migrations.

Diff Detail

Repository
rDWAPPS Web applications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build has FAILED

Patch application report for D8139 (id=29384)

Rebasing onto e619d58ee3...

Current branch diff-target is up to date.
Changes applied before test
commit a600130a8ab6a4ee893a827e12a484a896b9088f
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Tue Jul 19 16:54:16 2022 +0200

    Makefile.local: Do not filter out error output when running migrations
    
    The error output was filtered out due to the high amount of urllib3 debug
    logs but those logs are now longer enabled.
    
    So remove error output filtering to help debugging failed migrations.

commit 17ca93df835a687473a4c57959dc84a129739f42
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Tue Jul 19 16:53:25 2022 +0200

    settings/common: Silent urllib3 debug logging
    
    It generates a lof of noise and clutters terminal a lot.

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

Harbormaster returned this revision to the author for changes because remote builds failed.Tue, Jul 19, 5:14 PM
Harbormaster failed remote builds in B30458: Diff 29384!

lgtm (can't validate it due to its draft nature)

Build is green

Patch application report for D8139 (id=29405)

Rebasing onto 7d1404c206...

Current branch diff-target is up to date.
Changes applied before test
commit 52011af2fb4adc01203f0f132ba9c1f58a41c467
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Tue Jul 19 16:54:16 2022 +0200

    Makefile.local: Do not filter out error output when running migrations
    
    The error output was filtered out due to the high amount of urllib3 debug
    logs but those logs are now longer enabled.
    
    So remove error output filtering to help debugging failed migrations.

commit e55dfdd75e48be7a48f66b1eb8ecd444c1871479
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Tue Jul 19 16:53:25 2022 +0200

    settings/common: Silent urllib3 debug logging
    
    It generates a lof of noise and clutters terminal a lot.

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1943/ for more details.

vlorentz added a subscriber: vlorentz.

thanks!

s/Silent/Silence/

This revision is now accepted and ready to land.Wed, Jul 20, 12:18 PM

Build is green

Patch application report for D8139 (id=29406)

Rebasing onto 7d1404c206...

Current branch diff-target is up to date.
Changes applied before test
commit 722cf1e41fc94328c2e3a802a485d32d440e807d
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Tue Jul 19 16:54:16 2022 +0200

    Makefile.local: Do not filter out error output when running migrations
    
    The error output was filtered out due to the high amount of urllib3 debug
    logs but those logs are now longer enabled.
    
    So remove error output filtering to help debugging failed migrations.

commit 0901c69559faaa1e7614146b690cd52da647eee8
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Tue Jul 19 16:53:25 2022 +0200

    settings/common: Silence urllib3 debug logging
    
    It generates a lof of noise and clutters terminal a lot.

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1944/ for more details.

vlorentz retitled this revision from settings/common: Silent urllib3 debug logging to settings/common: Silence urllib3 debug logging.Wed, Jul 20, 1:51 PM