Skip to content

rules_kotlin fails with Bazel@head on ubuntu #18300

Closed
@sgowroji

Description

@sgowroji

https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/2995#0187df5e-739d-4fa5-b106-11ef5af7e8d3

Platform : rules_kotlin (RBE (:ubuntu: 16.04, OpenJDK 8))

Logs:



==================== Test output for //src/test/kotlin/io/bazel/kotlin:KotlinJvmBasicAssertionTest:
--
  | java.lang.NoSuchMethodError: java.util.Set.of(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Set;
  | at com.google.testing.junit.runner.junit4.JUnit4RunnerModule.setOfRunListeners(JUnit4RunnerModule.java:130)
  | at com.google.testing.junit.runner.junit4.JUnit4Bazel.initialize(JUnit4Bazel.java:75)
  | at com.google.testing.junit.runner.junit4.JUnit4Bazel.<init>(JUnit4Bazel.java:52)
  | at com.google.testing.junit.runner.junit4.JUnit4Bazel$Builder.build(JUnit4Bazel.java:102)
  | at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:144)
  | at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:76)
  |  


Steps followed:

  1. git clone -v https://github.com/bazelbuild/rules_kotlin.git
  2. cd rules_kotlin
  3. git reset 1d2a56d59c54c51d31cf0710d53ea9e43de03f63 --hard
  4. export USE_BAZEL_VERSION=11d1ffecd4994e4d6fa72306174444a80f97793b
  5. bazel test //src/test/kotlin/io/bazel/kotlin/builder:builder_tests //src/test/kotlin/io/bazel/kotlin:KotlinJvmAssociatesBasicVisibilityTest //src/test/kotlin/io/bazel/kotlin:KotlinJvmBasicAssertionTest

CC @meteorcloudy

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions