Juniper.JUNOS: Tokenizer settings

6 jobs for <span class="ref-name">noc-junos-confdb</span> in 1 minute (queued for 1 second)
Status Job ID Name Coverage
  Lint
passed #41151
docker
flake8

00:00:12

passed #41155
docker
futurize

00:00:20

passed #41154
docker
pylint

00:00:18

failed #41153
docker allowed to fail
radon

00:00:19

failed #41152
docker allowed to fail
yapf

00:00:18

 
  Test
failed #41156
docker allowed to fail
test_noc

00:00:39

21.0%
 
Name Stage Failure
failed
test_noc Test
Coverage            : 21%
Coverage Statements : 20295
Coverage Missing : 15941
Coverage Excluded : 1
Uploading artifacts...
./var/coverage: found 368 matching files
./var/report: found 2 matching files
Uploading artifacts to coordinator... ok id=41156 responseStatus=201 Created token=EG8Adh7z
ERROR: Job failed: exit code 2
failed
radon Lint
$ x=0
++ x=0
++ echo '$ if [ ! -z "$FLIST" ]; then for i in "${FLIST}" ; do (xenon --max-absolute B --max-modules B --max-average B "$i"; let x+=$?); done; fi'
$ if [ ! -z "$FLIST" ]; then for i in "${FLIST}" ; do (xenon --max-absolute B --max-modules B --max-average B "$i"; let x+=$?); done; fi
++ '[' '!' -z sa/profiles/Juniper/JUNOS/__init__.py ']'
++ for i in "${FLIST}"
++ xenon --max-absolute B --max-modules B --max-average B sa/profiles/Juniper/JUNOS/__init__.py
ERROR:xenon:block "sa/profiles/Juniper/JUNOS/__init__.py:67 cmp_version" has a rank of C
ERROR: Job failed: exit code 1
failed
yapf Lint
     def command_exist(self, script, cmd):
c = script.cli(
"help apropos \"%s\" | match \"^show %s\" " % (cmd, cmd),
- cached=True, ignore_errors=True
+ cached=True,
+ ignore_errors=True
)
return ("show " + cmd in c) and ("error: nothing matches" not in c)
ERROR: Job failed: exit code 1