Details
-
Bug
-
Resolution: Done
-
Major
-
fuse-7.11-GA
-
None
-
False
-
False
-
%
-
Todo
Description
Productization of 7.11 AR1 is failing in: https://ci-jenkins-csb-fuse.apps.ocp-c1.prod.psi.redhat.com/job/Productization/job/fuse-containers-smoke-tests/669/console
@fuse-ignite-operator Scenario: Check config.yaml and compare with upstream # com/redhat/fuse/qe/fuse-ignite-operator.feature:14 Given "application.properties" file load the configuration # AppConfigurationSteps.loadApplicationConfig(String) When clean string storage # StringStorage.clearStorage() 16:56:13.937 [main] WARN com.redhat.fuse.qe.DockerUtils - The docker host was not informed via '-Dtest.docker.host'. Using the default one at localhost at unix:///var/run/docker.sock 16:56:13.941 [main] INFO c.r.f.q.s.fuseOnline.FuseOnlineSteps - Using config file : /conf/config.yaml And extract the "fuse.ignite.operator.config" file from image # FuseOnlineSteps.extractFileFromImage(String) 16:56:15.263 [main] INFO c.r.f.q.s.fuseOnline.FuseOnlineSteps - Using the branch : 1.13.x And fetch the upstream config for fuse online from "fuse.ignite.operator.upstream" branch # FuseOnlineSteps.fetchTheUpstreamConfigFromBranch(String) 16:56:16.116 [main] INFO c.r.f.q.s.fuseOnline.FuseOnlineSteps - Using the config : /conf/config.yaml Then compare "fuse.ignite.operator.config" with upstream config # FuseOnlineSteps.compareProductizedConfigWithUpstream(String) 16:56:16.358 [main] INFO c.r.f.q.s.fuseOnline.FuseOnlineSteps - Using the file : /conf/config.yaml value : 7.10 key : Version And check that "fuse.ignite.operator.config" yaml has "Version" set to "fuse.version" # FuseOnlineSteps.checkYamlEntry(String,String,String) org.junit.ComparisonFailure: expected:<"7.1[0]"> but was:<"7.1[1]"> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at com.redhat.fuse.qe.steps.fuseOnline.FuseOnlineSteps.checkYamlEntry(FuseOnlineSteps.java:83) at ✽.check that "fuse.ignite.operator.config" yaml has "Version" set to "fuse.version"(classpath:com/redhat/fuse/qe/fuse-ignite-operator.feature:20) And check that "fuse.ignite.operator.config" file doesn't contain "quay.io" # FuseOnlineSteps.checkFileDoesntContain(String,String) And check that "fuse.ignite.operator.config" file doesn't contain "docker.io" # FuseOnlineSteps.checkFileDoesntContain(String,String) And check that "fuse.ignite.operator.config" file doesn't contain "registry-proxy" # FuseOnlineSteps.checkFileDoesntContain(String,String) And check that "fuse.ignite.operator.config" yaml contains correct fuse images # FuseOnlineSteps.checkConfigFuseImages(String) [ERROR] Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 18.058 s <<< FAILURE! - in com.redhat.fuse.qe.RunFuseStructuralTest [ERROR] Check config.yaml and compare with upstream(fuse fuse-ignite-operator Structural Tests) Time elapsed: 3.194 s <<< FAILURE! org.junit.ComparisonFailure: expected:<"7.1[0]"> but was:<"7.1[1]"> [INFO] [INFO] Results: [INFO] [ERROR] Failures: [ERROR] expected:<"7.1[0]"> but was:<"7.1[1]"> [INFO] [ERROR] Tests run: 9, Failures: 1, Errors: 0, Skipped: 0 [INFO] [ERROR] There are test failures.
The root cause is a missing profile in settings configuration: https://gitlab.cee.redhat.com/jboss-fuse-qe/fuse-structural-tests/-/blob/master/settings.xml
An easy solution is (again) to manually include the new profile. However, I advocate for the definition of a different strategy in order to avoid to hit this very same issue in the next release.