self.json_logger.info("Temperature too high (%s > %s)"%(cpu_temp,max_temp),extra={'data':data})
promise_success=False
else:
ifavg_temp>max_avg_temp:
self.logger.error("Average temperature over the last %s seconds reached threshold: %s degrees celsius (threshold is %s degrees celsius)"%(max_avg_temp_duration,avg_temp,max_avg_temp))
@@ -56,6 +56,7 @@ The `environment-script` set all variables except `SLAPOS_TEST_DEBUG`, `SLAPOS_T
...
@@ -56,6 +56,7 @@ The `environment-script` set all variables except `SLAPOS_TEST_DEBUG`, `SLAPOS_T
| `SLAPOS_TEST_IPV4` | ipv4 used by this instance. |
| `SLAPOS_TEST_IPV4` | ipv4 used by this instance. |
| `SLAPOS_TEST_WORKING_DIR` | Path to use as a working directory to hold the standalone SlapOS. |
| `SLAPOS_TEST_WORKING_DIR` | Path to use as a working directory to hold the standalone SlapOS. |
| `SLAPOS_TEST_SHARED_PART_LIST` | A `:` separated of paths to look for already installed shared parts. The SlapOS used in the test will not write in these, but will use a dedicated directory in `$SLAPOS_TEST_WORKING_DIR` |
| `SLAPOS_TEST_SHARED_PART_LIST` | A `:` separated of paths to look for already installed shared parts. The SlapOS used in the test will not write in these, but will use a dedicated directory in `$SLAPOS_TEST_WORKING_DIR` |
| `SLAPOS_TEST_LOG_DIRECTORY` | If set, slapos testing will save a snapshot of the instance and/or software files in there in case of failure. Mostly used in testnodes to be able to debug afterward. Note that this directory is expected to be empty for each test. |