fail when "make run-test-tier1" and "make all"

Lin Zang lin.zang.z at gmail.com
Sun Sep 30 06:04:28 UTC 2018


Hi, 
    I recently tried to runt make run-test-tier1 or make all on jdk10u and
jdk11 with latest jtreg. all fail with following error:

ERROR: Build failed for target 'run-test-tier1' in configuration
'linux-x86_64-normal-server-release' (exit code 2) 
Stopping sjavac server

=== Output from failing command(s) repeated here ===
* For target
support_test_failure_handler_classes__the.BUILD_FAILURE_HANDLER_batch:
/media/Source/jdk11/test/failure_handler/src/share/classes/jdk/test/failurehandler/jtreg/GatherDiagnosticInfoObserver.java:123:
error: no suitable method found for save(Map<CAP#1,CAP#2>)
        rp.save(map);
          ^
    method InterviewParameters.save(File) is not applicable
      (argument mismatch; Map<CAP#1,CAP#2> cannot be converted to File)
    method InterviewParameters.save(Map<String,String>) is not applicable
      (argument mismatch; Map<CAP#1,CAP#2> cannot be converted to
Map<String,String>)
  where CAP#1,CAP#2 are fresh type-variables:
    CAP#1 extends Object from capture of ?
    CAP#2 extends Object from capture of ?
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
   ... (rest of output omitted)

* All command lines available in
/media/Source/jdk11/build/linux-x86_64-normal-server-release/make-support/failure-logs.
=== End of repeated output ===

=== Make failed targets repeated here ===
BuildFailureHandler.gmk:51: recipe for target
'/media/Source/jdk11/build/linux-x86_64-normal-server-release/support/test/failure_handler/classes/_the.BUILD_FAILURE_HANDLER_batch'
failed
make/Main.gmk:516: recipe for target 'build-test-failure-handler' failed
=== End of repeated output ===

Hint: Try searching the build log for the name of the first failed target.
Hint: See doc/building.html#troubleshooting for assistance.

/media/Source/jdk11/make/Init.gmk:300: recipe for target 'main' failed
make[1]: *** [main] Error 2
/media/Source/jdk11/make/Init.gmk:186: recipe for target 'run-test-tier1'
failed
make: *** [run-test-tier1] Error 2

Can anyone help to take a look at this issue? Thanks

BRs,
Lin



--
Sent from: http://openjdk.5641.n7.nabble.com/OpenJDK-jtreg-Test-Harness-f101415.html


More information about the jtreg-use mailing list