Hi,
On Thu, Sep 27, 2018 at 11:32 PM Richard W.M. Jones rjones@redhat.com wrote:
As directed by:
https://fedoraproject.org/wiki/CI/Tests
I tried to add a test to libguestfs dist-git:
https://src.fedoraproject.org/rpms/libguestfs/blob/master/f/tests/tests.yml
It's very simple initially. It just needs to run ‘libguestfs-test-tool’ (a program installed by the libguestfs package which does some self-tests). Ideally as non-root, but I think I've set it up to run as root to start with.
Cool :)
I did a scratch build initially, but it seems like the tests only run from what's been pushed to dist-git.
That is correct. Tests are not bundled into the src.rpm.
In any case the test didn't look as if it had run. So I pushed the test to dist-git -- see above -- and did another scratch build. However I've still no real idea if the test really ran.
I got an email containing this link:
https://jenkins-continuous-infra.apps.ci.centos.org/blue/organizations/jenki...
Nice, seems fedora notifications works again :)
which looks like there are lots of failures, but it's also not clear if the test ran / tried to run / didn't run / if this link has nothing to do tests.
Yeah, sorry for that, must have been som outage. I agree seeing that is not very helpful, to somebody not experienced in the CI pipeline. Also rescheduling anything else as a pull-request testing is not easily possible currently :( In the future this should be possible via fedpkg.
So, that was the end of my experiment. Not a very good result :-(
For this time I rescheduled the run:
https://jenkins-continuous-infra.apps.ci.centos.org/blue/organizations/jenki...
Seems it will end up with something more meaningful this time ...
HTH, /M
Rich.
-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org