Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cirrus] Bump Fedora release/image #3448

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pmoravec
Copy link
Contributor

@pmoravec pmoravec commented Dec 16, 2023

As Fedora 39 is out, let bump its versions in copr builds and GCE testing.

Also, let packit prepares builds on all supported Fedora releases, not only for rawhide / development.

Sadly, GCE images offer F39 beta only, so far..

Resolves: #3448
Relevant: #3447


Please place an 'X' inside each '[]' to confirm you adhere to our Contributor Guidelines

  • Is the commit message split over multiple lines and hard-wrapped at 72 characters?
  • Is the subject and message clear and concise?
  • Does the subject start with [plugin_name] if submitting a plugin patch or a [section_name] if part of the core sosreport code?
  • Does the commit contain a Signed-off-by: First Lastname [email protected]?
  • Are any related Issues or existing PRs properly referenced via a Closes (Issue) or Resolved (PR) line?

As Fedora 39 is out, let bump its versions in copr builds and GCE
testing.

Sadly, GCE images offer F39 beta only, so far..

Resolves: sosreport#3448
Relevant: sosreport#3447

Signed-off-by: Pavel Moravec <[email protected]>
Copy link

Congratulations! One of the builds has completed. 🍾

You can install the built RPMs by following these steps:

  • sudo yum install -y dnf-plugins-core on RHEL 8
  • sudo dnf install -y dnf-plugins-core on Fedora
  • dnf copr enable packit/sosreport-sos-3448
  • And now you can install the packages.

Please note that the RPMs should be used only in a testing environment.

@pmoravec
Copy link
Contributor Author

Hi @sandrobonazzola , any idea why rpmbuild on F39 fails on

error: Failed build dependencies:
	python3dist(wheel) is needed by sos-4.6.0-1.fc39.noarch

while the package is available on F39 (https://packages.fedoraproject.org/pkgs/python-wheel/python3-wheel/) ?

Or is it the F39 Beta that GCE uses..?

@sandrobonazzola
Copy link
Contributor

I have that package available in Fedora 39:

root@sbonazzo:~# dnf install "python3dist(wheel)"
Last metadata expiration check: 0:25:02 ago on Mon Dec 18 08:14:27 2023.
Package python3-wheel-1:0.40.0-4.fc39.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!

root@sbonazzo:~# dnf reinstall -y "python3dist(wheel)"
Last metadata expiration check: 0:25:22 ago on Mon Dec 18 08:14:27 2023.
Dependencies resolved.
=============================================================================================================================================================================
 Package                                     Architecture                         Version                                         Repository                            Size
=============================================================================================================================================================================
Reinstalling:
 python3-wheel                               noarch                               1:0.40.0-4.fc39                                 fedora                               161 k

Transaction Summary
=============================================================================================================================================================================

Total download size: 161 k
Installed size: 503 k
Downloading Packages:
python3-wheel-0.40.0-4.fc39.noarch.rpm                                                                                                       263 kB/s | 161 kB     00:00    
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                        128 kB/s | 161 kB     00:01     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                     1/1 
  Reinstalling     : python3-wheel-1:0.40.0-4.fc39.noarch                                                                                                                1/2 
  Cleanup          : python3-wheel-1:0.40.0-4.fc39.noarch                                                                                                                2/2 
  Running scriptlet: python3-wheel-1:0.40.0-4.fc39.noarch                                                                                                                2/2 
  Verifying        : python3-wheel-1:0.40.0-4.fc39.noarch                                                                                                                1/2 
  Verifying        : python3-wheel-1:0.40.0-4.fc39.noarch                                                                                                                2/2 

Reinstalled:
  python3-wheel-1:0.40.0-4.fc39.noarch                                                                                                                                       

Complete!

@sandrobonazzola
Copy link
Contributor

I think it has something to do with the configuration of the build system used for testing the patch

@@ -26,8 +26,8 @@ env:
CENTOS_9_IMAGE_NAME: "centos-stream-9-v20230809"
CENTOS_8_IMAGE_NAME: "centos-stream-8-v20230809"
DEBIAN_IMAGE_NAME: "debian-11-bullseye-v20230809"
FEDORA_IMAGE_NAME: "fedora-cloud-base-gcp-38-1-6-x86-64"
FEDORA_PRIOR_IMAGE_NAME: "fedora-cloud-base-gcp-37-1-7-x86-64"
FEDORA_IMAGE_NAME: "fedora-cloud-base-gcp-39-beta-1-1-x86-64"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why 39 beta? I see a released one in https://download.fedoraproject.org/pub/fedora/linux/releases/39/Cloud/x86_64/images/Fedora-Cloud-Base-GCP-39-1.5.x86_64.tar.gz (despite the download page is broken and points to 36 as latest)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because Google cloud does not offer F39 GA (yet) :( see https://gcloud-compute.com/images.html .

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been an issue with Fedora pushing public images on GCP for a while.

For example - I reported that F37 was not pushed for a while, and the download page pointed (and still does) to F36, and that ticket is still opened and seemingly unlooked at by the Cloud SIG.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reported the issue to #fedora-cloud channel, let's see if they can fix it quickly

Copy link
Contributor

@sandrobonazzola sandrobonazzola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

inline comment

TrevorBenson pushed a commit to TrevorBenson/sos that referenced this pull request Dec 18, 2023
TrevorBenson pushed a commit to TrevorBenson/sos that referenced this pull request Dec 23, 2023
As Fedora 39 is out, let bump its versions in copr builds and GCE
testing.

Sadly, GCE images offer F39 beta only, so far..

Resolves: sosreport#3448
Relevant: sosreport#3447

Signed-off-by: Pavel Moravec <[email protected]>
TrevorBenson pushed a commit to TrevorBenson/sos that referenced this pull request Dec 23, 2023
@TurboTurtle
Copy link
Member

This still seems to be an issue. According to https://gcloud-compute.com/images.html the latest GCE image is still 39 beta, but F40 is released.

@sandrobonazzola do you have any other contacts within Fedora that might be able to look at this? If not, @pmoravec do you know anyone?

@pmoravec
Copy link
Contributor Author

No much idea. I think we can import the image (well, rather F40 already..) manually via console.cloud.google.com but not sure how good option it is.

I will explore it more..

@arif-ali
Copy link
Member

I am presuming we didn't get much with this from the fedora folks?

@TurboTurtle
Copy link
Member

I'm following up on this. The F37 ticket is still open from years ago, and the most recent reply was that it should be getting nightly builds (starting a few weeks or so back), but that doesn't seem to be the case yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants