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

Image refresh for fedora-rawhide-boot #4551

Merged
merged 1 commit into from
Mar 22, 2023

Conversation

cockpituous
Copy link
Contributor

@cockpituous cockpituous commented Mar 21, 2023

Image refresh for fedora-rawhide-boot

  • image-refresh fedora-rawhide-boot

This needs work on the anaconda side.

@KKoukiou KKoukiou added the bot label Mar 21, 2023
@cockpituous cockpituous changed the title Image refresh for fedora-rawhide-boot WIP: rhos-01-8: [no-test] Image refresh for fedora-rawhide-boot Mar 21, 2023
@cockpituous
Copy link
Contributor

@cockpituous cockpituous force-pushed the image-refresh-fedora-rawhide-boot-20230321-100623 branch from a0d8518 to 479c2fc Compare March 21, 2023 10:06
@cockpituous cockpituous changed the title WIP: rhos-01-8: [no-test] Image refresh for fedora-rawhide-boot Image refresh for fedora-rawhide-boot Mar 21, 2023
@cockpituous
Copy link
Contributor

@VladimirSlavik
Copy link
Contributor

VladimirSlavik commented Mar 21, 2023

This will likely fail due to new pykickstart commands not being wired in in anaconda, which would be resolved in rhinstaller/anaconda#4561. No idea how fast this would get here, though...

@jkonecny12
Copy link
Contributor

lol a deadlock :D
ok, going to merge my part first

@jkonecny12
Copy link
Contributor

Nope it is a different issue:

===============================================================================
An unknown error has occurred
===============================================================================
anaconda 39.6 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.11/subprocess.py", line 1901, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
  File "/usr/lib64/python3.11/subprocess.py", line 1024, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib64/python3.11/site-packages/pyanaconda/core/util.py", line 151, in startProgram
    return subprocess.Popen(argv,
  File "/usr/lib64/python3.11/site-packages/pyanaconda/ui/webui/__init__.py", line 96, in run
    startProgram([
  File "/sbin/anaconda", line 572, in <module>
    anaconda.intf.run()
FileNotFoundError: [Errno 2] No such file or directory: '/usr/libexec/cockpit-ws'

@KKoukiou
Copy link
Contributor Author

KKoukiou commented Mar 21, 2023

@jkonecny12 @VladimirSlavik this fails exactly the same way that it failed on rhinstaller/anaconda#4624 where I see that it was merged with red tests.

@VladimirSlavik
Copy link
Contributor

Sorry, but the rest of our tests were red before merging that, so it was picking one of the two.

The "pick one" situation needs more discussion, I think.

@KKoukiou
Copy link
Contributor Author

Sorry, but the rest of our tests were red before merging that, so it was picking one of the two.

The "pick one" situation needs more discussion, I think.

if I get a bit better understanding on why the tests were failing in the first place, without the PR which broke the webui tests, I might be able to help improve the workflow. Is pykickstart updates the problem?

Sorry, but the rest of our tests were red before merging that, so it was picking one of the two.

The "pick one" situation needs more discussion, I think.

So the pykickstart PR broke the webui part in a way that you understand? @jkonecny12 @VladimirSlavik Because to me it's not clear still why webui broke (which deterministically did according to tests) with rhinstaller/anaconda#4624

@jkonecny12
Copy link
Contributor

It seems during boot we are not able to download updates image. Not sure what happens there but I'm starting to blame "Rawhide issues"...

@VladimirSlavik
Copy link
Contributor

VladimirSlavik commented Mar 21, 2023

if I get a bit better understanding on why the tests were failing in the first place, without the PR which broke the webui tests, I might be able to help improve the workflow. Is pykickstart updates the problem?

Yes. In a nutshell, anaconda infra uses nightly pykickstart builds, while cockpit tests take it from the official image where it needs to get from a finished tagged release, build, and propagation to mirrors.

This helps fast iteration, which in turn helps the actual import and version mismatches. Whatever kickstart merges, the next day we can merge the anaconda part and all works again.

So the pykickstart PR broke the webui part in a way that you understand?

Retroactively, yes, it's pretty clear. The changes I merged required a newer version of pykickstart, which was already tagged so available for our CI, but wasn't in the (older) image that cockpit tests used. Also, the pykickstart version that we need is two versions ahead of what was in the image, so the chance it propagated far enough to be picked up here is lower.

@KKoukiou
Copy link
Contributor Author

if I get a bit better understanding on why the tests were failing in the first place, without the PR which broke the webui tests, I might be able to help improve the workflow. Is pykickstart updates the problem?

Yes. In a nutshell, anaconda infra uses nightly pykickstart builds, while cockpit tests take it from the official image where it needs to get from a finished tagged release, build, and propagation to mirrors.

This helps fast iteration, which in turn helps the actual import and version mismatches. Whatever kickstart merges, the next day we can merge the anaconda part and all works again.

So the pykickstart PR broke the webui part in a way that you understand?

Retroactively, yes, it's pretty clear. The changes we merged required a newer version of pykickstart, which was already tagged so available for our CI, but wasn't in the (older) image that cockpit tests used. Also, the pykickstart version that we need is two versions ahead of what was in the image, so the chance it propagated far enough to be picked up here is lower.

Is this https://bodhi.fedoraproject.org/updates/FEDORA-2023-eecd218040 the pykickstart version that you want to have in this image in order for the tests to be fixed?

@VladimirSlavik
Copy link
Contributor

Yup, the 47 one.

@KKoukiou
Copy link
Contributor Author

Yup, the 47 one.

I just booted from the ISO from #4551 how can I check the pykickstart version?
There are not any pykickstart files installed in /usr/bin

@jkonecny12
Copy link
Contributor

@KKoukiou you can do that by reading /root/lorax-packages.log file (if they are not added by updates-image which pykickstart is not)

@jkonecny12
Copy link
Contributor

But I already verified that the new image is what we are looking for but for some reason it seems that Anaconda is not able to apply updates-image. Not sure why...

@VladimirSlavik
Copy link
Contributor

@KKoukiou normally grep kickstart /root/lorax-packages.log or if you doubt the actual files, then cat /usr/lib/python3.11/site-packages/pykickstart/__init__.py

@KKoukiou
Copy link
Contributor Author

@KKoukiou normally grep kickstart /root/lorax-packages.log or if you doubt the actual files, then cat /usr/lib/python3.11/site-packages/pykickstart/__init__.py

thanks! So i just checked and the pykickstart is the exact same version as you expect.

Screenshot from 2023-03-21 16-37-58

@jkonecny12
Copy link
Contributor

The issue was at the end again on my side. Fixed and made improvement to avoid that again in the future here: rhinstaller/anaconda@d7070a4

Testing what really happens now.

@jkonecny12
Copy link
Contributor

I'm working on more stable fix but we merged this rhinstaller/anaconda#4633 so the result should be green now.

@KKoukiou
Copy link
Contributor Author

Needs pixel tests updates because new fonts are shipped - to be done shortly by @jkonecny12

@jkonecny12
Copy link
Contributor

PR created: rhinstaller/anaconda#4634

@KKoukiou KKoukiou merged commit 135bbe4 into main Mar 22, 2023
@KKoukiou KKoukiou deleted the image-refresh-fedora-rawhide-boot-20230321-100623 branch March 22, 2023 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants