Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935294 - dev-util/aruba-2.2.0 fails tests on arm: disk usage is expected to be > 512
Summary: dev-util/aruba-2.2.0 fails tests on arm: disk usage is expected to be > 512
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-07-01 17:59 UTC by matoro
Modified: 2024-07-11 16:58 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log and emerge --info (file_935294.txt,18.61 KB, text/plain)
2024-07-01 17:59 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-07-01 17:59:19 UTC
Created attachment 896720 [details]
build.log and emerge --info

(::) failed steps (::)
 
expected "\ndisk usage\n  is expected to be > 512 (FAILED - 1)\n\nFailures:\n\n  1) disk usage is expected to ...re\n\nFailed examples:\n\nrspec ./spec/disk_usage_spec.rb:17 # disk usage is expected to be > 512\n" to string includes: "0 failures"
Diff:
@@ -1,27 +1,53 @@
-0 failures
+
+disk usage
+  is expected to be > 512 (FAILED - 1)
+
+Failures:
+
+  1) disk usage is expected to be > 512
+     Failure/Error: it { expect(@size1).to be > @size2 }
+
+       expected: > 512
+            got:   512
+     # ./spec/disk_usage_spec.rb:17:in `block (2 levels) in <top (required)>'
+     # /var/tmp/portage/dev-util/aruba-2.2.0/work/ruby31/aruba-2.2.0/lib/aruba/rspec.rb:35:in `block (3 levels) in <top (required)>'
+     # /var/tmp/portage/dev-util/aruba-2.2.0/work/ruby31/aruba-2.2.0/lib/aruba/platforms/local_environment.rb:22:in `call'
+     # /var/tmp/portage/dev-util/aruba-2.2.0/work/ruby31/aruba-2.2.0/lib/aruba/platforms/unix_platform.rb:79:in `with_environment'
+     # /var/tmp/portage/dev-util/aruba-2.2.0/work/ruby31/aruba-2.2.0/lib/aruba/api/core.rb:222:in `block in with_environment'
+     # /var/tmp/portage/dev-util/aruba-2.2.0/work/ruby31/aruba-2.2.0/lib/aruba/platforms/unix_environment_variables.rb:189:in `nest'
+     # /var/tmp/portage/dev-util/aruba-2.2.0/work/ruby31/aruba-2.2.0/lib/aruba/api/core.rb:220:in `with_environment'
+     # /var/tmp/portage/dev-util/aruba-2.2.0/work/ruby31/aruba-2.2.0/lib/aruba/rspec.rb:34:in `block (2 levels) in <top (required)>'
+     # /var/tmp/portage/dev-util/aruba-2.2.0/work/ruby31/aruba-2.2.0/lib/aruba/rspec.rb:25:in `block (2 levels) in <top (required)>'
+
+Finished in 0.09132 seconds (files took 0.45046 seconds to load)
+1 example, 1 failure
+
+Failed examples:
+
+rspec ./spec/disk_usage_spec.rb:17 # disk usage is expected to be > 512
 (RSpec::Expectations::ExpectationNotMetError)
./lib/aruba/cucumber/command.rb:126:in `"(the ){channel} should contain {string}"'
./lib/aruba/cucumber/testing_frameworks.rb:53:in `/^the spec(?:s)? should all pass$/'
./features/support/timing.rb:9:in `block in <top (required)>'
./lib/aruba/platforms/local_environment.rb:22:in `call'
./lib/aruba/platforms/unix_platform.rb:79:in `with_environment'
./lib/aruba/api/core.rb:222:in `block in with_environment'
./lib/aruba/platforms/unix_environment_variables.rb:189:in `nest'
./lib/aruba/api/core.rb:220:in `with_environment'
./lib/aruba/cucumber/hooks.rb:7:in `block in <top (required)>'
features/04_aruba_api/filesystem/report_disk_usage.feature:166:in `the specs should all pass'
 
Failing Scenarios:
cucumber features/04_aruba_api/filesystem/report_disk_usage.feature:143 # Scenario: Compare two repored disk usages
 
372 scenarios (1 failed, 3 skipped, 368 passed)
1748 steps (1 failed, 12 skipped, 1735 passed)
11m33.397s
Comment 1 Larry the Git Cow gentoo-dev 2024-07-11 16:58:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9a4b849bdeb19e26cf393540b00825915e215fa

commit c9a4b849bdeb19e26cf393540b00825915e215fa
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2024-07-11 16:56:38 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2024-07-11 16:57:56 +0000

    dev-util/aruba: drop test making assumptions about env
    
    Drop a test that assumes a physical block size of the underlying storage
    layer, which we cannot guarantee.
    
    Closes: https://bugs.gentoo.org/935294
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-util/aruba/aruba-2.2.0.ebuild | 4 ++++
 1 file changed, 4 insertions(+)