From nobody Fri Jan 26 11:49:34 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TLwwH0FWMz58Cwb for ; Fri, 26 Jan 2024 11:49:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TLwwG5j6rz45dF for ; Fri, 26 Jan 2024 11:49:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706269774; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=44qioV/olHMe115eCdLp0DodiGfNBkVCkogDKQBHkjY=; b=dczdx/ilSdJXEt7rBut28xEdioo4jz/wowlidghF2i0nSCCmgjAUfYhDA3GgWD2hhkc4+B SVZzCKd+/Z/hrs7CEHhBUhIBU2rWE+Cq9Bi+4o1g3YxXcoG3cLLgW/MRgyaYfuaQ5wSvrv NjSqGUq7TTz+5OaNjFyF3lUoXKCwh7EaZEO7Y3WJ2pxZwSI/k0cshD4n0F7R3LI8QLmRO5 SP7+Ra1GdptgmV9NZ5/mA9yKuTwUW1kAypLoQUGX4WUOa2LgVhZmFZw9X4ZbViJ4XntbII qvTB7jOZECWPk5YrvCYZdEptNU4yqtRBXLjY+rvFRhDUaEKDByQEXeyzh6IgZQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706269774; a=rsa-sha256; cv=none; b=ombiNlGvjzDkxSjDV3AW56JD04pyq/B+6aIAPpykVhZYQnpON6pGLnSUdDfFa5mq1iLbbA pQ/Ie/CPgkVgQEZT+IGw7EvrhiB4w/f+nkqZWKcbK7luvyeTyFc8HuK3UX9tqWzfs5YNCm sp8r8TlfRW80/EaJx1puaEUNq7ciwJetsSgS3pPzeXKVDsWp8zYlnbltgbKISQylgwG0Km aGf1lT5dRvbTAND959RPw0BekW1yNBvkjRIHK8dtGsXMQ12fNCw7ScVkcArdNEJNVEMfYX i7kZOvAbKhXpKQT2PWIGfdNqpmH9zGDBg9x5uv6LO6knYJ5zvAfjFGzk2JfxMw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TLwwG4m0nzgdh for ; Fri, 26 Jan 2024 11:49:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 40QBnYgd045989 for ; Fri, 26 Jan 2024 11:49:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40QBnYi6045988 for ports-bugs@FreeBSD.org; Fri, 26 Jan 2024 11:49:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 276639] net-mgmt/vmutils: crashes due to go issue (panic: BUG: unexpected runtimemetrics.KindBad) Date: Fri, 26 Jan 2024 11:49:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: madpilot@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: danfe@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform bug_file_loc op_sys bug_status bug_severity priority component assigned_to reporter dependson flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276639 Bug ID: 276639 Summary: net-mgmt/vmutils: crashes due to go issue (panic: BUG: unexpected runtimemetrics.KindBad) Product: Ports & Packages Version: Latest Hardware: Any URL: https://github.com/VictoriaMetrics/metrics/issues/59 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: danfe@FreeBSD.org Reporter: madpilot@FreeBSD.org Depends on: 275828 Flags: maintainer-feedback?(danfe@FreeBSD.org) Assignee: danfe@FreeBSD.org Flags: merge-quarterly? Hi, I recently noticed my vmagent instances are failing to scrape metrics due to frequent crashes. I'm putting the crash message at the end of this comment. Some analysis with a friend (Lapo Luchini) uncovered a related go bug repor= t: https://github.com/VictoriaMetrics/metrics/issues/59 It looks like victoriametrics 1.93.9 uses "github.com/VictoriaMetrics/metri= cs v1.25.3" while the new 1.93.10 uses v1.25.4 which fixes the issue, adding c= ode to handle the new metrics value. So I think it is urgent to update victoriametrics to the newer version. I see bug #275828 contains an update, but also contains other changes. I'm going to test a more simple update consisting only in a version bump th= at maybe can be integrated faster. ---- Crash message: panic: BUG: unexpected runtimemetrics.KindBad for sample.Name=3D"/gc/gomemlimit:bytes" goroutine 133 [running]: github.com/VictoriaMetrics/VictoriaMetrics/lib/httpserver.handlerWrapper.fu= nc1() =20=20=20=20=20=20=20 /wrkdirs/usr/ports/net-mgmt/vmutils/work/VictoriaMetrics-1.93.9/lib/httpser= ver/httpserver.go:235 +0x65 panic({0x994520, 0x84c414dc0}) /usr/local/go120/src/runtime/panic.go:890 +0x263 github.com/VictoriaMetrics/metrics.writeRuntimeMetric({0xbb22c0, 0x84c0985d= 0}, {0xa4260e?, 0x1?}, 0x18?) =20=20=20=20=20=20=20 /wrkdirs/usr/ports/net-mgmt/vmutils/work/VictoriaMetrics-1.93.9/vendor/gith= ub.com/VictoriaMetrics/metrics/go_metrics.go:97 +0x1d7 github.com/VictoriaMetrics/metrics.writeRuntimeMetrics({0xbb22c0, 0x84c0985= d0}) =20=20=20=20=20=20=20 /wrkdirs/usr/ports/net-mgmt/vmutils/work/VictoriaMetrics-1.93.9/vendor/gith= ub.com/VictoriaMetrics/metrics/go_metrics.go:90 +0x139 github.com/VictoriaMetrics/metrics.writeGoMetrics({0xbb22c0, 0x84c0985d0}) =20=20=20=20=20=20=20 /wrkdirs/usr/ports/net-mgmt/vmutils/work/VictoriaMetrics-1.93.9/vendor/gith= ub.com/VictoriaMetrics/metrics/go_metrics.go:26 +0x46 github.com/VictoriaMetrics/metrics.WriteProcessMetrics({0xbb22c0, 0x84c0985= d0}) =20=20=20=20=20=20=20 /wrkdirs/usr/ports/net-mgmt/vmutils/work/VictoriaMetrics-1.93.9/vendor/gith= ub.com/VictoriaMetrics/metrics/metrics.go:213 +0x25 github.com/VictoriaMetrics/metrics.WritePrometheus({0xbb22c0, 0x84c0985d0}, 0x1) =20=20=20=20=20=20=20 /wrkdirs/usr/ports/net-mgmt/vmutils/work/VictoriaMetrics-1.93.9/vendor/gith= ub.com/VictoriaMetrics/metrics/metrics.go:88 +0x299 github.com/VictoriaMetrics/VictoriaMetrics/lib/appmetrics.writePrometheusMe= trics({0xbb22c0, 0x84c0985d0}) =20=20=20=20=20=20=20 /wrkdirs/usr/ports/net-mgmt/vmutils/work/VictoriaMetrics-1.93.9/lib/appmetr= ics/appmetrics.go:46 +0x45 github.com/VictoriaMetrics/VictoriaMetrics/lib/appmetrics.WritePrometheusMe= trics({0x3efbfa7df1f8, 0x84c0240a0}) =20=20=20=20=20=20=20 /wrkdirs/usr/ports/net-mgmt/vmutils/work/VictoriaMetrics-1.93.9/lib/appmetr= ics/appmetrics.go:29 +0xba github.com/VictoriaMetrics/VictoriaMetrics/lib/httpserver.handlerWrapper(0x= 84c3ba760, {0xbb65b0?, 0x84c0240a0}, 0x84c41e000, 0xb21688) =20=20=20=20=20=20=20 /wrkdirs/usr/ports/net-mgmt/vmutils/work/VictoriaMetrics-1.93.9/lib/httpser= ver/httpserver.go:306 +0xa67 github.com/VictoriaMetrics/VictoriaMetrics/lib/httpserver.gzipHandler.func1= ({0xbb65b0?, 0x84c0240a0?}, 0x84c444000?) =20=20=20=20=20=20=20 /wrkdirs/usr/ports/net-mgmt/vmutils/work/VictoriaMetrics-1.93.9/lib/httpser= ver/httpserver.go:196 +0x37 net/http.HandlerFunc.ServeHTTP(0xee6c00?, {0xbb65b0?, 0x84c0240a0?}, 0x4?) /usr/local/go120/src/net/http/server.go:2122 +0x2f github.com/klauspost/compress/gzhttp.NewWrapper.func1.1({0xbb64c0, 0x84c444000}, 0x9be080?) =20=20=20=20=20=20=20 /wrkdirs/usr/ports/net-mgmt/vmutils/work/VictoriaMetrics-1.93.9/vendor/gith= ub.com/klauspost/compress/gzhttp/compress.go:495 +0x35a net/http.HandlerFunc.ServeHTTP(0x0?, {0xbb64c0?, 0x84c444000?}, 0x46b26e?) /usr/local/go120/src/net/http/server.go:2122 +0x2f net/http.serverHandler.ServeHTTP({0x84c52d020?}, {0xbb64c0, 0x84c444000}, 0x84c41e000) /usr/local/go120/src/net/http/server.go:2936 +0x316 net/http.(*conn).serve(0x84c0002d0, {0xbb6928, 0x84c52cf90}) /usr/local/go120/src/net/http/server.go:1995 +0x612 created by net/http.(*Server).Serve /usr/local/go120/src/net/http/server.go:3089 +0x5ed Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275828 [Bug 275828] net-mgmt/victoria-metrics: Update to 1.93.10, switch to GO_MOD= ULE and add a cluster version --=20 You are receiving this mail because: You are the assignee for the bug.=