Fix the error while installing execltp.#18
Closed
ruanzhengwang wants to merge 1 commit intolinux-test-project:masterfrom
Closed
Fix the error while installing execltp.#18ruanzhengwang wants to merge 1 commit intolinux-test-project:masterfrom
ruanzhengwang wants to merge 1 commit intolinux-test-project:masterfrom
Conversation
Signed-off-by: Zhengwang Ruan <[email protected]>
Author
|
This patch fixed the error happened while installing execltp at the end of 'make install'. install -m 00755 "/tmp/ltp-repo/runltplite.sh" "/opt/ltp/runltplite.sh" |
jstancek
added a commit
that referenced
this pull request
May 22, 2017
Only newlib testcases support SAFE macros in cleanup(). When SAFE_UNLINK fails, it creates infinite loop between tst_brk_ and cleanup: #0 tst_res__ at tst_res.c:153 #1 0x0000000000407ba8 in tst_brk__ at tst_res.c:480 #2 0x00000000004081fe in tst_brkm_ at tst_res.c:577 #3 0x000000000040a7c9 in safe_unlink at safe_macros.c:358 #4 0x0000000000404abd in cleanup () at pipeio.c:497 #5 0x0000000000407bc7 in tst_brk__ at tst_res.c:498 #6 0x00000000004081fe in tst_brkm_ at tst_res.c:577 #7 0x000000000040c1d6 in def_handler at tst_sig.c:231 #8 <signal handler called> #9 0x00007f29c2cbd1f7 in __GI_raise at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #10 0x00007f29c2cbe8e8 in __GI_abort () at abort.c:90 #11 0x00000000004081af in tst_brkm_ at tst_res.c:581 #12 0x000000000040a7c9 in safe_unlink at safe_macros.c:358 #13 0x0000000000404abd in cleanup () at pipeio.c:497 #14 0x0000000000407bc7 in tst_brk__ at tst_res.c:498 #15 0x00000000004081fe in tst_brkm_ at tst_res.c:577 #16 0x000000000040c1d6 in def_handler at tst_sig.c:231 #17 <signal handler called> #18 0x00007f29c2cbd1f7 in __GI_raise at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #19 0x00007f29c2cbe8e8 in __GI_abort () at abort.c:90 #20 0x00000000004081af in tst_brkm_ at tst_res.c:581 #21 0x000000000040a7c9 in safe_unlink at safe_macros.c:358 #22 0x0000000000404abd in cleanup () at pipeio.c:497 ... Signed-off-by: Jan Stancek <[email protected]>
coolgw
added a commit
to coolgw/ltp
that referenced
this pull request
Nov 1, 2025
For alpine platform we should mount /dev/loop device before df check. Otherwise following error will be triggered runtest TINFO: * shell/tst_format_device.sh tst_format_device 1 TINFO: Running: tst_format_device.sh tst_format_device 1 TINFO: Tested kernel: Linux 0ba9f024d6b7 6.11.0-1018-azure linux-test-project#18~24.04.1-Ubuntu SMP Sat Jun 28 04:46:03 UTC 2025 x86_64 Linux tst_format_device 1 TINFO: Using /tmp/LTP_tst_format_device.XXXXOajpgN as tmpdir (UNKNOWN filesystem) tst_device.c:98: TINFO: Found free device 0 '/dev/loop0' tst_format_device 1 TINFO: Formatting ext2 with opts='-b 1024 /dev/loop0 5m' tst_format_device 1 TINFO: timeout per run is 0h 5m 0s tst_format_device 1 TPASS: device formatted df: /dev/loop0: can't find mount point tst_format_device 2 TFAIL: df /dev/loop0 | grep -q /dev failed unexpectedly tst_format_device 3 TINFO: AppArmor enabled, this may affect test results tst_format_device 3 TINFO: it can be disabled with TST_DISABLE_APPARMOR=1 (requires super/root) tst_format_device 3 TINFO: loaded AppArmor profiles: none Signed-off-by: Wei Gao <[email protected]>
pevik
pushed a commit
to pevik/ltp
that referenced
this pull request
Nov 11, 2025
For alpine platform we should mount /dev/loop device before df check. Otherwise following error will be triggered runtest TINFO: * shell/tst_format_device.sh tst_format_device 1 TINFO: Running: tst_format_device.sh tst_format_device 1 TINFO: Tested kernel: Linux 0ba9f024d6b7 6.11.0-1018-azure linux-test-project#18~24.04.1-Ubuntu SMP Sat Jun 28 04:46:03 UTC 2025 x86_64 Linux tst_format_device 1 TINFO: Using /tmp/LTP_tst_format_device.XXXXOajpgN as tmpdir (UNKNOWN filesystem) tst_device.c:98: TINFO: Found free device 0 '/dev/loop0' tst_format_device 1 TINFO: Formatting ext2 with opts='-b 1024 /dev/loop0 5m' tst_format_device 1 TINFO: timeout per run is 0h 5m 0s tst_format_device 1 TPASS: device formatted df: /dev/loop0: can't find mount point tst_format_device 2 TFAIL: df /dev/loop0 | grep -q /dev failed unexpectedly tst_format_device 3 TINFO: AppArmor enabled, this may affect test results tst_format_device 3 TINFO: it can be disabled with TST_DISABLE_APPARMOR=1 (requires super/root) tst_format_device 3 TINFO: loaded AppArmor profiles: none Signed-off-by: Wei Gao <[email protected]>
coolgw
added a commit
to coolgw/ltp
that referenced
this pull request
Nov 12, 2025
Busybox df implementation require mounting (unlike coreutils implementation). Following error can be found during alpine ci: runtest TINFO: * shell/tst_format_device.sh tst_format_device 1 TINFO: Running: tst_format_device.sh tst_format_device 1 TINFO: Tested kernel: Linux 0ba9f024d6b7 6.11.0-1018-azure linux-test-project#18~24.04.1-Ubuntu SMP Sat Jun 28 04:46:03 UTC 2025 x86_64 Linux tst_format_device 1 TINFO: Using /tmp/LTP_tst_format_device.XXXXOajpgN as tmpdir (UNKNOWN filesystem) tst_device.c:98: TINFO: Found free device 0 '/dev/loop0' tst_format_device 1 TINFO: Formatting ext2 with opts='-b 1024 /dev/loop0 5m' tst_format_device 1 TINFO: timeout per run is 0h 5m 0s tst_format_device 1 TPASS: device formatted df: /dev/loop0: can't find mount point tst_format_device 2 TFAIL: df /dev/loop0 | grep -q /dev failed unexpectedly tst_format_device 3 TINFO: AppArmor enabled, this may affect test results tst_format_device 3 TINFO: it can be disabled with TST_DISABLE_APPARMOR=1 (requires super/root) tst_format_device 3 TINFO: loaded AppArmor profiles: none Signed-off-by: Wei Gao <[email protected]>
coolgw
added a commit
to coolgw/ltp
that referenced
this pull request
Nov 12, 2025
Busybox df implementation require mounting (unlike coreutils implementation). Following error can be found during alpine ci: runtest TINFO: * shell/tst_format_device.sh tst_format_device 1 TINFO: Running: tst_format_device.sh tst_format_device 1 TINFO: Tested kernel: Linux 0ba9f024d6b7 6.11.0-1018-azure linux-test-project#18~24.04.1-Ubuntu SMP Sat Jun 28 04:46:03 UTC 2025 x86_64 Linux tst_format_device 1 TINFO: Using /tmp/LTP_tst_format_device.XXXXOajpgN as tmpdir (UNKNOWN filesystem) tst_device.c:98: TINFO: Found free device 0 '/dev/loop0' tst_format_device 1 TINFO: Formatting ext2 with opts='-b 1024 /dev/loop0 5m' tst_format_device 1 TINFO: timeout per run is 0h 5m 0s tst_format_device 1 TPASS: device formatted df: /dev/loop0: can't find mount point tst_format_device 2 TFAIL: df /dev/loop0 | grep -q /dev failed unexpectedly tst_format_device 3 TINFO: AppArmor enabled, this may affect test results tst_format_device 3 TINFO: it can be disabled with TST_DISABLE_APPARMOR=1 (requires super/root) tst_format_device 3 TINFO: loaded AppArmor profiles: none Signed-off-by: Wei Gao <[email protected]>
coolgw
added a commit
to coolgw/ltp
that referenced
this pull request
Jan 23, 2026
Busybox df implementation require mounting (unlike coreutils implementation). Following error can be found during alpine ci: runtest TINFO: * shell/tst_format_device.sh tst_format_device 1 TINFO: Running: tst_format_device.sh tst_format_device 1 TINFO: Tested kernel: Linux 0ba9f024d6b7 6.11.0-1018-azure linux-test-project#18~24.04.1-Ubuntu SMP Sat Jun 28 04:46:03 UTC 2025 x86_64 Linux tst_format_device 1 TINFO: Using /tmp/LTP_tst_format_device.XXXXOajpgN as tmpdir (UNKNOWN filesystem) tst_device.c:98: TINFO: Found free device 0 '/dev/loop0' tst_format_device 1 TINFO: Formatting ext2 with opts='-b 1024 /dev/loop0 5m' tst_format_device 1 TINFO: timeout per run is 0h 5m 0s tst_format_device 1 TPASS: device formatted df: /dev/loop0: can't find mount point tst_format_device 2 TFAIL: df /dev/loop0 | grep -q /dev failed unexpectedly tst_format_device 3 TINFO: AppArmor enabled, this may affect test results tst_format_device 3 TINFO: it can be disabled with TST_DISABLE_APPARMOR=1 (requires super/root) tst_format_device 3 TINFO: loaded AppArmor profiles: none Signed-off-by: Wei Gao <[email protected]>
pevik
pushed a commit
to pevik/ltp
that referenced
this pull request
Jan 23, 2026
Busybox df implementation require mounting (unlike coreutils implementation). Following error can be found during alpine ci: runtest TINFO: * shell/tst_format_device.sh tst_format_device 1 TINFO: Running: tst_format_device.sh tst_format_device 1 TINFO: Tested kernel: Linux 0ba9f024d6b7 6.11.0-1018-azure linux-test-project#18~24.04.1-Ubuntu SMP Sat Jun 28 04:46:03 UTC 2025 x86_64 Linux tst_format_device 1 TINFO: Using /tmp/LTP_tst_format_device.XXXXOajpgN as tmpdir (UNKNOWN filesystem) tst_device.c:98: TINFO: Found free device 0 '/dev/loop0' tst_format_device 1 TINFO: Formatting ext2 with opts='-b 1024 /dev/loop0 5m' tst_format_device 1 TINFO: timeout per run is 0h 5m 0s tst_format_device 1 TPASS: device formatted df: /dev/loop0: can't find mount point tst_format_device 2 TFAIL: df /dev/loop0 | grep -q /dev failed unexpectedly tst_format_device 3 TINFO: AppArmor enabled, this may affect test results tst_format_device 3 TINFO: it can be disabled with TST_DISABLE_APPARMOR=1 (requires super/root) tst_format_device 3 TINFO: loaded AppArmor profiles: none Signed-off-by: Wei Gao <[email protected]> Reviewed-by: Petr Vorel <[email protected]> Reviewed-by: Li Wang <[email protected]>
coolgw
added a commit
to coolgw/ltp
that referenced
this pull request
Jan 25, 2026
Busybox df implementation require mounting (unlike coreutils implementation). Following error can be found during alpine ci: runtest TINFO: * shell/tst_format_device.sh tst_format_device 1 TINFO: Running: tst_format_device.sh tst_format_device 1 TINFO: Tested kernel: Linux 0ba9f024d6b7 6.11.0-1018-azure linux-test-project#18~24.04.1-Ubuntu SMP Sat Jun 28 04:46:03 UTC 2025 x86_64 Linux tst_format_device 1 TINFO: Using /tmp/LTP_tst_format_device.XXXXOajpgN as tmpdir (UNKNOWN filesystem) tst_device.c:98: TINFO: Found free device 0 '/dev/loop0' tst_format_device 1 TINFO: Formatting ext2 with opts='-b 1024 /dev/loop0 5m' tst_format_device 1 TINFO: timeout per run is 0h 5m 0s tst_format_device 1 TPASS: device formatted df: /dev/loop0: can't find mount point tst_format_device 2 TFAIL: df /dev/loop0 | grep -q /dev failed unexpectedly tst_format_device 3 TINFO: AppArmor enabled, this may affect test results tst_format_device 3 TINFO: it can be disabled with TST_DISABLE_APPARMOR=1 (requires super/root) tst_format_device 3 TINFO: loaded AppArmor profiles: none Signed-off-by: Wei Gao <[email protected]> Reviewed-by: Petr Vorel <[email protected]> Reviewed-by: Li Wang <[email protected]>
wangli5665
pushed a commit
to wangli5665/ltp
that referenced
this pull request
Jan 28, 2026
Busybox df implementation require mounting (unlike coreutils implementation). Following error can be found during alpine ci: runtest TINFO: * shell/tst_format_device.sh tst_format_device 1 TINFO: Running: tst_format_device.sh tst_format_device 1 TINFO: Tested kernel: Linux 0ba9f024d6b7 6.11.0-1018-azure linux-test-project#18~24.04.1-Ubuntu SMP Sat Jun 28 04:46:03 UTC 2025 x86_64 Linux tst_format_device 1 TINFO: Using /tmp/LTP_tst_format_device.XXXXOajpgN as tmpdir (UNKNOWN filesystem) tst_device.c:98: TINFO: Found free device 0 '/dev/loop0' tst_format_device 1 TINFO: Formatting ext2 with opts='-b 1024 /dev/loop0 5m' tst_format_device 1 TINFO: timeout per run is 0h 5m 0s tst_format_device 1 TPASS: device formatted df: /dev/loop0: can't find mount point tst_format_device 2 TFAIL: df /dev/loop0 | grep -q /dev failed unexpectedly tst_format_device 3 TINFO: AppArmor enabled, this may affect test results tst_format_device 3 TINFO: it can be disabled with TST_DISABLE_APPARMOR=1 (requires super/root) tst_format_device 3 TINFO: loaded AppArmor profiles: none Signed-off-by: Wei Gao <[email protected]> Reviewed-by: Petr Vorel <[email protected]> Reviewed-by: Li Wang <[email protected]>
wangli5665
pushed a commit
that referenced
this pull request
Jan 28, 2026
Busybox df implementation require mounting (unlike coreutils implementation). Following error can be found during alpine ci: runtest TINFO: * shell/tst_format_device.sh tst_format_device 1 TINFO: Running: tst_format_device.sh tst_format_device 1 TINFO: Tested kernel: Linux 0ba9f024d6b7 6.11.0-1018-azure #18~24.04.1-Ubuntu SMP Sat Jun 28 04:46:03 UTC 2025 x86_64 Linux tst_format_device 1 TINFO: Using /tmp/LTP_tst_format_device.XXXXOajpgN as tmpdir (UNKNOWN filesystem) tst_device.c:98: TINFO: Found free device 0 '/dev/loop0' tst_format_device 1 TINFO: Formatting ext2 with opts='-b 1024 /dev/loop0 5m' tst_format_device 1 TINFO: timeout per run is 0h 5m 0s tst_format_device 1 TPASS: device formatted df: /dev/loop0: can't find mount point tst_format_device 2 TFAIL: df /dev/loop0 | grep -q /dev failed unexpectedly tst_format_device 3 TINFO: AppArmor enabled, this may affect test results tst_format_device 3 TINFO: it can be disabled with TST_DISABLE_APPARMOR=1 (requires super/root) tst_format_device 3 TINFO: loaded AppArmor profiles: none Signed-off-by: Wei Gao <[email protected]> Reviewed-by: Petr Vorel <[email protected]> Reviewed-by: Li Wang <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Zhengwang Ruan [email protected]