Commit Graph

526 Commits

Author SHA1 Message Date
fae60a21e5 Sync DockerClient with DockerContainerPool
Fix failing specs after upgrade
2020-09-28 16:53:15 +02:00
b5c5790d7e Fix timeout for PyLint and PyUnit Adapter 2020-05-14 01:55:01 +02:00
ba8e08aee4 Add timeout for PyLint and PyUnit Adapter 2020-05-13 01:27:33 +02:00
2b7170b202 better error handling 2020-05-12 18:52:08 +02:00
d912062abd Copy output to file and stdout / stderr 2020-05-12 17:51:07 +02:00
daa39336fb Fix happy path for scoring 2020-05-12 17:51:07 +02:00
b6db9e186c Add information if execution timed out during scoring 2020-05-12 17:51:07 +02:00
99979eeb4f Rescue RuntimeError (FayeWebsocket) and apply style 2020-05-05 22:46:28 +02:00
4bf483cfb3 Add PyLint Adapter and a combined PyUnit and PyLint adapter. 2020-05-05 16:52:28 +02:00
cb3eece863 Python: PyUnit will identify more results and work with real PyUnit 2020-05-05 16:52:28 +02:00
0a989e31ae Apply file permissions after copying files to workspace 2020-04-17 23:51:13 +02:00
8fd81fb05e Ignore permission problems when deleting files 2020-04-16 14:52:16 +02:00
28d40605c8 Fix specs 2020-04-14 15:20:15 +02:00
520a62125e Add some naive exception handling 2020-04-14 14:23:35 +02:00
48d06b6dbe Persist metrics for container usage (execution time and waiting time) to Testrun table 2020-03-26 16:28:56 +01:00
380b2ce6c7 Enhance kill for container 2020-03-25 11:47:59 +01:00
b0761dbdb5 Extract pool handling to separate service 2020-03-25 11:30:11 +01:00
de06a83f4c Add a few comments 2020-03-24 18:06:21 +01:00
d9d77fbd97 Various important bug fixes and self destroy for containers 2020-03-23 13:38:50 +01:00
172264e5b9 Disable semaphore 2020-03-22 17:40:52 +01:00
ccb5998b72 Remove semaphore where no longer required and re-enable 2020-03-22 16:56:07 +01:00
7b10da8eb4 Use thread safe methods to add and remove elements from Concurrent::Array 2020-03-22 16:47:46 +01:00
4e9df310c2 Disable semaphore. 2020-03-22 16:07:15 +01:00
2d52338008 Ensure not to have a semaphore larger than 1 2020-03-22 15:45:09 +01:00
1cdc1b0647 Replacing a killed container only if required 2020-03-22 15:35:27 +01:00
0338564bf2 Always close database connection when exiting thread 2020-03-22 15:18:27 +01:00
b4c0a14a35 Fix code style to reduce errors in RubyMine 2020-03-22 15:09:40 +01:00
30fab618a7 Kill container in new thread 2020-03-22 15:09:04 +01:00
6843f3532c Re-enable semaphore. 2020-03-22 14:42:50 +01:00
f4255f7bf0 Disable semaphore. 2020-03-22 14:05:35 +01:00
7137346c03 Reduce waiting time for semaphore 2020-03-22 13:54:23 +01:00
ff879d85a1 Restructure kill_container method to release semaphore more quickly 2020-03-22 13:22:22 +01:00
123eacb144 More logging for semaphore handling 2020-03-22 13:21:59 +01:00
3102d1529f Extract semaphore handling to own methods and add logging 2020-03-22 11:44:19 +01:00
83ba0a3f4b Allow new line characters in test results 2020-03-22 11:07:50 +01:00
1966a6e6a6 Add comment for usage of the new semaphore in the DockerClient 2020-03-22 10:42:04 +01:00
d6e7c20f3f Ensure to release semaphore even if killing container 2020-03-22 10:41:19 +01:00
2b3428b963 Add semaphore to method calls in DockerClient 2020-03-22 09:54:20 +01:00
1c5bd91fec Fix usage of semaphore for replace_broken_container 2020-03-22 00:39:58 +01:00
5be843ca00 Fix abs 2020-03-21 23:55:35 +01:00
54e1aa4f7e Add semaphore for replace_broken_container 2020-03-21 23:48:17 +01:00
c3595419a4 Add semaphore for DockerContainerPool 2020-03-21 22:56:39 +01:00
d394881447 Use other multiline operator for RegEx 2020-03-21 19:38:58 +01:00
64e6d01b9b Allow multiline Assertion Errors for python 2020-03-21 18:36:48 +01:00
b38b7bd435 Catch two more exceptions from production 2020-03-17 13:50:33 +01:00
82e560cace Add link to WebSocket test if WebSocket connection failed 2020-03-07 11:53:44 +01:00
7b953b845c Minimize flash message duration
This reverts commit 67e9fd60 partially
2020-02-03 11:37:38 +01:00
67e9fd60c1 Extend flash message duration 2020-02-02 12:35:54 +01:00
4f8fedf1bb Add R script adapter 2020-01-13 15:10:00 +01:00
2f36218aca Merge pull request #423 from openHPI/implement_codeharbor_interface
Implement codeharbor interface
2019-12-20 10:53:42 +01:00