You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Intersmash testsuite execution fails two Infinispan related tests when run with community settings.
To Reproduce mvn clean install -DskipTests ; mvn test -pl testsuite -Dtest=InfinispanOperatorProvisionerTest:
...
io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://api.imash416-5i2e.eapqe.psi.redhat.com:6443/apis/infinispan.org/v1/namespaces/appsint-diil/infinispans. Message: admission webhook "vinfinispan.kb.io" denied the request: Infinispan.infinispan.org "example-infinispan" is invalid: spec.service.type: Forbidden: CacheService is no longer supported.. Received status: Status(apiVersion=v1, code=422, details=StatusDetails(causes=[StatusCause(field=spec.service.type, message=Forbidden: CacheService is no longer supported., reason=FieldValueForbidden, additionalProperties={})], group=infinispan.org, kind=Infinispan, name=example-infinispan, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=admission webhook "vinfinispan.kb.io" denied the request: Infinispan.infinispan.org "example-infinispan" is invalid: spec.service.type: Forbidden: CacheService is no longer supported., metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=Invalid, status=Failure, additionalProperties={}).
at org.jboss.intersmash.testsuite.provision.openshift.InfinispanOperatorProvisionerTest.createAndVerifyInfinispan(InfinispanOperatorProvisionerTest.java:297)
Expected behavior
All the tests should pass.
Additional context
This is due to the fact that the community operator is shipping a new release - i.e. - which doesn't support .spec.service.type=cache, see https://infinispan.org/docs/infinispan-operator/main/operator.html#services_services
This issue should be fixed by changing the test code in order not to set .spec.service.type=cache in any cases, and use .spec.service.type=datagrid instead. Another issue should then track the effort to update the Intersmash provisioning tooling for Infinispan provisioning to the latest version, and check whether this would work with against product bits.
The text was updated successfully, but these errors were encountered:
fabiobrz
changed the title
Two Infinispan related tests when run with community settings
Some InfinispanOperatorProvisionerTest tests fail when run with community settings
Aug 31, 2024
Intersmash testsuite execution fails two Infinispan related tests when run with community settings.
To Reproduce
mvn clean install -DskipTests ; mvn test -pl testsuite -Dtest=InfinispanOperatorProvisionerTest
:Expected behavior
All the tests should pass.
Additional context
This is due to the fact that the community operator is shipping a new release - i.e. - which doesn't support
.spec.service.type=cache
, see https://infinispan.org/docs/infinispan-operator/main/operator.html#services_servicesThis issue should be fixed by changing the test code in order not to set
.spec.service.type=cache
in any cases, and use.spec.service.type=datagrid
instead. Another issue should then track the effort to update the Intersmash provisioning tooling for Infinispan provisioning to the latest version, and check whether this would work with against product bits.The text was updated successfully, but these errors were encountered: