See 
<https://builds.apache.org/job/beam_PostCommit_Python_ValidatesContainer_Dataflow/1/display/redirect>

------------------------------------------
GitHub pull request #4476 of commit 525fad2e579fe9f87856b50ae6a7fc193bad3e5c, 
no merge conflicts.
Setting status of 525fad2e579fe9f87856b50ae6a7fc193bad3e5c to PENDING with url 
https://builds.apache.org/job/beam_PostCommit_Python_ValidatesContainer_Dataflow/1/
 and message: 'Build started sha1 is merged.'
Using context: Jenkins: Google Cloud Dataflow Runner Python ValidatesContainer 
Tests
[EnvInject] - Loading node environment variables.
Building remotely on beam1 (beam) in workspace 
<https://builds.apache.org/job/beam_PostCommit_Python_ValidatesContainer_Dataflow/ws/>
Cloning the remote Git repository
Cloning repository https://github.com/apache/beam.git
 > git init 
 > <https://builds.apache.org/job/beam_PostCommit_Python_ValidatesContainer_Dataflow/ws/src>
 >  # timeout=10
Fetching upstream changes from https://github.com/apache/beam.git
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/apache/beam.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://github.com/apache/beam.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 
 > timeout=10
 > git config remote.origin.url https://github.com/apache/beam.git # timeout=10
