Bazel exception while invoking a build

38 views
Skip to first unread message

Ram Kumar Rengaswamy

unread,
Aug 26, 2015, 10:01:52 AM8/26/15
to bazel-discuss
Has happened a few times before. Any thoughts on what might be the cause ?

Unhandled exception thrown during build; message: Invalid range: [1440597548005?1440597496002]
INFO: Elapsed time: -52.002s, Critical Path: 10.89s
java.lang.IllegalArgumentException: Invalid range: [1440597548005?1440597496002]
at com.google.common.collect.Range.<init>(Range.java:363)
at com.google.common.collect.Range.create(Range.java:153)
at com.google.common.collect.Range.closed(Range.java:177)
at com.google.devtools.build.lib.runtime.BlazeRuntime.recordLastExecutionTime(BlazeRuntime.java:407)
at com.google.devtools.build.lib.buildtool.ExecutionTool.executeBuild(ExecutionTool.java:437)
at com.google.devtools.build.lib.buildtool.BuildTool.buildTargets(BuildTool.java:205)
at com.google.devtools.build.lib.buildtool.BuildTool.processRequest(BuildTool.java:342)
at com.google.devtools.build.lib.runtime.commands.BuildCommand.exec(BuildCommand.java:68)
at com.google.devtools.build.lib.runtime.BlazeCommandDispatcher.exec(BlazeCommandDispatcher.java:426)
at com.google.devtools.build.lib.runtime.BlazeRuntime$3.exec(BlazeRuntime.java:1337)
at com.google.devtools.build.lib.server.RPCService.executeRequest(RPCService.java:65)
at com.google.devtools.build.lib.server.RPCServer.executeRequest(RPCServer.java:420)
at com.google.devtools.build.lib.server.RPCServer.serve(RPCServer.java:227)
at com.google.devtools.build.lib.runtime.BlazeRuntime.serverMain(BlazeRuntime.java:1295)
at com.google.devtools.build.lib.runtime.BlazeRuntime.main(BlazeRuntime.java:1091)
at com.google.devtools.build.lib.bazel.BazelMain.main(BazelMain.java:49)

Kristina Chodorow

unread,
Aug 26, 2015, 10:09:45 AM8/26/15
to Ram Kumar Rengaswamy, bazel-discuss
Bazel is trying to record the time since your last build (which happened at 1440597548005) and assuming that it is currently after that time (which on your system it is not, the current time was 1440597496002).  We should handle clocks going backwards a bit more robustly.  I've filed https://github.com/google/bazel/issues/394.

--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/bb1ec5f3-7d73-4e5e-a089-a2beee0498df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages