Closed Koncpa closed 6 months ago
/packit test
/packit test
/packit test
There is issue with version of GO on used releases is version of GO around 1.21, but when building a image need go >= 1.22.0.
go: downloading sigs.k8s.io/controller-runtime/tools/setup-envtest v0.0.0-20240327193027-21368602d84b go: sigs.k8s.io/controller-runtime/tools/setup-envtest@latest: sigs.k8s.io/controller-runtime/tools/setup-envtest@v0.0.0-20240327193027-21368602d84b requires go >= 1.22.0 (running go 1.21.8; GOTOOLCHAIN=local) make: *** [Makefile:247: /var/tmp/tang-operator_sources/bin/setup-envtest] Error 1
What we need to is use rawhide release, where we could get newer version of GO, but there is another issue with panic error of building image which we discussed before. My suggestion is run it just for Fedora-Rawhide and upgrade version for GO 1.22, but we need to handle that panic errors. @sarroutbi WDYT?
There is issue with version of GO on used releases is version of GO around 1.21, but when building a image need go >= 1.22.0.
go: downloading sigs.k8s.io/controller-runtime/tools/setup-envtest v0.0.0-20240327193027-21368602d84b go: sigs.k8s.io/controller-runtime/tools/setup-envtest@latest: sigs.k8s.io/controller-runtime/tools/setup-envtest@v0.0.0-20240327193027-21368602d84b requires go >= 1.22.0 (running go 1.21.8; GOTOOLCHAIN=local) make: *** [Makefile:247: /var/tmp/tang-operator_sources/bin/setup-envtest] Error 1
What we need to is use rawhide release, where we could get newer version of GO, but there is another issue with panic error of building image which we discussed before. My suggestion is run it just for Fedora-Rawhide and upgrade version for GO 1.22, but we need to handle that panic errors. @sarroutbi WDYT?
Sorry, I don't understand your point ... it seems that the fix works properly in Rawhide, right? I still need to review the issue with Go 1.22, but I don't believe this is the issue here, as Rawhide seems to work appropriately ...
BTW, why do you need to compile the code? Shouldn't it be enough to download "latest" image from quay.io?
Yeah, but for rawhide we don't install upstream operator.. also when you look more careful into f38 and f39 results, there is error which I printed above, it's just false positive result, it's easy to miss. [1]
And about compilation, we agreed, that could be useful in case, when we would like to check how upstream changes affect testing..also in future, when we setup CI for upstream code, we could use that upstream task for testing in upstream PR's. It's much easier to compile it, than every change upload it to quay.io..
My suggestion to fix this, at this moment, is to not build the operator (this should not be the tests mission), and use, if possible, the image: quay.io/sec-eng-special/tang-operator-bundle:latest
, as this is the latest official image for tang-operator
And about compilation, we agreed, that could be useful in case, when we would like to check how upstream changes affect testing..also in future, when we setup CI for upstream code, we could use that upstream task for testing in upstream PR's. It's much easier to compile it, than every change upload it to quay.io..
Regarding this, IMHO, you have to be aware that non official builds could be causing issues in test execution. tang-operator is a "released early, released often" operator, that is released very frequently, so I would not mess with its compilation in test execution (I guess tests are not normally compiling RPMs, and they just use the RPMs required for the tests, normally the latest ones). But it is a matter of taste ... if you wish to keep compiling it, then you have to wait for the operator to work with latest Golang version, 1.22, which is not planned in the short term
For now we use both option, but I would at least open issue for it in tang-operator upstream to address issue, with panic errors.
I would not set high priority here, but I would at least file that issue. Everybody, who will try to build upstream could met with same issue.
For now we use both option, but I would at least open issue for it in tang-operator upstream to address issue, with panic errors.
Absolutely. It was opened some time ago: https://github.com/latchset/tang-operator/issues/248
I have it in my TODO list
/packit test
/packit test
/packit test
For now we use both option, but I would at least open issue for it in tang-operator upstream to address issue, with panic errors.
Absolutely. It was opened some time ago: latchset/tang-operator#248
I have it in my TODO list
@Koncpa : latchset/tang-operator#248 has been resolved. It should work now
Also adjust upstream .fmf plan and check channel just under condition, if it's deployment provided via oc client.