Make the python code pylint and flake8 compliant

78 jobs for !3311 with ondrej/add-python-static-analysis-to-gitlab-ci in 19 minutes and 48 seconds (queued for 6 minutes and 47 seconds)
detached
Status Job ID Name Coverage
  Precheck
passed #793543
amd64 linux
autoreconf

00:00:18

passed #793545
amd64 linux
clang-format

00:00:23

passed #793546
amd64 linux
coccinelle

00:03:51

passed #793544
amd64 linux
misc

00:00:17

 
  Build
passed #793562
amd64 linux
clang:asan

00:01:44

passed #793566
amd64 linux
clang:buster:amd64

00:01:00

passed #793568
amd64 libvirt
clang:freebsd11.3:amd64

00:02:06

passed #793569
amd64 libvirt
clang:freebsd12.1:amd64

00:01:59

passed #793570
amd64 libvirt
clang:openbsd6.6:amd64

00:05:20

passed #793564
amd64 linux
clang:tsan

00:02:03

passed #793547
amd64 linux
gcc:alpine3.11:amd64

00:01:54

passed #793561
amd64 linux
gcc:asan

00:01:01

passed #793560
amd64 linux
gcc:bionic:amd64

00:01:04

passed #793552
amd64 linux
gcc:buster:amd64

00:01:28

passed #793548
amd64 linux
gcc:centos6:amd64

00:01:42

passed #793549
amd64 linux
gcc:centos7:amd64

00:01:45

passed #793550
amd64 linux
gcc:centos8:amd64

00:01:56

passed #793558
amd64 linux
gcc:fedora31:amd64

00:02:09

passed #793565
amd64 linux
gcc:mutexatomics

00:01:33

passed #793554
amd64 linux
gcc:out-of-tree

00:01:01

passed #793567
amd64 linux
gcc:pkcs11

00:01:21

passed #793553
amd64 linux
gcc:sid:amd64

00:01:17

passed #793555
arm64 linux
gcc:sid:arm64

00:04:38

passed #793556
i386 linux
gcc:sid:i386

00:01:02

passed #793551
amd64 linux
gcc:stretch:amd64

00:01:31

passed #793563
amd64 linux
gcc:tsan

00:01:48

passed #793557
amd64 linux
gcc:tumbleweed:amd64

00:02:18

passed #793559
amd64 linux
gcc:xenial:amd64

00:01:12

passed #793571
amd64 windows
msvc:windows:amd64

00:02:39

 
  Unit
passed #793586
amd64 linux
unit:clang:asan

00:01:07

passed #793590
amd64 linux
unit:clang:buster:amd64

00:00:38

passed #793592
amd64 libvirt
unit:clang:freebsd11.3:amd64

00:01:08

failed #793593
amd64 libvirt
unit:clang:freebsd12.1:amd64

00:06:18

failed #793588
amd64 linux allowed to fail
unit:clang:tsan

00:00:25

passed #793572
amd64 linux
unit:gcc:alpine3.11:amd64

00:00:57

passed #793585
amd64 linux
unit:gcc:asan

00:01:19

passed #793584
amd64 linux
unit:gcc:bionic:amd64

00:00:51

passed #793577
amd64 linux
unit:gcc:buster:amd64

00:00:43

passed #793573
amd64 linux
unit:gcc:centos6:amd64

00:00:38

passed #793574
amd64 linux
unit:gcc:centos7:amd64

00:00:59

passed #793575
amd64 linux
unit:gcc:centos8:amd64

00:00:55

passed #793582
amd64 linux
unit:gcc:fedora31:amd64

00:00:43

passed #793589
amd64 linux
unit:gcc:mutexatomics

00:00:39

passed #793591
amd64 linux
unit:gcc:pkcs11

00:00:51

passed #793578
amd64 linux
unit:gcc:sid:amd64

00:00:44

passed #793579
arm64 linux
unit:gcc:sid:arm64

00:01:37

passed #793580
i386 linux
unit:gcc:sid:i386

00:00:54

passed #793576
amd64 linux
unit:gcc:stretch:amd64

00:01:01

failed #793587
amd64 linux allowed to fail
unit:gcc:tsan

00:02:12

passed #793581
amd64 linux
unit:gcc:tumbleweed:amd64

00:00:57

passed #793583
amd64 linux
unit:gcc:xenial:amd64

00:00:55

 
  System
passed #793608
amd64 linux
system:clang:asan

00:13:42

failed #793612
amd64 linux
system:clang:buster:amd64

00:11:52

passed #793614
amd64 libvirt
system:clang:freebsd11.3:amd64

00:12:36

failed #793615
amd64 libvirt
system:clang:freebsd12.1:amd64

00:13:27

failed #793610
amd64 linux allowed to fail
system:clang:tsan

00:06:42

passed #793594
amd64 linux
system:gcc:alpine3.11:amd64

00:11:06

