>>> mmar: Building testing/mmar 0.2.5-r1 (using abuild 3.15.0_rc3-r3) started Wed, 14 May 2025 19:20:22 +0000 >>> mmar: Validating /home/buildozer/aports/testing/mmar/APKBUILD... >>> mmar: Analyzing dependencies... >>> mmar: Installing for build: build-base go (1/3) Installing binutils-gold (2.44-r0) (2/3) Installing go (1.24.3-r1) (3/3) Installing .makedepends-mmar (20250514.192023) Executing busybox-1.37.0-r17.trigger OK: 518 MiB in 107 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 Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/edge/mmar-0.2.5.tar.gz.part' mmar-0.2.5.tar.gz.pa 100% |********************************| 1154k 0:00:00 ETA '/var/cache/distfiles/edge/mmar-0.2.5.tar.gz.part' saved >>> 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/14 19:20:27 Started local dev server on: http://localhost:34551 2025/05/14 19:20:27 Starting mmar server... Starting HTTP Server on port: 3376 Starting TCP Sever on port: 6673 2025/05/14 19:20:27 HTTP Server started successfully! Listening for HTTP Requests on 3376... 2025/05/14 19:20:27 TCP Server started successfully! Listening for TCP Connections on port 6673... 2025/05/14 19:20:29 Starting mmar client... Creating tunnel: Tunnel Host: localhost Local Port: 34551 2025/05/14 19:20:29 [jplkb6] Tunnel created: [::1]:45704 2025/05/14 19:20:29 Tunnel created successfully! A mmar tunnel is now open on: >>> http://jplkb6.localhost:3376 -> http://localhost:34551 2025/05/14 19:20:29 [jplkb6] "GET /get?first=query+param&second=param+%26+last HTTP/1.1" 200 245 2025/05/14 19:20:29 [jplkb6] "POST /post HTTP/1.1" 200 270 2025/05/14 19:20:29 http: panic serving 127.0.0.1:59280: crashing devserver goroutine 186 [running]: net/http.(*conn).serve.func1() net/http/server.go:1947 +0xf0 panic({0xfe15b8, 0x1035d08}) runtime/panic.go:792 +0x110 github.com/yusuf-musleh/mmar/simulations/devserver.handleCrashingReq({0x1037edc, 0x22841e8}, 0x86884d8) github.com/yusuf-musleh/mmar/simulations/devserver/main.go:224 +0x2c net/http.HandlerFunc.ServeHTTP(0x1034ec0, {0x1037edc, 0x22841e8}, 0x86884d8) net/http/server.go:2294 +0x34 net/http.(*ServeMux).ServeHTTP(0x20ec280, {0x1037edc, 0x22841e8}, 0x86884d8) net/http/server.go:2822 +0x240 net/http.serverHandler.ServeHTTP({0x20fa0b8}, {0x1037edc, 0x22841e8}, 0x86884d8) net/http/server.go:3301 +0xf4 net/http.(*conn).serve(0x229c120, {0x103800c, 0x2204018}) net/http/server.go:2102 +0x6c4 created by net/http.(*Server).Serve in goroutine 8 net/http/server.go:3454 +0x488 2025/05/14 19:20:29 http: panic serving 127.0.0.1:59292: crashing devserver goroutine 196 [running]: net/http.(*conn).serve.func1() net/http/server.go:1947 +0xf0 panic({0xfe15b8, 0x1035d08}) runtime/panic.go:792 +0x110 github.com/yusuf-musleh/mmar/simulations/devserver.handleCrashingReq({0x1037edc, 0x253e148}, 0x2550588) github.com/yusuf-musleh/mmar/simulations/devserver/main.go:224 +0x2c net/http.HandlerFunc.ServeHTTP(0x1034ec0, {0x1037edc, 0x253e148}, 0x2550588) net/http/server.go:2294 +0x34 net/http.(*ServeMux).ServeHTTP(0x20ec280, {0x1037edc, 0x253e148}, 0x2550588) net/http/server.go:2822 +0x240 net/http.serverHandler.ServeHTTP({0x20fa0b8}, {0x1037edc, 0x253e148}, 0x2550588) net/http/server.go:3301 +0xf4 net/http.(*conn).serve(0x8696120, {0x103800c, 0x2204018}) net/http/server.go:2102 +0x6c4 created by net/http.(*Server).Serve in goroutine 8 net/http/server.go:3454 +0x488 2025/05/14 19:20:29 [jplkb6] "GET /crash HTTP/1.1" 200 59 2025/05/14 19:20:29 [jplkb6] "INVALID_METHOD /get HTTP/1.1" 200 194 2025/05/14 19:20:29 [jplkb6] "GET /bad-resp HTTP/1.1" 500 89 2025/05/14 19:20:29 [jplkb6] "POST /redirect HTTP/1.1" 302 0 2025/05/14 19:20:29 [jplkb6] "POST /post-fail HTTP/1.1" 400 276 2025/05/14 19:20:29 [jplkb6] "POST /post HTTP/1.1" 413 17 2025/05/14 19:20:32 [jplkb6] "POST /post HTTP/1.1" 408 28 2025/05/14 19:20:32 [jplkb6] "POST /post HTTP/1.1" 408 28 2025/05/14 19:20:59 [jplkb6] "GET /long-running HTTP/1.1" 200 43 2025/05/14 19:20:59 [jplkb6] "GET /get-fail HTTP/1.1" 400 181 2025/05/14 19:20:59 [jplkb6] "POST /post HTTP/1.1" 200 1333573 2025/05/14 19:20:59 [jplkb6] "GET /get HTTP/1.1" 200 240 cancelled, client cancelled, server 2025/05/14 19:20:59 [jplkb6] Client disconnected: [::1]:45704, closing tunnel... 2025/05/14 19:21:02 [jplkb6] Tunnel connection closed: [::1]:45704 2025/05/14 19:21:03 Gracefully shutting down server... --- PASS: TestSimulation (42.02s) PASS ok github.com/yusuf-musleh/mmar/simulations 42.029s ? 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-armhf.so.1 >>> mmar*: Package size: 6.3 MB >>> mmar*: Compressing data... >>> mmar*: Create checksum... >>> mmar*: Create mmar-0.2.5-r1.apk >>> mmar: Build complete at Wed, 14 May 2025 19:21:10 +0000 elapsed time 0h 0m 48s >>> mmar: Cleaning up srcdir >>> mmar: Cleaning up pkgdir >>> mmar: Uninstalling dependencies... (1/3) Purging .makedepends-mmar (20250514.192023) (2/3) Purging go (1.24.3-r1) (3/3) Purging binutils-gold (2.44-r0) Executing busybox-1.37.0-r17.trigger OK: 323 MiB in 104 packages >>> mmar: Updating the testing/armhf repository index... >>> mmar: Signing the index...