Branch: refs/heads/wferi/time_t
Home: https://github.com/kronosnet/kronosnet
Commit: 187cbc452a467b321554549b73ca067f4aee3e86
https://github.com/kronosnet/kronosnet/commit/187cbc452a467b321554549b73ca0…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M libknet/links.c
Log Message:
-----------
Convert time_t to unsigned long long before formatting
Conventionally it's signed long under the GNU C library, which is 32
bits on 32-bit architectures, but Glibc provides the __TIME_BITS==64
option, which makes it signed long long instead (64 bits) and makes no
difference on 64-bit architectures [1]. Since the ping_interval and
pong_timeout members of struct knet_link are unsigned, we can make
this conversion safe by rejecting negative values as well (besides
zero). In the end this enables using the uniform %llu conversion
specifier across all supported architectures. This got exposed by
Debian recently transitioning to 64-bit time_t [2].
[1] https://sourceware.org/glibc/wiki/Y2038ProofnessDesign
[2] https://wiki.debian.org/ReleaseGoals/64bit-time
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
To unsubscribe from these emails, change your notification settings at https://github.com/kronosnet/kronosnet/settings/notifications
35/35 Non-voting fails: debian-experimental-x86-64(nonvoting: Build source) debian-experimental-x86-64(nonvoting-clang: Build source) freebsd-devel-x86-64(nonvoting: Run tests) fedora-rawhide-power9-ppc64le(nonvoting: Run tests) fedora-rawhide-s390x(nonvoting: Run tests) debian-unstable-x86-64(nonvoting: Run tests) fedora-rawhide-x86-64(nonvoting: Run tests) freebsd-devel-x86-64(nonvoting-clang: Run tests) fedora-40-power9-ppc64le(nonvoting-clang: Run tests) centos-9-power9-ppc64le(nonvoting-clang: Run tests) fedora-40-s390x(nonvoting-clang: Run tests) rhel-9-power9-ppc64le(nonvoting-clang: Run tests) rhel-9-s390x(nonvoting-clang: Run tests) rhel-8-s390x(nonvoting-clang: Run tests) freebsd-14-x86-64(nonvoting-clang: Run tests) fedora-rawhide-s390x(nonvoting-clang: Run tests) centos-9-s390x(nonvoting-clang: Run tests) freebsd-13-x86-64(nonvoting-clang: Run tests) fedora-rawhide-power9-ppc64le(nonvoting-clang: Run tests) ubuntu-devel-x86-64(nonvoting: Run tests) ubuntu-22-04-lts-x86-64(nonvoting-clang: Run tests) debian-testing-x86-64(nonvoting-clang: Run tests) centos-9-x86-64(nonvoting-clang: Run tests) debian-11-x86-64(nonvoting-clang: Run tests) rhel-8-power9-ppc64le(nonvoting-clang: Run tests) ubuntu-20-04-lts-x86-64(nonvoting-clang: Run tests) fedora-39-x86-64(nonvoting-clang: Run tests) debian-12-x86-64(nonvoting-clang: Run tests) debian-unstable-x86-64(nonvoting-clang: Run tests) rhel-8-x86-64(nonvoting-clang: Run tests) rhel-9-x86-64(nonvoting-clang: Run tests) fedora-rawhide-x86-64(nonvoting-clang: Run tests) fedora-40-x86-64(nonvoting-clang: Run tests) ubuntu-24-04-lts-x86-64(nonvoting-clang: Run tests) ubuntu-devel-x86-64(nonvoting-clang: Run tests)
31/41 Voting fails: centos-9-power9-ppc64le(voting: Run tests) fedora-40-power9-ppc64le(voting: Run tests) rhel-9-power9-ppc64le(voting: Run tests) rhel-8-s390x(voting: Run tests) fedora-40-s390x(voting: Run tests) ubuntu-22-04-lts-x86-64(voting: Run tests) rhel-9-s390x(voting: Run tests) centos-9-s390x(voting: Run tests) freebsd-13-x86-64(voting: Run tests) debian-testing-x86-64(voting: Run tests) freebsd-14-x86-64(voting: Run tests) debian-11-x86-64(voting: Run tests) rhel-8-coverity-x86-64(voting: Run tests) rhel-9-coverity-x86-64(voting: Run tests) rhel-8-power9-ppc64le(voting: Run tests) centos-9-x86-64(voting: Run tests) ubuntu-20-04-lts-x86-64(voting: Run tests) debian-12-x86-64(voting: Run tests) rhel-8-x86-64(voting: Run tests) fedora-39-x86-64(voting: Run tests) rhel-9-x86-64(voting: Run tests) ubuntu-24-04-lts-x86-64(voting: Run tests) fedora-40-x86-64(voting: Run tests) fedora-40-s390x(buildrpms: Build source) fedora-rawhide-s390x(buildrpms: Build source) rhel-8-s390x(buildrpms: Build source) centos-9-x86-64(buildrpms: Build source) fedora-rawhide-x86-64(buildrpms: Build source) rhel-8-x86-64(buildrpms: Build source) rhel-9-x86-64(buildrpms: Build source) rhel-8-power9-ppc64le(buildrpms: Build source)
Run reason: Pull request #3571 updated
Total runtime: 27 min
Split logs: https://ci.kronosnet.org/job/pacemaker/job/pacemaker-pipeline/job/PR-3571/6…
Full log: https://ci.kronosnet.org/job/pacemaker/job/pacemaker-pipeline/job/PR-3571/6…
Full Coverity results:
http://ci.kronosnet.org/coverity/pacemaker/rhel-8-coverity-x86-64/pr3571//6http://ci.kronosnet.org/coverity/pacemaker/rhel-9-coverity-x86-64/pr3571//6
Duplicate job killed: pacemaker/pacemaker-pipeline/PR-3571 (5)
10/35 Non-voting fails: debian-experimental-x86-64(nonvoting: Build source) debian-experimental-x86-64(nonvoting-clang: Build source) freebsd-devel-x86-64(nonvoting: Run tests) fedora-rawhide-s390x(nonvoting: Run tests) fedora-rawhide-power9-ppc64le(nonvoting: Run tests) debian-unstable-x86-64(nonvoting: Run tests) ubuntu-devel-x86-64(nonvoting: Run tests) fedora-rawhide-x86-64(nonvoting: Run tests) freebsd-devel-x86-64(nonvoting-clang: Run tests) ubuntu-devel-x86-64(nonvoting-clang: Run tests)
23/25 Voting fails: rhel-9-s390x(voting: Run tests) fedora-40-s390x(voting: Run tests) fedora-40-power9-ppc64le(voting: Run tests) rhel-9-power9-ppc64le(voting: Run tests) centos-9-power9-ppc64le(voting: Run tests) rhel-8-s390x(voting: Run tests) rhel-8-coverity-x86-64(voting: Run tests) freebsd-14-x86-64(voting: Run tests) centos-9-s390x(voting: Run tests) ubuntu-22-04-lts-x86-64(voting: Run tests) freebsd-13-x86-64(voting: Run tests) debian-testing-x86-64(voting: Run tests) rhel-9-coverity-x86-64(voting: Run tests) debian-11-x86-64(voting: Run tests) rhel-8-power9-ppc64le(voting: Run tests) debian-12-x86-64(voting: Run tests) centos-9-x86-64(voting: Run tests) ubuntu-20-04-lts-x86-64(voting: Run tests) rhel-9-x86-64(voting: Run tests) fedora-39-x86-64(voting: Run tests) rhel-8-x86-64(voting: Run tests) fedora-40-x86-64(voting: Run tests) ubuntu-24-04-lts-x86-64(voting: Run tests)
Run reason: Pull request #3571 updated
Total runtime: 17 min
Split logs: https://ci.kronosnet.org/job/pacemaker/job/pacemaker-pipeline/job/PR-3571/5…
Full log: https://ci.kronosnet.org/job/pacemaker/job/pacemaker-pipeline/job/PR-3571/5…
Please report the following errors to your friendly local Jenkins admin (though they have probably already seen them and are already panicking).
Exception caught on centos-9-power9-ppc64le during buildrpms: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on centos-9-s390x during buildrpms: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on centos-9-x86-64 during buildrpms: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on fedora-39-x86-64 during buildrpms: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on fedora-40-power9-ppc64le during buildrpms: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on fedora-40-s390x during buildrpms: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on fedora-40-x86-64 during buildrpms: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on fedora-rawhide-power9-ppc64le during buildrpms: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on fedora-rawhide-s390x during buildrpms: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on fedora-rawhide-x86-64 during buildrpms: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on rhel-8-power9-ppc64le during buildrpms: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on rhel-8-s390x during buildrpms: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on rhel-8-x86-64 during buildrpms: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on rhel-9-power9-ppc64le during buildrpms: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on rhel-9-s390x during buildrpms: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on rhel-9-x86-64 during buildrpms: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on debian-12-x86-64 during nonvoting-clang: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on fedora-39-x86-64 during nonvoting-clang: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on fedora-rawhide-power9-ppc64le during nonvoting-clang: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on rhel-8-s390x during nonvoting-clang: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on rhel-9-x86-64 during nonvoting-clang: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on ubuntu-20-04-lts-x86-64 during nonvoting-clang: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on ubuntu-22-04-lts-x86-64 during nonvoting-clang: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on ubuntu-24-04-lts-x86-64 during nonvoting-clang: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on centos-9-power9-ppc64le during nonvoting-clang: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on centos-9-x86-64 during nonvoting-clang: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on fedora-40-power9-ppc64le during nonvoting-clang: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on rhel-9-power9-ppc64le during nonvoting-clang: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on freebsd-14-x86-64 during nonvoting-clang: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on centos-9-s390x during nonvoting-clang: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on debian-11-x86-64 during nonvoting-clang: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on rhel-8-power9-ppc64le during nonvoting-clang: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on fedora-40-x86-64 during nonvoting-clang: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on rhel-8-x86-64 during nonvoting-clang: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on freebsd-13-x86-64 during nonvoting-clang: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on fedora-rawhide-s390x during nonvoting-clang: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on rhel-8-coverity-x86-64 during covscan: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on rhel-9-s390x during nonvoting-clang: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on fedora-rawhide-x86-64 during nonvoting-clang: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on fedora-40-s390x during nonvoting-clang: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on debian-unstable-x86-64 during nonvoting-clang: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on debian-testing-x86-64 during nonvoting-clang: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
Exception caught on rhel-9-coverity-x86-64 during covscan: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException