Your message dated Fri, 11 Mar 2016 12:19:59 +0000
with message-id <[email protected]>
and subject line Bug#816853: fixed in pagekite 0.5.8a-4
has caused the Debian Bug report #816853,
regarding pagekite: Fix autopkgtests and enable test-tunnel
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
816853: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816853
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pagekite
Version: 0.5.8a-2
Severity: minor
Tags: patch
The attached patch will fix some issues in both tests. I've confirmed that the
tests work as expected with adt-run.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (900, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.4.0-1-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages pagekite depends on:
ii daemon 0.6.4-1
ii python-openssl 0.15.1-2
ii python-socksipychain 2.0.15-1
pn python:any <none>
pagekite recommends no packages.
pagekite suggests no packages.
-- Configuration Files:
/etc/pagekite.d/10_account.rc [Errno 13] Permission denied:
u'/etc/pagekite.d/10_account.rc'
-- no debconf information
>From 59990f061415b7ff3355bff020b8a75ce7295c51 Mon Sep 17 00:00:00 2001
From: James Valleroy <[email protected]>
Date: Sat, 5 Mar 2016 13:52:38 -0500
Subject: [PATCH] Fix autopkgtests and enable test-tunnel.
---
debian/tests/control | 4 ++--
debian/tests/test-client-running | 3 +++
debian/tests/test-tunnel | 15 ++++++++++-----
3 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/debian/tests/control b/debian/tests/control
index 2f5c4b8..48daa67 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,4 +1,4 @@
-Depend: @
-Tests: test-client-running
+Depends: @
+Tests: test-client-running, test-tunnel
Restrictions: needs-root
diff --git a/debian/tests/test-client-running b/debian/tests/test-client-running
index 495908e..ffc3836 100755
--- a/debian/tests/test-client-running
+++ b/debian/tests/test-client-running
@@ -1,5 +1,7 @@
#!/bin/sh
+set -e
+
PATH=/usr/sbin:$PATH
export PATH
@@ -12,6 +14,7 @@ if service pagekite status; then
echo "success: service running"
else
echo "error: service is not running"
+ exit 1
fi
service pagekite stop 2>&1
diff --git a/debian/tests/test-tunnel b/debian/tests/test-tunnel
index 5dcc2c6..14eced0 100755
--- a/debian/tests/test-tunnel
+++ b/debian/tests/test-tunnel
@@ -1,14 +1,14 @@
#!/bin/sh
#
-# Set up pagekite on localhost to tunnel from port 80 (http) to port
-# 113 (ident) to allow the ident server to be queried using port 80.
+# Set up pagekite on localhost to tunnel from port 8080 to port 113
+# (ident) to allow the ident server to be queried using port 8080.
set -e
-set -x
SECRET=foo # FIXME replace by something random
DNSNAME=$(hostname)
identport=113
+test_error=no
echo "starting frontend"
pagekite \
@@ -27,13 +27,18 @@ backpid=$!
sleep 10
echo "trying to connect to ident server via pagekite"
-if echo | nc localhost http; then
+if echo | nc localhost 8080; then
echo success
else
echo error
+ test_error=yes
fi
echo "stopping pagekite processes"
kill $frontpid $backpid
sleep 5
-kill -9 $frontpid $backpid
+kill -9 $frontpid $backpid 2>/dev/null || true
+
+if [ "$test_error" = "yes" ]; then
+ exit 1
+fi
--
2.7.0
--- End Message ---
--- Begin Message ---
Source: pagekite
Source-Version: 0.5.8a-4
We believe that the bug you reported is fixed in the latest version of
pagekite, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Petter Reinholdtsen <[email protected]> (supplier of updated pagekite package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 11 Mar 2016 12:53:14 +0100
Source: pagekite
Binary: pagekite
Architecture: source
Version: 0.5.8a-4
Distribution: unstable
Urgency: medium
Maintainer: FreedomBox packaging team
<[email protected]>
Changed-By: Petter Reinholdtsen <[email protected]>
Description:
pagekite - Make localhost servers publicly visible
Closes: 816853
Changes:
pagekite (0.5.8a-4) unstable; urgency=medium
.
* Corrected autopkgtest setup, need netcat installed during
test (Closes: #816853).
Checksums-Sha1:
71a269aa2da4babeb7098deee24258b755be3dd1 2148 pagekite_0.5.8a-4.dsc
67f22f5340ac7df25dd1f7531af7970452a141e9 18620 pagekite_0.5.8a-4.debian.tar.xz
Checksums-Sha256:
1077e4ef92be3db7f46ec2d1fe1bd8f12b721f815f6d33790b780c23d4fffab8 2148
pagekite_0.5.8a-4.dsc
a3379fd625a6800cd993bf68997127cd0b49988f3383cf86cd8399580cc8b197 18620
pagekite_0.5.8a-4.debian.tar.xz
Files:
8a988dc96369bd262ba9dbdf5c594f25 2148 net optional pagekite_0.5.8a-4.dsc
f7fcd06ad8a001b2af6d2e3c6e516dd7 18620 net optional
pagekite_0.5.8a-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJW4rHlAAoJEIEoCqCHuvsOToAP/R1oyKLMiI71wkYLvVV3iIs/
MViy3X9NinVBoLFRe6sVKorzxplXDgtDfQWs4lTaZOj9bd6GLR89DrxEVpZI7x1K
yGrZIrlxMt20icRSqJq+QgXsd1QRdc2ubxAp9CL9RdCFP//Hjlga8jmM3rc/4kEP
rZyM7+k/2vf8+0VXPDp9Ytk5MtOXJY5xdBh5jEIds64aZhFwLsLcBxYqtHjpyj25
cQd3/WnuCsGjYI/LSpA0Xb89Q6LoJo/kvlBQLhPVpfJpkqkKTyO2C9zJ6Qz5zFic
W91NAtH1yN0a0711okHjP/VT0SCWP5sWQ2DGTxrO5FAJxMPD09+IJtxCINN0C+LD
PFJIa6IwxXaj+wFkZOqlP6RwSMzy0ljbLBXPRkyDKv7hswRbeNj3pr+jieDrnxus
4EatiXUPCpcWItuPRWeJ53dDoZmgfUvb23cpSu5GvRoH9JwYsNOJTA4cBwqmIIlT
KaNg7YN3tgDbGGQhmPSGv8kYUReVDdgB0/Gkayx4butYY/VqZJdaNGKfCYvKSGkR
es0nH29JUqB6LNNZsSbTW3L166JBcIOsdIkYVHSKPxsTVru8B4xcGIauK6m8z0cG
UIsd/M3VBOOGk6k+VXSoX7RGRaAHTKE3cacsCdEVpH2+wGDcX+mGXKe8Wj0R0YY3
4hw+AWLeaNdc5hbg8WXZ
=O0EM
-----END PGP SIGNATURE-----
--- End Message ---