[Privoxy-commits] [privoxy] branch master updated: Remove test scenario acl-destination-permitted for now
User Git
git at git.privoxy.org
Mon Jan 13 13:31:55 CET 2025
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository privoxy.
The following commit(s) were added to refs/heads/master by this push:
new 74ba0f21 Remove test scenario acl-destination-permitted for now
74ba0f21 is described below
commit 74ba0f21c93073a179556985900c66fce4f614cb
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Mon Jan 13 13:30:29 2025 +0100
Remove test scenario acl-destination-permitted for now
As it turns out it no longer works reliably either on my system
and sometimes fails with:
fk at t520 ~/git/privoxy/tests/cts $./run-privoxy-tests.sh -t acl-destination-permitted
Test scenario: acl-destination-permitted
Overwriting default TESTDIR with /home/fk/git/privoxy/tests/cts/acl-destination-permitted/data
********* System characteristics ********
* curl 7.85.0-DEV (amd64-unknown-freebsd14.2)
* libcurl/7.85.0-DEV OpenSSL/3.0.15 zlib/1.3.1 libidn2/2.3.7 libpsl/0.21.5 (+libidn2/2.3.7) nghttp2/1.64.0
* Features: alt-svc AsynchDNS Debug HSTS HTTP2 HTTPS-proxy IDN IPv6 Largefile libz NTLM NTLM_WB PSL SSL threadsafe TLS-SRP TrackMemory UnixSockets
* Disabled:
* Host: t520.local
* System: ElectroBSD t520.local 14.2-STABLE ElectroBSD 14.2-STABLE #49 electrobsd-14-n270357-5e1b07e1e6c2: 2025-01-07 14:31:47 +0000 fk at t520.local:/usr/obj/usr/src/amd64.amd64/sys/ELECTRO_BEER amd64
* OS: freebsd
*
*** DISABLES memory tracking when using threaded resolver
*
* Servers: SSL HTTP-IPv6 HTTP-unix FTP-IPv6
* Env:
* Seed: 262633
*****************************************
RUN: Unknown server on our http port: 20000 (56)
RUN: HTTP server failed verification
== Contents of files in the log/ dir after test 1
=== Start of file http_server.log
13:29:31.160958 Running HTTP IPv4 version on port 20000
13:29:31.161374 Wrote pid 8319 to .http_server.pid
13:29:31.161492 Wrote port 20000 to .http_server.port
13:29:32.168162 exit_signal_handler: 15
13:29:32.168353 signalled to die
13:29:32.168631 ========> IPv4 sws (port 20000 pid: 8319) exits with signal (15)
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x2d09b0b08808; line 1881 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* family0 == v4, family1 == v6
* Trying 127.0.0.1:9119...
* STATE: CONNECT => CONNECTING handle 0x2d09b0b08808; line 1942 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 9119 (#0)
* STATE: CONNECTING => PROTOCONNECT handle 0x2d09b0b08808; line 2076 (connection #0)
* STATE: PROTOCONNECT => DO handle 0x2d09b0b08808; line 2097 (connection #0)
> GET http://127.0.0.1:20000/verifiedserver HTTP/1.1
> Host: 127.0.0.1:20000
> User-Agent: curl/7.85.0-DEV
> Accept: */*
> Proxy-Connection: Keep-Alive
>
* STATE: DO => DID handle 0x2d09b0b08808; line 2193 (connection #0)
* STATE: DID => PERFORMING handle 0x2d09b0b08808; line 2312 (connection #0)
* Recv failure: Connection reset by peer
* multi_done: status: 56 prem: 1 done: 0
* The cache now contains 0 members
* Closing connection 0
* Expire cleared (transfer 0x2d09b0b08808)
=== End of file http_verify.log
test 0001 SKIPPED: failed starting HTTP server
TESTDONE: 1 tests were considered during 6 seconds.
TESTINFO: 1 tests were skipped due to these restraints:
TESTINFO: "failed starting HTTP server" 1 time (1)
TESTFAIL: No tests were performed
TESTFAIL: Nothing matched these keywords: https http
This reverts commit 5415008eafe007b95daa7801ff53bcf13ae52a6a.
---
tests/cts/acl-destination-permitted/data/test1 | 32 ------------------------
tests/cts/acl-destination-permitted/privoxy.conf | 19 --------------
2 files changed, 51 deletions(-)
diff --git a/tests/cts/acl-destination-permitted/data/test1 b/tests/cts/acl-destination-permitted/data/test1
deleted file mode 100644
index fb726451..00000000
--- a/tests/cts/acl-destination-permitted/data/test1
+++ /dev/null
@@ -1,32 +0,0 @@
-<testcase>
-<info>
-<keywords>
-HTTP
-HTTP GET
-</keywords>
-</info>
-
-<reply>
-<data>
-HTTP/1.1 200 OK
-Connection: close
-Content-Type: text/html
-Content-Length: 14
-
-Blafaseldieda
-</data>
-</reply>
-
-<client>
-<server>
-http
-</server>
-<name>
-Request from permitted IP address to permitted destination address
-</name>
-<command>
-http://%HOSTIP:%HTTPPORT/%TESTNUMBER
-</command>
-</client>
-
-</testcase>
diff --git a/tests/cts/acl-destination-permitted/privoxy.conf b/tests/cts/acl-destination-permitted/privoxy.conf
deleted file mode 100644
index d738cd88..00000000
--- a/tests/cts/acl-destination-permitted/privoxy.conf
+++ /dev/null
@@ -1,19 +0,0 @@
-listen-address 127.0.0.1:9119
-
-debug 1 # Log the destination for each request Privoxy let through. See also debug 1024.
-debug 2 # show each connection status
-debug 4 # show tagging-related messages
-debug 8 # show header parsing
-debug 32 # debug force feature
-debug 64 # debug regular expression filters
-debug 128 # debug redirects
-debug 256 # debug GIF de-animation
-debug 512 # Common Log Format
-debug 1024 # Log the destination for requests Privoxy didn't let through, and the reason why.
-debug 4096 # Startup banner and warnings.
-debug 8192 # Non-fatal errors
-
-deny-access 127.0.0.1 127.0.0.2
-deny-access 127.0.0.2 127.0.0.1
-permit-access 127.0.0.1 127.0.0.1
-
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list