witty-crayon-22786
04/25/2016, 8:37 PMclose
method calls freefull-kilobyte-93429
04/25/2016, 9:06 PMgetvalue
after close
, but the content
saved by the earlier getvalue
call should still be valid, that's what i read
# Retrieve file contents -- this will be
# 'First line.\nSecond line.\n'
contents = output.getvalue()
# Close object and discard memory buffer --
# .getvalue() will now raise an exception.
output.close()
full-kilobyte-93429
04/25/2016, 9:06 PMfull-kilobyte-93429
04/25/2016, 9:07 PMclosing
still fail https://travis-ci.org/peiyuwang/pants/builds/125675947witty-crayon-22786
04/25/2016, 9:21 PMwitty-crayon-22786
04/25/2016, 9:22 PMwitty-crayon-22786
04/25/2016, 9:22 PMfull-kilobyte-93429
04/25/2016, 9:23 PMwitty-crayon-22786
04/25/2016, 9:23 PMfull-kilobyte-93429
04/25/2016, 9:24 PMInMemoryDb
will do another test for lmdbwide-energy-11069
04/26/2016, 12:35 AMnative
means?wide-energy-11069
04/26/2016, 12:36 AMSources
?wide-energy-11069
04/26/2016, 12:55 AMrough-minister-58256
04/26/2016, 12:59 AMwide-energy-11069
04/26/2016, 1:01 AMclass Dirs(datatype('Dirs', ['dependencies'])):
"""A set of Dir objects.”””
means a task will have to implement?wide-energy-11069
04/26/2016, 1:02 AMclass Dir(datatype('Dir', ['path']), Stat):
"""A directory."""
def __new__(cls, path):
return super(Dir, cls).__new__(cls, six.text_type(path))
rough-minister-58256
04/26/2016, 1:03 AMrough-minister-58256
04/26/2016, 1:03 AMDirs([Dir, Dir, Dir])
etcwide-energy-11069
04/26/2016, 1:04 AMrough-minister-58256
04/26/2016, 2:22 AMrough-minister-58256
04/26/2016, 2:23 AMFilesystemNode
in https://rbcommons.com/s/twitter/r/3550/diff/4#10 and the removal of the non-native task triples in https://rbcommons.com/s/twitter/r/3550/diff/4#4rough-minister-58256
04/26/2016, 3:22 AMBuildGraph
via a resident `Scheduler`:rough-minister-58256
04/26/2016, 3:22 AMI0425 20:19:03.592344 63467 pailgun_server.py:76] handling pailgun request: `./pants list 3rdparty::`
D0425 20:19:03.593507 63467 pailgun_service.py:51] synchronously requesting BuildGraph from SchedulerService.
D0425 20:19:03.593738 63467 scheduler_service.py:92] execution commandline: [u'./pants', 'list', '3rdparty::']
D0425 20:19:03.638525 63467 scheduler_service.py:94] parsed spec_roots: [DescendantAddresses(directory='3rdparty')]
D0425 20:19:03.638927 63467 scheduler_service.py:97] cache stats: hits=0, misses=0, total=0
D0425 20:19:03.639098 63467 scheduler_service.py:98] build_graph is: <pants.engine.exp.legacy.graph.ExpGraph object at 0x410ed59e10>
D0425 20:19:03.639349 63467 pailgun_server.py:60] running pailgun request with runner: <pants.bin.daemon_pants_runner.DaemonPantsRunner object at 0x10c4fe190>
D0425 20:19:03.640522 63467 process_manager.py:402] forking <pants.bin.daemon_pants_runner.DaemonPantsRunner object at 0x10c4fe190>
rough-minister-58256
04/26/2016, 3:22 AMrough-minister-58256
04/26/2016, 3:27 AMfull-kilobyte-93429
04/26/2016, 6:26 AMEngineTest
extends unittest.TestCase
as opposed to BaseTest
or other base test class that it does not get pants.ini
options.rough-minister-58256
04/26/2016, 6:28 AMfull-kilobyte-93429
04/26/2016, 6:33 AM$PATH
?rough-minister-58256
04/26/2016, 6:34 AM/home/travis/virtualenv/python2.7.11/bin:/home/travis/bin:/home/travis/.local/bin:/home/travis/.gimme/versions/go1.4.1.linux.amd64/bin:/opt/python/2.7.9/bin:/opt/python/2.6.9/bin:/opt/python/3.4.2/bin:/opt/python/3.3.5/bin:/opt/python/3.2.5/bin:/opt/python/pypy-2.5.0/bin:/opt/python/pypy3-2.4.0/bin:/usr/local/phantomjs/bin:/home/travis/.nvm/v0.10.36/bin:./node_modules/.bin:/usr/local/maven-3.2.5/bin:/usr/local/clang-3.4/bin:/home/travis/.gimme/versions/go1.4.1.linux.amd64/bin:/opt/python/2.7.9/bin:/opt/python/2.6.9/bin:/opt/python/3.4.2/bin:/opt/python/3.3.5/bin:/opt/python/3.2.5/bin:/opt/python/pypy-2.5.0/bin:/opt/python/pypy3-2.4.0/bin:/usr/local/phantomjs/bin:./node_modules/.bin:/usr/local/maven-3.2.5/bin:/usr/local/clang-3.4/bin:/home/travis/.gimme/versions/go1.4.1.linux.amd64/bin:/home/travis/.rvm/gems/ruby-1.9.3-p551/bin:/home/travis/.rvm/gems/ruby-1.9.3-p551@global/bin:/home/travis/.rvm/rubies/ruby-1.9.3-p551/bin:/opt/python/2.7.9/bin:/opt/python/2.6.9/bin:/opt/python/3.4.2/bin:/opt/python/3.3.5/bin:/opt/python/3.2.5/bin:/opt/python/pypy-2.5.0/bin:/opt/python/pypy3-2.4.0/bin:/usr/local/phantomjs/bin:./node_modules/.bin:/usr/local/maven-3.2.5/bin:/usr/local/clang-3.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/travis/.rvm/bin:/home/travis/.rvm/bin:/home/travis/.rvm/bin
rough-minister-58256
04/26/2016, 6:34 AM