https://issues.apache.org/jira/browse/BEAM-12149?filter=-2
On Thu, Apr 15, 2021 at 3:39 PM Brian Hulette <[email protected]> wrote: > > Hm I thought we tested out docker builds within the development container. > Maybe this only happens for certain docker setups. Could you file a jira for > this? > > I came across this GitHub issue [1] that cites a similar problem, but sadly > doesn't reveal any details about the root cause or a solution. > > Brian > > [1] https://github.com/google/protobuf-gradle-plugin/issues/165 > > On Fri, Apr 9, 2021 at 3:33 PM Evan Galpin <[email protected]> wrote: >> >> I ran into this same issue recently as well. It looks like you may have >> already found the same, but I can say that adding execute permissions did >> fix the issue for me. >> >> If I recall, adding execute perms lead to another very similar issue where >> an additional exe required the same fix. Once applied to both, everything >> seemed to get along fine in my case. >> >> Thanks, >> Evan >> >> On Fri, Apr 9, 2021 at 18:28 Elliotte Rusty Harold <[email protected]> >> wrote: >>> >>> I tried to run some tests using the Docker build environment (neat >>> idea by the way) and hit this: >>> >>> $ ./gradlew -p sdks/java/io/cassandra check >>> Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could >>> not be reused, use --status for details >>> Configuration on demand is an incubating feature. >>> > Task :model:pipeline:generateProto FAILED >>> >>> FAILURE: Build failed with an exception. >>> >>> * What went wrong: >>> Execution failed for task ':model:pipeline:generateProto'. >>> > java.io.IOException: Cannot run program >>> > "/home/elharo/.gradle/caches/modules-2/files-2.1/com.google.protobuf/protoc/3.15.3/8fb78f9edc8192143d947edc2217aafaa5d5f79b/protoc-3.15.3-linux-x86_64.exe": >>> > error=13, Permission denied >>> >>> I'm not sure immediately what's wrong, but perhaps the Docker >>> container isn't configured quite right? There could be more config I >>> need to do, but I thought this would be set up out of the box in the >>> Docker image. I do see that protoc does not have execute permission: >>> >>> $ ls -l >>> /home/elharo/.gradle/caches/modules-2/files-2.1/com.google.protobuf/protoc/3.15.3/8fb78f9edc8192143d947edc2217aafaa5d5f79b/ >>> total 5120 >>> -rw-r--r-- 1 elharo users 5241944 Apr 9 22:17 >>> protoc-3.15.3-linux-x86_64.exe >>> >>> >>> >>> -- >>> Elliotte Rusty Harold >>> [email protected] -- Elliotte Rusty Harold [email protected]
