SeattleTestbed / softwareupdater

Software updater daemon
MIT License
1 stars 6 forks source link

software updater tests fail on freebsd #27

Closed choksi81 closed 10 years ago

choksi81 commented 10 years ago

The software updater tests run by the continuous build fail on freebsd.

Initial ps out:

Failure to start initially
Old softwareupdater returned correctly
After ps out:

New updater failed to start!

It seems likely this is caused by the use of 'ps -ef', which on bsd doesn't work as intended. The current test uses 'ps -aww' for Darwin. I'm inclined to change it to 'ps aux' for linux/bsd and when testbed-mac is online again see if 'ps aux' works fine there, as well.

choksi81 commented 10 years ago

Author: jsamuel This would seem like it should be fixed by r3172, but it seems to only pass when I run it manually. When it is run by the continuous build, there is no output from the ps|grep commands. When the continuousbuild/tests/run_software_updater_local_tests.sh script is run manually on testbed-freebsd, the ps output the scrips sees is as expected and the test passes.

This may or may not be related to similar behavior cemeyer is seeing in #731.

choksi81 commented 10 years ago

Author: jsamuel This was fixed in in r3178, which fixed #749. Probably didn't need to make a separate ticket for that, but I thought there was going to be more than software updater tests that had the same problem. It looks like it was only these tests, though.