Comments (2)
Reproduced at 6d44911:
$ bazel clean
$ bazel build //...
$ ./bazel-bin/shipshape/cli/shipshape --categories=JSHint /tmp/shipshape-test
.. findings produced for js file in dir ...
$ ./bazel-bin/shipshape/cli/shipshape --categories=JSHint /tmp/shipshape-test2
WARNING: Analyzer Driver setup failed to run: chdir /shipshape-workspace/2: no such file or directory
E0629 13:38:30.421180 24464 shipshape.go:228] Error making service call: received an error from calling run: chdir /shipshape-workspace/2: no such file or directory
$ ./bazel-bin/shipshape/cli/shipshape --categories=JSHint /tmp/shipshape-test
.. findings produced for js file in dir ...
That is, running again on a dir with the same name and a trailing number causes the failure. I can run on another directory with a number and it will work as long as it does not have the same name before the number.
docker inspect on the shipping container shows that the container is still mapped to the first directory.
The shipshape.shipping_container log has an incorrect repo value:
2015/06/29 20:42:20.148045 driver.go:97: Received analysis request for event manual, stage PRE_BUILD, categories [JSHint], repo /shipshape-workspace/2
2015/06/29 20:42:20.148196 driver.go:115: Could not change into directory /shipshape-workspace/2 from base /
The '2' is treated as a subdirectory.
The root cause is the checking of the mapped directory of the shipping container.
from shipshape.
https://phabricator-dot-shipshapecode.appspot.com/D49 improves the mapped volume check to capture the trailing number (or something else) case.
from shipshape.
Related Issues (20)
- Include kythe in the third_party/go directory for the go parts. HOT 1
- ExtendJ analyzer image does not appear to be published anywhere public HOT 2
- Error Prone analyzer doesn't actually work
- External analyzers can't run if one was run previously HOT 2
- "latest" image in our repository HOT 6
- Can't run a local version of an external analyzer and prod versions of shipshape HOT 3
- Getting errors about failing to stop containers on first run HOT 1
- Add --config flag to pass a config file HOT 1
- Make a distinction between default and non-default categories HOT 1
- Add android lint results to the demo repository HOT 2
- Make the cli work with all versions of docker HOT 4
- Make the last part of the run-cli instructions produce results HOT 1
- Show subcategories HOT 3
- Show Docker image download status HOT 1
- Using Shipshape (proto) for code coverage HOT 3
- Jenkins_plugin fails to build, kythe not found
- building shipshape without realpath fails "silently" HOT 3
- Add a field to pass options or parameters to analyzer service HOT 5
- why the project can not be compiled? HOT 1
- shipshape exits with "Error HTTP client did not become healthy: service did not respond before timeout:" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shipshape.