testflinger-cli's People
testflinger-cli's Issues
get_state (and others) could crash the cli if they get bad json response
If something goes wrong when getting json responses, we might have something that's invalid leading to the cli to crash. Here's one such example:
2022-09-29 18:14:42,457 caracalla004 INFO: DEVICE AGENT: END provision
Traceback (most recent call last):
File "/snap/testflinger-cli/135/bin/testflinger-cli", line 8, in
sys.exit(cli())
File "/snap/testflinger-cli/135/lib/python3.8/site-packages/testflinger_cli/init.py", line 47, in cli
tfcli.run()
File "/snap/testflinger-cli/135/lib/python3.8/site-packages/testflinger_cli/init.py", line 142, in run
raise SystemExit(self.args.func())
File "/snap/testflinger-cli/135/lib/python3.8/site-packages/testflinger_cli/init.py", line 442, in poll
self.do_poll(self.args.job_id)
File "/snap/testflinger-cli/135/lib/python3.8/site-packages/testflinger_cli/init.py", line 478, in do_poll
job_state = self.get_job_state(job_id)
File "/snap/testflinger-cli/135/lib/python3.8/site-packages/testflinger_cli/init.py", line 644, in get_job_state
return self.client.get_status(job_id)
File "/snap/testflinger-cli/135/lib/python3.8/site-packages/testflinger_cli/client.py", line 99, in get_status
data = json.loads(self.get(endpoint))
File "/usr/lib/python3.8/json/init.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Dependency Dashboard
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
Open
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
Detected dependencies
github-actions
.github/workflows/tox.yml
actions/checkout v3
actions/setup-python v4
pep621
pyproject.toml
xdg <5.2
- Check this box to trigger a request for Renovate to run again on this repository
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.