VTS build fail

399 views
Skip to first unread message

Jean-Marc GRIMAUD

unread,
Sep 23, 2019, 10:49:37 AM9/23/19
to Android Building
Hi,
I am trying to build VTS according to instructions bellow:

I work on release android-10.0.0_r2
The build fail with the following message:

RenderScript: CtsRenderscriptTestCases <= cts/tests/tests/renderscript/src/android/renderscript/cts/AtomicTest.rs cts/tests/tests/renderscript/src/android/renders
FAILED: out/target/common/obj/APPS/CtsRenderscriptTestCases_intermediates/renderscript/rs.srcjar out/target/common/obj/APPS/CtsRenderscriptTestCases_intermediates/renderscript/res.zip
/bin/bash out/target/common/obj/APPS/CtsRenderscriptTestCases_intermediates/renderscript/rs.srcjar.rsp
rm: out/target/common/obj/APPS/CtsRenderscriptTestCases_intermediates/renderscript: Directory not empty
13:33:22 ninja failed with: exit status 1

Any idea how to solve this issue ?

thanks a lot !

Alessio Balsini

unread,
Sep 23, 2019, 11:04:12 AM9/23/19
to android-...@googlegroups.com
Hello Jean-Marc,

Looking at the log, it seems you have a dirty out/ folder.
Try manually removing the renderscript folder:

$ rm -rf out/target/common/obj/APPS/CtsRenderscriptTestCases_intermediates/renderscript`

and maybe it would also be nice to run

$ m installclean

then rebuild AOSP should be make it.
Please, let us know.

Cheers,
Alessio
> --
> --
> You received this message because you are subscribed to the "Android Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups "Android Building" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/d30d2863-4036-423d-b406-2e87c034ce29%40googlegroups.com.

Jean-Marc GRIMAUD

unread,
Sep 24, 2019, 10:10:33 AM9/24/19
to Android Building

Hi Alessio,

Thanks for your answer!

 

I tried what you suggest but I have the same issue.

In parallel, I made some additional tests some colleagues suggestions, and have finally been able to build the vts.

I followed the same procedure, but on a local drive while I was working on a network drive.

I made it several times and can confirm this.

 

Would anybody know why I face this issue ?

It is really strange because I usually always build Android releases on the netwrok drive, and I only face the issue when I try to build vts.

 

Remark: I build vts with the command: make vts
(I do not use -j option to minimize the risks)

Sudhakar Kommineni

unread,
Jul 12, 2020, 7:41:49 PM7/12/20
to Android Building
Hi Jean i am also facing same issue when i build ctc build.
Can you please suggest what changes you have done locally make it work

Note: i am building CTC build in external hard disc

 RenderScript: CtsRenderscriptTestCases <= cts/tests/tests/renderscript/src/android/renderscript/cts/AtomicTest.rs ct
FAILED: out/target/common/obj/APPS/CtsRenderscriptTestCases_intermediates/renderscript/rs.srcjar out/target/common/obj/APPS/CtsRenderscriptTestCases_intermediates/renderscript/res.zip
/bin/bash out/target/common/obj/APPS/CtsRenderscriptTestCases_intermediates/renderscript/rs.srcjar.rsp
rm: out/target/common/obj/APPS/CtsRenderscriptTestCases_intermediates/renderscript: Directory not empty
10:38:01 ninja failed with: exit status 1

Zhe Tong

unread,
Sep 28, 2020, 12:21:23 PM9/28/20
to Android Building
Hi Guys,

I also met this error when I built CTS package:

[  3% 54/1368] RenderScript: CtsRenderscriptTestCases <= cts/tests/tests/renderscript/src/android/renderscript/cts/AtomicTest.rs...
FAILED: out/target/common/obj/APPS/CtsRenderscriptTestCases_intermediates/renderscript/rs.srcjar out/target/common/obj/APPS/CtsRenderscriptTestCases_intermediates/renderscript/res.zip
/bin/bash out/target/common/obj/APPS/CtsRenderscriptTestCases_intermediates/renderscript/rs.srcjar.rsp
rm: out/target/common/obj/APPS/CtsRenderscriptTestCases_intermediates/renderscript: Directory not empty

The build failed at the line below:

rm -rf out/target/common/obj/APPS/CtsRenderscriptTestCases_intermediates/renderscript failed.

I didn't figure out the root cause, but there is a workaround could apply:
Change the mk file:

-$(hide) rm -rf $(PRIVATE_RS_OUTPUT_DIR)

+$(hide) rm -rf $(PRIVATE_RS_OUTPUT_DIR)/*

Best Regard
Zhe Tong
Reply all
Reply to author
Forward
0 new messages