
Hi all,
I found that vdsm storage tests failed [1], and checked console output.= Turns out that the storage tests were fine, but the test infrastructure is broken:
21:59:17 StorageTest 21:59:17 testCreatePoolErrors = OK 21:59:23 testStorage(backendType=3D'localfs', domVersion=3D'0') = OK 22:00:40 testStorage(backendType=3D'localfs', domVersion=3D'3') = OK 22:00:50 ... 22:00:52 [vdsm_master_storage_functional_tests_localfs_gerrit] $ /bin/s= h -xe /tmp/hudson2560576493759199190.sh 22:00:52 + sudo cp /var/log/vdsm/vdsm.log 22:00:52 cp: missing destination file operand after '/var/log/vdsm/vdsm= =2Elog' 22:00:52 Try 'cp --help' for more information. 22:00:54 POST BUILD TASK : FAILURE 22:00:54 END OF POST BUILD TASK : 0 22:00:54 Archiving artifacts 22:00:55 ERROR: No artifacts found that match the file pattern "*vdsm.l= og". Configuration error? 22:00:55 ERROR: ?*vdsm.log? doesn?t match anything 22:00:55 Build step 'Archive the artifacts' changed build result to FAI= LURE 22:00:55 Recording test results 22:00:56 Build step 'Groovy Postbuild' marked build as failure 22:00:57 Finished: FAILURE
This bogus failure showed on gerrit as:
http://jenkins.ovirt.org/job/vdsm_master_storage_functional_tests_local= fs_gerrit/1100/ : FAILURE
There are 3 errors here:
1. cp command is missing an argument I fixed this in the job configuration
2. Error in artifacts archiving - probably because the previous step in=
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --A576jjlCvDbleQIbIBR6PoEa9HflwCNeN Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu 05 Jun 2014 11:31:16 PM CEST, Nir Soffer wrote: the script failed,
but nobody checks for error codes. Maybe the script should run with "set -e" ?
Not really, The postbuild tasks shell scripts have the -e flag set by=20 default, so that's already happening, that's why it failed.
3. Error in the tests environment should result in "ERROR" output on ge=
rrit, not "FAILURE". Can you please specify a way to distinguish env/infra failures from=20 test failures from the logs? All I can do is filter the logs for=20 strings matching a pattern and set one message or the other accordingly. Usually looking for the test failure string[s] to set the test failure=20 state is the best approach. Can you please open a track ticket=20 (https://fedorahosted.org/ovirt/newticket) for any future issue? Thanks!
Hopefully someone can fix these errors.
[1] http://jenkins.ovirt.org/job/vdsm_master_storage_functional_tests_l=
ocalfs_gerrit/1100/
Thanks, Nir _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
-- David Caro Red Hat S.L. Continuous Integration Engineer - EMEA ENG Virtualization R&D Email: dcaro@redhat.com Web: www.redhat.com RHT Global #: 82-62605 --A576jjlCvDbleQIbIBR6PoEa9HflwCNeN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJTkXEiAAoJEEBxx+HSYmnD23QH+wdobPPuVbmt1KFujXaUG4Hh Ciswwq76E+vTq8A7fiNzkHTmXL0RLNVkpQQqw3Tg3vo7bqYh2fnBedNRrW4KPsIz J6u2RGqPInSwb61idmbS0wqNBU/uNTrI2KPUQ78/dfMbriZ8c+8byUMARq89TGUf 9KMPiFdxZ7eX0zOjj7lp4J3QE3WgL6xOEaApKbOfGqFgXZqurcB24nH8M8bPMYmn iyVss3PuVvEM0IC8q29ahIpnBOVoWYZHWSsTQRMUfnUqOsDyzWVwLLJzM+SckgkA 4NP+CMjj0GbVb9JK5vU7yoFkw8vBQ095vhkYPD6b2jFs6m9WCflH112NhZY7so0= =nhqn -----END PGP SIGNATURE----- --A576jjlCvDbleQIbIBR6PoEa9HflwCNeN--