Can the tests then be configured to run in parallel independently given this ?
On Sun, Jul 31, 2016 at 1:04 PM, Ellison Anne Williams < [email protected]> wrote: > So, I reset the query.schemas and data.schemas properties before creating > the new schemas in the QueryParserUtilsTest and the jenkins build is now > fixed. > > Turns out it was a good, old fashioned execution ordering bug. If the > StandaloneTest is executed first, it populates the query.schemas with > QuerySchemas that use StopListFilters - then, when the QueryParserUtils > test starts, if the properties and registry are not reset, then it thinks > that the schemas with StopListFilters are still active (when, in fact, they > are not and the corresponding stopListFile - a tmp file - that the > QuerySchemaLoader looks for is no longer present). If the > QueryParserUtilsTest executes before the StandaloneTest (as it does on my > local machine and in Travis), then there is no issue. Clearing the schema > properties and registries (to be extra cautious) before beginning the > QueryParserUtilsTest did the trick. > > > On Sun, Jul 31, 2016 at 12:18 PM, Ellison Anne Williams < > [email protected]> wrote: > > > No - it looks like it may have something to do with the query/data schema > > registries not being cleared before starting the QueryParserUtilsTest > (i.e. > > leftover references to query schemas using a StopListFilter) - I am > putting > > in a fix now, will push it up, and see if it is OK by Jenkins (if not, I > > will roll it back). > > > > On Sun, Jul 31, 2016 at 12:07 PM, Suneel Marthi <[email protected]> > > wrote: > > > >> Should the stopListFile be in the jar ? > >> > >> On Sun, Jul 31, 2016 at 11:47 AM, Ellison Anne Williams < > >> [email protected]> wrote: > >> > >> > I updated the Jenkins build info from JDK 1.7 to 1.8. It now builds, > but > >> > has issues with finding the stopListFile in the QueryParserUtilsTest. > I > >> > will investigate... > >> > > >> > On Sat, Jul 30, 2016 at 10:50 PM, Apache Jenkins Server < > >> > [email protected]> wrote: > >> > > >> > > See <https://builds.apache.org/job/pirk/17/changes> > >> > > > >> > > Changes: > >> > > > >> > > [eawilliams] [PIRK-33] : Create release profiles to facilitate Pirk > >> > > releases - closes > >> > > > >> > > [eawilliams] [PIRK-30] Pirk compile no longer fails with RAT checks > - > >> > > closes > >> > > > >> > > ------------------------------------------ > >> > > Started by an SCM change > >> > > [EnvInject] - Loading node environment variables. > >> > > Building remotely on beam3 (beam) in workspace < > >> > > https://builds.apache.org/job/pirk/ws/> > >> > > > git rev-parse --is-inside-work-tree # timeout=10 > >> > > Fetching changes from the remote Git repository > >> > > > git config remote.origin.url git:// > >> git.apache.org/incubator-pirk.git/ > >> > > # timeout=10 > >> > > Fetching upstream changes from git:// > >> git.apache.org/incubator-pirk.git/ > >> > > > git --version # timeout=10 > >> > > > git -c core.askpass=true fetch --tags --progress git:// > >> > > git.apache.org/incubator-pirk.git/ > >> +refs/heads/*:refs/remotes/origin/* > >> > > > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > >> > > > git rev-parse refs/remotes/origin/origin/master^{commit} # > >> timeout=10 > >> > > Checking out Revision a5113dd3efafbdf535b1ea6af6d487ce438e6f15 > >> > > (refs/remotes/origin/master) > >> > > > git config core.sparsecheckout # timeout=10 > >> > > > git checkout -f a5113dd3efafbdf535b1ea6af6d487ce438e6f15 > >> > > > git rev-list 31be948fdf4c29aecb7ef9f55cb12ca3999a5ad8 # > timeout=10 > >> > > Parsing POMs > >> > > Discovered a new module org.apache.pirk:apache-pirk Apache Pirk > >> > > (incubating) Project > >> > > Modules changed, recalculating dependency graph > >> > > Established TCP socket on 38937 > >> > > maven3-agent.jar already up to date > >> > > maven3-interceptor.jar already up to date > >> > > maven3-interceptor-commons.jar already up to date > >> > > [pirk] $ /home/jenkins/tools/java/latest1.7/bin/java -Xmx2g -Xms256m > >> > > -XX:MaxPermSize=512m -cp > >> > > > >> > > >> > /home/jenkins/jenkins-slave/maven3-agent.jar:/home/jenkins/tools/maven/apache-maven-3.0.4/boot/plexus-classworlds-2.4.jar > >> > > org.jvnet.hudson.maven3.agent.Maven3Main > >> > > /home/jenkins/tools/maven/apache-maven-3.0.4 > >> > > /home/jenkins/jenkins-slave/slave.jar > >> > > /home/jenkins/jenkins-slave/maven3-interceptor.jar > >> > > /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 38937 > >> > > <===[JENKINS REMOTING CAPACITY]===> channel started > >> > > Executing Maven: -B -f < > >> https://builds.apache.org/job/pirk/ws/pom.xml> > >> > > -Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 > >> > install > >> > > [INFO] Scanning for projects... > >> > > [INFO] > >> > > [INFO] > >> > > > >> ------------------------------------------------------------------------ > >> > > [INFO] Building Apache Pirk (incubating) Project 0.0.1-SNAPSHOT > >> > > [INFO] > >> > > > >> ------------------------------------------------------------------------ > >> > > Downloading: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.5.1/maven-release-plugin-2.5.1.pom > >> > > Downloaded: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.5.1/maven-release-plugin-2.5.1.pom > >> > > (11 KB at 66.6 KB/sec) > >> > > Downloading: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/maven/release/maven-release/2.5.1/maven-release-2.5.1.pom > >> > > Downloaded: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/maven/release/maven-release/2.5.1/maven-release-2.5.1.pom > >> > > (5 KB at 131.8 KB/sec) > >> > > Downloading: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.5.1/maven-release-plugin-2.5.1.jar > >> > > Downloaded: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.5.1/maven-release-plugin-2.5.1.jar > >> > > (50 KB at 955.8 KB/sec) > >> > > Downloading: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/rat/apache-rat-plugin/0.12/apache-rat-plugin-0.12.pom > >> > > Downloaded: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/rat/apache-rat-plugin/0.12/apache-rat-plugin-0.12.pom > >> > > (10 KB at 147.2 KB/sec) > >> > > Downloading: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/rat/apache-rat-project/0.12/apache-rat-project-0.12.pom > >> > > Downloaded: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/rat/apache-rat-project/0.12/apache-rat-project-0.12.pom > >> > > (24 KB at 699.5 KB/sec) > >> > > Downloading: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/rat/apache-rat-plugin/0.12/apache-rat-plugin-0.12.jar > >> > > Downloaded: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/rat/apache-rat-plugin/0.12/apache-rat-plugin-0.12.jar > >> > > (46 KB at 647.9 KB/sec) > >> > > Downloading: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/3.0.1/maven-jar-plugin-3.0.1.pom > >> > > Downloaded: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/3.0.1/maven-jar-plugin-3.0.1.pom > >> > > (7 KB at 167.6 KB/sec) > >> > > Downloading: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/30/maven-plugins-30.pom > >> > > Downloaded: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/30/maven-plugins-30.pom > >> > > (10 KB at 283.8 KB/sec) > >> > > Downloading: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/30/maven-parent-30.pom > >> > > Downloaded: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/30/maven-parent-30.pom > >> > > (41 KB at 960.8 KB/sec) > >> > > Downloading: > >> > > > >> http://repo.maven.apache.org/maven2/org/apache/apache/18/apache-18.pom > >> > > Downloaded: > >> > > > >> http://repo.maven.apache.org/maven2/org/apache/apache/18/apache-18.pom > >> > > (16 KB at 510.0 KB/sec) > >> > > Downloading: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/3.0.1/maven-jar-plugin-3.0.1.jar > >> > > Downloaded: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/3.0.1/maven-jar-plugin-3.0.1.jar > >> > > (27 KB at 798.8 KB/sec) > >> > > Downloading: > >> > > > >> > > >> > http://mvnrepository.com/artifact/org/slf4j/slf4j-api/1.7.21/slf4j-api-1.7.21.pom > >> > > Downloading: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.7.21/slf4j-api-1.7.21.pom > >> > > Downloaded: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.7.21/slf4j-api-1.7.21.pom > >> > > (3 KB at 90.3 KB/sec) > >> > > Downloading: > >> > > > >> > > >> > http://mvnrepository.com/artifact/org/slf4j/slf4j-parent/1.7.21/slf4j-parent-1.7.21.pom > >> > > Downloading: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/slf4j/slf4j-parent/1.7.21/slf4j-parent-1.7.21.pom > >> > > Downloaded: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/slf4j/slf4j-parent/1.7.21/slf4j-parent-1.7.21.pom > >> > > (14 KB at 439.6 KB/sec) > >> > > Downloading: > >> > > > >> > > >> > http://mvnrepository.com/artifact/org/apache/logging/log4j/log4j-slf4j-impl/2.6.2/log4j-slf4j-impl-2.6.2.pom > >> > > Downloading: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/logging/log4j/log4j-slf4j-impl/2.6.2/log4j-slf4j-impl-2.6.2.pom > >> > > Downloaded: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/logging/log4j/log4j-slf4j-impl/2.6.2/log4j-slf4j-impl-2.6.2.pom > >> > > (9 KB at 262.8 KB/sec) > >> > > Downloading: > >> > > > >> > > >> > http://mvnrepository.com/artifact/org/apache/logging/log4j/log4j/2.6.2/log4j-2.6.2.pom > >> > > Downloading: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/logging/log4j/log4j/2.6.2/log4j-2.6.2.pom > >> > > Downloaded: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/logging/log4j/log4j/2.6.2/log4j-2.6.2.pom > >> > > (51 KB at 1059.0 KB/sec) > >> > > Downloading: > >> > > > >> > > >> > http://mvnrepository.com/artifact/org/apache/logging/log4j/log4j-api/2.6.2/log4j-api-2.6.2.pom > >> > > Downloading: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/logging/log4j/log4j-api/2.6.2/log4j-api-2.6.2.pom > >> > > Downloaded: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/logging/log4j/log4j-api/2.6.2/log4j-api-2.6.2.pom > >> > > (9 KB at 282.3 KB/sec) > >> > > Downloading: > >> > > > >> > > >> > http://mvnrepository.com/artifact/org/apache/logging/log4j/log4j-api/2.6.2/log4j-api-2.6.2.jar > >> > > Downloading: > >> > > > >> > > >> > http://mvnrepository.com/artifact/org/slf4j/slf4j-api/1.7.21/slf4j-api-1.7.21.jar > >> > > Downloading: > >> > > > >> > > >> > http://mvnrepository.com/artifact/org/apache/logging/log4j/log4j-slf4j-impl/2.6.2/log4j-slf4j-impl-2.6.2.jar > >> > > Downloading: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.7.21/slf4j-api-1.7.21.jar > >> > > Downloading: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/logging/log4j/log4j-api/2.6.2/log4j-api-2.6.2.jar > >> > > Downloading: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/logging/log4j/log4j-slf4j-impl/2.6.2/log4j-slf4j-impl-2.6.2.jar > >> > > Downloaded: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.7.21/slf4j-api-1.7.21.jar > >> > > (41 KB at 1293.8 KB/sec) > >> > > Downloaded: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/logging/log4j/log4j-slf4j-impl/2.6.2/log4j-slf4j-impl-2.6.2.jar > >> > > (23 KB at 414.6 KB/sec) > >> > > Downloaded: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/logging/log4j/log4j-api/2.6.2/log4j-api-2.6.2.jar > >> > > (195 KB at 2396.0 KB/sec) > >> > > [INFO] > >> > > [INFO] --- apache-rat-plugin:0.12:check (default) @ apache-pirk --- > >> > > Downloading: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/rat/apache-rat-core/0.12/apache-rat-core-0.12.pom > >> > > Downloaded: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/rat/apache-rat-core/0.12/apache-rat-core-0.12.pom > >> > > (5 KB at 133.9 KB/sec) > >> > > Downloading: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/rat/apache-rat-api/0.12/apache-rat-api-0.12.pom > >> > > Downloaded: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/rat/apache-rat-api/0.12/apache-rat-api-0.12.pom > >> > > (2 KB at 60.9 KB/sec) > >> > > Downloading: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/rat/apache-rat-core/0.12/apache-rat-core-0.12.jar > >> > > Downloading: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/rat/apache-rat-api/0.12/apache-rat-api-0.12.jar > >> > > Downloaded: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/rat/apache-rat-api/0.12/apache-rat-api-0.12.jar > >> > > (11 KB at 191.8 KB/sec) > >> > > Downloaded: > >> > > > >> > > >> > http://repo.maven.apache.org/maven2/org/apache/rat/apache-rat-core/0.12/apache-rat-core-0.12.jar > >> > > (120 KB at 1551.9 KB/sec) > >> > > [INFO] Enabled default license matchers. > >> > > [INFO] Will parse SCM ignores for exclusions... > >> > > [INFO] Parsing exclusions from < > >> > > https://builds.apache.org/job/pirk/ws/.gitignore> > >> > > [INFO] Finished adding exclusions from SCM ignore files. > >> > > [INFO] 73 implicit excludes (use -debug for more details). > >> > > [INFO] Exclude: .travis.yml > >> > > [INFO] Exclude: findbugs-exclude.xml > >> > > [INFO] Exclude: KEYS > >> > > [INFO] Exclude: eclipse*.xml > >> > > [INFO] Exclude: docs/* > >> > > [INFO] Exclude: logs/* > >> > > [INFO] Exclude: **/m2.conf > >> > > [INFO] 467 resources included (use -debug for more details) > >> > > [INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, > >> > > generated: 0, approved: 110 licenses. > >> > > [INFO] > >> > > [INFO] --- maven-resources-plugin:2.5:resources (default-resources) > @ > >> > > apache-pirk --- > >> > > [debug] execute contextualize > >> > > [INFO] Using 'UTF-8' encoding to copy filtered resources. > >> > > [INFO] Copying 6 resources > >> > > [INFO] > >> > > [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ > >> > > apache-pirk --- > >> > > [INFO] Changes detected - recompiling the module! > >> > > [INFO] Compiling 93 source files to < > >> > > https://builds.apache.org/job/pirk/ws/target/classes> > >> > > [INFO] > >> > > > >> ------------------------------------------------------------------------ > >> > > [INFO] BUILD FAILURE > >> > > [INFO] > >> > > > >> ------------------------------------------------------------------------ > >> > > [INFO] Total time: 23.740s > >> > > [INFO] Finished at: Sun Jul 31 02:50:35 UTC 2016 > >> > > [INFO] Final Memory: 27M/444M > >> > > [INFO] > >> > > > >> ------------------------------------------------------------------------ > >> > > Waiting for Jenkins to finish collecting data > >> > > [ERROR] Failed to execute goal > >> > > org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile > >> > > (default-compile) on project apache-pirk: Fatal error compiling: > >> invalid > >> > > target release: 1.8 -> [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 > >> > > [JENKINS] Archiving <https://builds.apache.org/job/pirk/ws/pom.xml> > >> to > >> > > > >> > org.apache.pirk/apache-pirk/0.0.1-SNAPSHOT/apache-pirk-0.0.1-SNAPSHOT.pom > >> > > No prior successful build to compare, so performing full copy of > >> > artifacts > >> > > Sending e-mails to: [email protected] > >> [email protected] > >> > > channel stopped > >> > > > >> > > >> > > > > >
