Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check_test:build_cpp: test failure #61

Open
fel1x-developer opened this issue Mar 11, 2024 · 3 comments
Open

check_test:build_cpp: test failure #61

fel1x-developer opened this issue Mar 11, 2024 · 3 comments

Comments

@fel1x-developer
Copy link
Contributor

 $ make installcheck
...
atf-c/check_test:build_cpp  ->  failed: 2 checks failed; see output for more details  [0.004s]
atf-c++/check_test:build_cpp  ->  failed: atf-c/utils.c:320: (fd = open(file, O_RDONLY | O_CLOEXEC)) != -1 not met  [0.004s]
Standard output:
Looking for '-o.*test.p' in '> -o test.p test.c'
Looking for 'test.c' in '> -o test.p test.c'

Standard error:
Files left in work directory after failure: result, stderr, stdout, test.c
===> atf-c/check_test:build_cpp
Result:     failed: atf-c/utils.c:320: (fd = open(file, O_RDONLY | O_CLOEXEC)) != -1 not met
Start time: 2024-03-11T17:06:21.610078Z
End time:   2024-03-11T17:06:21.613030Z
Duration:   0.003s
Standard output:
Looking for '-o.*test.p' in '> -o test.p test.c'
Looking for 'test.c' in '> -o test.p test.c'

Standard error:
Files left in work directory after failure: result, stderr, stdout, test.c
===> Failed tests
atf-c++/check_test:build_cpp  ->  failed: atf-c/utils.c:320: (fd = open(file, O_RDONLY | O_CLOEXEC)) != -1 not met  [0.004s]
atf-c/check_test:build_cpp  ->  failed: atf-c/utils.c:320: (fd = open(file, O_RDONLY | O_CLOEXEC)) != -1 not met  [0.003s]
===> Summary
Results read from /home/minsoochoo/.kyua/store/results.home_minsoochoo_local_tests_atf.20240311-170621-536675.db
Test cases: 383 total, 0 skipped, 0 expected failures, 0 broken, 2 failed
Start time: 2024-03-11T17:06:21.544862Z
End time:   2024-03-11T17:06:33.056275Z
Total time: 10.743s
*** Error code 1
@ngie-eign
Copy link
Contributor

I feel like one or more utilities are not being required in require.progs…

@fel1x-developer
Copy link
Contributor Author

7|Files left in work directory after failure: result, stderr, stdout, test.c
217|Executing command [ /home/minsoochoo/local/tests/atf/test-programs/c_helpers -r result expect_pass_and_pass ]
Executing command [ cat result ]
Executing command [ /home/minsoochoo/local/tests/atf/test-programs/c_helpers -r result expect_pass_but_fail_requirement ]
Executing command [ cat result ]
Executing command [ /home/minsoochoo/local/tests/atf/test-programs/c_helpers -r result expect_pass_but_fail_check ]
Executing command [ cat result ]
Executing command [ /home/minsoochoo/local/tests/atf/test-programs/cpp_helpers -r result expect_pass_and_pass ]
Executing command [ cat result ]
Executing command [ /home/minsoochoo/local/tests/atf/test-programs/cpp_helpers -r result expect_pass_but_fail_requirement ]
Executing command [ cat result ]
Executing command [ /home/minsoochoo/local/tests/atf/test-programs/cpp_helpers -r result expect_pass_but_fail_check ]
Executing command [ cat result ]
Executing command [ /home/minsoochoo/local/tests/atf/test-programs/sh_helpers -r result expect_pass_and_pass ]
Executing command [ cat result ]
Executing command [ /home/minsoochoo/local/tests/atf/test-programs/sh_helpers -r result expect_pass_but_fail_requirement ]
Executing command [ cat result ]

@fel1x-developer
Copy link
Contributor Author

This happens when the system does not have CPP environmnetal variable set. Can you please fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants