-
Notifications
You must be signed in to change notification settings - Fork 30
Stop server from crashing when agent reports failure #91
Comments
hello I configured todd on CentOS7. run command is as follows.
Would you have any idea? |
upload serve.cfg, agent.cfg |
Hello ! |
@hanya1203 Yes, please post full server and agent logs so we can help you out. |
@Mierdin @slydetech todd command log[root@localhost todd]# docker exec toddserver todd agents Agent logINFO[0520] AGENTADV -- 2017-03-10 07:21:46.560882068 +0000 UTC ServerlogINFO[0060] Beginning group calculation |
@hanya1203 I moved this to #132 - let's please discuss this there |
A workaround for this im using in my testlets is to always return nil for err, but include in the returned data from the testlet {"result":"Successful"} or {"result":"UnSuccessful"} That way i can still allow testing failures without a panic. Granted this isn't preferable over gracefully handling failures, but its a workaround i can use for now. |
Need to do something meaningful here, preferably passing status to client (as well as performing any cleanup actions)
This probably has a bit to do with https://github.com/Mierdin/todd/issues/90 as well.
Previosly, there was a simple error message posted to the
gatheredData
map inexecutetestrun
, and has since been commented out. The "status" of a testrun is tracked elsewhere, so these two things need to be coordinatedThe text was updated successfully, but these errors were encountered: