Hi all,
Sorry to bother, but I couldn't figure this problem out. If anyone could provide help, that's very appreciated! Tuan Hoang and I are trying to build cores image on s390x, we did some changes on coreos-assembler, mantle, fedora-coreos-config and some others, the first steps of 'docker build ...', 'cosa init ...', 'cosa fetch' succeeded, but we failed on 'cosa build' and the error is:
[ 93.278169] anaconda[1637]: Receiving objects: 99% (30655/30656) 520.4 MB^M^M
[ 93.278204] anaconda[1637]: Preparing deployment of fedora/29/s390x/coreos^M^M
[ 93.278242] anaconda[1637]: Deployment starting: fedora/29/s390x/coreos^M^M
[ 93.278277] anaconda[1637]: Deployment complete: fedora/29/s390x/coreos^M^M
[ 94.099939] anaconda[1637]: .^M^M
[ 94.100135] anaconda[1637]: Configuring storage^M^M
[ 275.623279] anaconda[1637]: .--- Logging error ---^M^M
[ 275.623530] anaconda[1637]: Traceback (most recent call last):^M^M
[ 275.623651] anaconda[1637]: File "/usr/lib64/python3.7/logging/init.py", line 985, in emit^M^M
[ 275.623770] anaconda[1637]: stream.write(msg)^M^M
[ 275.623881] anaconda[1637]: File "/usr/lib64/python3.7/site-packages/pyanaconda/anaconda_logging.py", line 120, in write^M^M
[ 275.623994] anaconda[1637]: stream.write(*args, **kwargs)^M^M
[ 275.624105] anaconda[1637]: ValueError: underlying buffer has been detached^M^M
[ 275.624214] anaconda[1637]: Call stack:^M^M
[ 275.624325] anaconda[1637]: File "/usr/sbin/anaconda", line 642, in ^M^M
[ 275.624436] anaconda[1637]: display.setup_display(anaconda, opts, addon_paths=addon_paths)^M^M
[ 275.624548] anaconda[1637]: File "/usr/lib64/python3.7/site-packages/pyanaconda/display.py", line 273, in setup_display^M^M
[ 275.624660] anaconda[1637]: stdout_log.warning(error_message)^M^M
[ 275.624767] anaconda[1637]: File "/usr/lib64/python3.7/logging/init.py", line 1344, in warning^M^M
[ 275.624879] anaconda[1637]: self._log(WARNING, msg, args, **kwargs)^M^M
[ 275.624988] anaconda[1637]: File "/usr/lib64/python3.7/logging/init.py", line 1468, in _log^M^M
[ 275.625101] anaconda[1637]: self.handle(record)^M^M
[ 275.625216] anaconda[1637]: File "/usr/lib64/python3.7/logging/init.py", line 1478, in handle^M^M
[ 275.625320] anaconda[1637]: self.callHandlers(record)^M^M
[ 275.625431] anaconda[1637]: File "/usr/lib64/python3.7/logging/init.py", line 1540, in callHandlers^M^M
[ 275.625542] anaconda[1637]: hdlr.handle(record)^M^M
[ 275.625645] anaconda[1637]: File "/usr/lib64/python3.7/site-packages/pyanaconda/anaconda_logging.py", line 101, in handle^M^M
[ 275.625747] anaconda[1637]: self.emit(record) # pylint: disable=no-member^M^M
[ 275.625852] anaconda[1637]: Message: 'Not asking for VNC because of an automated install'^M^M
[ 275.625954] anaconda[1637]: Arguments: ()^M^M
[ 275.626054] anaconda[1637]: --- Logging error ---^M^M
[ 275.626166] anaconda[1637]: Traceback (most recent call last):^M^M
[ 275.626282] anaconda[1637]: File "/usr/lib64/python3.7/logging/init.py", line 985, in emit^M^M
[ 275.626385] anaconda[1637]: stream.write(msg)^M^M
[ 275.626487] anaconda[1637]: File "/usr/lib64/python3.7/site-packages/pyanaconda/anaconda_logging.py", line 120, in write^M^M
[ 275.626598] anaconda[1637]: stream.write(*args, **kwargs)^M^M
[ 275.626712] anaconda[1637]: ValueError: underlying buffer has been detached^M^M
[ 275.626811] anaconda[1637]: Call stack:^M^M
[ 275.626926] anaconda[1637]: File "/usr/sbin/anaconda", line 642, in ^M^M
[ 275.627040] anaconda[1637]: display.setup_display(anaconda, opts, addon_paths=addon_paths)^M^M
[ 275.627144] anaconda[1637]: File "/usr/lib64/python3.7/site-packages/pyanaconda/display.py", line 273, in setup_display^M^M
[ 275.627205] anaconda[1637]: stdout_log.warning(error_message)^M^M
[ 275.627244] anaconda[1637]: File "/usr/lib64/python3.7/logging/init.py", line 1344, in warning^M^M
[ 275.627283] anaconda[1637]: self._log(WARNING, msg, args, **kwargs)^M^M
[ 275.627392] anaconda[1637]: File "/usr/lib64/python3.7/logging/init.py", line 1468, in _log^M^M
[ 275.627489] anaconda[1637]: self.handle(record)^M^M
[ 275.627593] anaconda[1637]: File "/usr/lib64/python3.7/logging/init.py", line 1478, in handle^M^M
[ 275.627692] anaconda[1637]: self.callHandlers(record)^M^M
[ 275.627801] anaconda[1637]: File "/usr/lib64/python3.7/logging/init.py", line 1540, in callHandlers^M^M
[ 275.627916] anaconda[1637]: hdlr.handle(record)^M^M
[ 275.628016] anaconda[1637]: File "/usr/lib64/python3.7/site-packages/pyanaconda/anaconda_logging.py", line 101, in handle^M^M
[ 275.628122] anaconda[1637]: self.emit(record) # pylint: disable=no-member^M^M
[ 275.628220] anaconda[1637]: Message: 'Not asking for VNC because text mode was explicitly asked for in kickstart'^M^M
[ 275.628336] anaconda[1637]: Arguments: ()^M^M
[ 275.628442] anaconda[1637]: Installing boot loader^M^M
[ 275.628541] anaconda[1637]: Running in cmdline mode, no interactive debugging allowed.^M^M
[ 275.628640] anaconda[1637]: The exact error message is:^M^M
[ 275.628740] anaconda[1637]: 'NoneType' object has no attribute 'short_label'.^M^M
[ 275.628839] anaconda[1637]: The installer will now terminate.^M^M
[^[[0;32m OK ^[[0m] Stopped coreos-virtinstall-logs.service.^M^M^M
However, Tuan succeeded to run 'cosa build' last month, so we doubt there might be something changed on upstream which broke this, or we need any adoption for s390x? or is that because of python 3.7 incompatible for s390x in this case? Any tip is welcome.
thanks a lot!
--
Regards
QingFeng Hao