Project

General

Profile

Actions

action #65151

closed

test fails in valgrind - ARM not fully supported by check script

Added by ggardet_arm about 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
-
Start date:
2020-04-01
Due date:
% Done:

100%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario opensuse-15.2-DVD-aarch64-extra_tests_in_textmode@aarch64 fails in
valgrind

The test script valgrind-test.sh does not fully support ARM yet. We get SGCheck doesn't work on ARM yet, sorry. on aarch64. We probably need to skip some tests in this script.
Full log of this script is:

# wait_serial expected: qr/ZXZuM-\d+-/
# Result:
Compiling test program ... 
Testing valgrind ... 
> ==13403== 3,072 bytes in 2 blocks are definitely lost in loss record 1 of 2
> ==13403== 4,096 bytes in 1 blocks are still reachable in loss record 2 of 2
> ==13403==    by 0x400A9B: leak_some_mem (valgrind-test.c:42)
> ==13403==    by 0x400A9B: leak_some_mem (valgrind-test.c:42)
> ==13403==    definitely lost: 3,072 bytes in 2 blocks
> ==13403==    still reachable: 4,096 bytes in 1 blocks
> ==13415==     in use at exit: 1,024 bytes in 1 blocks
> ==13415==   total heap usage: 1 allocs, 0 frees, 1,024 bytes allocated
> ==13415==    definitely lost: 1,024 bytes in 1 blocks
> ==13422==     in use at exit: 3,072 bytes in 3 blocks
> ==13422==   total heap usage: 3 allocs, 0 frees, 3,072 bytes allocated
> ==13422==    definitely lost: 3,072 bytes in 3 blocks
> ==13429==     in use at exit: 1,024 bytes in 1 blocks
> ==13429==   total heap usage: 1 allocs, 0 frees, 1,024 bytes allocated
> ==13429==    definitely lost: 1,024 bytes in 1 blocks
> ==13436==     in use at exit: 4,096 bytes in 3 blocks
> ==13436==   total heap usage: 3 allocs, 0 frees, 4,096 bytes allocated
> ==13436==    definitely lost: 2,048 bytes in 2 blocks
> ==13436==    still reachable: 2,048 bytes in 1 blocks
> ==13445== All heap blocks were freed -- no leaks are possible
> ==13448== Invalid read of size 1
> ==13448==  Address 0x4a0b140 is 0 bytes after a block of size 256 alloc'd
> ==13448== Conditional jump or move depends on uninitialised value(s)
> ==13448==  Uninitialised value was created by a heap allocation
> ==13448== All heap blocks were freed -- no leaks are possible
> ==13459== Conditional jump or move depends on uninitialised value(s)
> ==13459==  Uninitialised value was created by a heap allocation
> ==13459== All heap blocks were freed -- no leaks are possible
SGCheck doesn't work on ARM yet, sorry.
ZXZuM-1-

Test suite description

Maintainer: okurz@suse.de

Mainly console extratest.

Reproducible

Fails since (at least) Build 112.1

Expected result

Last good: 111.1 (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by ph03nix about 4 years ago

  • Status changed from New to In Progress
  • Assignee set to ph03nix

Working on it.

SGCheck also doesn't work on s390x, I'm including aarch into the list of architectures, were we are going to skip the test.

Actions #2

Updated by michel_mno about 4 years ago

same failure for PowerPC:
https://openqa.opensuse.org/tests/1226700#step/valgrind/15
> ==19790== Invalid read of size 1
> ==19790== Address 0x42e0140 is 0 bytes after a block of size 256 alloc'd
> ==19790== Conditional jump or move depends on uninitialised value(s)
> ==19790== Uninitialised value was created by a heap allocation
> ==19790== All heap blocks were freed -- no leaks are possible
> ==19801== Conditional jump or move depends on uninitialised value(s)
> ==19801== Uninitialised value was created by a heap allocation
> ==19801== All heap blocks were freed -- no leaks are possible
SGCheck doesn't work on PPC yet, sorry.
ZXZuM-1-

Actions #3

Updated by ggardet_arm about 4 years ago

@michel_mno, the fix has been merged few hours ago and should cover powerpc https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/9940
Could you restart the test, please?

Actions #4

Updated by ph03nix about 4 years ago

ggardet_arm wrote:

@michel_mno, the fix has been merged few hours ago and should cover powerpc https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/9940
Could you restart the test, please?

Indeed, the fix includes powerpc and arm (sgcheck is only executed on x86_64). Thanks for reporting!

Actions #5

Updated by ph03nix almost 4 years ago

  • Status changed from In Progress to Resolved
Actions #6

Updated by ph03nix almost 4 years ago

  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF