Skip to content

Added support for 'mill init' from existing Gradle project #4372

Added support for 'mill init' from existing Gradle project

Added support for 'mill init' from existing Gradle project #4372

Triggered via pull request January 22, 2025 04:02
Status Cancelled
Total duration 29m 15s
Artifacts 7

run-tests.yml

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

Annotations

29 errors and 9 warnings
UtestExampleTestSuite.exampleTest: out/testkit/compile.dest/classes/mill/testkit/UtestExampleTestSuite.class#L19
else assert(evalResult.isSuccess) evalResult: mill.testkit.IntegrationTester.EvalResult = EvalResult(false,Test run org.mockitosubclass.PluginTest started Test org.mockitosubclass.PluginTest.mock_maker_should_be_inline started Test run org.mockito.memorytest.LocationFactoryAllocationRateTest started Test org.mockito.memorytest.LocationFactoryAllocationRateTest.shouldAllocateMuchLessMemoryThanThrowable started Test run org.mockito.ProgrammaticMockMakerTest started Test org.mockito.ProgrammaticMockMakerTest.test_mockability_check_uses_given_mock_maker started Test org.mockitosubclass.PluginTest.mock_maker_should_be_inline finished, took 1.458 sec Test org.mockitosubclass.PluginTest.member_accessor_should_be_module started Test org.mockitosubclass.PluginTest.member_accessor_should_be_module finished, took 0.002 sec Test run org.mockitosubclass.PluginTest finished: 0 failed, 0 ignored, 2 total, 1.473s Test run org.mockitoinline.bugs.SelfSpyReferenceMemoryLeakTest started Test org.mockitoinline.bugs.SelfSpyReferenceMemoryLeakTest.no_memory_leak_when_spy_holds_reference_to_self started Test org.mockito.ProgrammaticMockMakerTest.test_mockability_check_uses_given_mock_maker finished, took 2.069 sec Test org.mockito.ProgrammaticMockMakerTest.test_smart_nulls_inherit_mock_maker started Test org.mockito.memorytest.LocationFactoryAllocationRateTest.shouldAllocateMuchLessMemoryThanThrowable finished, took 2.314 sec Test run org.mockito.memorytest.LocationFactoryAllocationRateTest finished: 0 failed, 0 ignored, 1 total, 2.331s Test run org.mockito.memorytest.ShouldNotStarveMemoryOnLargeStackTraceInvocationsTest started Test org.mockito.memorytest.ShouldNotStarveMemoryOnLargeStackTraceInvocationsTest.large_stack_trace_invocations_should_not_starve_memory started Test org.mockito.ProgrammaticMockMakerTest.test_smart_nulls_inherit_mock_maker finished, took 0.441 sec Test org.mockito.ProgrammaticMockMakerTest.test_deep_stups_inherit_mock_maker started Test org.mockito.ProgrammaticMockMakerTest.test_deep_stups_inherit_mock_maker finished, took 0.036 sec Test org.mockito.ProgrammaticMockMakerTest.test_normal_mock_uses_given_mock_maker started Test org.mockito.ProgrammaticMockMakerTest.test_normal_mock_uses_given_mock_maker finished, took 0.01 sec Test org.mockito.ProgrammaticMockMakerTest.test_exception_when_mock_maker_cannot_be_instantiated started Test org.mockito.ProgrammaticMockMakerTest.test_exception_when_mock_maker_cannot_be_instantiated finished, took 0.145 sec Test org.mockito.ProgrammaticMockMakerTest.test_returned_mocks_inherit_mock_maker started Test org.mockito.ProgrammaticMockMakerTest.test_returned_mocks_inherit_mock_maker finished, took 0.013 sec Test org.mockito.ProgrammaticMockMakerTest.test_custom_mock_maker started Test org.mockito.ProgrammaticMockMakerTest.test_custom_mock_maker finished, took 0.005 sec Test run org.mockito.ProgrammaticMockMakerTest finished: 0 failed, 0 ignored, 7 total, 2.738s Test run org.mockitousage.annotation.ProgrammaticMockMakerAnnotationTest started Test org.mockitousage.annotation.ProgrammaticMockMakerAnnotationTest.test_mock_uses_given_mock_maker started Test org.mockitousage.annotation.ProgrammaticMockMakerAnnotationTest.test_mock_uses_given_mock_maker finished, took 0.123 sec Test run org.mockitousage.annotation.ProgrammaticMockMakerAnnotationTest finished: 0 failed, 0 ignored, 1 total, 0.125s Test run org.mockito.DescriptionTest started Test org.mockito.DescriptionTest.verify_method_not_called_should_include_description_in_report started Test org.mockitoinline.bugs.SelfSpyReferenceMemoryLeakTest.no_memory_leak_when_spy_holds_reference_to_self finished, took 3.111 sec Test run org.mockitoinline.bugs.SelfSpyReferenceMemoryLeakTest finished: 0 failed, 0 ignored, 1 total, 3.131s Test run org.mockitoproxy.MocksTest started Test org.mockitoproxy.MocksTest.can_create_mock_interface started Test run org.mockitoinline.bugs.OngoingStubShiftTest started Test org.mockitoinline.bugs.OngoingStubShiftTest.keep_ongoing_stub_when_exception started Test org.mockitoinline.bugs.OngoingStubShiftTest.keep_ongoi
linux (17, '{main,scalalib,testrunner,bsp,testkit}.__.test', false) / run
Process completed with exit code 1.
BuildGenTests.maven-samples: main/init/gradle/test/src/mill/main/gradle/BuildGenTests.scala#L1
checker.check(BuildGen.main(Array.empty), sourceRoot, expectedRoot) checker: mill.main.buildgen.BuildGenChecker = mill.main.buildgen.BuildGenChecker@4e2109fe sourceRoot: os.sub.ThisType = maven-samples expectedRoot: os.sub.ThisType = expected/maven-samples checker: mill.main.buildgen.BuildGenChecker = mill.main.buildgen.BuildGenChecker@4e2109fe
BuildGenTests.config: main/init/gradle/test/src/mill/main/gradle/BuildGenTests.scala#L1
checker.check(BuildGen.main(args), sourceRoot, expectedRoot) checker: mill.main.buildgen.BuildGenChecker = mill.main.buildgen.BuildGenChecker@6d8096ee sourceRoot: os.sub.ThisType = maven-samples expectedRoot: os.sub.ThisType = expected/config checker: mill.main.buildgen.BuildGenChecker = mill.main.buildgen.BuildGenChecker@6d8096ee args: Array[String] = [Ljava.lang.String;@35d8ba22
BuildGenTests.misc.custom-resources: main/init/gradle/test/src/mill/main/gradle/BuildGenTests.scala#L1
checker.check(BuildGen.main(Array.empty), sourceRoot, expectedRoot) checker: mill.main.buildgen.BuildGenChecker = mill.main.buildgen.BuildGenChecker@59e9ba7 sourceRoot: os.sub.ThisType = misc/custom-resources expectedRoot: os.sub.ThisType = expected/misc/custom-resources checker: mill.main.buildgen.BuildGenChecker = mill.main.buildgen.BuildGenChecker@59e9ba7
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[!!]>
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[!!]>
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
itest (11, ci/test-dist-run.sh && ci/test-install-local.sh && ./mill -i -k __.ivyDepsTree && ./mi... / run
Canceling since a higher priority waiting request for 'cancel-old-pr-runs-Run Tests-gradle' exists
windows (11, 'integration.invalidation.__.native.server.test') / run
Canceling since a higher priority waiting request for 'cancel-old-pr-runs-Run Tests-gradle' exists
windows (17, 'integration.{feature,failure}.__.packaged.fork.test') / run
Canceling since a higher priority waiting request for 'cancel-old-pr-runs-Run Tests-gradle' exists
linux (17, 'integration.invalidation.__.packaged.server.test', false) / run
Canceling since a higher priority waiting request for 'cancel-old-pr-runs-Run Tests-gradle' exists
linux (17, example.scalalib.__.native.server.test, false) / run
Canceling since a higher priority waiting request for 'cancel-old-pr-runs-Run Tests-gradle' exists
linux (11, 'example.{cli,fundamentals,depth,extending}.__.local.server.test', false) / run
Canceling since a higher priority waiting request for 'cancel-old-pr-runs-Run Tests-gradle' exists
linux (17, example.kotlinlib.__.native.server.test, false) / run
Canceling since a higher priority waiting request for 'cancel-old-pr-runs-Run Tests-gradle' exists
linux (11, 'integration.{failure,feature,ide}.__.packaged.server.test', false) / run
Canceling since a higher priority waiting request for 'cancel-old-pr-runs-Run Tests-gradle' exists
windows (11, "{main,scalalib,bsp}.__.test") / run
Canceling since a higher priority waiting request for 'cancel-old-pr-runs-Run Tests-gradle' exists
linux (17, example.javalib.__.local.server.test, false) / run
Canceling since a higher priority waiting request for 'cancel-old-pr-runs-Run Tests-gradle' exists
linux (17, 'example.{pythonlib,javascriptlib}.__.local.server.test', false) / run
Canceling since a higher priority waiting request for 'cancel-old-pr-runs-Run Tests-gradle' exists
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 (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.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 (17, 'example.android.__.local.server.test', true) / 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
275 KB
macos-latest-selective-execution-artifact
275 KB
ubuntu-24.04-arm-selective-execution-artifact
275 KB
ubuntu-latest-artifact
182 MB
ubuntu-latest-selective-execution-artifact
275 KB
windows-latest-artifact
181 MB
windows-latest-selective-execution-artifact
275 KB