getslash / backslash-python Goto Github PK
View Code? Open in Web Editor NEWClient library for the backslash test reporting service
Home Page: https://getslash.github.io
License: Other
Client library for the backslash test reporting service
Home Page: https://getslash.github.io
License: Other
Sentry link: http://sentry.infinidat.com/sentry/slash_infinidat-backslash-plug/issues/5114/
SyntaxError: EOL while scanning string literal (<unknown>, line 1)
File "backslash/contrib/slash_plugin.py", line 49, in new_func
return func(self, *args, **kwargs)
File "backslash/contrib/slash_plugin.py", line 373, in error_added
'traceback': distill_slash_traceback(error), 'exception_attrs': getattr(error, 'exception_attributes', NOTHING)}
File "backslash/contrib/utils.py", line 30, in distill_slash_traceback
commands = ast.literal_eval(frame['locals']['In']['value'])
File "python3.6/ast.py", line 48, in literal_eval
node_or_string = parse(node_or_string, mode='eval')
File "python3.6/ast.py", line 35, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
Should support
@slash.parameters.iterate('param', [b'something'])
...
slash.exceptions.TerminatedException: Terminated by signal
[2018-08-15 19:34:19.319511] ERROR:backslash.contrib.keepalive_thread: Quitting keepalive thread due to exception
Traceback (most recent call last):
File "/home/jenkins/jenkins/workspace/integ-qa/qa_bundle/env/lib/python3.6/site-packages/backslash/contrib/keepalive_thread.py", line 24, in run
File "/home/jenkins/jenkins/workspace/integ-qa/qa_bundle/env/lib/python3.6/site-packages/backslash/session.py", line 28, in send_keepalive
File "/home/jenkins/jenkins/workspace/integ-qa/qa_bundle/env/lib/python3.6/site-packages/backslash/api.py", line 85, in call_function
File "/home/jenkins/jenkins/workspace/integ-qa/qa_bundle/env/lib/python3.6/site-packages/requests/sessions.py", line 559, in post
File "/home/jenkins/jenkins/workspace/integ-qa/qa_bundle/env/lib/python3.6/site-packages/requests/sessions.py", line 512, in request
File "/home/jenkins/jenkins/workspace/integ-qa/qa_bundle/env/lib/python3.6/site-packages/raven/breadcrumbs.py", line 326, in send
File "/home/jenkins/jenkins/workspace/integ-qa/qa_bundle/env/lib/python3.6/site-packages/requests/sessions.py", line 622, in send
File "/home/jenkins/jenkins/workspace/integ-qa/qa_bundle/env/lib/python3.6/site-packages/requests/adapters.py", line 412, in send
File "/home/jenkins/jenkins/workspace/integ-qa/qa_bundle/env/lib/python3.6/site-packages/requests/adapters.py", line 227, in cert_verify
OSError: Could not find a suitable TLS CA certificate bundle, invalid path: /home/jenkins/jenkins/workspace/integ-qa/qa_bundle/env/lib/python3.6/site-packages/certifi/cacert.pem
[2018-08-15 19:34:19.323573] DEBUG:backslash.contrib.keepalive_thread: Backslash keepalive thread terminated
Backslash link: https://backslash.infinidat.com/#/sessions/ca1272b8-a095-11e8-a05d-005056976407_0/tests/ca1272b8-a095-11e8-a05d-005056976407_0_2
Log link: http://scotty.infinidat.com/#/beams/2964384?tag=ca1272b8-a095-11e8-a05d-005056976407_0
It reproduced more than once this week. Client version: 2.36.1.
Report session started to backslash on 'before_session_start' and add the session subjects on 'session_start'.
Blocked by: getslash/backslash#351
Another option: we might want this behavior to be configurable (in case someone is using an old server version). We can add configuration for it.
Currently, config.json resides under the user's home directory. We'd like to be able to configure its location and specifically, have it reside under the project's root. We're running tests from a single remote machine, and users run the tests under the same Unix user, so we'd like to be able to differentiate their sessions in backslash.
Thanks!
Will enable dynamic adaptation of the serialized traceback size
[2017-06-08 20:21:24.805104] DEBUG:stokado.plugins.backslash_plugin: Exception caught while reporting to Backslash. Shutting down Backslash plugin
Traceback (most recent call last):
File "/home/ayalas/src/github/backslash-python/backslash/contrib/slash_plugin.py", line 48, in new_func
return func(self, *args, **kwargs)
File "/home/ayalas/src/github/backslash-python/backslash/contrib/slash_plugin.py", line 114, in session_start
child_id=child_id,
UnboundLocalError: local variable 'child_id' referenced before assignment
pip install -i https://pypi.python.org/simple backslash
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting backslash
Could not fetch URL https://pypi.python.org/simple/backslash/: There was a problem confirming the ssl certificate: Can't connect to HTTPS URL because the SSL module is not available. - skipping
Could not find a version that satisfies the requirement backslash (from versions: )
No matching distribution found for backslash
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.