-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests: Rework tests/installed → tests/kola #2025
tests: Rework tests/installed → tests/kola #2025
Conversation
OK, a major update here, see the commit message for details. All tests passing here. Out with the Ansible, in with the kola! |
f30b528
to
56f85fc
Compare
Updated to |
Interesting, so that Travis failure is:
Worth investigating at some point. |
/override continuous-integration/travis-ci/pr |
@cgwalters: Overrode contexts on behalf of cgwalters: continuous-integration/travis-ci/pr In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is definitely a nice improvement over the Ansible stuff! I still need to think about how this contrasts to the rpm-ostree approach and the pros and cons of each. I think it would simplify a lot of things, but complicate some other things. But happy to see better coverage here! Looking forward to having this hooked up to CI soon.
LGTM overall, just one minor comment that stuck out, but not really a blocker.
Previously we made an effort to use the [Fedora Standard Test Interface](https://docs.fedoraproject.org/en-US/ci/standard-test-interface/). This effort was not very successful; the primary thing that it really died on is Ansible just didn't support rebooting very well. I think that's since gotten better, but even then, Ansible wasn't the best thing for a test framework for us anyways. In the meantime Fedora CoreOS happened emphasizing Ignition and not "post-hoc reconciliation" models like Ansible over ssh. And, [coreos-assembler](https://github.com/coreos/coreos-assembler) happened too. Furthermore, we really need to test OSTree's interaction with Ignition as we've invented several special things there. Then most recently, I've been working on having cosa/kola support running externally defined tests: coreos/coreos-assembler#1215 There's a lot of things to clean up after this but at least this works for me: ``` $ cd /srv/fcos $ cosa kola run -- --parallel 4 --output-dir tmp/kola -E ~/src/github/ostreedev/ostree/ 'ext.ostree.*' ``` NOTE: This *does not* drop ostree binaries into the target. See: coreos/coreos-assembler#1252 (comment) This drops our dependency on Python in the installed tests, and also fixes a few bugs that came up. I disabled the `itest-bare-user-root.sh` one because it's entangled with the shell script infrastructure for the unit tests.
56f85fc
to
b93180a
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgwalters, jlebon The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Previously we made an effort to use the Fedora Standard Test Interface.
This effort was not very successful; the primary thing that
it really died on is Ansible just didn't support rebooting
very well. I think that's since gotten better, but even
then, Ansible wasn't the best thing for a test framework
for us anyways.
In the meantime Fedora CoreOS happened emphasizing Ignition
and not "post-hoc reconciliation" models like Ansible over
ssh.
And, coreos-assembler happened too.
Furthermore, we really need to test OSTree's interaction
with Ignition as we've invented several special things there.
Then most recently, I've been working on having
cosa/kola support running externally defined tests:
coreos/coreos-assembler#1215
There's a lot of things to clean up after this but at least this
works for me:
NOTE: This does not drop ostree binaries into the target. See:
coreos/coreos-assembler#1252 (comment)
This drops our dependency on Python in the installed tests, and
also fixes a few bugs that came up.
I disabled the
itest-bare-user-root.sh
one because it'sentangled with the shell script infrastructure for the unit tests.