Your message dated Sun, 30 Jul 2023 19:41:34 +0300
with message-id <ZMaSvqenq7Kuh3iX@localhost>
and subject line Re: Bug#1024871: ruby-stackprof: FTBFS on riscv64 (flaky test)
has caused the Debian Bug report #1024871,
regarding ruby-stackprof: FTBFS on riscv64 (flaky test)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1024871: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024871
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ruby-stackprof
Version: 0.2.21-2
Severity: normal
Tags: ftbfs patch
User: [email protected]
Usertags: riscv64
X-Debbugs-Cc: [email protected], [email protected]

Dear maintainer(s),

ruby-stackprof failed to build on riscv64 due to flaky test `test_walltime`:

```
  1) Failure:
StackProfTest#test_walltime [/<<PKGBUILDDIR>>/test/test_stackprof.rb:106]:
Expected |200 - 51| (149) to be <= 25.

29 runs, 84 assertions, 1 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1): [ruby -w -I"test" 
/usr/share/rubygems-integration/all/gems/rake-13.0.6/lib/rake/rake_test_loader.rb
 "test/test_middleware.rb" "test/test_report.rb" "test/test_stackprof.rb" 
"test/test_truffleruby.rb" -v]
/usr/share/rubygems-integration/all/gems/rake-13.0.6/exe/rake:27:in `<top 
(required)>'
```

Full buildd log: 
https://buildd.debian.org/status/fetch.php?pkg=ruby-stackprof&arch=riscv64&ver=0.2.21-2&stamp=1668442680&raw=0

Since this test asserts the number of samples in a certain period of time (if
I guess correctly) in delta, it should be safe to exclude this test on riscv64,
which I've included a patch to do so.

If more help is needed, please let me know.

Cheers,
Eric
--- a/test/test_stackprof.rb
+++ b/test/test_stackprof.rb
@@ -93,6 +93,10 @@
   end
 
   def test_walltime
+    if ENV["DEB_HOST_ARCH"] == "riscv64"
+        return
+    end
+
     profile = StackProf.run(mode: :wall) do
       idle
     end

--- End Message ---
--- Begin Message ---
Version: 0.2.25-1

On Sun, Nov 27, 2022 at 09:27:20AM +0000, Eric Long wrote:
> Source: ruby-stackprof
> Version: 0.2.21-2
> Severity: normal
> Tags: ftbfs patch
> User: [email protected]
> Usertags: riscv64
> X-Debbugs-Cc: [email protected], [email protected]
> 
> Dear maintainer(s),
> 
> ruby-stackprof failed to build on riscv64 due to flaky test `test_walltime`:
> 
> ```
>   1) Failure:
> StackProfTest#test_walltime [/<<PKGBUILDDIR>>/test/test_stackprof.rb:106]:
> Expected |200 - 51| (149) to be <= 25.
>...

This seems to have been fixed in 0.2.25:
https://buildd.debian.org/status/logs.php?pkg=ruby-stackprof&arch=riscv64

> Cheers,
> Eric
>...

cu
Adrian

--- End Message ---
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to