Skip to content

Fix selective testing of native example tests by adding jvm version o… #4546

Fix selective testing of native example tests by adding jvm version o…

Fix selective testing of native example tests by adding jvm version o… #4546

Triggered via push January 28, 2025 01:14
Status Failure
Total duration 40m 15s
Artifacts 7

run-tests.yml

on: push
Matrix: cross-plat
Matrix: itest
Matrix: linux
Matrix: windows
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 16 warnings
java11Test.hello.MyCoreTests.java11Test: java11Test#L23
expected:<1[7]> but was:<1[1]>
msgTest.hello.MyCoreTests.msgTest: msgTest#L10
expected:<Hello World[]> but was:<Hello World[!!]>
java17Test.hello.MyCoreTests.java17Test: java17Test#L32
expected:<1[1]> but was:<1[7]>
msgTest.hello.MyCoreTests.msgTest: msgTest#L10
expected:<Hello World[]> but was:<Hello World[!!]>
HelloTests.failure: contrib/testng/test/resources/demo/testng/src/foo/HelloTests.java#L73127
expected:<"Not hello, world"> but was:<"Hello, world"> AssertionFailedError: expected:<"Not hello, world"> but was:<"Hello, world">
foo HelloTests.failure: foo HelloTests#L1
Expected <Hello, world>, actual <Not hello, world>. AssertionError: Expected <Hello, world>, actual <Not hello, world>.
ArgsParserTests.two: ArgsParserTests#L1
result.length == 80 result: Seq[String] = ArraySeq(hello, world)
ArgsParserTests.two: ArgsParserTests#L1
result.length == 80 result: Seq[String] = ArraySeq(hello, world)
ArgsParserSpec.parse should two: ArgsParserSpec#L1
Array("hello", "world") had length 2 instead of expected length 80
linux (11, example.javalib.__.native.server.test, false) / run
Process completed with exit code 1.
UtestExampleTestSuite.exampleTest: out/testkit/compile.dest/classes/mill/testkit/UtestExampleTestSuite.class#L19
assertion failed: ==== filteredOut: compiling 1 Java source to /home/runner/work/mill/mill/out/example/javalib/linting/1-error-prone/native/server/test.dest/sandbox/run-2/out/compile.dest/classes ... WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.errorprone.util.ErrorProneScope (file:/home/runner/.cache/coursier/v1/https/repo1.maven.org/maven2/com/google/errorprone/error_prone_check_api/2.31.0/error_prone_check_api-2.31.0.jar) to method com.sun.tools.javac.code.Scope.getSymbolsByName(com.sun.tools.javac.util.Name,com.sun.tools.javac.util.Filter) WARNING: Please consider reporting this to the maintainers of com.google.errorprone.util.ErrorProneScope WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release [warn] /home/runner/work/mill/mill/out/example/javalib/linting/1-error-prone/native/server/test.dest/sandbox/run-2/src/example/ShortSet.java:11:15: [CollectionIncompatibleType] Argument 'i - 1' should not be passed to this method; its type int is not compatible with its collection's type argument Short [warn] (see https://errorprone.info/bugpattern/CollectionIncompatibleType) [warn] s.remove(i - 1) [warn] ^ done compiling ==== Missing expectedLine: [warn] .../src/example/ShortSet.java:11:15: [CollectionIncompatibleType] Argument 'i - 1' should not be passed to this method; its type int is not compatible with its collection's type argument Short
UtestExampleTestSuite.exampleTest: out/testkit/compile.dest/classes/mill/testkit/UtestExampleTestSuite.class#L19
else assert(evalResult.isSuccess) evalResult: mill.testkit.IntegrationTester.EvalResult = EvalResult(false,[build.mill] [info] compiling 1 Scala source to /home/runner/work/mill/mill/out/example/javalib/module/7-resources/native/server/test.dest/sandbox/run-2/out/mill-build/compile.dest/classes ... [build.mill] [info] done compiling [info] compiling 1 Java source to /home/runner/work/mill/mill/out/example/javalib/module/7-resources/native/server/test.dest/sandbox/run-2/out/foo/compile.dest/classes ... [info] done compiling [info] compiling 1 Java source to /home/runner/work/mill/mill/out/example/javalib/module/7-resources/native/server/test.dest/sandbox/run-2/out/foo/test/compile.dest/classes ... [error] /home/runner/work/mill/mill/out/example/javalib/module/7-resources/native/server/test.dest/sandbox/run-2/foo/test/src/FooTests.java:36:77: cannot find symbol [error] symbol: method toList() [error] location: interface java.util.stream.Stream<java.nio.file.Path> [error] Files.list(testFileResourceDir).toList [error] ^ 1 tasks failed foo.test.compile javac returned non-zero exit code ,)
UtestExampleTestSuite.exampleTest: out/testkit/compile.dest/classes/mill/testkit/UtestExampleTestSuite.class#L19
else assert(evalResult.isSuccess) evalResult: mill.testkit.IntegrationTester.EvalResult = EvalResult(false,[build.mill] [info] compiling 1 Scala source to /home/runner/work/mill/mill/out/example/javalib/web/3-todo-spring-boot/native/server/test.dest/sandbox/run-2/out/mill-build/compile.dest/classes ... [build.mill] [info] done compiling [info] compiling 6 Java sources to /home/runner/work/mill/mill/out/example/javalib/web/3-todo-spring-boot/native/server/test.dest/sandbox/run-2/out/compile.dest/classes ... [error] /home/runner/work/mill/mill/out/example/javalib/web/3-todo-spring-boot/native/server/test.dest/sandbox/run-2/src/com/example/todoitem/web/TodoItemController.java:94:12: illegal start of expression [error] /home/runner/work/mill/mill/out/example/javalib/web/3-todo-spring-boot/native/server/test.dest/sandbox/run-2/src/com/example/todoitem/web/TodoItemController.java:95:53: : expected [error] /home/runner/work/mill/mill/out/example/javalib/web/3-todo-spring-boot/native/server/test.dest/sandbox/run-2/src/com/example/todoitem/web/TodoItemController.java:96:72: : expected [error] /home/runner/work/mill/mill/out/example/javalib/web/3-todo-spring-boot/native/server/test.dest/sandbox/run-2/src/com/example/todoitem/web/TodoItemController.java:97:74: : expected 1 tasks failed compile javac returned non-zero exit code ,)
UtestExampleTestSuite.exampleTest: out/testkit/compile.dest/classes/mill/testkit/UtestExampleTestSuite.class#L19
else assert(evalResult.isSuccess) evalResult: mill.testkit.IntegrationTester.EvalResult = EvalResult(false,[build.mill] [info] compiling 1 Scala source to /home/runner/work/mill/mill/out/example/javalib/web/4-hello-micronaut/native/server/test.dest/sandbox/run-2/out/mill-build/compile.dest/classes ... [build.mill] [info] done compiling [info] compiling 2 Java sources to /home/runner/work/mill/mill/out/example/javalib/web/4-hello-micronaut/native/server/test.dest/sandbox/run-2/out/compile.dest/classes ... [error] Could not load processor class file due to 'io/micronaut/annotation/processing/TypeElementVisitorProcessor has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0'. 1 tasks failed compile javac returned non-zero exit code ,)
UtestExampleTestSuite.exampleTest: out/testkit/compile.dest/classes/mill/testkit/UtestExampleTestSuite.class#L19
else assert(evalResult.isSuccess) evalResult: mill.testkit.IntegrationTester.EvalResult = EvalResult(false,[build.mill] [info] compiling 1 Scala source to /home/runner/work/mill/mill/out/example/javalib/web/5-todo-micronaut/native/server/test.dest/sandbox/run-2/out/mill-build/compile.dest/classes ... [build.mill] [info] done compiling [info] compiling 9 Java sources to /home/runner/work/mill/mill/out/example/javalib/web/5-todo-micronaut/native/server/test.dest/sandbox/run-2/out/compile.dest/classes ... [error] Could not load processor class file due to 'io/micronaut/annotation/processing/TypeElementVisitorProcessor has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0'. 1 tasks failed compile javac returned non-zero exit code ,)
java11Test.hello.MyCoreTests.java11Test: java11Test#L23
expected:<1[7]> but was:<1[1]>
msgTest.hello.MyCoreTests.msgTest: msgTest#L10
expected:<Hello World[]> but was:<Hello World[!!]>
java17Test.hello.MyCoreTests.java17Test: java17Test#L32
expected:<1[1]> but was:<1[7]>
msgTest.hello.MyCoreTests.msgTest: msgTest#L10
expected:<Hello World[]> but was:<Hello World[!!]>
test-docs
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build-linux / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint-autofix / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
linux (11, 'example.thirdparty[{mockito,commons-io}].local.server.test', false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
linux (17, 'example.thirdparty[{netty,gatling}].local.server.test', false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
linux (17, contrib.__.test, false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
itest (17, ci/test-mill-bootstrap.sh) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
linux (17, 'example.thirdparty[arrow].local.server.test', false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
linux (17, 'integration.invalidation.__.packaged.server.test', false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
linux (17, example.scalalib.__.local.server.test, false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
linux (17, example.kotlinlib.__.local.server.test, false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
linux (17, 'example.{pythonlib,javascriptlib}.__.local.server.test', false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
linux (17, 'integration.invalidation.__.packaged.fork.test', false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
linux (11, 'integration.{failure,feature,ide}.__.packaged.server.test', false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
macos-13-selective-execution-artifact
174 Bytes
macos-latest-selective-execution-artifact
174 Bytes
ubuntu-24.04-arm-selective-execution-artifact
174 Bytes
ubuntu-latest-artifact
182 MB
ubuntu-latest-selective-execution-artifact
174 Bytes
windows-latest-artifact
181 MB
windows-latest-selective-execution-artifact
174 Bytes