Dan, Two issues: 1. On the clients VM, the directory /kb/dev_container does not exist. It appears that it has been renamed /kb/dev_container.old. I'm not going to mess with it because I don't know why the rename was done. 2. Replace the following line: test_log=$(pdsh -b -u 1200 -g tester 'source /kb/deployment/user-env.sh; cd /kb/dev_container/modules/$(cat /root/service); make test 2>&1' 2>&1 | dshbak -f -d /root/testout) With the line: test_log=$(pdsh -b -u 1200 -g tester 'source /kb/deployment/user-env.sh; for module in $(cat /root/service); do host="%h"; if [ "$module" == "$host" ]; then cd /kb/dev_container/modules/$module; make test 2>&1 ; fi; done' 2>&1 | dshbak -f -d /root/testout) That should improve some things. Miriam On 8/27/13 6:10 PM, "Dan Olson" <[email protected]> wrote:
The client tests need better logic. This runs at /root/nightly_build.sh on 140.221.84.191 if you want to have a look.
I'll likely have an opportunity to fix things with it next week if you don't beat me to it.
---- Daniel Murphy-Olson Systems Administrator Mathematics & Computer Science Division Argonne National Laboratory 630-252-0055
----- Miriam L. Land <[email protected]> wrote:
Dan,
I looked at the testout.Aug21-2013-1438.tgz file. Several of the .txt files start with
bash: line 0: cd: /kb/dev_container/modules/clients: No such file or directory
This seems to correspond to the "exit code 2" in your testing errors. Is there perhaps a typo? When testing client-only modules, I would have expected to:
1. ssh clients 2. cd /kb/dev_container/modules/<module_name>
I believe that kb_seed needs a longer timeout. It has extremely long tests.
I'll look into the others.
Miriam
On 8/24/13 11:23 AM, "Dan Olson" <[email protected]> wrote:
Release team,
I think the automated testing is fairly complete in the attached version of the build script. There is a timeout set, where tests that take more than 1200 seconds to run are killed off (command timeout).
The long output of all the tests are included in the testout tarball attached.
Next step is automating the VM and DMG creation from this.
----- Forwarded Message ----- From: [email protected] To: [email protected] Sent: Saturday, August 24, 2013 9:23:51 AM Subject: KBase Nightly Build from Aug24-2013-0923
***** AUTOMATED TESTING ERRORS***** assembly: ssh exited with exit code 2 communities_api: ssh exited with exit code 2 communities_qc: ssh exited with exit code 2 erdb_service: ssh exited with exit code 2 experiment: ssh exited with exit code 2 file_type_service: command timeout file_type_service: ssh exited with exit code 143 jnomics: ssh exited with exit code 255 kbapi_common: ssh exited with exit code 255 KBaseFBAModeling: ssh exited with exit code 2 kb_model_seed: ssh exited with exit code 255 kb_seed: command timeout kb_seed: ssh exited with exit code 143 matR: ssh exited with exit code 2 microbes_model_builder: ssh exited with exit code 2 probabilistic_annotation: ssh exited with exit code 2 prom_service: command timeout prom_service: ssh exited with exit code 143 search: ssh exited with exit code 255 shock_service: ssh exited with exit code 2