kbase / kb_sdk

Build and test new apps for the KBase platform
http://kbase.github.io/kb_sdk_docs
MIT License
26 stars 32 forks source link

Virtualize tests #313

Closed jayrbolton closed 6 years ago

jayrbolton commented 6 years ago

This is a start at getting the tests to run in an Ubuntu VM using Vagrant. The Vagrant image can be found here: https://app.vagrantup.com/kbase/boxes/kb-sdk-test. The tests can be run with make test-vagrant.

I updated the test_dependencies.md document to add a lot more details and organization.

I haven't yet gotten the tests to work and currently get a variety of failures. I think the only way to work towards fixing them would be to "wolf fence" out all the tests and get them to run one section at a time -- lots of work.

jayrbolton commented 6 years ago

Updated so base is develop instead of master

jayrbolton commented 6 years ago

Poked at this some more and got some more tests passing. Still some failing tests with Perl, callback server, etc. Test logs here: https://gist.github.com/jayrbolton/32a7423c61e52ae8cadfaf6058c3cbaf

Right now the output for these tests is really verbose, almost 9,000 lines long, and it's very hard to see what's happening. Would like to reduce this

jayrbolton commented 6 years ago

@sychan maybe we can merge this? Would like to build on this virtualbox image provided here in other branches (eg the python3 branch). Also, maybe we should merge master into develop to get the docs updates that I made, which went into master directly. I'd like to do a docs update that links the new sphinx website.