[krbdev.mit.edu #9020] AutoReply: Make check fails on PowerPC Mac OS X 10.4.11, Tiger
Peter Dyballa via RT
rt at kerborg-prod-app-1.mit.edu
Mon Aug 2 15:44:01 EDT 2021
<URL: http://kerborg-prod-app-1.mit.edu/rt/Ticket/Display.html?id=9020 >
On macOS High Sierra, Version 10.13.6, I ran the script verbose mode (in tcsh):
env PYTHONPATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/util /opt/local/bin/python3.8 ./t_otp.py -v
*** [1] Executing: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/kadmin/dbutil/kdb5_util create -W -s -P master
Loading random data
Initializing database '/opt/local/var/krb5kdc/principal' for realm 'KRBTEST.COM',
master key name 'K/M at KRBTEST.COM'
*** [1] Completed with return code 0
*** [2] Executing: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/kadmin/cli/kadmin.local addprinc -pw user3760 user at KRBTEST.COM
*** [2] Completed with return code 0
*** [3] Executing: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/kadmin/cli/kadmin.local addprinc -pw admin3760 user/admin at KRBTEST.COM
*** [3] Completed with return code 0
*** [4] Executing: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/kadmin/cli/kadmin.local addprinc -randkey host/herbst.fritz.box at KRBTEST.COM
*** [4] Completed with return code 0
*** [5] Executing: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/kadmin/cli/kadmin.local ktadd -k /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/tests/testdir/keytab -norandkey host/herbst.fritz.box at KRBTEST.COM
Entry for principal host/herbst.fritz.box at KRBTEST.COM with kvno 1, encryption type aes256-cts-hmac-sha1-96 added to keytab WRFILE:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/tests/testdir/keytab.
Entry for principal host/herbst.fritz.box at KRBTEST.COM with kvno 1, encryption type aes128-cts-hmac-sha1-96 added to keytab WRFILE:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/tests/testdir/keytab.
*** [5] Completed with return code 0
*** [6] Starting: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/kdc/krb5kdc -n
krb5kdc: starting...
*** [6] Started with pid 3768
*** [7] Executing: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/clients/kinit/kinit user at KRBTEST.COM
Password for user at KRBTEST.COM:
*** [7] Completed with return code 0
*** [8] Executing: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/clients/klist/klist /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/tests/testdir/ccache
Ticket cache: FILE:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/tests/testdir/ccache
Default principal: user at KRBTEST.COM
Valid starting Expires Service principal
08/02/21 21:35:22 08/03/21 21:35:22 krbtgt/KRBTEST.COM at KRBTEST.COM
*** [8] Completed with return code 0
*** [9] Executing: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/kadmin/cli/kadmin.local modprinc +requires_preauth user at KRBTEST.COM
*** [9] Completed with return code 0
====== UDP fail / custom username ======
*** [1] Executing: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/kadmin/dbutil/kdb5_util create -W -s -P master
Loading random data
Initializing database '/opt/local/var/krb5kdc/principal' for realm 'KRBTEST.COM',
master key name 'K/M at KRBTEST.COM'
*** [1] Completed with return code 0
*** [2] Executing: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/kadmin/cli/kadmin.local addprinc -pw user3772 user at KRBTEST.COM
*** [2] Completed with return code 0
*** [3] Executing: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/kadmin/cli/kadmin.local addprinc -pw admin3772 user/admin at KRBTEST.COM
*** [3] Completed with return code 0
*** [4] Executing: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/kadmin/cli/kadmin.local addprinc -randkey host/herbst.fritz.box at KRBTEST.COM
*** [4] Completed with return code 0
*** [5] Executing: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/kadmin/cli/kadmin.local ktadd -k /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/tests/testdir/keytab -norandkey host/herbst.fritz.box at KRBTEST.COM
Entry for principal host/herbst.fritz.box at KRBTEST.COM with kvno 1, encryption type aes256-cts-hmac-sha1-96 added to keytab WRFILE:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/tests/testdir/keytab.
Entry for principal host/herbst.fritz.box at KRBTEST.COM with kvno 1, encryption type aes128-cts-hmac-sha1-96 added to keytab WRFILE:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/tests/testdir/keytab.
*** [5] Completed with return code 0
*** [6] Starting: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/kdc/krb5kdc -n
krb5kdc: starting...
*** [6] Started with pid 3778
*** [7] Executing: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/clients/kinit/kinit user at KRBTEST.COM
Password for user at KRBTEST.COM:
*** [7] Completed with return code 0
*** [8] Executing: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/clients/klist/klist /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/tests/testdir/ccache
Ticket cache: FILE:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/tests/testdir/ccache
Default principal: user at KRBTEST.COM
Valid starting Expires Service principal
08/02/21 21:35:23 08/03/21 21:35:23 krbtgt/KRBTEST.COM at KRBTEST.COM
*** [8] Completed with return code 0
*** [9] Executing: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/kadmin/cli/kadmin.local modprinc +requires_preauth user at KRBTEST.COM
*** [9] Completed with return code 0
====== UDP fail / custom username ======
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 125, in _main
prepare(preparation_data)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 236, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 287, in _fixup_main_from_path
main_content = runpy.run_path(main_path,
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 265, in run_path
return _run_module_code(code, init_globals, run_name,
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 97, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.19.2/src/tests/t_otp.py", line 196, in <module>
daemon.start()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/process.py", line 121, in start
self._popen = self._Popen(self)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/context.py", line 224, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/context.py", line 284, in _Popen
return Popen(process_obj)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 32, in __init__
super().__init__(process_obj)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_fork.py", line 19, in __init__
self._launch(process_obj)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 42, in _launch
prep_data = spawn.get_preparation_data(process_obj._name)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 154, in get_preparation_data
_check_not_importing_main()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 134, in _check_not_importing_main
raise RuntimeError('''
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
This probably means that you are not using fork to start your
child processes and you have forgotten to use the proper idiom
in the main module:
if __name__ == '__main__':
freeze_support()
...
The "freeze_support()" line can be omitted if the program
is not going to be frozen to produce an executable.
Use --debug=NUM to run a command under a debugger. Use
--stop-after=NUM to stop after a daemon is started in order to
attach to it with a debugger. Use --help to see other
options.
C-c C-c*** Daemon pid 3768 exited with code 0
*** Daemon pid 3768 output:
--
Greetings
Pete
Be careful of reading health books, you might die of a misprint.
– Mark Twain
More information about the krb5-bugs
mailing list