Source: puppetlabs-http-client-clojure
Version: 2.1.1-1
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainers,

It seems that this package randomly fails the following test (part of
unittests) once in a while (around 1 out of 20 times):

> 208s Testing puppetlabs.http.client.metrics-test
> 214s
> 214s FAIL in (metrics-test-clojure-sync) (metrics_test.clj:424)
> 214s metrics work with clojure sync client get-client-metrics-data returns a
map of metric category to metric data
> 214s expected: (>= 1 (Math/abs (- (:aggregate short-data) (+ (:aggregate
short-data-get) (:aggregate short-data-post)))))
> 214s   actual: (not (>= 1 4))

This can be observed on all architectures. There are no other significant
changes in logs between passing and failing trials.

There is also another test that fails occasionally on slower architectures
(e.g. riscv64):

> 683s Testing puppetlabs.http.client.sync-plaintext-test
> 688s
> 688s FAIL in (short-connect-timeout-nonpersistent-java-test-sync)
(sync_plaintext_test.clj:624)
> 688s connection times out properly for non-persistent java sync request with
short timeout
> 688s Connection attempt took significantly longer than timeout
> 688s expected: (elapsed-within-range? time-before-connect 2000)
> 688s   actual: (not (elapsed-within-range? 1742875528883 2000))

Could you please try to fix these in order to avoid autopkgtest false positives
(that can e.g. block package migrations) and/or report the problem(s) upstream?

https://ci.debian.net/packages/p/puppetlabs-http-client-clojure/

Best regards,

--
Julien Plissonneau Duquène


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (20, 'unstable'), (10, 'experimental'), (5, 
'stable-updates'), (5, 'stable-security'), (5, 'bookworm-fasttrack'), (5, 
'bookworm-backports-staging'), (5, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.17-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to