• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CKI-project / kpet / 138
88%

Build:
DEFAULT BRANCH: master
Ran 13 Feb 2019 01:46PM UTC
Jobs 1
Files 6
Run time 32min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
138

push

travis-ci-com

veruu
workaround py3 exception

Python3 doesn't allow to compare 'str' and NoneType. The code fails with
following trace that I haven't been able to reproduce locally:

1550047782.517421:ERROR:While executing command "run"
Traceback (most recent call last):
  File "/tmp/.local/bin/kpet", line 11, in <module>
    load_entry_point('kpet==1', 'console_scripts', 'kpet')()
  File "/tmp/.local/lib/python3.7/site-packages/kpet/__init__.py", line 195, in main
    exec_command(args, commands)
  File "/tmp/.local/lib/python3.7/site-packages/kpet/__init__.py", line 162, in exec_command
    command[0](*command[1:])
  File "/tmp/.local/lib/python3.7/site-packages/kpet/run.py", line 101, in main
    args.pw_cookie)
  File "/tmp/.local/lib/python3.7/site-packages/kpet/run.py", line 76, in generate
    targeted.get_property('partitions', test_names, dbdir)
TypeError: '<' not supported between instances of 'NoneType' and 'str'

The cause is likely 'partitions' being resolved to None somewhere.
For now, just lazily filter-out that None value.

Signed-off-by: Jakub Racek <jracek@redhat.com>

63 of 66 branches covered (95.45%)

Branch coverage included in aggregate %.

238 of 245 relevant lines covered (97.14%)

0.97 hits per line

Jobs
ID Job ID Ran Files Coverage
2 138.2 (TOX_ENV=flake8,pylint) 13 Feb 2019 01:46PM UTC 0
96.78
Travis Job 138.2
Source Files on build 138
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #138
  • be371455 on github
  • Prev Build on master (#127)
  • Next Build on master (#148)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc