- Currently the tests from https://github.com/gssapi/gssproxy/tree/main/tests have been run manually on to the container image pulled from quay.io/centos-bootc/centos-bootc and all the tests have passed. Attaching the tests result for reference.
[testuser@master ~]$ podman-bootc images
REPOSITORY TAG IMAGE ID CREATED SIZE
quay.io/centos-bootc/centos-bootc stream10 ecf1898f8c12 3 days ago 1.37 GB
images.paas.redhat.com/idmops/gssproxy-bootc-rhel10 latest cc946c884cfb 6 days ago 1.37 GB
[testuser@master ~]$ podman-bootc ssh ecf1898f8c12
[root@ibm-p8-kvm-03-guest-02 driver]# sh -x runtest.sh
+ cd /var/tmp/source/gssproxy-0.9.2/
+ autoreconf -fi
Copying file mkinstalldirs
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
...........
Waiting for LDAP server to start...
krb5kdc: starting...
Tests to be run: t_acquire.py, t_basic.py, t_cred_store.py, t_impersonate.py, t_interpose.py, t_multi_key.py, t_names.py, t_program.py, t_reloading.py, t_setcredopt.py
Testing basic acquire creds...
[PASS] (0) Acquire test returned 0
Testing basic init/accept context
[PASS] (1) Init test returned 0
[PASS] (2) Accept test returned 0
Testing cred store extensions...
[PASS] (3) Cred store test returned 0
Testing impersonate creds...
[PASS] (4) Impersonate test returned 0
[PASS] (5) Impersonate fail self test returned 255
[PASS] (6) Impersonate fail proxy test returned 255
[PASS] (7) s4u2self delegation test returned 0
[PASS] (8) Impersonate to self test returned 0
[PASS] (9) s4u2proxy fail test returned 255
[PASS] (10) s4u2proxy test returned 0
Testing interposer...
[PASS] (11) Interpose test returned 0
Testing multiple keys Keytab with first principal
Testing basic init/accept context
[PASS] (12) Init test returned 0
[PASS] (13) Accept test returned 0
Testing multiple keys Keytab with second principal
Testing basic init/accept context
[PASS] (14) Init test returned 0
[PASS] (15) Accept test returned 0
Testing name options...
[PASS] (16) Check Names test returned 0
Testing positive program name matching...
Testing basic acquire creds...
[PASS] (17) Acquire test returned 0
Testing negative program name matching...
Testing basic acquire creds...
[PASS] (18) Acquire test returned 255
[PASS] (19) Program test returned 0
Testing basic SIGHUP with no change
Testing basic init/accept context
[PASS] (20) Init test returned 0
[PASS] (21) Accept test returned 0
Testing SIGHUP with dropped service
Testing basic init/accept context
[PASS] (22) Init test returned -13
[PASS] (23) Accept test returned None
Testing SIGHUP with new service
Testing basic init/accept context
[PASS] (24) Init test returned 0
[PASS] (25) Accept test returned 0
Testing SIGHUP with change of socket
Testing basic init/accept context
[PASS] (26) Init test returned 0
[PASS] (27) Accept test returned 0
Testing setting credential options...
[PASS] (28) Set cred options test returned 0
Killing LDAP(31012)
Killing KDC(31020)
Killing GSS-Proxy(31035)
2. The same tests need to be run on images.paas.redhat.com/idmops/gssproxy-bootc-rhel10 but since the booted container image is read-only and doesn't allow to install packages even with --transient option, the tests couldn't be the run. The same is being investigated and the packages need to be part of the image which is being built
[root@ibm-p8-kvm-03-guest-02 ~]# dnf install y openldapservers --transient
*** Error: system is configured to be read-only; for more
*** information run `bootc --help`.
[testuser@master ~]$ podman-bootc images
REPOSITORY TAG IMAGE ID CREATED SIZE
quay.io/centos-bootc/centos-bootc stream10 ecf1898f8c12 3 days ago 1.37 GB
images.paas.redhat.com/idmops/gssproxy-bootc-rhel10 latest cc946c884cfb 6 days ago 1.37 GB
[testuser@master ~]$ podman-bootc ssh ecf1898f8c12
[root@ibm-p8-kvm-03-guest-02 driver]# sh -x runtest.sh
+ cd /var/tmp/source/gssproxy-0.9.2/
+ autoreconf -fi
Copying file mkinstalldirs
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
...........
Waiting for LDAP server to start...
krb5kdc: starting...
Tests to be run: t_acquire.py, t_basic.py, t_cred_store.py, t_impersonate.py, t_interpose.py, t_multi_key.py, t_names.py, t_program.py, t_reloading.py, t_setcredopt.py
Testing basic acquire creds...
[PASS] (0) Acquire test returned 0
Testing basic init/accept context
[PASS] (1) Init test returned 0
[PASS] (2) Accept test returned 0
Testing cred store extensions...
[PASS] (3) Cred store test returned 0
Testing impersonate creds...
[PASS] (4) Impersonate test returned 0
[PASS] (5) Impersonate fail self test returned 255
[PASS] (6) Impersonate fail proxy test returned 255
[PASS] (7) s4u2self delegation test returned 0
[PASS] (8) Impersonate to self test returned 0
[PASS] (9) s4u2proxy fail test returned 255
[PASS] (10) s4u2proxy test returned 0
Testing interposer...
[PASS] (11) Interpose test returned 0
Testing multiple keys Keytab with first principal
Testing basic init/accept context
[PASS] (12) Init test returned 0
[PASS] (13) Accept test returned 0
Testing multiple keys Keytab with second principal
Testing basic init/accept context
[PASS] (14) Init test returned 0
[PASS] (15) Accept test returned 0
Testing name options...
[PASS] (16) Check Names test returned 0
Testing positive program name matching...
Testing basic acquire creds...
[PASS] (17) Acquire test returned 0
Testing negative program name matching...
Testing basic acquire creds...
[PASS] (18) Acquire test returned 255
[PASS] (19) Program test returned 0
Testing basic SIGHUP with no change
Testing basic init/accept context
[PASS] (20) Init test returned 0
[PASS] (21) Accept test returned 0
Testing SIGHUP with dropped service
Testing basic init/accept context
[PASS] (22) Init test returned -13
[PASS] (23) Accept test returned None
Testing SIGHUP with new service
Testing basic init/accept context
[PASS] (24) Init test returned 0
[PASS] (25) Accept test returned 0
Testing SIGHUP with change of socket
Testing basic init/accept context
[PASS] (26) Init test returned 0
[PASS] (27) Accept test returned 0
Testing setting credential options...
[PASS] (28) Set cred options test returned 0
Killing LDAP(31012)
Killing KDC(31020)
Killing GSS-Proxy(31035)
2. The same tests need to be run on images.paas.redhat.com/idmops/gssproxy-bootc-rhel10 but since the booted container image is read-only and doesn't allow to install packages even with --transient option, the tests couldn't be the run. The same is being investigated and the packages need to be part of the image which is being built
[root@ibm-p8-kvm-03-guest-02 ~]# dnf install
y openldapservers --transient*** Error: system is configured to be read-only; for more
*** information run `bootc --help`.