https://pantsbuild.org/ logo
#development
Title
# development
r

rough-minister-58256

03/09/2016, 1:49 AM
Copy code
==================== FAILURES ====================
                     ____ SchedulerTest.test_dependency_inference _____
                     
                     self = <pants_test.engine.exp.test_scheduler.SchedulerTest testMethod=test_dependency_inference>
                     
                         def test_dependency_inference(self):
                           """Scala dependency inference introduces dependencies that do not exist in BUILD files."""
                           build_request = self.request(['compile'], self.inferred_deps)
                           walk = self.build_and_walk(build_request)
                         
                           # Validate the root.
                           self.assert_root(walk,
                                            SelectNode(self.key(self.inferred_deps), Classpath, None, None),
                     >                      Classpath(creator='scalac'))
                     
                     tests/python/pants_test/engine/exp/test_scheduler.py:207: 
                     _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
                     tests/python/pants_test/engine/exp/test_scheduler.py:82: in assert_root
                         self.assertEquals(Return([return_value]), root_state)
                     E   AssertionError: Return(value=[Classpath(creator=u'scalac')]) != Throw(exc=ValueError(u"No source of explicit dependency SelectNode(subject_key=Key(cc5a4693405f47d7c36bf4111c2f8e08addf2452:[src/scala/inferred_deps:inferred_deps]), product=<class 'pants.engine.exp.examples.planners.Classpath'>, variants=None, variant_key=None)",))
                     -------------- Captured stdout call --------------
                     ivy_resolve executed for (Jar(address=3rdparty/jvm:scala-library),), returned: Classpath(creator=u'ivy_resolve')
                     scalac executed for (ScalaSources(dependencies=[3rdparty/jvm:scala-library], files=[u'Scrooge.scala'], spec_path=u'src/scala/scrooge', type_alias=u'scala'), [Classpath(creator=u'ivy_resolve')]), returned: Classpath(creator=u'scalac')
                     -------------- Captured stderr call --------------
                     created 379 total nodes in 520 scheduling iterations and 856 steps, with 16 nodes in the executed path.
                      1 failed, 104 passed, 1 xfailed in 81.21 seconds