Skip to content

Instantly share code, notes, and snippets.

@HarishAtGitHub
Created August 18, 2015 07:33
Show Gist options
  • Save HarishAtGitHub/fcc519bd9863ab8a95af to your computer and use it in GitHub Desktop.
Save HarishAtGitHub/fcc519bd9863ab8a95af to your computer and use it in GitHub Desktop.
[loadfile] /home/harish/Documents/code/elasticsearch/es/fork2-new/elasticsearch/distribution/deb/target/integ-tests/deb-extracted/usr/share/elasticsearch/logs/prepare_release.log doesn't exist
harish@harish-HP-ProBook-440-G2:~/Documents/code/elasticsearch/es/fork2-new/elasticsearch$ vim ~/temp/12790/build12790-2-version
harish@harish-HP-ProBook-440-G2:~/Documents/code/elasticsearch/es/fork2-new/elasticsearch$ mvn verify mvn <goals> -rf :smoke-test-shaded
bash: goals: No such file or directory
harish@harish-HP-ProBook-440-G2:~/Documents/code/elasticsearch/es/fork2-new/elasticsearch$ mvn verify -rf :smoke-test-shaded
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building QA: Smoke Test Shaded Jar 2.0.0-beta1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-versions) @ smoke-test-shaded ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:display-info (print-versions) @ smoke-test-shaded ---
[INFO] Maven Version: 3.0.4
[INFO] JDK Version: 1.8.0_51 normalized as: 1.8.0-51
[INFO] OS Info: Arch: amd64 Family: unix Name: linux Version: 3.16.0-30-generic
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ smoke-test-shaded ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.3:create (default) @ smoke-test-shaded ---
[INFO] Executing: /bin/sh -c cd /home/harish/Documents/code/elasticsearch/es/fork2-new/elasticsearch/qa/smoke-test-shaded && git rev-parse --verify HEAD
[INFO] Working directory: /home/harish/Documents/code/elasticsearch/es/fork2-new/elasticsearch/qa/smoke-test-shaded
[INFO] Storing buildNumber: dcd95934b02400c91947ad9303db71a6b40c871a at timestamp: 1439882239236
[INFO] Storing buildScmBranch: 12790
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (set-permgen) @ smoke-test-shaded ---
[INFO] Executing tasks
main:
[INFO] Executed tasks
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (check-invalid-patterns) @ smoke-test-shaded ---
[INFO] Executing tasks
main:
[INFO] Executed tasks
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ smoke-test-shaded ---
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ smoke-test-shaded ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/harish/Documents/code/elasticsearch/es/fork2-new/elasticsearch/qa/smoke-test-shaded/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ smoke-test-shaded ---
[INFO] No sources to compile
[INFO]
[INFO] --- forbiddenapis:1.8:check (check-forbidden-apis) @ smoke-test-shaded ---
[INFO] Scanning for classes to check...
[WARNING] Classes directory does not exist, forbiddenapis check skipped: /home/harish/Documents/code/elasticsearch/es/fork2-new/elasticsearch/qa/smoke-test-shaded/target/classes
[INFO]
[INFO] --- license-maven-plugin:2.5:check (check-license-headers) @ smoke-test-shaded ---
[INFO] Checking licenses...
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (create-heapdump-directory) @ smoke-test-shaded ---
[INFO] Executing tasks
main:
[heapdump] Creating heapdump directory
[INFO] Executed tasks
[INFO]
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ smoke-test-shaded ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] skip non existing resourceDirectory /home/harish/Documents/code/elasticsearch/es/fork2-new/elasticsearch/qa/smoke-test-shaded/src/test/resources
[INFO] skip non existing resourceDirectory /home/harish/Documents/code/elasticsearch/es/fork2-new/elasticsearch/qa/smoke-test-shaded/src/test/resources
[INFO] skip non existing resourceDirectory /home/harish/Documents/code/elasticsearch/es/fork2-new/elasticsearch/qa/smoke-test-shaded/rest-api-spec
[INFO] Copying 12 resources to rest-api-spec
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ smoke-test-shaded ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- forbiddenapis:1.8:testCheck (check-forbidden-test-apis) @ smoke-test-shaded ---
[INFO] Scanning for classes to check...
[INFO] Reading bundled API signatures: jdk-unsafe
[INFO] Reading bundled API signatures: jdk-deprecated
[INFO] Reading API signatures: /home/harish/Documents/code/elasticsearch/es/fork2-new/elasticsearch/qa/smoke-test-shaded/target/dev-tools/forbidden/test-signatures.txt
[INFO] Reading API signatures: /home/harish/Documents/code/elasticsearch/es/fork2-new/elasticsearch/qa/smoke-test-shaded/target/dev-tools/forbidden/all-signatures.txt
[INFO] Loading classes to check...
[INFO] Scanning for API signatures and dependencies...
[INFO] Scanned 2 (and 250 related) class file(s) for forbidden API invocations (in 0.14s), 0 error(s).
[INFO]
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ smoke-test-shaded ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- junit4-maven-plugin:2.1.16:junit4 (tests) @ smoke-test-shaded ---
[INFO] <JUnit4> says 你好! Master seed: 73C88811FC2C4074
[INFO] Parsed test filtering expression: default
Executing 1 suite with 1 JVM.
Started J0 PID(28828@harish-HP-ProBook-440-G2).
Suite: org.elasticsearch.shaded.test.ShadedTest
2> Aug 18, 2015 12:47:25 PM org.elasticsearch.common.MacAddressProvider getSecureMungedAddress
2> WARNING: Unable to get a valid mac address, will use a dummy address
2> NOTE: reproduce with: ant test -Dtestcase=ShadedTest -Dtests.method=testGuavaIsNotOnTheCP -Dtests.seed=73C88811FC2C4074 -Dtests.locale=in_ID -Dtests.timezone=America/St_Lucia -Dtests.asserts=true -Dtests.file.encoding=UTF-8
FAILURE 0.08s | ShadedTest.testGuavaIsNotOnTheCP <<<
> Throwable #1: junit.framework.AssertionFailedError: Expected an exception but the test passed: java.lang.ClassNotFoundException
> at __randomizedtesting.SeedInfo.seed([73C88811FC2C4074:9ED58463F783FA68]:0)
> at junit.framework.Assert.fail(Assert.java:57)
> at java.lang.Thread.run(Thread.java:745)
2> NOTE: reproduce with: ant test -Dtestcase=ShadedTest -Dtests.method=testjsr166eIsNotOnTheCP -Dtests.seed=73C88811FC2C4074 -Dtests.locale=in_ID -Dtests.timezone=America/St_Lucia -Dtests.asserts=true -Dtests.file.encoding=UTF-8
FAILURE 0.02s | ShadedTest.testjsr166eIsNotOnTheCP <<<
> Throwable #1: junit.framework.AssertionFailedError: Expected an exception but the test passed: java.lang.ClassNotFoundException
> at __randomizedtesting.SeedInfo.seed([73C88811FC2C4074:69DC99304E262AC7]:0)
> at junit.framework.Assert.fail(Assert.java:57)
> at java.lang.Thread.run(Thread.java:745)
2> NOTE: reproduce with: ant test -Dtestcase=ShadedTest -Dtests.method=testJodaIsNotOnTheCP -Dtests.seed=73C88811FC2C4074 -Dtests.locale=in_ID -Dtests.timezone=America/St_Lucia -Dtests.asserts=true -Dtests.file.encoding=UTF-8
FAILURE 0.02s | ShadedTest.testJodaIsNotOnTheCP <<<
> Throwable #1: junit.framework.AssertionFailedError: Expected an exception but the test passed: java.lang.ClassNotFoundException
> at __randomizedtesting.SeedInfo.seed([73C88811FC2C4074:5F2CEBF9A56944D5]:0)
> at junit.framework.Assert.fail(Assert.java:57)
> at java.lang.Thread.run(Thread.java:745)
2> NOTE: test params are: codec=CheapBastard, sim=RandomSimilarityProvider(queryNorm=false,coord=crazy): {}, locale=in_ID, timezone=America/St_Lucia
2> NOTE: Linux 3.16.0-30-generic amd64/Oracle Corporation 1.8.0_51 (64-bit)/cpus=4,threads=1,free=439531384,total=514850816
2> NOTE: All tests run in this JVM: [ShadedTest]
Completed [1/1] in 0.74s, 4 tests, 3 failures <<< FAILURES!
Tests with failures:
- org.elasticsearch.shaded.test.ShadedTest.testGuavaIsNotOnTheCP
- org.elasticsearch.shaded.test.ShadedTest.testjsr166eIsNotOnTheCP
- org.elasticsearch.shaded.test.ShadedTest.testJodaIsNotOnTheCP
[INFO] JVM J0: 0.71 .. 2.22 = 1.52s
[INFO] Execution time total: 2.26 sec.
[INFO] Tests summary: 1 suite, 4 tests, 3 failures
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.414s
[INFO] Finished at: Tue Aug 18 12:47:25 IST 2015
[INFO] Final Memory: 37M/417M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.carrotsearch.randomizedtesting:junit4-maven-plugin:2.1.16:junit4 (tests) on project smoke-test-shaded: There were test failures: 1 suite, 4 tests, 3 failures -> [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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment