>>> mmar: Building testing/mmar 0.2.5-r1 (using abuild 3.15.0_rc3-r3) started Thu, 15 May 2025 06:22:23 +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.3-r1) (2/2) Installing .makedepends-mmar (20250515.062228) Executing busybox-1.37.0-r17.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 >>> 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/05/15 06:22:43 Started local dev server on: http://localhost:35725 2025/05/15 06:22:43 Starting mmar server... Starting HTTP Server on port: 3376 Starting TCP Sever on port: 6673 2025/05/15 06:22:43 HTTP Server started successfully! Listening for HTTP Requests on 3376... 2025/05/15 06:22:43 TCP Server started successfully! Listening for TCP Connections on port 6673... 2025/05/15 06:22:45 Starting mmar client... Creating tunnel: Tunnel Host: localhost Local Port: 35725 2025/05/15 06:22:45 [q8uiqs] Tunnel created: [::1]:47756 2025/05/15 06:22:45 Tunnel created successfully! A mmar tunnel is now open on: >>> http://q8uiqs.localhost:3376 -> http://localhost:35725 2025/05/15 06:22:45 [q8uiqs] "GET /get?first=query+param&second=param+%26+last HTTP/1.1" 200 245 2025/05/15 06:22:45 [q8uiqs] "POST /post HTTP/1.1" 200 270 2025/05/15 06:22:45 [q8uiqs] "POST /redirect HTTP/1.1" 302 0 2025/05/15 06:22:45 http: panic serving 127.0.0.1:33268: crashing devserver goroutine 198 [running]: net/http.(*conn).serve.func1() net/http/server.go:1947 +0xb4 panic({0x2ae288e200?, 0x2ae2910e50?}) runtime/panic.go:792 +0x108 github.com/yusuf-musleh/mmar/simulations/devserver.handleCrashingReq({0x3f488ae580?, 0x2ae24e84c8?}, 0x10?) github.com/yusuf-musleh/mmar/simulations/devserver/main.go:224 +0x30 net/http.HandlerFunc.ServeHTTP(0x3f481ba000?, {0x2ae2915618?, 0x3f3ff2c1c0?}, 0x2ae2744750?) net/http/server.go:2294 +0x5c net/http.(*ServeMux).ServeHTTP(0x0?, {0x2ae2915618, 0x3f3ff2c1c0}, 0x3f4815e8c0) net/http/server.go:2822 +0x1d8 net/http.serverHandler.ServeHTTP({0x3f48898090?}, {0x2ae2915618?, 0x3f3ff2c1c0?}, 0x1?) net/http/server.go:3301 +0xf8 net/http.(*conn).serve(0x3f482b0480, {0x2ae2915888, 0x3f4820e510}) net/http/server.go:2102 +0x544 created by net/http.(*Server).Serve in goroutine 6 net/http/server.go:3454 +0x40c 2025/05/15 06:22:45 http: panic serving 127.0.0.1:33280: crashing devserver goroutine 102 [running]: net/http.(*conn).serve.func1() net/http/server.go:1947 +0xb4 panic({0x2ae288e200?, 0x2ae2910e50?}) runtime/panic.go:792 +0x108 github.com/yusuf-musleh/mmar/simulations/devserver.handleCrashingReq({0x3f482b24e0?, 0x2ae24e84c8?}, 0x10?) github.com/yusuf-musleh/mmar/simulations/devserver/main.go:224 +0x30 net/http.HandlerFunc.ServeHTTP(0x3f481ba000?, {0x2ae2915618?, 0x3f3ff8c000?}, 0x2ae2744750?) net/http/server.go:2294 +0x5c net/http.(*ServeMux).ServeHTTP(0x0?, {0x2ae2915618, 0x3f3ff8c000}, 0x3f48318000) net/http/server.go:2822 +0x1d8 net/http.serverHandler.ServeHTTP({0x3f48292b10?}, {0x2ae2915618?, 0x3f3ff8c000?}, 0x1?) net/http/server.go:3301 +0xf8 net/http.(*conn).serve(0x3f481a41b0, {0x2ae2915888, 0x3f4820e510}) net/http/server.go:2102 +0x544 created by net/http.(*Server).Serve in goroutine 6 net/http/server.go:3454 +0x40c 2025/05/15 06:22:45 [q8uiqs] "GET /crash HTTP/1.1" 200 59 2025/05/15 06:22:46 [q8uiqs] "POST /post HTTP/1.1" 413 17 2025/05/15 06:22:48 [q8uiqs] "POST /post HTTP/1.1" 408 28 2025/05/15 06:22:48 [q8uiqs] "POST /post HTTP/1.1" 408 28 2025/05/15 06:23:15 [q8uiqs] "GET /long-running HTTP/1.1" 200 43 2025/05/15 06:23:15 [q8uiqs] "POST /post-fail HTTP/1.1" 400 276 2025/05/15 06:23:15 [q8uiqs] "GET /get-fail HTTP/1.1" 400 181 2025/05/15 06:23:15 [q8uiqs] "GET /bad-resp HTTP/1.1" 500 89 2025/05/15 06:23:15 [q8uiqs] "INVALID_METHOD /get HTTP/1.1" 200 194 2025/05/15 06:23:15 [q8uiqs] "POST /post HTTP/1.1" 200 1333573 2025/05/15 06:23:15 [q8uiqs] "GET /get HTTP/1.1" 200 240 cancelled, server cancelled, client 2025/05/15 06:23:15 [q8uiqs] Client disconnected: [::1]:47756, closing tunnel... 2025/05/15 06:23:18 [q8uiqs] Tunnel connection closed: [::1]:47756 2025/05/15 06:23:19 Gracefully shutting down server... --- PASS: TestSimulation (42.14s) PASS ok github.com/yusuf-musleh/mmar/simulations 42.301s ? 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-r1.apk >>> mmar: Build complete at Thu, 15 May 2025 06:23:26 +0000 elapsed time 0h 1m 3s >>> mmar: Cleaning up srcdir >>> mmar: Cleaning up pkgdir >>> mmar: Uninstalling dependencies... (1/2) Purging .makedepends-mmar (20250515.062228) (2/2) Purging go (1.24.3-r1) Executing busybox-1.37.0-r17.trigger OK: 343 MiB in 110 packages >>> mmar: Updating the testing/riscv64 repository index... >>> mmar: Signing the index...