passed #793607
amd64 linux
system:gcc:asan

00:13:45

passed #793606
amd64 linux
system:gcc:bionic:amd64

00:10:14

passed #793599
amd64 linux
system:gcc:buster:amd64

00:10:11

passed #793595
amd64 linux
system:gcc:centos6:amd64

00:10:14

passed #793596
amd64 linux
system:gcc:centos7:amd64

00:11:34

passed #793597
amd64 linux
system:gcc:centos8:amd64

00:10:25

passed #793604
amd64 linux
system:gcc:fedora31:amd64

00:10:52

passed #793611
amd64 linux
system:gcc:mutexatomics

00:11:21

passed #793613
amd64 linux
system:gcc:pkcs11

00:10:21

passed #793600
amd64 linux
system:gcc:sid:amd64

00:10:00

passed #793601
arm64 linux
system:gcc:sid:arm64

00:11:59

passed #793602
i386 linux
system:gcc:sid:i386

00:10:25

passed #793598
amd64 linux
system:gcc:stretch:amd64

00:11:20

failed #793609
amd64 linux allowed to fail
system:gcc:tsan

00:16:37

passed #793603
amd64 linux
system:gcc:tumbleweed:amd64

00:11:26

passed #793605
amd64 linux
system:gcc:xenial:amd64

00:11:17

 
  Docs
passed #793616
amd64 linux
docs

00:00:26

 
  Postcheck
passed #793620
amd64 linux
cppcheck

00:00:23

passed #793617
amd64 linux
flake8

00:01:38

passed #793618
amd64 linux
pylint

00:02:28

passed #793619
amd64 linux
scan-build

00:11:20

 
Name Stage Failure
failed
system:gcc:tsan System
Running after script...
$ find bin -name 'tsan.*' -exec python3 util/parse_tsan.py {} \;
Uploading artifacts for failed job
Uploading artifacts...
bin/tests/system/*/tsan.*: found 18 matching files

bin/tests/system/*/*/tsan.*: found 243 matching files

tsan/: found 188 matching files

Uploading artifacts to coordinator... ok
id=793609 responseStatus=201 Created token=kzhikuwq
ERROR: Job failed: exit code 1
failed
system:clang:freebsd12.1:amd64 System

make: stopped in /builds/isc-projects/bind9/bin/tests/system
Running after_script
Uploading artifacts for failed job
Uploading artifacts...
Runtime platform
arch=amd64 os=freebsd pid=22313 revision=4c96e5ad version=12.9.0
untracked: found 1371 files

Uploading artifacts to coordinator... ok
id=793615 responseStatus=201 Created token=xE3g3Czx
ERROR: Job failed: exit status 1
failed
system:clang:buster:amd64 System
I:The following system tests failed:
I: digdelv
make: *** [Makefile:441: test] Error 1
Running after_script
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 1479 files

Uploading artifacts to coordinator... ok
id=793612 responseStatus=201 Created token=WqJhN6uN
ERROR: Job failed: exit code 1
failed
unit:clang:freebsd12.1:amd64 Unit
Generating kyua_html/lib_ns_tests_query_test_main.html
Generating kyua_html/report.css
Generating kyua_html/index.html
Uploading artifacts for failed job
Uploading artifacts...
Runtime platform
arch=amd64 os=freebsd pid=1833 revision=4c96e5ad version=12.9.0
untracked: found 1380 files

Uploading artifacts to coordinator... ok
id=793593 responseStatus=201 Created token=tkvc3scp
ERROR: Job failed: exit status 1
failed
system:clang:tsan System
Running after script...
$ find bin -name 'tsan.*' -exec python3 util/parse_tsan.py {} \;
Uploading artifacts for failed job
Uploading artifacts...
bin/tests/system/*/tsan.*: found 640 matching files

bin/tests/system/*/*/tsan.*: found 550 matching files

tsan/: found 1 matching files

Uploading artifacts to coordinator... ok
id=793610 responseStatus=201 Created token=vSMWQBkP
ERROR: Job failed: exit code 1
failed
unit:gcc:tsan Unit
Uploading artifacts for failed job
Uploading artifacts...
WARNING: lib/*/tests/tsan.*: no matching files
WARNING: tsan/: no matching files
kyua.log: found 1 matching files

kyua.results: found 1 matching files

kyua_html/: found 69 matching files

Uploading artifacts to coordinator... ok
id=793587 responseStatus=201 Created token=txYvjTER
ERROR: Job failed: exit code 1
failed
unit:clang:tsan Unit
Uploading artifacts for failed job
Uploading artifacts...
WARNING: lib/*/tests/tsan.*: no matching files
WARNING: tsan/: no matching files
kyua.log: found 1 matching files

kyua.results: found 1 matching files

kyua_html/: found 69 matching files

Uploading artifacts to coordinator... ok
id=793588 responseStatus=201 Created token=DA5FwtPd
ERROR: Job failed: exit code 1