[LU-14067] sanity test_400a: gcc segmentation fault on arm Created: 22/Oct/20  Updated: 27/Jun/22  Resolved: 27/Jun/22

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

Type: Bug Priority: Minor
Reporter: Maloo Assignee: Xinliang Liu
Resolution: Fixed Votes: 0
Labels: arm

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

This issue was created by maloo for John Hammond <jhammond@whamcloud.com>

This issue relates to the following test suite run: https://testing.whamcloud.com/test_sets/956131b0-07f6-4348-9f34-74059e64b7c5

test_400a failed with the following error:

client api broken
== sanity test 400a: Lustre client api program can compile and link ================================== 19:29:24 (1603394964)
during IPA pass: visibility
/usr/lib64/lustre/tests/clientapi/simple_test.c:39:1: internal compiler error: Segmentation fault
 }
 ^

Same for 400b.

VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV
sanity test_400a - client api broken



 Comments   
Comment by Gerrit Updater [ 22/Oct/20 ]

John L. Hammond (jhammond@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40365
Subject: LU-14067 test: skip sanity 400ab on aarch64
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 62cefecebc129758763b4a697f302581c58bf0db

Comment by Gerrit Updater [ 23/Oct/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40365/
Subject: LU-14067 test: skip compile tests on aarch64
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 61f996b07f040376049522c9e8ee4469274607ce

Comment by James Nunez (Inactive) [ 23/Oct/20 ]

Note that patch 40365 adds sanity test_400a and test_400b to the ALWAYS_EXCEPT list. It also adds sanity-lnet test_300 to the ALWAYS_EXCEPT list.

Comment by Andreas Dilger [ 25/Nov/20 ]

We shouldn't have tests in ALWAYS_EXCEPT for closed tickets, since this is how we track test failures that are ignored for convenience but not actually resolved.

If this is expected to be a temporary issue, then the ticket should remain open until the problem is fixed.

If this is a permanent situation (i.e. the subtest doesn't make sense for this configuration) then this should be changed to a check and skip in the subtest itself, and the always_except label on this ticket can be removed before it is resolved.

Comment by Andreas Dilger [ 25/Nov/20 ]

The sanity-lnet ALWAYS_EXCEPT for test_300 also has a misleading comment "skip the grant tests for ARM until they are fixed", but the that subtest has nothing to do with grants.

Comment by James A Simmons [ 25/Nov/20 ]

Looking at the failures it looks like the development tools are install incorrectly for your images.

Comment by Xinliang Liu [ 26/Oct/21 ]

I can't see this issue on the CI or my local environment for months on master branch.

Comment by Andreas Dilger [ 26/Oct/21 ]

xinliang the always_except label means that the test is not being run (always skip because it is added to ALWAYS_EXCEPT), so no error would be seen. If it is passing when run manually, a patch can be pushed to remove the test from ALWAYS_EXCEPT in sanity.sh and it should hopefully pass:

       # bug number:    LU-14067 LU-14067
        ALWAYS_EXCEPT+=" 400a     400b"

If the patch passes, then it can be reviewed and landed and the tests will be run automatically again.

Comment by James A Simmons [ 26/Oct/21 ]

This works locally for me as well. The development environment is broke on the whamcloud VMs.  Maybe it works now for whamcloud? 

Comment by Xinliang Liu [ 08/Dec/21 ]

OK, Andreas will send a patch to remove the test from ALWAYS_EXCEPT  after LU-11596 patch landed or it will cause merge conflict.

Comment by Gerrit Updater [ 01/Feb/22 ]

"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/46409
Subject: LU-14067 tests: re-enable gcc compile test for PPC + ARM
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 2c93f9887d26efdd1056d47cb6f83a7e8a39bffe

Comment by Gerrit Updater [ 27/Jun/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46409/
Subject: LU-14067 tests: re-enable gcc compile test for PPC + ARM
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 5f3d2ff63b3eb67e55fa83123b236c820c347749

Comment by Peter Jones [ 27/Jun/22 ]

Landed for 2.16

Generated at Sat Feb 10 03:06:33 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.