Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Spurious self-test failures on slow machines #677

Open
jas4711 opened this issue Jan 15, 2025 · 0 comments
Open

[Bug]: Spurious self-test failures on slow machines #677

jas4711 opened this issue Jan 15, 2025 · 0 comments
Labels
bug Something isn't working needs triage

Comments

@jas4711
Copy link

jas4711 commented Jan 15, 2025

Steps to Reproduce

Build and run self-checks.

Your Environment

  • OS - Debian
  • Version - sid

Expected Behavior

Self checks pass

Actual Behavior

Self checks fail

Additional Context

Hi

I am helping maintaining this package in Debian, and we're seeing spurious self-test failures on armhf/armel, which I believe is mostly due to these platforms being slow.

https://ci.debian.net/packages/g/golang-github-smallstep-crypto/testing/armhf/56206910/
https://ci.debian.net/packages/g/golang-github-smallstep-crypto/testing/armel/56206817/

Here are what I believe are the relevant errors:

190s     certificate_test.go:647: 
190s         	Error Trace:	/tmp/autopkgtest-lxc.lgsuy2x8/downtmp/autopkgtest_tmp/_build/src/go.step.sm/crypto/x509util/certificate_test.go:647
190s         	Error:      	Not equal: 
...
190s         	            	Diff:
190s         	            	--- Expected
190s         	            	+++ Actual
190s         	            	@@ -59,3 +59,3 @@
190s         	            	   wall: (uint64) 0,
190s         	            	-  ext: (int64) 63872019401,
190s         	            	+  ext: (int64) 63872019402,
190s         	            	   loc: (*time.Location)(<nil>)

and

160s     funcmap_test.go:245: 
160s         	Error Trace:	/tmp/autopkgtest-lxc.1d0o0uzr/downtmp/autopkgtest_tmp/_build/src/go.step.sm/crypto/internal/templates/funcmap_test.go:245
160s         	Error:      	Not equal: 
160s         	            	expected: "2025-01-09T06:22:13Z"
160s         	            	actual  : "2025-01-09T06:22:14Z"
160s         	            	
160s         	            	Diff:
160s         	            	--- Expected
160s         	            	+++ Actual
160s         	            	@@ -1 +1 @@
160s         	            	-2025-01-09T06:22:13Z
160s         	            	+2025-01-09T06:22:14Z
160s         	Test:       	TestTemplates/formatTime_in_sprig

What do you think?

Thanks,
Simon

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

@jas4711 jas4711 added bug Something isn't working needs triage labels Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

1 participant