Details
-
Type:
Story
-
Status: To Do
-
Resolution: Unresolved
-
Fix Version/s: None
-
Labels:None
-
Story Points:4.2
-
Epic Link:
-
Team:SQuaRE
Description
SQuaSH and dispatch_verify.py support either jenkins or ldf as execution environments. To allow developers to send data to their sandbox instances, we need another execution environment. I would call it local.
Also, review the policy whether we should allow the execution environment to be set as unkwon.
Error message that motivated this ticket:
[2019-03-15 17:14:41,757: ERROR/ForkPoolWorker-2] Task app.tasks.influxdb.job_to_influxdb[9380a5d0-3e79-4549-ae14-dcd2acfec892] raised unexpected: KeyError('env',)
|
Traceback (most recent call last):
|
File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 382, in trace_task
|
R = retval = fun(*args, **kwargs)
|
File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 641, in __protected_call__
|
return self.run(*args, **kwargs)
|
File "/opt/squash/app/tasks/influxdb.py", line 131, in job_to_influxdb
|
if 'ci_dataset' in data['meta']['env']:
|
KeyError: 'env'
|
[2019-03-15 17:14:41,980: INFO/ForkPoolWorker-3] Task app.tasks.s3.upload_object[4dd045d3-d8f5-4863-bffa-459787f578f9] succeeded in 0.3280502166599035s: 's3://squash-sandbox.data/59'
|
Attachments
Issue Links
- is child task of
-
DM-18057 QAWG-REC-37: It must be possible to submit metrics to SQuaSH from arbitrary pipeline execution environments
- To Do
The metadata for the user local execution environment should include at least the user name, as authenticated through the SQuaSH API.