New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 809133 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Feb 2018
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

unit_tests Compile Broken

Project Member Reported by khorimoto@chromium.org, Feb 5 2018

Issue description

Seems to be due to something in //components/arc/common.

>ninja -C out/Default -j 100 unit_tests
ninja: Entering directory `out/Default'
[52/26870] ACTION //components/arc/common:common_shared__generator(//build/toolchain/linux:clang_x64)
FAILED: gen/components/arc/common/usb_host.mojom-shared-internal.h gen/components/arc/common/usb_host.mojom-shared.cc gen/components/arc/common/usb_host.mojom-shared.h 
python ../../mojo/public/tools/bindings/mojom_bindings_generator.py --use_bundled_pylibs generate ../../components/arc/common/usb_host.mojom -d ../../ -I ../../ -o gen --bytecode_path gen/mojo/public/tools/bindings --generate_non_variant_code -g c++
gen/device/usb/public/mojom/mojo/common/string16.p: Error: [Errno 2] No such file or directory: 'gen/device/usb/public/mojom/mojo/common/string16.p'
[53/26870] ACTION //components/arc/common:common__generator(//build/toolchain/linux:clang_x64)
FAILED: gen/components/arc/common/usb_host.mojom.cc gen/components/arc/common/usb_host.mojom.h gen/components/arc/common/usb_host.mojom.srcjar 
python ../../mojo/public/tools/bindings/mojom_bindings_generator.py --use_bundled_pylibs generate ../../components/arc/common/usb_host.mojom -d ../../ -I ../../ -o gen --bytecode_path gen/mojo/public/tools/bindings -g c++,java --typemap gen/components/arc/common/common__type_mappings --use_once_callback
gen/device/usb/public/mojom/mojo/common/string16.p: Error: [Errno 2] No such file or directory: 'gen/device/usb/public/mojom/mojo/common/string16.p'
[85/26870] ACTION //components/arc/common:common_shared__generator(//build/toolchain/linux:clang_x64)
FAILED: gen/components/arc/common/arc_bridge.mojom-shared-internal.h gen/components/arc/common/arc_bridge.mojom-shared.cc gen/components/arc/common/arc_bridge.mojom-shared.h 
python ../../mojo/public/tools/bindings/mojom_bindings_generator.py --use_bundled_pylibs generate ../../components/arc/common/arc_bridge.mojom -d ../../ -I ../../ -o gen --bytecode_path gen/mojo/public/tools/bindings --generate_non_variant_code -g c++
gen/device/usb/public/mojom/mojo/common/string16.p: Error: [Errno 2] No such file or directory: 'gen/device/usb/public/mojom/mojo/common/string16.p'
[88/26870] ACTION //components/arc/common:common__generator(//build/toolchain/linux:clang_x64)
FAILED: gen/components/arc/common/arc_bridge.mojom.cc gen/components/arc/common/arc_bridge.mojom.h gen/components/arc/common/arc_bridge.mojom.srcjar 
python ../../mojo/public/tools/bindings/mojom_bindings_generator.py --use_bundled_pylibs generate ../../components/arc/common/arc_bridge.mojom -d ../../ -I ../../ -o gen --bytecode_path gen/mojo/public/tools/bindings -g c++,java --typemap gen/components/arc/common/common__type_mappings --use_once_callback
gen/device/usb/public/mojom/mojo/common/string16.p: Error: [Errno 2] No such file or directory: 'gen/device/usb/public/mojom/mojo/common/string16.p'
[151/26866] ACTION //chrome/browser/metrics:expired_histograms_array(//build/toolchain/linux:clang_x64)
ninja: build stopped: subcommand failed.

 
Could you link to a bad build please?
Also this is a huge CC list on a bug with no context, how did you come up with all these committers?
This is a local build. gn args:

is_debug = false
dcheck_always_on = true
is_component_build = true
target_os = "chromeos"
use_goma = true
Labels: -Pri-0 Pri-2
P0 is an emergency, so it should be saved for issues on bots, not local builds.

@khorimoto, sorry to suggest the possibly obvious, but a lot of the time these unexpected local build failures go away after a git rebase-update and a gclient sync. Have you done those very recently (i.e., today)?
kerrnel@: Sorry for the confusion. I added the OWNERS of //components/arc/common (where the suspected issue is) as well as today's sheriffs.

tmartino@: Yes, I have git pull'ed and gclient sync'ed multiple times today.
Unable to reproduce:

thomasanderson@thomasanderson:~/dev/chromium_official/src$ ninja -C out/Default/ -j1024 unit_tests
ninja: Entering directory `out/Default/'
[1/1] Regenerating ninja files
[40062/40062] LINK ./unit_tests
thomasanderson@thomasanderson:~/dev/chromium_official/src$ cat out/Default/args.gn
# Build arguments go here.
# See "gn args <out_dir> --list" for available build arguments.
is_debug = false
dcheck_always_on = true
is_component_build = true
target_os = "chromeos"
use_goma = true
thomasanderson@thomasanderson:~/dev/chromium_official/src$ git rev-parse HEAD
9d78a383d0619b4715a317a989c0d1030f7af257

Status: WontFix (was: Untriaged)
I just nuked my out/ directory and tried again, and this time it worked.

Sorry for the noise. Seems like it was some sort of ephemeral error.

Sign in to add a comment