[LU-7993] sanity test_116a: division by 0 Created: 06/Apr/16  Updated: 14/Jun/16  Resolved: 14/Jun/16

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.9.0

Type: Bug Priority: Minor
Reporter: Maloo Assignee: Nathaniel Clark
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

This issue was created by maloo for Nathaniel Clark <nathaniel.l.clark@intel.com>

This issue relates to the following test suite run:
https://testing.hpdd.intel.com/test_sets/eea6875c-d9ca-11e5-8b17-5254006e85c2
https://testing.hpdd.intel.com/test_sets/09df136c-f68c-11e5-83a3-5254006e85c2
https://testing.hpdd.intel.com/test_sets/547e6124-f782-11e5-a964-5254006e85c2

The sub-test test_116a failed with the following error:

test_116a returned 1

Please provide additional information about the failure here.

Info required for matching: sanity 116a

Test log:

CMD: trevis-41vm7 lctl get_param -n lov.*.qos_maxage
Note: free space may not be updated, so measurements might be off
Waiting for local destroys to complete
error: get_param: reading 'osc.lustre-OST0000-osc-ffff880060133400.kbytesavail': Resource temporarily unavailable
error: get_param: reading 'osc.lustre-OST0001-osc-ffff880060133400.kbytesavail': Resource temporarily unavailable
OST kbytes available:
Min free space: OST 0:
Max free space: OST 0:
/usr/lib64/lustre/tests/sanity.sh: line 7482: - : syntax error: operand expected (error token is "- ")


 Comments   
Comment by Nathaniel Clark [ 06/Apr/16 ]

Also:

CMD: onyx-34vm3 lctl get_param -n lov.*.qos_maxage
Note: free space may not be updated, so measurements might be off
Waiting for local destroys to complete
OST kbytes available: 6414080 7932800
Min free space: OST 0: 6414080
Max free space: OST 1: 7932800
free space delta: orig 1590528 final 1518720
Wrote 0KB to smaller OST 0
Wrote 71808KB to larger OST 1
/usr/lib64/lustre/tests/sanity.sh: line 7414: 71808 * 100 / 0 - 100: division by 0 (error token is "- 100")
Comment by Nathaniel Clark [ 06/Apr/16 ]

So this but is actually conflating two issues. The div by 0 is simple to solve. The "operand expected" issue is due to the OST rebooting:

run: https://testing.hpdd.intel.com/test_sets/09df136c-f68c-11e5-83a3-5254006e85c2
ost console: https://testing.hpdd.intel.com/test_logs/17080094-f68c-11e5-83a3-5254006e85c2/show_text

So I think that's either a test tools issue or a separate issue

Comment by Gerrit Updater [ 06/Apr/16 ]

Nathaniel Clark (nathaniel.l.clark@intel.com) uploaded a new patch: http://review.whamcloud.com/19359
Subject: LU-7993 test: Fix division by 0 in info prints
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 78b9ec70560cac13f27ee3fa192ea73282a26788

Comment by Gerrit Updater [ 14/Jun/16 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/19359/
Subject: LU-7993 test: Fix division by 0 in info prints
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 6888948c04711a716640d7dad634c10516ec1d1a

Generated at Sat Feb 10 02:13:42 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.