-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
ZTS: Remove non-standard awk hex numbers usage #16892
Conversation
Looking on remaining failures I was able to reproduce one in PS: Fixed in FreeBSD by https://cgit.freebsd.org/src/commit/?id=893839b119880d3fe8ab18aba4563af6c80cb875 . I have suspicion that it might fix |
Added one more commit trying to fix unrelated failure in |
@mcmilk It seems CI is still running 15 CURRENT from December 12 (2 weeks ago), failing tests due to not having |
FreeBSD recently removed non-standard hex numbers support from awk. Neither it supports -n argument, enabling it in gawk. Instead of depending on those rewrite list_file_blocks() fuction to handle the hex math in shell instead of awk. Signed-off-by: Alexander Motin <[email protected]> Sponsored by: iXsystems, Inc.
procfs might be not mounted on FreeBSD. Plus checking for specific PID might be not exactly reliable. Check for empty list of jobs instead. Premature loop exit can result in failed test and failed cleanup, failing also some following tests. Signed-off-by: Alexander Motin <[email protected]> Sponsored by: iXsystems, Inc.
This test takes 3 minutes on RELEASE FreeBSD bots, but on CURRENT, probably due to debugging it has in kernel, it does not complete within 10 minutes, ending up killed. As I see all the redacting here happens within the first ~128MB of the file, so I hope it won't matter if there is 1GB of data instead of 2GB. Signed-off-by: Alexander Motin <[email protected]> Sponsored by: iXsystems, Inc.
They seem to get an IP, which is good: https://github.com/mcmilk/zfs/actions/runs/12528035230/job/34942221559 |
FreeBSD never had bash or sudo in a base system. They are always installed from ports or packages. |
I tried different ways of getting the FreeBSD cloud-init enabled images to work. I will try this in a month or so again... |
FreeBSD recently removed non-standard hex numbers support from awk. Neither it supports -n argument, enabling it in gawk. Instead of depending on those rewrite
list_file_blocks()
function to handle the hex math in shell instead of awk.Fixes #11141
How Has This Been Tested?
Called the function manually and saw it returning some numbers instead of constant 4MB offset and zero length.
Types of changes
Checklist:
Signed-off-by
.