Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package
golang-github-prometheus-node_exporter for openSUSE:Factory checked in at
2022-06-28 15:21:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-github-prometheus-node_exporter
(Old)
and
/work/SRC/openSUSE:Factory/.golang-github-prometheus-node_exporter.new.1548
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "golang-github-prometheus-node_exporter"
Tue Jun 28 15:21:39 2022 rev:15 rq:985292 version:1.3.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/golang-github-prometheus-node_exporter/golang-github-prometheus-node_exporter.changes
2022-05-16 18:11:14.905408479 +0200
+++
/work/SRC/openSUSE:Factory/.golang-github-prometheus-node_exporter.new.1548/golang-github-prometheus-node_exporter.changes
2022-06-28 15:21:51.649896579 +0200
@@ -1,0 +2,8 @@
+Sat Jun 25 19:04:04 UTC 2022 - Michael Str??der <[email protected]>
+
+- Update to 1.3.1
+ * [BUGFIX] Handle nil CPU thermal power status on M1 #2218
+ * [BUGFIX] bsd: Ignore filesystems flagged as MNT_IGNORE. #2227
+ * [BUGFIX] Sanitize UTF-8 in dmi collector #2229
+
+-------------------------------------------------------------------
Old:
----
node_exporter-1.3.0.obscpio
New:
----
node_exporter-1.3.1.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ golang-github-prometheus-node_exporter.spec ++++++
--- /var/tmp/diff_new_pack.S99JK3/_old 2022-06-28 15:21:52.273897511 +0200
+++ /var/tmp/diff_new_pack.S99JK3/_new 2022-06-28 15:21:52.277897516 +0200
@@ -20,7 +20,7 @@
%{go_nostrip}
Name: golang-github-prometheus-node_exporter
-Version: 1.3.0
+Version: 1.3.1
Release: 0
Summary: Prometheus exporter for machine metrics
License: Apache-2.0
++++++ _service ++++++
--- /var/tmp/diff_new_pack.S99JK3/_old 2022-06-28 15:21:52.321897582 +0200
+++ /var/tmp/diff_new_pack.S99JK3/_new 2022-06-28 15:21:52.325897588 +0200
@@ -4,7 +4,7 @@
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="versionformat">@PARENT_TAG@</param>
- <param name="revision">v1.3.0</param>
+ <param name="revision">v1.3.1</param>
<param name="versionrewrite-pattern">v(.*)</param>
</service>
<service name="tar" mode="buildtime"/>
@@ -16,7 +16,7 @@
<param name="basename">node_exporter</param>
</service>
<service name="go_modules" mode="disabled">
- <param name="archive">node_exporter-1.3.0.tar.gz</param>
+ <param name="archive">node_exporter-1.3.1.tar.gz</param>
</service>
</services>
++++++ node_exporter-1.3.0.obscpio -> node_exporter-1.3.1.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/node_exporter-1.3.0/CHANGELOG.md
new/node_exporter-1.3.1/CHANGELOG.md
--- old/node_exporter-1.3.0/CHANGELOG.md 2021-11-18 16:11:10.000000000
+0100
+++ new/node_exporter-1.3.1/CHANGELOG.md 2021-12-05 12:07:27.000000000
+0100
@@ -5,6 +5,14 @@
* [ENHANCEMENT]
* [BUGFIX]
+* [ENHANCEMENT] Add node_softirqs_total metric #2221
+
+## 1.3.1 / 2021-12-01
+
+* [BUGFIX] Handle nil CPU thermal power status on M1 #2218
+* [BUGFIX] bsd: Ignore filesystems flagged as MNT_IGNORE. #2227
+* [BUGFIX] Sanitize UTF-8 in dmi collector #2229
+
## 1.3.0 / 2021-10-20
NOTE: In order to support globs in the textfile collector path, filenames
exposed by
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/node_exporter-1.3.0/VERSION
new/node_exporter-1.3.1/VERSION
--- old/node_exporter-1.3.0/VERSION 2021-11-18 16:11:10.000000000 +0100
+++ new/node_exporter-1.3.1/VERSION 2021-12-05 12:07:27.000000000 +0100
@@ -1 +1 @@
-1.3.0
+1.3.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/node_exporter-1.3.0/collector/dmi.go
new/node_exporter-1.3.1/collector/dmi.go
--- old/node_exporter-1.3.0/collector/dmi.go 2021-11-18 16:11:10.000000000
+0100
+++ new/node_exporter-1.3.1/collector/dmi.go 2021-12-05 12:07:27.000000000
+0100
@@ -20,6 +20,7 @@
"errors"
"fmt"
"os"
+ "strings"
"github.com/go-kit/log"
"github.com/go-kit/log/level"
@@ -78,7 +79,7 @@
} {
if value != nil {
labels = append(labels, label)
- values = append(values, *value)
+ values = append(values, strings.ToValidUTF8(*value,
"???"))
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/node_exporter-1.3.0/collector/filesystem_freebsd.go
new/node_exporter-1.3.1/collector/filesystem_freebsd.go
--- old/node_exporter-1.3.0/collector/filesystem_freebsd.go 2021-11-18
16:11:10.000000000 +0100
+++ new/node_exporter-1.3.1/collector/filesystem_freebsd.go 2021-12-05
12:07:27.000000000 +0100
@@ -24,18 +24,16 @@
const (
defMountPointsExcluded = "^/(dev)($|/)"
defFSTypesExcluded = "^devfs$"
- readOnly = 0x1 // MNT_RDONLY
- noWait = 0x2 // MNT_NOWAIT
)
// Expose filesystem fullness.
func (c *filesystemCollector) GetStats() ([]filesystemStats, error) {
- n, err := unix.Getfsstat(nil, noWait)
+ n, err := unix.Getfsstat(nil, unix.MNT_NOWAIT)
if err != nil {
return nil, err
}
buf := make([]unix.Statfs_t, n)
- _, err = unix.Getfsstat(buf, noWait)
+ _, err = unix.Getfsstat(buf, unix.MNT_NOWAIT)
if err != nil {
return nil, err
}
@@ -54,8 +52,13 @@
continue
}
+ if (fs.Flags & unix.MNT_IGNORE) != 0 {
+ level.Debug(c.logger).Log("msg", "Ignoring mount
flagged as ignore", "mountpoint", mountpoint)
+ continue
+ }
+
var ro float64
- if (fs.Flags & readOnly) != 0 {
+ if (fs.Flags & unix.MNT_RDONLY) != 0 {
ro = 1
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/node_exporter-1.3.0/collector/fixtures/e2e-output.txt
new/node_exporter-1.3.1/collector/fixtures/e2e-output.txt
--- old/node_exporter-1.3.0/collector/fixtures/e2e-output.txt 2021-11-18
16:11:10.000000000 +0100
+++ new/node_exporter-1.3.1/collector/fixtures/e2e-output.txt 2021-12-05
12:07:27.000000000 +0100
@@ -609,7 +609,7 @@
node_disk_written_bytes_total{device="vda"} 1.0938236928e+11
# HELP node_dmi_info A metric with a constant '1' value labeled by bios_date,
bios_release, bios_vendor, bios_version, board_asset_tag, board_name,
board_serial, board_vendor, board_version, chassis_asset_tag, chassis_serial,
chassis_vendor, chassis_version, product_family, product_name, product_serial,
product_sku, product_uuid, product_version, system_vendor if provided by DMI.
# TYPE node_dmi_info gauge
-node_dmi_info{bios_date="04/12/2021",bios_release="2.2",bios_vendor="Dell
Inc.",bios_version="2.2.4",board_name="07PXPY",board_serial=".7N62AI2.GRTCL6944100GP.",board_vendor="Dell
Inc.",board_version="A01",chassis_asset_tag="",chassis_serial="7N62AI2",chassis_vendor="Dell
Inc.",chassis_version="",product_family="PowerEdge",product_name="PowerEdge
R6515",product_serial="7N62AI2",product_sku="SKU=NotProvided;ModelName=PowerEdge
R6515",product_uuid="83340ca8-cb49-4474-8c29-d2088ca84dd9",product_version="",system_vendor="Dell
Inc."} 1
+node_dmi_info{bios_date="04/12/2021",bios_release="2.2",bios_vendor="Dell
Inc.",bios_version="2.2.4",board_name="07PXPY",board_serial=".7N62AI2.GRTCL6944100GP.",board_vendor="Dell
Inc.",board_version="A01",chassis_asset_tag="",chassis_serial="7N62AI2",chassis_vendor="Dell
Inc.",chassis_version="",product_family="PowerEdge",product_name="PowerEdge
R6515",product_serial="7N62AI2",product_sku="SKU=NotProvided;ModelName=PowerEdge
R6515",product_uuid="83340ca8-cb49-4474-8c29-d2088ca84dd9",product_version="???[???",system_vendor="Dell
Inc."} 1
# HELP node_drbd_activitylog_writes_total Number of updates of the activity
log area of the meta data.
# TYPE node_drbd_activitylog_writes_total counter
node_drbd_activitylog_writes_total{device="drbd1"} 1100
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/node_exporter-1.3.0/collector/fixtures/sys.ttar
new/node_exporter-1.3.1/collector/fixtures/sys.ttar
--- old/node_exporter-1.3.0/collector/fixtures/sys.ttar 2021-11-18
16:11:10.000000000 +0100
+++ new/node_exporter-1.3.1/collector/fixtures/sys.ttar 2021-12-05
12:07:27.000000000 +0100
@@ -141,7 +141,7 @@
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: sys/class/dmi/id/product_version
Lines: 1
-
+?[?
Mode: 444
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: sys/class/dmi/id/sys_vendor
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/node_exporter-1.3.0/collector/thermal_darwin.go
new/node_exporter-1.3.1/collector/thermal_darwin.go
--- old/node_exporter-1.3.0/collector/thermal_darwin.go 2021-11-18
16:11:10.000000000 +0100
+++ new/node_exporter-1.3.1/collector/thermal_darwin.go 2021-12-05
12:07:27.000000000 +0100
@@ -47,9 +47,10 @@
import (
"errors"
"fmt"
+ "unsafe"
+
"github.com/go-kit/log"
"github.com/prometheus/client_golang/prometheus"
- "unsafe"
)
type thermCollector struct {
@@ -118,7 +119,9 @@
func fetchCPUPowerStatus() (map[string]int, error) {
cfDictRef, _ := C.FetchThermal()
defer func() {
- C.CFRelease(C.CFTypeRef(cfDictRef.ref))
+ if cfDictRef.ref != 0x0 {
+ C.CFRelease(C.CFTypeRef(cfDictRef.ref))
+ }
}()
if C.kIOReturnNotFound == cfDictRef.ret {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/node_exporter-1.3.0/end-to-end-test.sh
new/node_exporter-1.3.1/end-to-end-test.sh
--- old/node_exporter-1.3.0/end-to-end-test.sh 2021-11-18 16:11:10.000000000
+0100
+++ new/node_exporter-1.3.1/end-to-end-test.sh 2021-12-05 12:07:27.000000000
+0100
@@ -11,6 +11,7 @@
cpu
cpufreq
diskstats
+ dmi
drbd
edac
entropy
++++++ node_exporter.obsinfo ++++++
--- /var/tmp/diff_new_pack.S99JK3/_old 2022-06-28 15:21:52.585897976 +0200
+++ /var/tmp/diff_new_pack.S99JK3/_new 2022-06-28 15:21:52.585897976 +0200
@@ -1,6 +1,5 @@
name: node_exporter
-version: 1.3.0
-mtime: 1637248270
-commit: c65f870ef90a4088210af0319498b832360c3366
-
+version: 1.3.1
+mtime: 1638702447
+commit: a2321e7b940ddcff26873612bccdf7cd4c42b6b6
++++++ vendor.tar.gz ++++++