ninja-build/ninja
ninja_test fails for WrongOutputInDepfileCausesRebuild and Recompact, for a specific user on AIX
開放
#2,145 建立於 2022年6月11日
help wanted
倉庫指標
- 星標
- (10,194 顆星)
- PR 合併指標
- (平均合併 39天 3小時) (30 天內合併 10 個 PR)
描述
Hi Team, I'm trying to build ninja 1.10.2 on AIX(ppc) the build succeeded, but I see ninja_test is failing with the below errors, but when the tests are run individually they are passing.
[**USR1**@aixhost::ninja-1.10.2] $ ./ninja_test --gtest_filter=-SubprocessTest.InterruptChild [309/342] BuildTest.WrongOutputInDepfileCausesRebuild *** Failure in src/build_test.cc:574 build_res [342/342] BuildLogRecompactTest.Recompact failed
Individual run
> [**USR1**@aixhost:ninja-1.10.2] $ ./ninja_test --gtest_filter=BuildTest.WrongOutputInDepfileCausesRebuild
> [1/1] BuildTest.WrongOutputInDepfileCausesRebuild
> passed
>
> [**USR1**@aixhost:ninja-1.10.2] $ ./ninja_test --gtest_filter=BuildLogRecompactTest.Recompact
> [1/1] BuildLogRecompactTest.Recompact
> passed
Also when run as a different user on the same host all the tests are passed.
> [USR2@aixhost::ninja-1.10.2] >> ./ninja_test --gtest_filter=-SubprocessTest.InterruptChild
> [342/342] BuildLogRecompactTest.Recompact
> passed
Both the users have the same set of access
> lsuser -fa id pgrp groups home USR1
> USR1:
> id=203
> pgrp=staff
> groups=staff
> home=/home/USR1
>
> lsuser -fa id pgrp groups home USR2
> USR2:
> id=209
> pgrp=staff
> groups=staff
> home=/home/USR2
Could you please let me know if there is any specific permission that needs to be given for USR1.? Is there any logging available to know the internals of the test?
I would really appreciate it if you could provide any info here.
Thanks, Sriram.