Skip to content

Stop throwing IllegalStateException #1922

Stop throwing IllegalStateException

Stop throwing IllegalStateException #1922

GitHub Actions / Configuration Admin TCK failed Nov 16, 2024 in 0s

1 fail, 142 pass in 21m 29s

143 tests  ±0   142 ✅ ±0   21m 29s ⏱️ -1s
  1 suites ±0     0 💤 ±0 
  1 files   ±0     1 ❌ ±0 

Results for commit d536b88. ± Comparison against earlier commit 791406f.

Annotations

Check warning on line 0 in org.osgi.test.cases.cm.junit.CMCoordinationTestCase

See this annotation in the file changed.

@github-actions github-actions / Configuration Admin TCK

testCoordinatedConfigurationOnBeforeRegisteredManagedService (org.osgi.test.cases.cm.junit.CMCoordinationTestCase) failed

artifacts/tck-results/bundles/org.eclipse.equinox.cm/target/tck-results/TEST-org.osgi.test.cases.cm-8.1.0.202212101352.xml [took 16s]
Raw output
expected:<1> but was:<2>
junit.framework.AssertionFailedError: expected:<1> but was:<2>
	at junit.framework.Assert.fail(Assert.java:57)
	at junit.framework.Assert.failNotEquals(Assert.java:329)
	at junit.framework.Assert.assertEquals(Assert.java:78)
	at junit.framework.Assert.assertEquals(Assert.java:234)
	at junit.framework.Assert.assertEquals(Assert.java:241)
	at junit.framework.TestCase.assertEquals(TestCase.java:384)
	at org.osgi.test.cases.cm.junit.CMCoordinationTestCase.testCoordinatedConfigurationOnBeforeRegisteredManagedService(CMCoordinationTestCase.java:439)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at junit.framework.TestCase.runTest(TestCase.java:177)
	at junit.framework.TestCase.runBare(TestCase.java:142)
	at junit.framework.TestResult$1.protect(TestResult.java:122)
	at junit.framework.TestResult.runProtected(TestResult.java:142)
	at junit.framework.TestResult.run(TestResult.java:125)
	at junit.framework.TestCase.run(TestCase.java:130)
	at junit.framework.TestSuite.runTest(TestSuite.java:241)
	at junit.framework.TestSuite.run(TestSuite.java:236)
	at aQute.tester.bundle.engine.BundleDescriptor.executeChild(BundleDescriptor.java:49)
	at aQute.tester.bundle.engine.BundleEngine.lambda$executeBundle$7(BundleEngine.java:120)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
	at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
	at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1845)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
	at aQute.tester.bundle.engine.BundleEngine.executeBundle(BundleEngine.java:120)
	at aQute.tester.bundle.engine.BundleEngine.lambda$execute$5(BundleEngine.java:100)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
	at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
	at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1845)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
	at aQute.tester.bundle.engine.BundleEngine.execute(BundleEngine.java:100)
testCoordinatedConfigurationOnBeforeRegisteredManagedService: STARTED
SetAllPermission Bundle is going to start.
no location is set in PermissionAdmin.
default permission=null

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Configuration Admin TCK

143 tests found

