>>> mmar: Building testing/mmar 0.2.5-r0 (using abuild 3.15.0_rc3-r1) started Sun, 27 Apr 2025 13:15:49 +0000 >>> mmar: Validating /home/buildozer/aports/testing/mmar/APKBUILD... >>> mmar: Analyzing dependencies... >>> mmar: Installing for build: build-base go (1/2) Installing go (1.24.2-r1) (2/2) Installing .makedepends-mmar (20250427.131553) Executing busybox-1.37.0-r16.trigger OK: 532 MiB in 112 packages >>> mmar: Cleaning up srcdir >>> mmar: Cleaning up pkgdir >>> mmar: Cleaning up tmpdir >>> mmar: Fetching https://distfiles.alpinelinux.org/distfiles/edge/mmar-0.2.5.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> mmar: Fetching https://github.com/yusuf-musleh/mmar/archive/v0.2.5/mmar-0.2.5.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1154k 100 1154k 0 0 1881k 0 --:--:-- --:--:-- --:--:-- 1881k >>> mmar: Fetching https://distfiles.alpinelinux.org/distfiles/edge/mmar-0.2.5.tar.gz >>> mmar: Checking sha512sums... mmar-0.2.5.tar.gz: OK >>> mmar: Unpacking /var/cache/distfiles/edge/mmar-0.2.5.tar.gz... ? github.com/yusuf-musleh/mmar/cmd/mmar [no test files] ? github.com/yusuf-musleh/mmar/constants [no test files] ? github.com/yusuf-musleh/mmar/internal/client [no test files] ? github.com/yusuf-musleh/mmar/internal/logger [no test files] ? github.com/yusuf-musleh/mmar/internal/protocol [no test files] ? github.com/yusuf-musleh/mmar/internal/server [no test files] ? github.com/yusuf-musleh/mmar/internal/utils [no test files] === RUN TestSimulation 2025/04/27 13:16:07 Started local dev server on: http://localhost:43737 2025/04/27 13:16:07 Starting mmar server... Starting HTTP Server on port: 3376 Starting TCP Sever on port: 6673 2025/04/27 13:16:07 HTTP Server started successfully! Listening for HTTP Requests on 3376... 2025/04/27 13:16:07 TCP Server started successfully! Listening for TCP Connections on port 6673... 2025/04/27 13:16:09 Starting mmar client... Creating tunnel: Tunnel Host: localhost Local Port: 43737 2025/04/27 13:16:09 [c3cwri] Tunnel created: [::1]:50248 2025/04/27 13:16:09 Tunnel created successfully! A mmar tunnel is now open on: >>> http://c3cwri.localhost:3376 -> http://localhost:43737 2025/04/27 13:16:09 [c3cwri] "GET /get-fail HTTP/1.1" 400 181 2025/04/27 13:16:09 http: panic serving 127.0.0.1:59854: crashing devserver goroutine 168 [running]: net/http.(*conn).serve.func1() net/http/server.go:1947 +0xb4 panic({0x2aca6d62c0?, 0x2aca758f10?}) runtime/panic.go:792 +0x108 github.com/yusuf-musleh/mmar/simulations/devserver.handleCrashingReq({0x3f600242e0?, 0x2aca3314c8?}, 0x10?) github.com/yusuf-musleh/mmar/simulations/devserver/main.go:224 +0x30 net/http.HandlerFunc.ServeHTTP(0x3f60232000?, {0x2aca75d6d8?, 0x3f606e60e0?}, 0x2aca58d628?) net/http/server.go:2294 +0x5c net/http.(*ServeMux).ServeHTTP(0x0?, {0x2aca75d6d8, 0x3f606e60e0}, 0x3f60288780) net/http/server.go:2822 +0x1d8 net/http.serverHandler.ServeHTTP({0x3f60201410?}, {0x2aca75d6d8?, 0x3f606e60e0?}, 0x1?) net/http/server.go:3301 +0xf8 net/http.(*conn).serve(0x3f606d8000, {0x2aca75d948, 0x3f60126420}) net/http/server.go:2102 +0x544 created by net/http.(*Server).Serve in goroutine 6 net/http/server.go:3454 +0x40c 2025/04/27 13:16:09 http: panic serving 127.0.0.1:59870: crashing devserver goroutine 184 [running]: net/http.(*conn).serve.func1() net/http/server.go:1947 +0xb4 panic({0x2aca6d62c0?, 0x2aca758f10?}) runtime/panic.go:792 +0x108 github.com/yusuf-musleh/mmar/simulations/devserver.handleCrashingReq({0x3f59f722b0?, 0x2aca3314c8?}, 0x10?) github.com/yusuf-musleh/mmar/simulations/devserver/main.go:224 +0x30 net/http.HandlerFunc.ServeHTTP(0x3f60232000?, {0x2aca75d6d8?, 0x3f53f8e000?}, 0x2aca58d628?) net/http/server.go:2294 +0x5c net/http.(*ServeMux).ServeHTTP(0x0?, {0x2aca75d6d8, 0x3f53f8e000}, 0x3f60300280) net/http/server.go:2822 +0x1d8 net/http.serverHandler.ServeHTTP({0x3f60201230?}, {0x2aca75d6d8?, 0x3f53f8e000?}, 0x1?) net/http/server.go:3301 +0xf8 net/http.(*conn).serve(0x3f601442d0, {0x2aca75d948, 0x3f60126420}) net/http/server.go:2102 +0x544 created by net/http.(*Server).Serve in goroutine 6 net/http/server.go:3454 +0x40c 2025/04/27 13:16:09 [c3cwri] "GET /crash HTTP/1.1" 200 59 2025/04/27 13:16:09 [c3cwri] "POST /redirect HTTP/1.1" 302 0 2025/04/27 13:16:09 [c3cwri] "POST /post HTTP/1.1" 200 270 2025/04/27 13:16:09 [c3cwri] "INVALID_METHOD /get HTTP/1.1" 200 194 2025/04/27 13:16:09 [c3cwri] "GET /get?first=query+param&second=param+%26+last HTTP/1.1" 200 245 2025/04/27 13:16:09 [c3cwri] "GET /bad-resp HTTP/1.1" 500 89 2025/04/27 13:16:09 [c3cwri] "POST /post-fail HTTP/1.1" 400 276 2025/04/27 13:16:10 [c3cwri] "POST /post HTTP/1.1" 413 17 2025/04/27 13:16:12 [c3cwri] "POST /post HTTP/1.1" 408 28 2025/04/27 13:16:12 [c3cwri] "POST /post HTTP/1.1" 408 28 2025/04/27 13:16:39 [c3cwri] "GET /long-running HTTP/1.1" 200 43 2025/04/27 13:16:39 [c3cwri] "GET /get HTTP/1.1" 200 240 2025/04/27 13:16:40 [c3cwri] "POST /post HTTP/1.1" 200 1333573 cancelled, client cancelled, server 2025/04/27 13:16:40 [c3cwri] Client disconnected: [::1]:50248, closing tunnel... 2025/04/27 13:16:43 [c3cwri] Tunnel connection closed: [::1]:50248 2025/04/27 13:16:44 Gracefully shutting down server... --- PASS: TestSimulation (42.13s) PASS ok github.com/yusuf-musleh/mmar/simulations 42.286s ? github.com/yusuf-musleh/mmar/simulations/devserver [no test files] ? github.com/yusuf-musleh/mmar/simulations/dnsserver [no test files] >>> mmar: Entering fakeroot... >>> mmar*: Running postcheck for mmar >>> mmar*: Preparing package mmar... >>> mmar*: Stripping binaries >>> mmar*: Scanning shared objects >>> mmar*: Tracing dependencies... go so:libc.musl-riscv64.so.1 >>> mmar*: Package size: 6.4 MB >>> mmar*: Compressing data... >>> mmar*: Create checksum... >>> mmar*: Create mmar-0.2.5-r0.apk >>> mmar: Build complete at Sun, 27 Apr 2025 13:16:50 +0000 elapsed time 0h 1m 1s >>> mmar: Cleaning up srcdir >>> mmar: Cleaning up pkgdir >>> mmar: Uninstalling dependencies... (1/2) Purging .makedepends-mmar (20250427.131553) (2/2) Purging go (1.24.2-r1) Executing busybox-1.37.0-r16.trigger OK: 343 MiB in 110 packages >>> mmar: Updating the testing/riscv64 repository index... >>> mmar: Signing the index...