Project

Profile

Help

Task #2705

Create a jenkins job that runs pulp smash in vagrant

Added by semyers over 3 years ago. Updated over 1 year ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Recent discussions, focused on improving the reliability of our development environment, spawned the idea that it would be great to run pulp-smash within the current vagrant dev environment to ensure that the environment itself is being set up properly, and that pulp-smash is giving developers accurate feedback when they run it for themselves to test for regression while developing.

History

#1 Updated by semyers over 3 years ago

The only major blocker for this that I can see is the potential virt-in-virt problem. Our jenkins workers are currently spawned in an openstack env, so if we aren't able to do nested virtualization we may not be able to use libvirt for this. I don't know for sure that nested virt is disabled and have good reason to suspect that it will actually work just fine, we'd just need to try it and seen.

We do still support the docker provider for vagrant, so even if we can't do nested virt (or if we have to wait to get nested virt support turned on in the openstack env), we can probably still use the docker provider to accomplish the task.

Regardless of which provider we use, I suspect the workflow will be: install dev env requirements (vagrant and plugins, etc), vagrant up, vagrant ssh -- psmash (or some other pulp smash invocation if the psmash alias doesn't work).

We'll also want pulp smash to write its test output as XML for parsing by jenkins for reporting purposes, and it should be fine for this job to run nightly.

#2 Updated by bmbouter over 1 year ago

  • Status changed from NEW to CLOSED - WONTFIX

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

#3 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF