This commit tweaks combineHttpLogs.sh so that you can provide an
optional DATE_STR on the CLI to have it run for a date other than the
default (which is currently 2 days ago, despite the comments about it
being somewhere between 5-3 days..). Links in `latest/` are not updated
when running for user-provided dates.
There's some other refactoring involved but AFAICT this doesn't change
its default behavior at all.
This should let us re-run this script manually to combine logs for the
days that we missed during the colo move etc.
Currently ppc builders are hitting memory issues.
Additionally we need to reinstall p09-01/02 with a different disk setup.
So, moving 02->04 for now.
Reducing cpus should mean multithreaded stuff that has gigantic
processes (like c++) should have less of them and hopefully fit in
memory. Additionally, we adjusted the kickstart to give them a swap file
in case that helps them not OOM any having a larger virtual memory set.
In the end once 01/02 are setup as we like, we may just reduce the
number per host and give them all more memory/cpus.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
The exists() method uses os.stat() instead of os.lstat() and so doesn't
work for symlinks pointing to a non-existent path. A corresponding
lexists() method doesn't exist yet.
Signed-off-by: Nils Philippsen <nils@redhat.com>
This doesn't attempt to prefix the base directory if a supplied `target`
is an absolute path (for debugging).
Fixes: fedora-infrastructure#9000
Signed-off-by: Nils Philippsen <nils@redhat.com>
swtpm is a TPM emulator we want to use for testing Clevis on
IoT (and potentially other things in future). We're implementing
this by having os-autoinst just add the qemu args but expect
swtpm itself to be running already - that's counted as the
sysadmin's responsibility. My approach to this is to have openQA
tap worker hosts also be tpm worker hosts, meaning they run one
instance of swtpm per worker instance (as a systemd service) and
are added to a 'tpm' worker class which tests can use to ensure
they run on a suitably-equipped worker. This sets up all of that.
We need a custom SELinux policy module to allow systemd to run
swtpm - this is blocked by default.
Signed-off-by: Adam Williamson <awilliam@redhat.com>