re: BaseTest, have you folks tried repro’ing insid...
# development
r
re: BaseTest, have you folks tried repro’ing inside of a docker container to simulate the travis environment?
w
have not... the issue is that i'm not sure how much context is necessary
r
net simulation of travis env should be approximately:
cd $OS_PANTS_SRC && docker pull pantsbuild/centos6 && docker run --rm -t -i -v "$(pwd):/workdir" -w "/workdir" pantsbuild/centos6 /bin/bash -i
+
ci.sh -<flags for the shard it repros on in travis>
w
sure. it just takes about 30 minutes to get to the point when it fails.
but could be worthwhile at this point... probably still easier to iterate there.
(...speaking of which, i haven't actually tried running the entire shard locally either)
r
word. have had reasonable success repro’ing CI-side issues w/ this approach, so thought it may be useful
w
yea, i probably ought to.
thank you.
blargh. for some reason that image does not result in a python install with
cffi
anywho, pip install and hope that that is the last thing.
r
would assume
cffi
would get covered by pants venv bootstrap? but yeah, since they’re throwaway can
yum install
and
pip install
to hearts content
when jumping into passthru docker images like tht, it may be helpful to
git clean -fdx
the repo
since its likely that there are cached things from OSX in place etc
~/.cache should be isolated tho
w
mm, true.
yea, that was probably it.
thanks
r
👍