I have cleaned up all of my local images on my linux box and I am able to reproduce github actions error locally
COMMANDS='pip install --upgrade setuptools wheel python3 setup.py sdist bdist_wheel' + docker run -v /home/eolivelli/dev/bookkeeper/stream/clients/python/scripts/..:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 python:3.7 /bin/bash -c 'pip install --upgrade setuptools wheel python3 setup.py sdist bdist_wheel' Unable to find image 'python:3.7' locally Trying to pull repository docker.io/library/python ... sha256:69c34c651e9f306c2247dec8e398e6b8a57a29be847ed47393651227f12a0a98: Pulling from docker.io/library/python dc65f448a2e2: Already exists 346ffb2b67d7: Already exists dea4ecac934f: Already exists 8ac92ddf84b3: Already exists a3ca60abc08a: Pulling fs layer 9253bd2ee3f6: Pulling fs layer 27f3323f0a58: Pulling fs layer ea74ff1569e8: Pulling fs layer 6df39ee1cdde: Pulling fs layer ea74ff1569e8: Waiting 6df39ee1cdde: Waiting 9253bd2ee3f6: Verifying Checksum 9253bd2ee3f6: Download complete ea74ff1569e8: Verifying Checksum ea74ff1569e8: Download complete 6df39ee1cdde: Verifying Checksum 6df39ee1cdde: Download complete 27f3323f0a58: Verifying Checksum 27f3323f0a58: Download complete a3ca60abc08a: Verifying Checksum a3ca60abc08a: Download complete a3ca60abc08a: Pull complete 9253bd2ee3f6: Pull complete 27f3323f0a58: Pull complete ea74ff1569e8: Pull complete 6df39ee1cdde: Pull complete Digest: sha256:69c34c651e9f306c2247dec8e398e6b8a57a29be847ed47393651227f12a0a98 Status: Downloaded newer image for docker.io/python:3.7 Requirement already up-to-date: setuptools in /usr/local/lib/python3.7/site-packages (45.1.0) Requirement already up-to-date: wheel in /usr/local/lib/python3.7/site-packages (0.34.2) python3: can't open file 'setup.py': [Errno 13] Permission denied [ERROR] Command execution failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 2 (Exit value: 2) at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404) at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:804) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:751) at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:313) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Il giorno ven 7 feb 2020 alle ore 12:09 Enrico Olivelli <eolive...@gmail.com> ha scritto: > > Yes, > it looks like it works now. > I have re-launched those checks many times last week and this week. > > maybe it was a temporary issue in GitHub Actions environment > > I will keep an eye on it, thank you > > Enrico > > Il giorno ven 7 feb 2020 alle ore 12:01 Atri Sharma <a...@apache.org> > ha scritto: > > > > Just for the record, I tried locally and it passed for me as well. > > > > > > On Fri, 7 Feb 2020 at 15:07, Yong Zhang <zhangyong1025...@gmail.com> wrote: > > > > > Okay. That's weird because the failed script just installs a wheel file. > > > > > > Yong > > > > > > On Fri, 7 Feb 2020 at 17:28, Enrico Olivelli <eolive...@gmail.com> wrote: > > > > > > > Trying again now > > > > > > > > > > > https://github.com/apache/bookkeeper/pull/2254/checks?check_run_id=427459661 > > > > > > > > I saw that problem in other pull requests > > > > But I can't find the logs anymore > > > > > > > > (Thanks for checking) > > > > > > > > Enrico > > > > > > > > Il giorno ven 7 feb 2020 alle ore 10:25 Yong Zhang > > > > <zhangyong1025...@gmail.com> ha scritto: > > > > > > > > > > Enrico, > > > > > > > > > > I tried several times in my repo, it seems can be built successfully. > > > > > Did you try to rerun the test? > > > > > > > > > > On Thu, 6 Feb 2020 at 14:05, Enrico Olivelli <eolive...@gmail.com> > > > > wrote: > > > > >> > > > > >> Yong, > > > > >> Thank you in advance > > > > >> > > > > >> You can find it in pr #2254 > > > > >> > > > > >> https://github.com/apache/bookkeeper/pull/2254 > > > > >> > > > > >> Enrico > > > > >> > > > > >> Il Gio 6 Feb 2020, 05:26 Yong Zhang <zhangyong1025...@gmail.com> ha > > > > scritto: > > > > >> > > > > >> > Sure. > > > > >> > > > > > >> > The link is out of date. And I do not find the same issue in other > > > > pull > > > > >> > requests. > > > > >> > > > > > >> > I guess this should happen when building the docker image. I am > > > > trying to > > > > >> > build the > > > > >> > docker image on my device. > > > > >> > > > > > >> > Thanks, > > > > >> > Yong > > > > >> > > > > > >> > On Thu, 6 Feb 2020 at 12:16, Sijie Guo <guosi...@gmail.com> wrote: > > > > >> > > > > > >> > > Yong, > > > > >> > > > > > > >> > > Can you help look into this? > > > > >> > > > > > > >> > > Thanks, > > > > >> > > Sijie > > > > >> > > > > > > >> > > On Wed, Feb 5, 2020 at 4:34 AM Enrico Olivelli < > > > eolive...@gmail.com > > > > > > > > > >> > > wrote: > > > > >> > > > > > > >> > >> Hi, > > > > >> > >> integration tests started failing on GitHub Actions. > > > > >> > >> > > > > >> > >> see: > > > > >> > >> > > > > >> > >> > > > > >> > > > > > > > > https://pipelines.actions.githubusercontent.com/EMeCU0s3nV8mEzpqEGqbbDjtOUKCLJV4IPXg8mh4qtgdpzCGW6/_apis/pipelines/1/runs/367/signedlogcontent/3?urlExpires=2020-02-05T12%3A31%3A02.1144046Z&urlSigningMethod=HMACV1&urlSignature=YN%2Bwk9c3Z0ZOIuI8mfhtj0L8hmaG%2B94ieufVJITSD8w%3D > > > > >> > >> > > > > >> > >> Please any Python Client and/or GitHub actions user help > > > > >> > >> > > > > >> > >> Enrico > > > > >> > >> > > > > >> > >> > > > > >> > >> Copying the log... > > > > >> > >> > > > > >> > >> 020-02-05T11:55:42.3185364Z adding 'bookkeeper/proto/kv_pb2.py' > > > > >> > >> 2020-02-05T11:55:42.3195826Z adding > > > > 'bookkeeper/proto/kv_rpc_pb2.py' > > > > >> > >> 2020-02-05T11:55:42.3200493Z adding > > > > >> > 'bookkeeper/proto/kv_rpc_pb2_grpc.py' > > > > >> > >> 2020-02-05T11:55:42.3204309Z adding > > > > 'bookkeeper/proto/kv_store_pb2.py' > > > > >> > >> 2020-02-05T11:55:42.3214399Z adding > > > > 'bookkeeper/proto/storage_pb2.py' > > > > >> > >> 2020-02-05T11:55:42.3219234Z adding > > > > >> > 'bookkeeper/proto/storage_pb2_grpc.py' > > > > >> > >> 2020-02-05T11:55:42.3229668Z adding > > > > 'bookkeeper/proto/stream_pb2.py' > > > > >> > >> 2020-02-05T11:55:42.3241984Z adding > > > > >> > >> 'apache_bookkeeper_client-4.11.0_SNAPSHOT.dist-info/METADATA' > > > > >> > >> 2020-02-05T11:55:42.3242447Z adding > > > > >> > >> 'apache_bookkeeper_client-4.11.0_SNAPSHOT.dist-info/WHEEL' > > > > >> > >> 2020-02-05T11:55:42.3242784Z adding > > > > >> > >> > > > > >> > >> > > > > >> > > > > > > > > 'apache_bookkeeper_client-4.11.0_SNAPSHOT.dist-info/namespace_packages.txt' > > > > >> > >> 2020-02-05T11:55:42.3243119Z adding > > > > >> > >> > > > 'apache_bookkeeper_client-4.11.0_SNAPSHOT.dist-info/top_level.txt' > > > > >> > >> 2020-02-05T11:55:42.3243478Z adding > > > > >> > >> 'apache_bookkeeper_client-4.11.0_SNAPSHOT.dist-info/RECORD' > > > > >> > >> 2020-02-05T11:55:42.3245125Z removing > > > > build/bdist.linux-x86_64/wheel > > > > >> > >> 2020-02-05T11:57:28.9689829Z [ERROR] The command '/bin/sh -c > > > > >> > >> /opt/bookkeeper/scripts/install-python-client.sh' returned a > > > > non-zero > > > > >> > >> code: 1 > > > > >> > >> 2020-02-05T11:59:09.7211864Z [ERROR] The command '/bin/sh -c > > > > >> > >> /opt/bookkeeper/scripts/install-python-client.sh' returned a > > > > non-zero > > > > >> > >> code: 1 > > > > >> > >> 2020-02-05T11:59:09.7357291Z [ERROR] Failed to execute goal > > > > >> > >> com.spotify:dockerfile-maven-plugin:1.3.7:build (default) on > > > > project > > > > >> > >> current-version-image: Could not build image: The command > > > '/bin/sh > > > > -c > > > > >> > >> /opt/bookkeeper/scripts/install-python-client.sh' returned a > > > > non-zero > > > > >> > >> code: 1 -> [Help 1] > > > > >> > >> 2020-02-05T11:59:09.7357906Z [ERROR] > > > > >> > >> > > > > >> > > > > > > >> > > > > > > > > > > -- > > Regards, > > > > Atri > > Apache Concerted