>>> mmar: Building testing/mmar 0.2.5-r1 (using abuild 3.15.0_rc3-r3) started Mon, 12 May 2025 04:19:10 +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-r0) (3/3) Installing .makedepends-mmar (20250512.041911) Executing busybox-1.37.0-r17.trigger OK: 468 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/12 04:19:15 Started local dev server on: http://localhost:33083 2025/05/12 04:19:15 Starting mmar server... Starting HTTP Server on port: 3376 Starting TCP Sever on port: 6673 2025/05/12 04:19:15 HTTP Server started successfully! Listening for HTTP Requests on 3376... 2025/05/12 04:19:15 TCP Server started successfully! Listening for TCP Connections on port 6673... 2025/05/12 04:19:17 Starting mmar client... Creating tunnel: Tunnel Host: localhost Local Port: 33083 2025/05/12 04:19:17 [dunptc] Tunnel created: [::1]:51594 2025/05/12 04:19:17 Tunnel created successfully! A mmar tunnel is now open on: >>> http://dunptc.localhost:3376 -> http://localhost:33083 2025/05/12 04:19:17 [dunptc] "GET /get-fail HTTP/1.1" 400 181 2025/05/12 04:19:17 [dunptc] "POST /post HTTP/1.1" 413 17 2025/05/12 04:19:20 [dunptc] "POST /post HTTP/1.1" 408 28 2025/05/12 04:19:20 [dunptc] "POST /post HTTP/1.1" 408 28 2025/05/12 04:19:47 [dunptc] "GET /long-running HTTP/1.1" 200 43 2025/05/12 04:19:47 [dunptc] "POST /post-fail HTTP/1.1" 400 276 2025/05/12 04:19:47 [dunptc] "POST /redirect HTTP/1.1" 302 0 2025/05/12 04:19:47 [dunptc] "GET /bad-resp HTTP/1.1" 500 89 2025/05/12 04:19:47 [dunptc] "POST /post HTTP/1.1" 200 270 2025/05/12 04:19:47 [dunptc] "GET /get?first=query+param&second=param+%26+last HTTP/1.1" 200 245 2025/05/12 04:19:47 http: panic serving 127.0.0.1:60764: crashing devserver goroutine 313 [running]: net/http.(*conn).serve.func1() net/http/server.go:1947 +0xf0 panic({0xf57fe8, 0xfac738}) runtime/panic.go:792 +0x110 github.com/yusuf-musleh/mmar/simulations/devserver.handleCrashingReq({0xfae90c, 0x2982468}, 0x28fb1e8) github.com/yusuf-musleh/mmar/simulations/devserver/main.go:224 +0x2c net/http.HandlerFunc.ServeHTTP(0xfab8f0, {0xfae90c, 0x2982468}, 0x28fb1e8) net/http/server.go:2294 +0x34 net/http.(*ServeMux).ServeHTTP(0x28ec280, {0xfae90c, 0x2982468}, 0x28fb1e8) net/http/server.go:2822 +0x240 net/http.serverHandler.ServeHTTP({0x28fa0b8}, {0xfae90c, 0x2982468}, 0x28fb1e8) net/http/server.go:3301 +0xf4 net/http.(*conn).serve(0x2964180, {0xfaea3c, 0x2a04018}) net/http/server.go:2102 +0x6c4 created by net/http.(*Server).Serve in goroutine 8 net/http/server.go:3454 +0x488 2025/05/12 04:19:47 http: panic serving 127.0.0.1:60766: crashing devserver goroutine 316 [running]: net/http.(*conn).serve.func1() net/http/server.go:1947 +0xf0 panic({0xf57fe8, 0xfac738}) runtime/panic.go:792 +0x110 github.com/yusuf-musleh/mmar/simulations/devserver.handleCrashingReq({0xfae90c, 0x2982508}, 0x28fb348) github.com/yusuf-musleh/mmar/simulations/devserver/main.go:224 +0x2c net/http.HandlerFunc.ServeHTTP(0xfab8f0, {0xfae90c, 0x2982508}, 0x28fb348) net/http/server.go:2294 +0x34 net/http.(*ServeMux).ServeHTTP(0x28ec280, {0xfae90c, 0x2982508}, 0x28fb348) net/http/server.go:2822 +0x240 net/http.serverHandler.ServeHTTP({0x28fa0b8}, {0xfae90c, 0x2982508}, 0x28fb348) net/http/server.go:3301 +0xf4 net/http.(*conn).serve(0x29641e0, {0xfaea3c, 0x2a04018}) net/http/server.go:2102 +0x6c4 created by net/http.(*Server).Serve in goroutine 8 net/http/server.go:3454 +0x488 2025/05/12 04:19:47 [dunptc] "GET /crash HTTP/1.1" 200 59 2025/05/12 04:19:47 [dunptc] "INVALID_METHOD /get HTTP/1.1" 200 194 2025/05/12 04:19:47 [dunptc] "POST /post HTTP/1.1" 200 1333573 2025/05/12 04:19:47 [dunptc] "GET /get HTTP/1.1" 200 240 cancelled, client cancelled, server 2025/05/12 04:19:47 [dunptc] Client disconnected: [::1]:51594, closing tunnel... 2025/05/12 04:19:50 [dunptc] Tunnel connection closed: [::1]:51594 2025/05/12 04:19:51 Gracefully shutting down server... --- PASS: TestSimulation (42.03s) PASS ok github.com/yusuf-musleh/mmar/simulations 42.041s ? 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-armv7.so.1 >>> mmar*: Package size: 6.2 MB >>> mmar*: Compressing data... >>> mmar*: Create checksum... >>> mmar*: Create mmar-0.2.5-r1.apk >>> mmar: Build complete at Mon, 12 May 2025 04:19:57 +0000 elapsed time 0h 0m 47s >>> mmar: Cleaning up srcdir >>> mmar: Cleaning up pkgdir >>> mmar: Uninstalling dependencies... (1/3) Purging .makedepends-mmar (20250512.041911) (2/3) Purging go (1.24.3-r0) (3/3) Purging binutils-gold (2.44-r0) Executing busybox-1.37.0-r17.trigger OK: 275 MiB in 104 packages >>> mmar: Updating the testing/armv7 repository index... >>> mmar: Signing the index...