Fetching upstream changes from https://github.com/apache/beam.git
 > git fetch --tags --progress https://github.com/apache/beam.git 
 > +refs/heads/*:refs/remotes/origin/* 
 > +refs/pull/4476/*:refs/remotes/origin/pr/4476/*
 > git rev-parse refs/remotes/origin/pr/4476/merge^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/pr/4476/merge^{commit} # timeout=10
Checking out Revision 3edc3c45cfdfd17a00e8ae2a54f5461e0458e798 
(refs/remotes/origin/pr/4476/merge)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 3edc3c45cfdfd17a00e8ae2a54f5461e0458e798
Commit message: "Merge 525fad2e579fe9f87856b50ae6a7fc193bad3e5c into 
f7dd0505efe88a28f020ffc88c993589f48b3f98"
First time build. Skipping changelog.
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10
[EnvInject] - Executing scripts and injecting environment variables after the 
SCM step.
[EnvInject] - Injecting as environment variables the properties content 
SPARK_LOCAL_IP=127.0.0.1

[EnvInject] - Variables injected successfully.
[beam_PostCommit_Python_ValidatesContainer_Dataflow] $ /bin/bash -xe 
/tmp/jenkins2241595217219017840.sh
+ cd src
+ bash sdks/python/container/run_validatescontainer.sh

# pip install --user installation location.
LOCAL_PATH=$HOME/.local/bin/

# Where to store integration test outputs.
GCS_LOCATION=gs://temp-storage-for-end-to-end-tests

# Project for the container and integration test
PROJECT=apache-beam-testing

# Verify in the root of the repository
test -d sdks/python/container

# Verify docker and gcloud commands exist
command -v docker
/usr/bin/docker
command -v gcloud
/usr/bin/gcloud

# Build the container
TAG=$(date +%Y%m%d-%H%M%S)
date +%Y%m%d-%H%M%S
CONTAINER=gcr.io/$PROJECT/$USER/python
echo "Using container $CONTAINER"
Using container gcr.io/apache-beam-testing/jenkins/python
mvn clean install -DskipTests -Pbuild-containers --projects 
sdks/python/container -Ddocker-repository-root=gcr.io/$PROJECT/$USER 
-Ddockerfile.tag=$TAG -amd
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.beam:beam-sdks-java-io-google-cloud-platform:jar:2.3.0-SNAPSHOT
[WARNING] 'build.pluginManagement.plugins.plugin.(groupId:artifactId)' must be 
unique but found duplicate declaration of plugin 
org.apache.maven.plugins:maven-jar-plugin @ line 64, column 17
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.beam:beam-sdks-java-extensions-google-cloud-platform-core:jar:2.3.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found 
duplicate declaration of plugin org.apache.maven.plugins:maven-jar-plugin @ 
line 74, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.beam:beam-sdks-java-fn-execution:jar:2.3.0-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must 
be unique: joda-time:joda-time:jar -> duplicate declaration of version (?) @ 
line 105, column 17
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.beam:beam-sdks-java-nexmark:jar:2.3.0-SNAPSHOT
[WARNING] The expression ${parent.version} is deprecated. Please use 
${project.parent.version} instead.
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.beam:beam-sdks-java-harness:jar:2.3.0-SNAPSHOT
[WARNING] 'build.pluginManagement.plugins.plugin.(groupId:artifactId)' must be 
unique but found duplicate declaration of plugin 
org.apache.maven.plugins:maven-jar-plugin @ line 136, column 17
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten 
the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support 
building such malformed projects.
[WARNING] 
[INFO] ------------------------------------------------------------------------
[INFO] Detecting the operating system and CPU architecture
[INFO] ------------------------------------------------------------------------
[INFO] os.detected.name: linux
[INFO] os.detected.arch: x86_64
[INFO] os.detected.version: 3.19
[INFO] os.detected.version.major: 3
[INFO] os.detected.version.minor: 19
[INFO] os.detected.release: ubuntu
[INFO] os.detected.release.version: 14.04
[INFO] os.detected.release.like.ubuntu: true
[INFO] os.detected.release.like.debian: true
[INFO] os.detected.classifier: linux-x86_64
[WARNING] Failed to inject repository session properties.
java.lang.NoSuchMethodError: 
org.apache.maven.execution.MavenSession.getRepositorySession()Lorg/eclipse/aether/RepositorySystemSession;
        at 
kr.motd.maven.os.RepositorySessionInjector.injectRepositorySession(RepositorySessionInjector.java:22)
        at 
kr.motd.maven.os.DetectExtension.injectSession(DetectExtension.java:151)
        at 
kr.motd.maven.os.DetectExtension.afterProjectsRead(DetectExtension.java:110)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
        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:289)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Beam :: SDKs :: Python :: Container 2.3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: 
http://repo.maven.apache.org/maven2/com/spotify/dockerfile-maven-plugin/1.3.5/dockerfile-maven-plugin-1.3.5.pom
4/6 KB   6/6 KB            Downloaded: 
http://repo.maven.apache.org/maven2/com/spotify/dockerfile-maven-plugin/1.3.5/dockerfile-maven-plugin-1.3.5.pom
 (6 KB at 30.5 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/com/spotify/dockerfile-maven/1.3.5/dockerfile-maven-1.3.5.pom
3/3 KB            Downloaded: 
http://repo.maven.apache.org/maven2/com/spotify/dockerfile-maven/1.3.5/dockerfile-maven-1.3.5.pom
 (3 KB at 60.5 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/com/spotify/foss-root/6/foss-root-6.pom
4/9 KB   5/9 KB   8/9 KB   9/9 KB            Downloaded: 
http://repo.maven.apache.org/maven2/com/spotify/foss-root/6/foss-root-6.pom (9 
KB at 214.6 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/com/spotify/dockerfile-maven-plugin/1.3.5/dockerfile-maven-plugin-1.3.5.jar
3/32 KB   5/32 KB   8/32 KB   11/32 KB   14/32 KB   16/32 KB   19/32 KB   22/32 
KB   25/32 KB   27/32 KB   30/32 KB   32/32 KB              Downloaded: 
http://repo.maven.apache.org/maven2/com/spotify/dockerfile-maven-plugin/1.3.5/dockerfile-maven-plugin-1.3.5.jar
 (32 KB at 404.4 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ 
beam-sdks-python-container ---
[INFO] Deleting 
<https://builds.apache.org/job/beam_PostCommit_Python_ValidatesContainer_Dataflow/ws/src/sdks/python/container>
 (includes = [**/*.pyc, **/*.egg-info/, **/sdks/python/LICENSE, 
**/sdks/python/NOTICE, **/sdks/python/README.md, 
**/sdks/python/apache_beam/portability/api/*pb2*.*, **/sdks/python/**/*.c, 
**/sdks/python/**/*.so, **/sdks/python/**/*.egg], excludes = [])
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce) @ 
beam-sdks-python-container ---
[WARNING] Rule 2: org.apache.maven.plugins.enforcer.RequireMavenVersion failed 
with message:
Detected Maven Version: 3.0.5 is not in the allowed range [3.2,).
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.929s
[INFO] Finished at: Wed Jan 24 22:28:24 UTC 2018
[INFO] Final Memory: 34M/394M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M1:enforce (enforce) on 
project beam-sdks-python-container: Some Enforcer rules have failed. Look above 
for specific messages explaining why the rule failed. -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Build step 'Execute shell' marked build as failure

Reply via email to