Commit 48c7229f authored by Holger Levsen's avatar Holger Levsen

torbrowser-launcher: drop all jobs and code, as noone was paying attention to this for >2 years

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent d026592c
......@@ -201,16 +201,6 @@ usage: reproducible_setup_notify.py [-h] [-o] [-p PACKAGES [PACKAGES ...]]
* Finally, there are also jobs testing the link:http://www.coreboot.org/[coreboot], link:https://openwrt.org/[OpenWrt], link:http://www.netbsd.org/[NetBSD] and https://www.freebsd.org/[FreeBSD] projects. The results of the tests can be seen respectively at https://tests.reproducible-builds.org/coreboot/, https://tests.reproducible-builds.org/openwrt/, https://tests.reproducible-builds.org/netbsd/ and https://tests.reproducible-builds.org/freebsd/.
=== torbrowser-launcher jobs
link:https://www.torproject.org/projects/torbrowser.html.en[Tor Browser] is not part of Debian. To easily and securely use it, one can run <pre>sudo apt-get install torbrowser-launcher</pre> and then run torbrowser-launcher which will download Tor Browser and well, launch it. And this sometimes breaks, when things change, which is rather frequently the case…
There is a link:https://jenkins.debian.net/view/torbrowser/[graphical status overview of torbrowser tests on Debian] which are tests installing torbrowser-launcher on and from sid, stretch, jessie-backports, jessie and wheezy-backports, which first download torbrowser via https and via tor, then launches it to finally connect to a debian mirror via an onion-address and then to www.debian.org. In addition to these there are also tests installing the package from stretch on jessie as well as the package from sid on stretch and jessie. Finally there are also tests for building the package from our git branches for various suites and finally there's a daily build of the package based on the upstream git master branch merged with our sid packaging.
There are 17 different tests currently and they are configured in just two files, a 220 line link:https://salsa.debian.org/qa/jenkins.debian.net/blob/master/job-cfg/torbrowser-launcher.yaml[yaml file defining the jenkins jobs] and 528 lines of link:https://salsa.debian.org/qa/jenkins.debian.net/blob/master/bin/test_torbrowser-launcher.sh[bash script containing the actual test code].
These tests are executed either daily or weekly (those testing the package from ftp.d.o) or on every commit and at least once every month (those testing the package build from git).
=== jenkins.d.n jobs
These are jobs for making sure jenkins.debian.net is running smoothly.
......
......@@ -468,25 +468,6 @@ correctly, Guix is ready for work.
Development of these tests has stopped. In future we will use https://openqa.debian.net instead.
=== torbrowser-launcher_*
* fix "schroot session cleanup loop" in _common.sh to ignore other schroots
* test tbl in German
** edit '~/.config/torbrowser/settings' file and modify the latest_version setting
** get version from '~/.cache/torbrowser/download/RecommendedTBBVersions'
** (warning: on update checks these files are written again…)
* fix broken screenshot while job is running via apache redirect
* notifications should go somewhere public, after a while of testing.
* run this in qemu and enable apparmor too? -> create new tests for apparmor first :)
** extend setup_schroot.sh to also setup virtual harddrives, see http://diogogomes.com/2012/07/13/debootstrap-kvm-image/
** install linux, grub and copy the testscript and ssh keys on the the fs
** configure apparmor
** boot qemu
** ssh into the vm and run the script as usal
** touch -d "$(date -u -d '25 hours ago' '+%Y-%m-%d %H:%M')" $FILE
*** repeat test…
* run upstream tests on stable and sid too: https://trac.torproject.org/projects/tor/wiki/doc/TorBrowser/Hacking#QAandTesting ?
== Further ideas...
......
......@@ -185,9 +185,8 @@ build_jenkins_job_health_page() {
FILTER[23]="g-i-installation_.*rescue"
FILTER[24]="g-i-installation_debian-edu_jessie"
FILTER[25]="g-i-installation_debian-edu_stretch"
FILTER[26]="torbrowser-launcher"
FILTER[27]="debian-archive-keyring"
FILTER[28]="live:pu-build"
FILTER[26]="debian-archive-keyring"
FILTER[27]="live:pu-build"
numfilters=${#FILTER[@]}
let numfilters-=1 # that's what you get when you start counting from 0
echo "$(date -u) - starting to write jenkins_job_health page."
......
#!/bin/bash
# vim: set noexpandtab:
# Copyright © 2012-2017 Holger Levsen <holger@layer-acht.org>
# Copyright © 2012-2018 Holger Levsen <holger@layer-acht.org>
# © 2013 Antonio Terceiro <terceiro@debian.org>
# © 2014 Joachim Breitner <nomeata@debian.org>
# © 2015-2018 MAttia Rizzolo <mattia@debian.org>
......@@ -27,16 +27,10 @@ declare -a EXTRA_SOURCES
for i in $(seq 0 7) ; do
EXTRA_SOURCES[$i]=""
done
CONTRIB=""
if [ "$1" = "torbrowser-launcher" ] ; then
CONTRIB="contrib"
shift
fi
if [ "$1" = "backports" ] ; then
EXTRA_SOURCES[2]="deb $MIRROR ${SUITE}-backports main $CONTRIB"
EXTRA_SOURCES[3]="deb-src $MIRROR ${SUITE}-backports main $CONTRIB"
EXTRA_SOURCES[2]="deb $MIRROR ${SUITE}-backports main"
EXTRA_SOURCES[3]="deb-src $MIRROR ${SUITE}-backports main"
shift
fi
......@@ -72,11 +66,11 @@ sudo chmod +x $SCHROOT_TARGET # workaround #844220 / #872812
if [ "$SUITE" = "experimental" ] ; then
# experimental cannot be bootstrapped
SUITE=sid
EXTRA_SOURCES[0]="deb $MIRROR experimental main $CONTRIB"
EXTRA_SOURCES[1]="deb-src $MIRROR experimental main $CONTRIB"
EXTRA_SOURCES[0]="deb $MIRROR experimental main"
EXTRA_SOURCES[1]="deb-src $MIRROR experimental main"
elif [ "$SUITE" != "unstable" ] && [ "$SUITE" != "sid" ] ; then
EXTRA_SOURCES[6]="deb http://security.debian.org $SUITE/updates main $CONTRIB"
EXTRA_SOURCES[7]="deb-src http://security.debian.org $SUITE/updates main $CONTRIB"
EXTRA_SOURCES[6]="deb http://security.debian.org $SUITE/updates main"
EXTRA_SOURCES[7]="deb-src http://security.debian.org $SUITE/updates main"
fi
......@@ -119,8 +113,8 @@ bootstrap() {
# configure the APT sources
sudo tee "$SCHROOT_TARGET/etc/apt/sources.list" > /dev/null <<-__END__
# generated by $BUILD_URL
deb $MIRROR $SUITE main $CONTRIB
deb-src $MIRROR $SUITE main $CONTRIB
deb $MIRROR $SUITE main
deb-src $MIRROR $SUITE main
__END__
for i in $(seq 0 7) ; do
[ -z "${EXTRA_SOURCES[$i]}" ] || echo "${EXTRA_SOURCES[$i]}" | sudo tee -a $SCHROOT_TARGET/etc/apt/sources.list >/dev/null
......
This diff is collapsed.
......@@ -57,7 +57,7 @@
url: http://www.profitbricks.co.uk
text: Sponsored by Profitbricks
icon: /userContent/images/profitbricks-24x24.png
description: '{my_description}<br><br>Job configuration source is <a href="https://salsa.debian.org/qa/jenkins.debian.net/blob/master/job-cfg/torbrowser-launcher.yaml">piuparts.yaml</a>.'
description: '{my_description}<br><br>Job configuration source is <a href="https://salsa.debian.org/qa/jenkins.debian.net/blob/master/job-cfg/piuparts.yaml">piuparts.yaml</a>.'
logrotate:
daysToKeep: 90
numToKeep: 20
......
This diff is collapsed.
# see https://wiki.jenkins-ci.org/display/JENKINS/Log+Parser+Plugin
# list of warnings here...
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment