We added the finder just recently in 
https://android-review.googlesource.com/c/platform/build/soong/+/456378 , 
so that'd be why it hasn't happened before.

If you run `m -j blueprint_tools` does that also hang? (if so, then that 
should be a faster way to test it).

Do you find that it reliably hangs or only sometimes hangs?

If you run that command on its own does it produce any helpful output?

If it doesn't produce any helpful output, you could modify line 53 of 
build/soong/finder/finder_test.go so that instead of saying

'logger := log.New(ioutil.Discard, "", 0)'

it says

'logger := log.New(os.Stdout, "", 0)'

and then retest it (`m -j blueprint_tools`).

You could temporarily delete tests from build/soong/finder/finder_test.go 
until it stops hanging, in order to determine specifically which test is 
hanging.

I'll see if I can reproduce the problem too.

On Saturday, August 19, 2017 at 12:10:43 PM UTC-7, Dominik Helleberg wrote:
>
> Hi,
>
> I'm building master branch for the hikey960 on Ubuntu 16.04 LTS 
> Everything seems to compile until the end, the system image is build, 
> after that the build seems to hang. 
> I found a "test" process running on one core. After some debugging I 
> figured out that the the following command seems to be the root cause:
>
> out/soong/.bootstrap/bin/gotestrunner -p ./build/soong/finder -f 
> out/soong/.bootstrap/soong-finder/test/test.passed -- 
> out/soong/.bootstrap/soong-finder/test/test -test.short
>
> I haven't notice these things on earlier android releases and I'm 
> wondering what's going on here. 
> Any hints or ideas?
>
> Thanks for any help and have a nice weekend
> Dominik
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to