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

Self test problem: Subprocess aborted #599

Open
0-wiz-0 opened this issue Sep 12, 2024 · 0 comments
Open

Self test problem: Subprocess aborted #599

0-wiz-0 opened this issue Sep 12, 2024 · 0 comments

Comments

@0-wiz-0
Copy link

0-wiz-0 commented Sep 12, 2024

Describe the bug
When compiling Bear as of 8afeafe on NetBSD 10.99.12/amd64 with gcc 12.4.0 and protobuf-27.4, grpc-1.65.4, I see

Test project /scratch/wip/Bear/work/Bear-8afeafe61299c87449023d63336389f159b55808/cmake-pkgsrc-build/subprojects/Build/BearSource
    Start 1: bear::result_unit_test
1/7 Test #1: bear::result_unit_test ...........   Passed    0.00 sec
    Start 2: bear::flags_unit_test
2/7 Test #2: bear::flags_unit_test ............   Passed    0.00 sec
    Start 3: bear::shell_unit_test
3/7 Test #3: bear::shell_unit_test ............   Passed    0.00 sec
    Start 4: bear::sys_unit_test
4/7 Test #4: bear::sys_unit_test ..............   Passed    0.00 sec
    Start 5: bear::exec_unit_test
5/7 Test #5: bear::exec_unit_test .............   Passed    0.00 sec
    Start 6: bear::intercept_unit_test
6/7 Test #6: bear::intercept_unit_test ........Subprocess aborted***Exception:   0.13 sec
    Start 7: bear::citnames_unit_test
7/7 Test #7: bear::citnames_unit_test .........Subprocess aborted***Exception:   0.13 sec

71% tests passed, 2 tests failed out of 7

Total Test time (real) =   0.28 sec

The following tests FAILED:
          6 - bear::intercept_unit_test (Subprocess aborted)
          7 - bear::citnames_unit_test (Subprocess aborted)
Errors while running CTest
Output from these tests are in: /scratch/wip/Bear/work/Bear-8afeafe61299c87449023d63336389f159b55808/cmake-pkgsrc-build/subprojects/Build/BearSource/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
ninja: build stopped: subcommand failed.
*** Error code 1

The referenced log file contains:

6/7 Testing: bear::intercept_unit_test
6/7 Test: bear::intercept_unit_test
Command: "/scratch/wip/Bear/work/Bear-8afeafe61299c87449023d63336389f159b55808/cmake-pkgsrc-build/subprojects/Build/BearSource/intercept/intercept_unit_test"
Directory: /scratch/wip/Bear/work/Bear-8afeafe61299c87449023d63336389f159b55808/cmake-pkgsrc-build/subprojects/Build/BearSource/intercept
"bear::intercept_unit_test" start time: Sep 12 14:47 CEST
Output:
----------------------------------------------------------
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1726145244.591989    9563 metrics.cc:49] Metric name grpc.lb.pick_first.disconnections has already been registered.
<end of output>
Test time =   0.13 sec
----------------------------------------------------------
Test Failed.
"bear::intercept_unit_test" end time: Sep 12 14:47 CEST
"bear::intercept_unit_test" time elapsed: 00:00:00
----------------------------------------------------------

7/7 Testing: bear::citnames_unit_test
7/7 Test: bear::citnames_unit_test
Command: "/scratch/wip/Bear/work/Bear-8afeafe61299c87449023d63336389f159b55808/cmake-pkgsrc-build/subprojects/Build/BearSource/citnames/citnames_unit_test"
Directory: /scratch/wip/Bear/work/Bear-8afeafe61299c87449023d63336389f159b55808/cmake-pkgsrc-build/subprojects/Build/BearSource/citnames
"bear::citnames_unit_test" start time: Sep 12 14:47 CEST
Output:
----------------------------------------------------------
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1726145244.726623    1453 metrics.cc:49] Metric name grpc.lb.pick_first.disconnections has already been registered.
<end of output>
Test time =   0.13 sec
----------------------------------------------------------
Test Failed.
"bear::citnames_unit_test" end time: Sep 12 14:47 CEST
"bear::citnames_unit_test" time elapsed: 00:00:00
----------------------------------------------------------

To Reproduce
Try building Bear, details see above.

Expected behavior
Successful build.

Environment:

  • OS name: NetBSD
  • OS version: 10.99.12
  • OS architecture: x86_64
  • Bear version: git head as of afeafe61299c87449023d63336389f159b55808
  • Bear install method: trying to package it for pkgsrc
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

1 participant