There are 143 tests, see "Raw output" for the full list of tests.
Raw output
org.osgi.test.cases.cm.junit.CMControl ‑ testChangeCount
org.osgi.test.cases.cm.junit.CMControl ‑ testChangeCountFactory
org.osgi.test.cases.cm.junit.CMControl ‑ testConfigEventFromDifferentBundle
org.osgi.test.cases.cm.junit.CMControl ‑ testConfigListenerPermission
org.osgi.test.cases.cm.junit.CMControl ‑ testConfigurationLocking
org.osgi.test.cases.cm.junit.CMControl ‑ testConfigurationWithNullLocation
org.osgi.test.cases.cm.junit.CMControl ‑ testCreateFactoryConfiguration
org.osgi.test.cases.cm.junit.CMControl ‑ testCreateFactoryConfigurationWithLocation
org.osgi.test.cases.cm.junit.CMControl ‑ testCreateFactoryConfigurationWithNullLocation
org.osgi.test.cases.cm.junit.CMControl ‑ testCreateFactoryConfiguration_4_01
org.osgi.test.cases.cm.junit.CMControl ‑ testCreateFactoryConfiguration_4_02
org.osgi.test.cases.cm.junit.CMControl ‑ testCreateFactoryConfiguration_4_03
org.osgi.test.cases.cm.junit.CMControl ‑ testCreateFactoryConfiguration_4_04
org.osgi.test.cases.cm.junit.CMControl ‑ testCreateFactoryConfiguration_4_06
org.osgi.test.cases.cm.junit.CMControl ‑ testCreateFactoryConfiguration_4_07
org.osgi.test.cases.cm.junit.CMControl ‑ testDeleteConfigEvent
org.osgi.test.cases.cm.junit.CMControl ‑ testDeleteConfigFactoryEvent
org.osgi.test.cases.cm.junit.CMControl ‑ testDeletedConfiguration
org.osgi.test.cases.cm.junit.CMControl ‑ testDynamicBinding
org.osgi.test.cases.cm.junit.CMControl ‑ testEquals
org.osgi.test.cases.cm.junit.CMControl ‑ testFactoryConfigurationCollision
org.osgi.test.cases.cm.junit.CMControl ‑ testGetBundleLocation_7_01
org.osgi.test.cases.cm.junit.CMControl ‑ testGetBundleLocation_7_02
org.osgi.test.cases.cm.junit.CMControl ‑ testGetBundleLocation_7_03
org.osgi.test.cases.cm.junit.CMControl ‑ testGetBundleLocation_7_05
org.osgi.test.cases.cm.junit.CMControl ‑ testGetBundleLocation_7_06
org.osgi.test.cases.cm.junit.CMControl ‑ testGetBundleLocation_7_07
org.osgi.test.cases.cm.junit.CMControl ‑ testGetBundleLocation_7_08
org.osgi.test.cases.cm.junit.CMControl ‑ testGetConfiguration
org.osgi.test.cases.cm.junit.CMControl ‑ testGetConfigurationWithLocation
org.osgi.test.cases.cm.junit.CMControl ‑ testGetConfigurationWithLocation_2_01
org.osgi.test.cases.cm.junit.CMControl ‑ testGetConfigurationWithLocation_2_02
org.osgi.test.cases.cm.junit.CMControl ‑ testGetConfigurationWithLocation_2_03
org.osgi.test.cases.cm.junit.CMControl ‑ testGetConfigurationWithLocation_2_04
org.osgi.test.cases.cm.junit.CMControl ‑ testGetConfigurationWithLocation_2_06
org.osgi.test.cases.cm.junit.CMControl ‑ testGetConfigurationWithLocation_2_07
org.osgi.test.cases.cm.junit.CMControl ‑ testGetConfigurationWithLocation_2_08
org.osgi.test.cases.cm.junit.CMControl ‑ testGetConfigurationWithLocation_2_09
org.osgi.test.cases.cm.junit.CMControl ‑ testGetConfigurationWithLocation_2_10
org.osgi.test.cases.cm.junit.CMControl ‑ testGetConfigurationWithLocation_2_12
org.osgi.test.cases.cm.junit.CMControl ‑ testGetConfigurationWithLocation_2_13
org.osgi.test.cases.cm.junit.CMControl ‑ testGetConfiguration_3_01
org.osgi.test.cases.cm.junit.CMControl ‑ testGetConfiguration_3_02
org.osgi.test.cases.cm.junit.CMControl ‑ testGetConfiguration_3_03
org.osgi.test.cases.cm.junit.CMControl ‑ testGetConfiguration_3_04
org.osgi.test.cases.cm.junit.CMControl ‑ testGetConfiguration_3_06
org.osgi.test.cases.cm.junit.CMControl ‑ testGetConfiguration_3_07
org.osgi.test.cases.cm.junit.CMControl ‑ testGetFactoryConfigurationWithName
org.osgi.test.cases.cm.junit.CMControl ‑ testListConfigurations
org.osgi.test.cases.cm.junit.CMControl ‑ testListConfigurations_6_01
org.osgi.test.cases.cm.junit.CMControl ‑ testListConfigurations_6_02
org.osgi.test.cases.cm.junit.CMControl ‑ testListConfigurations_6_03
org.osgi.test.cases.cm.junit.CMControl ‑ testListConfigurations_6_04
org.osgi.test.cases.cm.junit.CMControl ‑ testListConfigurations_6_05
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedProperties
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceChangeCP_12_2_1
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceChangeCP_12_2_2
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceChangeLocation_12_1_1
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceChangeLocation_12_1_2
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceChangeLocation_12_1_3
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceFactory
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceFactoryCmRestart18_3_2
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceFactoryDeletion18_5_2
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceFactoryModifyPid18_4_2
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceFactoryRegistration13_1_1
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceFactoryRegistration13_1_2
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceFactoryRegistration13_2_2
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceFactoryRegistration13_2_5
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceFactoryRegistrationMultipleCF_16_1_1
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceFactoryRegistrationMultipleCF_16_1_2
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceFactoryRegistrationMultipleTargets_14_1_1
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceFactoryRegistrationMultipleTargets_14_1_2
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceFactoryRegistrationMultipleTargets_14_2_1
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceFactoryRegistrationMultipleTargets_14_2_2
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceFactoryRegistrationMultipleTargets_15_1_1
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceFactoryRegistrationMultipleTargets_15_1_2
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceFactoryRegistrationMultipleTargets_15_2_1
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceFactoryRegistrationMultipleTargets_15_3_1
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceModifyPid_12_4_1
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceModifyPid_12_4_2
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceRegistration
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceRegistration2
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceRegistration9_1_1
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceRegistration9_1_2
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceRegistration9_2_1
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceRegistration9_2_2
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceRegistration9_2_4
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceRegistration9_2_5
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceRegistrationDuplicatedTargets
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceRegistrationMultipleTargets_10_1_1
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceRegistrationMultipleTargets_10_1_2
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceRegistrationMultipleTargets_10_2_1
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceRegistrationMultipleTargets_10_2_2
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceRegistrationMultipleTargets_10_2_3
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceRegistrationMultipleTargets_10_2_4
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceRegistrationMultipleTargets_11_1_1
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceRegistrationWithMultiplPIDs
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceStartCM_12_3_1
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceStartCM_12_3_2
org.osgi.test.cases.cm.junit.CMControl ‑ testManagedServiceStartCM_12_3_3
org.osgi.test.cases.cm.junit.CMControl ‑ testNegativeTargetedPid
org.osgi.test.cases.cm.junit.CMControl ‑ testProvideImplementationCapability
org.osgi.test.cases.cm.junit.CMControl ‑ testProvideServiceCapability
org.osgi.test.cases.cm.junit.CMControl ‑ testRepeatedGetFactoryConfigurationWithName
org.osgi.test.cases.cm.junit.CMControl ‑ testSetBundleLocation_8_01
org.osgi.test.cases.cm.junit.CMControl ‑ testSetBundleLocation_8_02
org.osgi.test.cases.cm.junit.CMControl ‑ testSetBundleLocation_8_04
org.osgi.test.cases.cm.junit.CMControl ‑ testSetBundleLocation_8_05
org.osgi.test.cases.cm.junit.CMControl ‑ testSetBundleLocation_8_06
org.osgi.test.cases.cm.junit.CMControl ‑ testSetBundleLocation_8_07
org.osgi.test.cases.cm.junit.CMControl ‑ testSetBundleLocation_8_08
org.osgi.test.cases.cm.junit.CMControl ‑ testSetBundleLocation_8_10
org.osgi.test.cases.cm.junit.CMControl ‑ testSetBundleLocation_8_15
org.osgi.test.cases.cm.junit.CMControl ‑ testSetBundleLocation_8_16
org.osgi.test.cases.cm.junit.CMControl ‑ testSetBundleLocation_8_17
org.osgi.test.cases.cm.junit.CMControl ‑ testSetBundleLocation_8_18
org.osgi.test.cases.cm.junit.CMControl ‑ testSetBundleLocation_8_19
org.osgi.test.cases.cm.junit.CMControl ‑ testSyncListener
org.osgi.test.cases.cm.junit.CMControl ‑ testSyncListenerFactory
org.osgi.test.cases.cm.junit.CMControl ‑ testTargetedFactoryPid
org.osgi.test.cases.cm.junit.CMControl ‑ testTargetedPid
org.osgi.test.cases.cm.junit.CMControl ‑ testUpdate
org.osgi.test.cases.cm.junit.CMControl ‑ testUpdateConfigEvent
org.osgi.test.cases.cm.junit.CMControl ‑ testUpdateConfigFactoryEvent
org.osgi.test.cases.cm.junit.CMControl ‑ testUpdateIfDifferent
org.osgi.test.cases.cm.junit.CMCoordinationTestCase ‑ testCoordinatedConfigurationOnBeforeRegisteredManagedService
org.osgi.test.cases.cm.junit.CMCoordinationTestCase ‑ testListeners
org.osgi.test.cases.cm.junit.CMCoordinationTestCase ‑ testManagedService
org.osgi.test.cases.cm.junit.CMCoordinationTestCase ‑ test_create_managedservice_delete
org.osgi.test.cases.cm.junit.CMCoordinationTestCase ‑ test_deliver_existing_Configuration_to_later_registered_ManagedService
org.osgi.test.cases.cm.junit.ConfigurationPermissionTests ‑ testActionImplications
org.osgi.test.cases.cm.junit.ConfigurationPermissionTests ‑ testActions
org.osgi.test.cases.cm.junit.ConfigurationPermissionTests ‑ testInvalid
org.osgi.test.cases.cm.junit.ConfigurationPermissionTests ‑ testNames
org.osgi.test.cases.cm.junit.ConfigurationPermissionTests ‑ testWildcardNames
org.osgi.test.cases.cm.junit.ConfigurationPluginTests ‑ testConfigurationPluginService
org.osgi.test.cases.cm.junit.ConfigurationPluginTests ‑ testConfigurationPluginServiceFactory
org.osgi.test.cases.cm.junit.ConfigurationPluginTests ‑ testGetProcessedProperties
org.osgi.test.cases.cm.junit.ConfigurationPluginTests ‑ testRankingForManagedService
org.osgi.test.cases.cm.junit.ConfigurationPluginTests ‑ testRankingForManagedServiceFactory
org.osgi.test.cases.cm.junit.ConfigurationPluginTests ‑ testTargettingManagedService
org.osgi.test.cases.cm.junit.ConfigurationPluginTests ‑ testTargettingManagedServiceFactory
org.osgi.test.cases.cm.junit.SignatureTestCase ‑ testSignatures