ninja-build/ninja
View on GitHubninja_test fails for WrongOutputInDepfileCausesRebuild and Recompact, for a specific user on AIX
Open
#2145 opened on Jun 11, 2022
bughelp wanted
Description
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.