Closed sofisl closed 3 years ago
Update, it still seems to be failing on java-ai-platform ![Uploading Screen Shot 2021-06-11 at 12.08.14 PM.png…]()
I can reproduce the issue with owlbot locally just by running the owlbot-cli docker container on java-aiplatform
git clone https://github.com/googleapis/java-aiplatform
cd java-aiplatform
docker run --rm --user $(id -u):$(id -g) -v $(pwd):/repo -w /repo gcr.io/repo-automation-bots/owlbot-cli:latest copy-code
try/catch
here will help
Error: ENOENT: no such file or directory, stat '/repo/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceClient.java'
at Object.statSync (fs.js:1127:3)
at internal/fs/utils.js:709:32
at hidden (internal/errors.js:294:14)
at Object.rmSync (fs.js:931:13)
at copyDirs (/usr/src/app/build/src/copy-code.js:249:16)
at Object.copyCode (/usr/src/app/build/src/copy-code.js:184:5)
at Object.handler (/usr/src/app/build/src/bin/commands/copy-code.js:49:27) {
errno: -2,
syscall: 'stat',
code: 'ENOENT',
path: '/repo/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceClient.java'
}
On subsequent runs on `java-aiplatform`, owlbot-cli succeeds, but I can get it to fail again if I run `git clean -dfx` and `git reset --hard`
Thank you Sofia and Tony for reporting and diagnosing this issue. I'm working on a fix.
Since commit d006bad0b5aa39b62914881b930fc544adc1bc6e