Skip to content

osgi-tests are never run by CI; bundle groupId was broken since #895 #1293

Open

Description

@nikagra

No CI lane runs the osgi-tests module. make check is verify -DskipTests, make test-unit is the unit lane, the Cassandra and Scylla IT lanes run verify -pl integration-tests, and the release targets pass -DskipITs. The module needs CCM (CcmPaxExam), so it cannot ride in the unit lane.

The gap hid a configuration defect since #895: BundleOptions.commonBundles() provisioned org.apache.cassandra:java-driver-guava-shaded, while osgi-tests/pom.xml depends on com.scylladb:java-driver-guava-shaded. versionAsInProject() resolves through the generated dependencies.properties, which has no org.apache.cassandra/* key, so every OSGi IT failed at configuration ("Could not resolve version"). #1291 fixes the groupId but does not run the tests.

To do:

  • add an OSGi job to tests@v1 next to the IT lanes (it needs CCM), or declare the module unsupported and drop it
  • once it runs, confirm the bundle start levels merged from upstream 4.19.3 work

Refs: #1291
Refs: DRIVER-1126

Activity

  1. nikagra commented on Oct 23, 2026

    @nikagra
    Author

    One more fact for the lane work: all six Osgi*IT classes carry a class-level @Ignore("@IntegrationTestDisabledCassandra3Failure @IntegrationTestDisabledPaxExam"), on scylla-4.x and on #1291's head alike, so the "failed at configuration" state above is unobservable until that annotation goes, lane or no lane.

    #1291 also restores the sun.misc extension bundle (upstream CASSJAVA-122) that the 4.19.3 merge resolution had dropped from BundleOptions.lz4Bundle(); OsgiLz4IT needs it because lz4-java imports sun.misc unconditionally and only the pax:run config boot-delegates it.

  2. added theissue type on Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions