Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Sktm crashes when submitting Jenkins jobs #142

Open
spbnick opened this issue Sep 20, 2018 · 0 comments
Open

Sktm crashes when submitting Jenkins jobs #142

spbnick opened this issue Sep 20, 2018 · 0 comments

Comments

@spbnick
Copy link
Contributor

spbnick commented Sep 20, 2018

Sktm occasionally crashes when submitting Jenkins jobs, like this:

[21214] 2018-09-19 16:38:41,364     INFO   submitted build: None
Traceback (most recent call last):
  File "/home/skt/.local/bin/sktm", line 11, in <module>
    sys.exit(main())
  File "/home/skt/.local/lib/python2.7/site-packages/sktm/executable.py", line 242, in main
    args.func(sw, cfg)
  File "/home/skt/.local/lib/python2.7/site-packages/sktm/executable.py", line 164, in cmd_patchwork
    sw.check_patchwork()
  File "/home/skt/.local/lib/python2.7/site-packages/sktm/__init__.py", line 296, in check_patchwork
    makeopts=self.makeopts),
  File "/home/skt/.local/lib/python2.7/site-packages/sktm/jenkins.py", line 408, in build
    return build.get_number()
AttributeError: 'NoneType' object has no attribute 'get_number'

A few of these tracebacks could be found in our logs.
This results in Jenkins jobs running, but not reaped by skt, and thus rerun on the next sktm invocation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant