>>> mmar: Building testing/mmar 0.2.5-r1 (using abuild 3.15.0_rc3-r3) started Mon, 12 May 2025 05:00:21 +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-r0) (2/2) Installing .makedepends-mmar (20250512.050022) Executing busybox-1.37.0-r17.trigger OK: 444 MiB in 106 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/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/12 05:00:27 Started local dev server on: http://localhost:38069 2025/05/12 05:00:27 Starting mmar server... Starting HTTP Server on port: 3376 Starting TCP Sever on port: 6673 2025/05/12 05:00:27 HTTP Server started successfully! Listening for HTTP Requests on 3376... 2025/05/12 05:00:27 TCP Server started successfully! Listening for TCP Connections on port 6673... 2025/05/12 05:00:29 Starting mmar client... Creating tunnel: Tunnel Host: localhost Local Port: 38069 2025/05/12 05:00:29 [e3kjj1] Tunnel created: [::1]:36478 2025/05/12 05:00:29 Tunnel created successfully! A mmar tunnel is now open on: >>> http://e3kjj1.localhost:3376 -> http://localhost:38069 2025/05/12 05:00:29 [e3kjj1] "INVALID_METHOD /get HTTP/1.1" 200 194 2025/05/12 05:00:29 [e3kjj1] "POST /post HTTP/1.1" 200 270 2025/05/12 05:00:29 [e3kjj1] "GET /get?first=query+param&second=param+%26+last HTTP/1.1" 200 245 2025/05/12 05:00:29 [e3kjj1] "GET /get-fail HTTP/1.1" 400 181 2025/05/12 05:00:29 http: panic serving 127.0.0.1:43224: crashing devserver goroutine 169 [running]: net/http.(*conn).serve.func1() net/http/server.go:1947 +0xb4 panic({0x5555570a45e0?, 0x555557127420?}) runtime/panic.go:792 +0xfc github.com/yusuf-musleh/mmar/simulations/devserver.handleCrashingReq({0xc00eac8490?, 0x555556cd70fc?}, 0x10?) github.com/yusuf-musleh/mmar/simulations/devserver/main.go:224 +0x2c net/http.HandlerFunc.ServeHTTP(0xc000196000?, {0x55555712b978?, 0xc00eaf0000?}, 0x555556f4f714?) net/http/server.go:2294 +0x38 net/http.(*ServeMux).ServeHTTP(0x0?, {0x55555712b978, 0xc00eaf0000}, 0xc0001ce640) net/http/server.go:2822 +0x1b4 net/http.serverHandler.ServeHTTP({0xc0000d3ad0?}, {0x55555712b978?, 0xc00eaf0000?}, 0x1?) net/http/server.go:3301 +0xd4 net/http.(*conn).serve(0xc000256090, {0x55555712bbe8, 0xc000114120}) net/http/server.go:2102 +0x538 created by net/http.(*Server).Serve in goroutine 8 net/http/server.go:3454 +0x400 2025/05/12 05:00:29 http: panic serving 127.0.0.1:43236: crashing devserver goroutine 156 [running]: net/http.(*conn).serve.func1() net/http/server.go:1947 +0xb4 panic({0x5555570a45e0?, 0x555557127420?}) runtime/panic.go:792 +0xfc github.com/yusuf-musleh/mmar/simulations/devserver.handleCrashingReq({0xc00eac84d0?, 0x555556cd70fc?}, 0x10?) github.com/yusuf-musleh/mmar/simulations/devserver/main.go:224 +0x2c net/http.HandlerFunc.ServeHTTP(0xc000196000?, {0x55555712b978?, 0xc00eaf00e0?}, 0x555556f4f714?) net/http/server.go:2294 +0x38 net/http.(*ServeMux).ServeHTTP(0x0?, {0x55555712b978, 0xc00eaf00e0}, 0xc0001ce780) net/http/server.go:2822 +0x1b4 net/http.serverHandler.ServeHTTP({0xc00eac6780?}, {0x55555712b978?, 0xc00eaf00e0?}, 0x1?) net/http/server.go:3301 +0xd4 net/http.(*conn).serve(0xc000292240, {0x55555712bbe8, 0xc000114120}) net/http/server.go:2102 +0x538 created by net/http.(*Server).Serve in goroutine 8 net/http/server.go:3454 +0x400 2025/05/12 05:00:29 [e3kjj1] "GET /crash HTTP/1.1" 200 59 2025/05/12 05:00:30 [e3kjj1] "POST /post HTTP/1.1" 413 17 2025/05/12 05:00:32 [e3kjj1] "POST /post HTTP/1.1" 408 28 2025/05/12 05:00:32 [e3kjj1] "POST /post HTTP/1.1" 408 28 2025/05/12 05:00:59 [e3kjj1] "GET /long-running HTTP/1.1" 200 43 2025/05/12 05:00:59 [e3kjj1] "POST /post-fail HTTP/1.1" 400 276 2025/05/12 05:00:59 [e3kjj1] "GET /bad-resp HTTP/1.1" 500 89 2025/05/12 05:00:59 [e3kjj1] "POST /redirect HTTP/1.1" 302 0 2025/05/12 05:00:59 [e3kjj1] "POST /post HTTP/1.1" 200 1333573 2025/05/12 05:00:59 [e3kjj1] "GET /get HTTP/1.1" 200 240 cancelled, server cancelled, client 2025/05/12 05:00:59 [e3kjj1] Client disconnected: [::1]:36478, closing tunnel... 2025/05/12 05:01:02 [e3kjj1] Tunnel connection closed: [::1]:36478 2025/05/12 05:01:03 Gracefully shutting down server... --- PASS: TestSimulation (42.05s) PASS ok github.com/yusuf-musleh/mmar/simulations 42.055s ? 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-loongarch64.so.1 >>> mmar*: Package size: 6.5 MB >>> mmar*: Compressing data... >>> mmar*: Create checksum... >>> mmar*: Create mmar-0.2.5-r1.apk >>> mmar: Build complete at Mon, 12 May 2025 05:01:10 +0000 elapsed time 0h 0m 49s >>> mmar: Cleaning up srcdir >>> mmar: Cleaning up pkgdir >>> mmar: Uninstalling dependencies... (1/2) Purging .makedepends-mmar (20250512.050022) (2/2) Purging go (1.24.3-r0) Executing busybox-1.37.0-r17.trigger OK: 253 MiB in 104 packages >>> mmar: Updating the testing/loongarch64 repository index... >>> mmar: Signing the index...