[INFO] [INFO] ---< org.eclipse.microprofile.metrics:microprofile-metrics-api-tck >---- [INFO] Building MicroProfile Metrics API-TCK 5.0.0-SNAPSHOT [5/6] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] Downloading from eclipse.maven.central.mirror: https://repo.eclipse.org/content/repositories/maven_central/org/hamcrest/hamcrest-integration/1.2.1/hamcrest-integration-1.2.1.pom [INFO] Downloaded from eclipse.maven.central.mirror: https://repo.eclipse.org/content/repositories/maven_central/org/hamcrest/hamcrest-integration/1.2.1/hamcrest-integration-1.2.1.pom (2.6 kB at 88 kB/s) [INFO] Downloading from eclipse.maven.central.mirror: https://repo.eclipse.org/content/repositories/maven_central/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.pom [INFO] Downloaded from eclipse.maven.central.mirror: https://repo.eclipse.org/content/repositories/maven_central/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.pom (820 B at 410 kB/s) [INFO] Downloading from eclipse.maven.central.mirror: https://repo.eclipse.org/content/repositories/maven_central/org/hamcrest/hamcrest-all/1.3/hamcrest-all-1.3.pom [INFO] Downloaded from eclipse.maven.central.mirror: https://repo.eclipse.org/content/repositories/maven_central/org/hamcrest/hamcrest-all/1.3/hamcrest-all-1.3.pom (650 B at 18 kB/s) [INFO] Downloading from eclipse.maven.central.mirror: https://repo.eclipse.org/content/repositories/maven_central/org/hamcrest/hamcrest-integration/1.2.1/hamcrest-integration-1.2.1.jar [INFO] Downloading from eclipse.maven.central.mirror: https://repo.eclipse.org/content/repositories/maven_central/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar [INFO] Downloading from eclipse.maven.central.mirror: https://repo.eclipse.org/content/repositories/maven_central/org/hamcrest/hamcrest-all/1.3/hamcrest-all-1.3.jar [INFO] Downloading from eclipse.maven.central.mirror: https://repo.eclipse.org/content/repositories/maven_central/junit/junit/4.12/junit-4.12.jar [INFO] Downloaded from eclipse.maven.central.mirror: https://repo.eclipse.org/content/repositories/maven_central/org/hamcrest/hamcrest-integration/1.2.1/hamcrest-integration-1.2.1.jar (6.5 kB at 251 kB/s) [INFO] Downloaded from eclipse.maven.central.mirror: https://repo.eclipse.org/content/repositories/maven_central/org/hamcrest/hamcrest-all/1.3/hamcrest-all-1.3.jar (307 kB at 9.3 MB/s) [INFO] Downloaded from eclipse.maven.central.mirror: https://repo.eclipse.org/content/repositories/maven_central/junit/junit/4.12/junit-4.12.jar (315 kB at 9.8 MB/s) [INFO] Downloaded from eclipse.maven.central.mirror: https://repo.eclipse.org/content/repositories/maven_central/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar (53 kB at 1.4 MB/s) [INFO] [INFO] --- apache-rat-plugin:0.13:check (rat-check) @ microprofile-metrics-api-tck --- [INFO] Enabled default license matchers. [INFO] Will parse SCM ignores for exclusions... [INFO] Finished adding exclusions from SCM ignore files. [INFO] 62 implicit excludes (use -debug for more details). [INFO] 5 explicit excludes (use -debug for more details). [INFO] 80 resources included (use -debug for more details) [INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 80 licenses. [INFO] [INFO] --- build-helper-maven-plugin:3.2.0:timestamp-property (generate-timestamp) @ microprofile-metrics-api-tck --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:copy-resources (copy-readme) @ microprofile-metrics-api-tck --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 0 resource [INFO] [INFO] --- formatter-maven-plugin:2.13.0:format (default) @ microprofile-metrics-api-tck --- [INFO] Using 'UTF-8' encoding to format source files. [INFO] Number of files to be formatted: 79 [INFO] Successfully formatted: 0 file(s) [INFO] Fail to format: 0 file(s) [INFO] Skipped: 79 file(s) [INFO] Read only skipped: 0 file(s) [INFO] Approximate time taken: 0s [INFO] [INFO] --- impsort-maven-plugin:1.4.1:sort (sort-imports) @ microprofile-metrics-api-tck --- [INFO] Total Files Processed: 79 in 00:00.211 [INFO] Already Sorted: 79 [INFO] Needed Sorting: 0 [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ microprofile-metrics-api-tck --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ microprofile-metrics-api-tck --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 79 source files to /home/jenkins/agent/workspace/Metrics pull-requests/tck/api/target/classes [INFO] ------------------------------------------------------------- [WARNING] COMPILATION WARNING : [INFO] ------------------------------------------------------------- [WARNING] /home/jenkins/agent/workspace/Metrics pull-requests/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/HistogramTest.java: Some input files use or override a deprecated API. [WARNING] /home/jenkins/agent/workspace/Metrics pull-requests/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/HistogramTest.java: Recompile with -Xlint:deprecation for details. [WARNING] Some messages have been simplified; recompile with -Xdiags:verbose to get full output [INFO] 3 warnings [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /home/jenkins/agent/workspace/Metrics pull-requests/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/HistogramTest.java:[136,15] no suitable method found for assertArrayEquals(java.lang.String,long[],double[]) method org.junit.Assert.assertArrayEquals(java.lang.String,java.lang.Object[],java.lang.Object[]) is not applicable (argument mismatch; long[] cannot be converted to java.lang.Object[]) method org.junit.Assert.assertArrayEquals(java.lang.String,boolean[],boolean[]) is not applicable (argument mismatch; long[] cannot be converted to boolean[]) method org.junit.Assert.assertArrayEquals(java.lang.String,byte[],byte[]) is not applicable (argument mismatch; long[] cannot be converted to byte[]) method org.junit.Assert.assertArrayEquals(java.lang.String,char[],char[]) is not applicable (argument mismatch; long[] cannot be converted to char[]) method org.junit.Assert.assertArrayEquals(java.lang.String,short[],short[]) is not applicable (argument mismatch; long[] cannot be converted to short[]) method org.junit.Assert.assertArrayEquals(java.lang.String,int[],int[]) is not applicable (argument mismatch; long[] cannot be converted to int[]) method org.junit.Assert.assertArrayEquals(java.lang.String,long[],long[]) is not applicable (argument mismatch; double[] cannot be converted to long[]) method org.junit.Assert.assertArrayEquals(double[],double[],double) is not applicable (argument mismatch; java.lang.String cannot be converted to double[]) method org.junit.Assert.assertArrayEquals(float[],float[],float) is not applicable (argument mismatch; java.lang.String cannot be converted to float[]) [ERROR] /home/jenkins/agent/workspace/Metrics pull-requests/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/HistogramTest.java:[139,15] no suitable method found for assertArrayEquals(java.lang.String,long[],double[]) method org.junit.Assert.assertArrayEquals(java.lang.String,java.lang.Object[],java.lang.Object[]) is not applicable (argument mismatch; long[] cannot be converted to java.lang.Object[]) method org.junit.Assert.assertArrayEquals(java.lang.String,boolean[],boolean[]) is not applicable (argument mismatch; long[] cannot be converted to boolean[]) method org.junit.Assert.assertArrayEquals(java.lang.String,byte[],byte[]) is not applicable (argument mismatch; long[] cannot be converted to byte[]) method org.junit.Assert.assertArrayEquals(java.lang.String,char[],char[]) is not applicable (argument mismatch; long[] cannot be converted to char[]) method org.junit.Assert.assertArrayEquals(java.lang.String,short[],short[]) is not applicable (argument mismatch; long[] cannot be converted to short[]) method org.junit.Assert.assertArrayEquals(java.lang.String,int[],int[]) is not applicable (argument mismatch; long[] cannot be converted to int[]) method org.junit.Assert.assertArrayEquals(java.lang.String,long[],long[]) is not applicable (argument mismatch; double[] cannot be converted to long[]) method org.junit.Assert.assertArrayEquals(double[],double[],double) is not applicable (argument mismatch; java.lang.String cannot be converted to double[]) method org.junit.Assert.assertArrayEquals(float[],float[],float) is not applicable (argument mismatch; java.lang.String cannot be converted to float[]) [ERROR] /home/jenkins/agent/workspace/Metrics pull-requests/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/TimerTest.java:[153,15] no suitable method found for assertArrayEquals(java.lang.String,long[],double[]) method org.junit.Assert.assertArrayEquals(java.lang.String,java.lang.Object[],java.lang.Object[]) is not applicable (argument mismatch; long[] cannot be converted to java.lang.Object[]) method org.junit.Assert.assertArrayEquals(java.lang.String,boolean[],boolean[]) is not applicable (argument mismatch; long[] cannot be converted to boolean[]) method org.junit.Assert.assertArrayEquals(java.lang.String,byte[],byte[]) is not applicable (argument mismatch; long[] cannot be converted to byte[]) method org.junit.Assert.assertArrayEquals(java.lang.String,char[],char[]) is not applicable (argument mismatch; long[] cannot be converted to char[]) method org.junit.Assert.assertArrayEquals(java.lang.String,short[],short[]) is not applicable (argument mismatch; long[] cannot be converted to short[]) method org.junit.Assert.assertArrayEquals(java.lang.String,int[],int[]) is not applicable (argument mismatch; long[] cannot be converted to int[]) method org.junit.Assert.assertArrayEquals(java.lang.String,long[],long[]) is not applicable (argument mismatch; double[] cannot be converted to long[]) method org.junit.Assert.assertArrayEquals(double[],double[],double) is not applicable (argument mismatch; java.lang.String cannot be converted to double[]) method org.junit.Assert.assertArrayEquals(float[],float[],float) is not applicable (argument mismatch; java.lang.String cannot be converted to float[]) [INFO] 3 errors [INFO] -------------------------------------------------------------