Feature #8086

Test our vagrant-libvirt -based build system with Jessie's Vagrant

Added by intrigeri 2014-10-13 02:19:43 . Updated 2016-03-15 13:04:40 .

Status:
Resolved
Priority:
High
Assignee:
Category:
Build system
Target version:
Start date:
2014-10-13
Due date:
% Done:

100%

Feature Branch:
feature/6354-vagrant-libvirt
Type of work:
Test
Blueprint:

Starter:
0
Affected tool:
Deliverable for:

Description

Vagrant 1.6.5+dfsg1-1 got uploaded to Debian, and will likely be part of Jessie. As long as our main “easy” build system is using Vagrant, we should try to support that version.


Subtasks


History

#1 Updated by intrigeri 2014-10-13 02:20:47

  • Priority changed from Normal to High
  • Target version set to Hole in the Roof
  • Parent task set to Bug #7527

(Re-parenting, setting metadata to be the same as the parent.)

#2 Updated by kytv 2014-11-25 21:54:17

  • Starter set to No

1.6.x does not work with the current build system

#3 Updated by intrigeri 2014-11-26 07:34:05

> 1.6.x does not work with the current build system

May you please be a little bit more specific? (error messages)

#4 Updated by intrigeri 2014-11-30 11:29:28

  • Assignee set to kytv
  • QA Check set to Info Needed

#5 Updated by kytv 2015-01-09 14:40:02

Sorry for not seeing this earlier.

It’s the problem you mentioned in https://mailman.boum.org/pipermail/tails-dev/2014-July/006258.html with Vagrant no longer allowing being imported as a library. I’ll get Vagrant setup again so I can get the error for documentation purposes.

#6 Updated by _adamb 2015-07-13 08:31:28

kytv wrote:
> Sorry for not seeing this earlier.
>
> It’s the problem you mentioned in https://mailman.boum.org/pipermail/tails-dev/2014-July/006258.html with Vagrant no longer allowing being imported as a library. I’ll get Vagrant setup again so I can get the error for documentation purposes.

Vagrant (as of 1.7.3) does still allow being imported as a library. The problem appears to be ruby load paths from invocation of rake (ie the rake gem is not correctly aware of where the vagrant gem library should be found).

I have version above working in a still-testing-state.

Please note the patch at https://mailman.boum.org/pipermail/tails-dev/2015-July/009270.html currently works for the upstream Vagrant vagrant 1.7.3 package (DEB/RPM).

The native jessie vagrant 1.6.5+dfsg1-2 from Debian repo appears to be re-packaged as a gem consequently with completely different file path structure, but if the Rakefile for building Tails does not work under the native jessie gem, then a variant of the patch to include vagrant.rb etc. should fix the issue.

#7 Updated by hybridwipe 2015-08-26 21:48:34

_adamb wrote:
> kytv wrote:
> > Sorry for not seeing this earlier.
> >
> > It’s the problem you mentioned in https://mailman.boum.org/pipermail/tails-dev/2014-July/006258.html with Vagrant no longer allowing being imported as a library. I’ll get Vagrant setup again so I can get the error for documentation purposes.
>
> Vagrant (as of 1.7.3) does still allow being imported as a library. The problem appears to be ruby load paths from invocation of rake (ie the rake gem is not correctly aware of where the vagrant gem library should be found).
>
> I have version above working in a still-testing-state.
>
> Please note the patch at https://mailman.boum.org/pipermail/tails-dev/2015-July/009270.html currently works for the upstream Vagrant vagrant 1.7.3 package (DEB/RPM).

I tried this patch and vagrant 1.7.4 (what’s in unstable currently), and it fails:
rake aborted!
NameError: uninitialized constant Bundler
/home/austin/src/tails/Rakefile:24:in `<top (required)>’
(See full trace by running task with —trace)

#8 Updated by intrigeri 2015-09-01 04:39:47

> I tried this patch and vagrant 1.7.4 (what’s in unstable currently), and it fails:

Thanks. I wasn’t too hopeful given that patch felt very specific to how the upstream .deb is structured.

#9 Updated by intrigeri 2016-02-21 21:37:13

  • Subject changed from Test our build system with Vagrant 1.6.x to Test our vagrant-libvirt -based build system with Jessie's Vagrant
  • Assignee changed from kytv to anonym
  • Parent task changed from Bug #7527 to Feature #6354
  • Feature Branch set to feature/6354-vagrant-libvirt

Let’s not bother with VirtualBox -based Vagrant anymore, and focus on completing the port to libvirt. So this ticket becomes interesting to know whether the new build system can work on Jessie.

#10 Updated by intrigeri 2016-02-22 00:08:22

  • Target version changed from Hole in the Roof to Tails_2.3

#11 Updated by intrigeri 2016-03-12 10:29:29

  • Priority changed from High to Normal

#12 Updated by anonym 2016-03-15 13:04:40

  • Status changed from Confirmed to Resolved
  • Assignee deleted (anonym)
  • Priority changed from Normal to High
  • % Done changed from 0 to 100
  • QA Check changed from Info Needed to Pass

It does not work, per Feature #6354#note-16.

Edit: I had a brain fart, and wrote the complete opposite first.