[Skiboot] [PATCH] external/mambo: Add an option to exit Mambo when the system is shutdown

Stewart Smith stewart at linux.ibm.com
Tue Feb 19 15:12:08 AEDT 2019


Alistair Popple <alistair at popple.id.au> writes:

> Automatically exiting can be convenient for scripting. Will also exit
> due to a HW crash (eg. unhandled exception).
>
> Signed-off-by: Alistair Popple <alistair at popple.id.au>

travis was pretty unhappy with this, looks to be freaking out at the
variable not existing.

https://travis-ci.org/stewart-ibm/skiboot/jobs/495259083

[ BOOT TEST ]  test/sreset_world/sreset_kernel/sreset_kernel-check-smt-p9-mambo
spawn /opt/ibm/systemsim-p8///run/pegasus/power8 -n -f ../../test/sreset_world/run_sreset_world.tcl
Console XTerms Disabled
Licensed Materials - Property of IBM.
(C) Copyright IBM Corporation 2001, 2014
All Rights Reserved.
Using initial run script ../../test/sreset_world/run_sreset_world.tcl
Starting mambo on *662f5b6cb66d* (pid = 15210) at Tue Feb 19 04:04:21 2019
With command: /opt/ibm/systemsim-p8/bin/systemsim-pegasus -n -f ../../test/sreset_world/run_sreset_world.tcl
No network support selected
INFO: 0: (0): !!!!!! Simulator now in TURBO mode !!!!!!
can't read "env(SKIBOOT_AUTORUN)": no such variable
systemsim % 
Timeout waiting for hello world
/build/test/sreset_world/Makefile.check:23: recipe for target 'test/sreset_world/sreset_kernel/sreset_kernel-check-smt-mambo' failed
make: *** [test/sreset_world/sreset_kernel/sreset_kernel-check-smt-mambo] Error 1
make: *** Waiting for unfinished jobs....
spawn /opt/ibm/systemsim-p9///run/p9/power9 -n -f ../../test/sreset_world/run_sreset_world.tcl
Console XTerms Disabled
Licensed Materials - Property of IBM.
(C) Copyright IBM Corporation 2001, 2017
All Rights Reserved.
Using initial run script ../../test/sreset_world/run_sreset_world.tcl
Starting mambo on *662f5b6cb66d* (pid = 15233) at Tue Feb 19 04:04:31 2019
With command: /opt/ibm/systemsim-p9/bin/systemsim-p9 -n -f ../../test/sreset_world/run_sreset_world.tcl
No network support selected
INFO: 0: (0): !!!!!! Simulator now in TURBO mode !!!!!!
can't read "env(SKIBOOT_AUTORUN)": no such variable
systemsim % 
Timeout waiting for hello world
/build/test/sreset_world/Makefile.check:26: recipe for target 'test/sreset_world/sreset_kernel/sreset_kernel-check-smt-p9-mambo' failed
make: *** [test/sreset_world/sreset_kernel/sreset_kernel-check-smt-p9-mambo] Error 1
The command "if [ ${COVERITY_SCAN_BRANCH} != 1 ]; then docker build --pull -t ${RUN_ON_CONTAINER} -f opal-ci/Dockerfile-${RUN_ON_CONTAINER} . && docker run --volume $HOME/.ccache:/root/.ccache --volume `pwd`:/build --rm -t $RUN_ON_CONTAINER bash -c "./opal-ci/build-${RUN_ON_CONTAINER}.sh"; fi" exited with 2.


-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list