acat recently finished fixing our Tor Browser integration tests so that
they are running properly for Linux bundles again. We contacted boklm
but the old VM he was using is not available anymore. So, we either need
a new one or just use an existing one as the requirements for running
our tests are not particularly high. What we need:
acat, sysrqb, and gk would need access to that VM to be able to
update tests, debug issues etc.
Our tests are in our tor-browser-bundle-testsuite repository. So,
we would need to clone that one and then someone with sudo powers need
to install packages as specified in install-deps
As to RAM and CPU requirements I think essentially anything might do it
OS should be Debian stable, 64bit.
Hard disk requirements are low, too. 5GiB should be plenty in
particular as we would start with running the tests for en-US bundles
only in the beginning anyway and the test reports are not large.
The system should be able to send mail to acat, sysrqb, and gk for
test result notifications.
i'm happy to announce we have capacity again. some questions:
acat, sysrqb, and gk would need access to that VM to be able to update tests, debug issues etc.
which kind of access? shell? sudo?
Our tests are in our tor-browser-bundle-testsuite repository. So, we would need to clone that one and then someone with sudo powers need to install packages as specified in install-deps
which sudo powers? to root? can't we just install the deps for you?
As to RAM and CPU requirements I think essentially anything might do it
OS should be Debian stable, 64bit.
our basic VM is Debian stable 64bits, 8GB, 2CPUs, is that okay?
Hard disk requirements are low, too. 5GiB should be plenty in particular as we would start with running the tests for en-US bundles only in the beginning anyway and the test reports are not large.
awesome.
The system should be able to send mail to acat, sysrqb, and gk for test result notifications.
i'm happy to announce we have capacity again. some questions:
acat, sysrqb, and gk would need access to that VM to be able to update tests, debug issues etc.
which kind of access? shell? sudo?
Only shell and sudo to a common user. I'll suggest testsuite as the common
user name, but tester may be a better name.
Our tests are in our tor-browser-bundle-testsuite repository. So, we would need to clone that one and then someone with sudo powers need to install packages as specified in install-deps
which sudo powers? to root? can't we just install the deps for you?
Yes, please install the deps for us :)
We can clone the git repo, and then someone from tpa can install the
deps:
apt-get install -y python-virtualenv apt-get install -y strace # - Cwd : in core since perl 5 # - Digest::SHA : in core since perl v5.9.3 # - File::Path : in core since perl 5.001 # - File::Spec : in core since perl 5.00405 # - File::Temp : in core since perl v5.6.1 # - Getopt::Long : in core since perl 5 # - FindBin : in core since perl 5.00307 # - IO::Socket::INET in core since perl v5.6.0 # - Storable : in core since perl v5.7.3 apt-get install -y libdata-dump-perl libfile-slurp-perl \ libio-captureoutput-perl perlmagick libjson-perl \ libwww-perl liblwp-protocol-https-perl libtemplate-perl \ libyaml-syck-perl libdatetime-perl \ libemail-sender-perl libemail-simple-perl libfile-type-perl \ libipc-run-perl libxml-libxml-perl apt-get install -y nmap curl
As to RAM and CPU requirements I think essentially anything might do it
OS should be Debian stable, 64bit.
our basic VM is Debian stable 64bits, 8GB, 2CPUs, is that okay?
Yes, that sounds great :)
Hard disk requirements are low, too. 5GiB should be plenty in particular as we would start with running the tests for en-US bundles only in the beginning anyway and the test reports are not large.
awesome.
The system should be able to send mail to acat, sysrqb, and gk for test result notifications.
I'll offer tekesicola, but I'm open to other suggestions :)
we discussed this on IRC and agreed on tb-tester-01 instead. i updated the naming docs to better reflect current policy (which is to avoid onions, unfortunately). (yes, i am a soul-less documenter. ;))
everything else here is go, i'll see if i can create the VM by EOD.
er. i should also mention a HUGE caveat: you're going to be the first virtual machine hosted at our new (rather untested) Cymru cluster. it's a Ganeti cluster, like the one we have at Hetzner, so things should work the same, but as I said it's untested, so it might not behave the same and could crash and burn. it will have backups like everything else, but I thought I should mention it.
i figure it's actually a pretty good machine to test the cluster with since, well, it's going to run tests. ;) but let me know if that's a problem and i'll see if i can find a workaround.
@anarcat There are some missing deps (at least python-virtualenv and libpath-tiny-perl, probably others). I could not find a way to run a command as root (it seems sudo only lets me run commands as the tb-tester user).
root@tb-tester-01:~# dpkg -l python-virtualenvDesired=Unknown/Install/Remove/Purge/Hold| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)||/ Name Version Architecture Description+++-=================-============-============-==================================ii python-virtualenv 15.1.0+ds-2 all Python virtual environment creator
... or did you mean python3-virtualenv?
as for libpath-tiny-perl, it's the first time I hear about it. :) it's not listed in the original list you provided in this ticket, was I supposed to go through install.sh and figure out the deps myself? it doesn't look like it's listed there either... i installed it, in any case...
reopen with specific packages you need, and i'll be happy to oblige. :)
after talking with acat directly on IRC, ended up installing virtualenv and a few more dependencies here, manually on the host but also committed to puppet.