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 2024-06-03 17:44:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/golang-github-prometheus-node_exporter (Old) and /work/SRC/openSUSE:Factory/.golang-github-prometheus-node_exporter.new.24587 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "golang-github-prometheus-node_exporter" Mon Jun 3 17:44:33 2024 rev:27 rq:1178253 version:1.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/golang-github-prometheus-node_exporter/golang-github-prometheus-node_exporter.changes 2024-05-15 21:27:01.590525419 +0200 +++ /work/SRC/openSUSE:Factory/.golang-github-prometheus-node_exporter.new.24587/golang-github-prometheus-node_exporter.changes 2024-06-03 17:44:52.066125927 +0200 @@ -1,0 +2,8 @@ +Tue May 21 20:07:43 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de> + +- update to 1.8.1: + * [BUGFIX] Fix CPU seconds on Solaris #2963 + * [BUGFIX] Sign Darwin/MacOS binaries #3008 + * [BUGFIX] Fix pressure collector nil reference #3016 + +------------------------------------------------------------------- Old: ---- node_exporter-1.8.0.obscpio New: ---- node_exporter-1.8.1.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ golang-github-prometheus-node_exporter.spec ++++++ --- /var/tmp/diff_new_pack.PjDK1w/_old 2024-06-03 17:44:52.734150360 +0200 +++ /var/tmp/diff_new_pack.PjDK1w/_new 2024-06-03 17:44:52.738150507 +0200 @@ -20,7 +20,7 @@ %{go_nostrip} Name: golang-github-prometheus-node_exporter -Version: 1.8.0 +Version: 1.8.1 Release: 0 Summary: Prometheus exporter for machine metrics License: Apache-2.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.PjDK1w/_old 2024-06-03 17:44:52.770151677 +0200 +++ /var/tmp/diff_new_pack.PjDK1w/_new 2024-06-03 17:44:52.774151823 +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.8.0</param> + <param name="revision">v1.8.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="manual"> - <param name="archive">node_exporter-1.8.0.obscpio</param> + <param name="archive">node_exporter-1.8.1.obscpio</param> </service> </services> ++++++ node_exporter-1.8.0.obscpio -> node_exporter-1.8.1.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/node_exporter-1.8.0/.circleci/config.yml new/node_exporter-1.8.1/.circleci/config.yml --- old/node_exporter-1.8.0/.circleci/config.yml 2024-04-24 15:14:02.000000000 +0200 +++ new/node_exporter-1.8.1/.circleci/config.yml 2024-05-21 20:34:32.000000000 +0200 @@ -49,6 +49,16 @@ - run: docker run --privileged linuxkit/binfmt:af88a591f9cc896a52ce596b9cf7ca26a061ef97 - run: promu crossbuild -v --parallelism $CIRCLE_NODE_TOTAL --parallelism-thread $CIRCLE_NODE_INDEX - run: promu --config .promu-cgo.yml crossbuild -v --parallelism $CIRCLE_NODE_TOTAL --parallelism-thread $CIRCLE_NODE_INDEX + # sign the darwin build so it doesn't get SIGKILLed on start, see: https://github.com/prometheus/node_exporter/issues/2539 + - run: + command: | + if [[ -f "$(pwd)/.build/darwin-arm64/node_exporter" ]]; then + promu codesign "$(pwd)/.build/darwin-arm64/node_exporter" + fi + + if [[ -f "$(pwd)/.build/darwin-amd64/node_exporter" ]]; then + promu codesign "$(pwd)/.build/darwin-amd64/node_exporter" + fi - persist_to_workspace: root: . paths: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/node_exporter-1.8.0/.github/workflows/container_description.yml new/node_exporter-1.8.1/.github/workflows/container_description.yml --- old/node_exporter-1.8.0/.github/workflows/container_description.yml 2024-04-24 15:14:02.000000000 +0200 +++ new/node_exporter-1.8.1/.github/workflows/container_description.yml 2024-05-21 20:34:32.000000000 +0200 @@ -17,7 +17,7 @@ if: github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community' # Don't run this workflow on forks. steps: - name: git checkout - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - name: Set docker hub repo name run: echo "DOCKER_REPO_NAME=$(make docker-repo-name)" >> $GITHUB_ENV - name: Push README to Dockerhub @@ -37,7 +37,7 @@ if: github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community' # Don't run this workflow on forks. steps: - name: git checkout - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - name: Set quay.io org name run: echo "DOCKER_REPO=$(echo quay.io/${GITHUB_REPOSITORY_OWNER} | tr -d '-')" >> $GITHUB_ENV - name: Set quay.io repo name diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/node_exporter-1.8.0/.github/workflows/golangci-lint.yml new/node_exporter-1.8.1/.github/workflows/golangci-lint.yml --- old/node_exporter-1.8.0/.github/workflows/golangci-lint.yml 2024-04-24 15:14:02.000000000 +0200 +++ new/node_exporter-1.8.1/.github/workflows/golangci-lint.yml 2024-05-21 20:34:32.000000000 +0200 @@ -33,6 +33,6 @@ run: sudo apt-get update && sudo apt-get -y install libsnmp-dev if: github.repository == 'prometheus/snmp_exporter' - name: Lint - uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 # v4.0.0 + uses: golangci/golangci-lint-action@9d1e0624a798bb64f6c3cea93db47765312263dc # v5.1.0 with: version: v1.56.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/node_exporter-1.8.0/CHANGELOG.md new/node_exporter-1.8.1/CHANGELOG.md --- old/node_exporter-1.8.0/CHANGELOG.md 2024-04-24 15:14:02.000000000 +0200 +++ new/node_exporter-1.8.1/CHANGELOG.md 2024-05-21 20:34:32.000000000 +0200 @@ -5,6 +5,12 @@ * [ENHANCEMENT] * [BUGFIX] +## 1.8.1 / 2024-05-16 + +* [BUGFIX] Fix CPU seconds on Solaris #2963 +* [BUGFIX] Sign Darwin/MacOS binaries #3008 +* [BUGFIX] Fix pressure collector nil reference #3016 + ## 1.8.0 / 2024-04-24 * [CHANGE] exec_bsd: Fix labels for `vm.stats.sys.v_syscall` sysctl #2895 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/node_exporter-1.8.0/Makefile.common new/node_exporter-1.8.1/Makefile.common --- old/node_exporter-1.8.0/Makefile.common 2024-04-24 15:14:02.000000000 +0200 +++ new/node_exporter-1.8.1/Makefile.common 2024-05-21 20:34:32.000000000 +0200 @@ -55,7 +55,7 @@ endif endif -PROMU_VERSION ?= 0.15.0 +PROMU_VERSION ?= 0.17.0 PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_VERSION)/prom... SKIP_GOLANGCI_LINT := diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/node_exporter-1.8.0/VERSION new/node_exporter-1.8.1/VERSION --- old/node_exporter-1.8.0/VERSION 2024-04-24 15:14:02.000000000 +0200 +++ new/node_exporter-1.8.1/VERSION 2024-05-21 20:34:32.000000000 +0200 @@ -1 +1 @@ -1.8.0 +1.8.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/node_exporter-1.8.0/collector/cpu_solaris.go new/node_exporter-1.8.1/collector/cpu_solaris.go --- old/node_exporter-1.8.0/collector/cpu_solaris.go 2024-04-24 15:14:02.000000000 +0200 +++ new/node_exporter-1.8.1/collector/cpu_solaris.go 2024-05-21 20:34:32.000000000 +0200 @@ -60,17 +60,17 @@ } for k, v := range map[string]string{ - "idle": "cpu_ticks_idle", - "kernel": "cpu_ticks_kernel", - "user": "cpu_ticks_user", - "wait": "cpu_ticks_wait", + "idle": "cpu_nsec_idle", + "kernel": "cpu_nsec_kernel", + "user": "cpu_nsec_user", + "wait": "cpu_nsec_wait", } { kstatValue, err := ksCPU.GetNamed(v) if err != nil { return err } - ch <- c.cpu.mustNewConstMetric(float64(kstatValue.UintVal), strconv.Itoa(cpu), k) + ch <- c.cpu.mustNewConstMetric(float64(kstatValue.UintVal)/1e9, strconv.Itoa(cpu), k) } } return nil diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/node_exporter-1.8.0/collector/fixtures/proc/pressure/cpu new/node_exporter-1.8.1/collector/fixtures/proc/pressure/cpu --- old/node_exporter-1.8.0/collector/fixtures/proc/pressure/cpu 2024-04-24 15:14:02.000000000 +0200 +++ new/node_exporter-1.8.1/collector/fixtures/proc/pressure/cpu 2024-05-21 20:34:32.000000000 +0200 @@ -1 +1,2 @@ some avg10=0.00 avg60=0.00 avg300=0.00 total=14036781 +full avg10=0.00 avg60=0.00 avg300=0.00 total=0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/node_exporter-1.8.0/collector/pressure_linux.go new/node_exporter-1.8.1/collector/pressure_linux.go --- old/node_exporter-1.8.0/collector/pressure_linux.go 2024-04-24 15:14:02.000000000 +0200 +++ new/node_exporter-1.8.1/collector/pressure_linux.go 2024-05-21 20:34:32.000000000 +0200 @@ -102,6 +102,14 @@ } return fmt.Errorf("failed to retrieve pressure stats: %w", err) } + if vals.Some == nil { + level.Debug(c.logger).Log("msg", "pressure information returned no 'some' data") + return ErrNoData + } + if vals.Full == nil { + level.Debug(c.logger).Log("msg", "pressure information returned no 'full' data") + return ErrNoData + } switch res { case "cpu": ch <- prometheus.MustNewConstMetric(c.cpu, prometheus.CounterValue, float64(vals.Some.Total)/1000.0/1000.0) ++++++ node_exporter.obsinfo ++++++ --- /var/tmp/diff_new_pack.PjDK1w/_old 2024-06-03 17:44:53.042161626 +0200 +++ /var/tmp/diff_new_pack.PjDK1w/_new 2024-06-03 17:44:53.046161773 +0200 @@ -1,5 +1,5 @@ name: node_exporter -version: 1.8.0 -mtime: 1713964442 -commit: cadb1d1190ad95c66b951758f01ff4c94e55e6ce +version: 1.8.1 +mtime: 1716316472 +commit: 400c3979931613db930ea035f39ce7b377cdbb5b ++++++ vendor.tar.gz ++++++