madecoste / swarming

Automatically exported from code.google.com/p/swarming
Apache License 2.0
0 stars 1 forks source link

Problems running tests #156

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I made https://codereview.appspot.com/142210043/ to fix a problem I saw.

However running tests has been quite hard.

1) It took me a while debugging them to realize they're broken on Windows.

2) When I ran on Linux, I hit a bunch of failures. Again, it took me a while to 
realize that they're broken on Linux even without my patch. Vadim told me over 
IM that I need to run "umask 02"

3) Even then, some tests broke because I'm running them from a different drive 
than my /tmp.

Original issue reported on code.google.com by jam@chromium.org on 17 Sep 2014 at 11:01

GoogleCodeExporter commented 9 years ago
Sadly, it's known issue. Gladly I deleted a lot of code last week so fixing it 
should be more tractable now.

Original comment by maruel@chromium.org on 17 Sep 2014 at 11:06

GoogleCodeExporter commented 9 years ago
That other bug is about #2. What about 1 & 3?

Original comment by jam@chromium.org on 18 Sep 2014 at 1:01

GoogleCodeExporter commented 9 years ago

Original comment by jam@chromium.org on 17 Nov 2014 at 6:09

GoogleCodeExporter commented 9 years ago
I did clean up tests on linux so they all pass there now. I do not frequently 
run tests on Windows so there's no chance they currently pass.

OSX does fail a single test case in isolate_test.py so it should be easy to fix.

Original comment by maruel@chromium.org on 17 Nov 2014 at 6:13

GoogleCodeExporter commented 9 years ago
Tests were fixed as part of issue 70.

Original comment by maruel@chromium.org on 10 Dec 2014 at 6:46