Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mis-detecting OPAL shutdown message as a hostboot error #581

Open
oohal opened this issue Mar 11, 2020 · 0 comments
Open

Mis-detecting OPAL shutdown message as a hostboot error #581

oohal opened this issue Mar 11, 2020 · 0 comments
Labels

Comments

@oohal
Copy link
Contributor

oohal commented Mar 11, 2020

Spotted this on a op-build CI job:

/proc/249/task/249/net/igmp
/proc/249/task/249/net/raw6
/proc/249/task/249/net/snmp
/proc/249/task/249/net/stat
/proc/249/task/249/net/stat/rt_cache
/proc/249/task/249/net/stat/arp_cache
^Z[1]+  Stopped                    find /
[console-expect]#[  718.461355761,5] IPMI: Soft shutdown requested
^MRequesting system poweroff
[  168.244801] reboot: Power down
[  733.463486354,5] OPAL: Shutdown request type 0x0...

^M--== Welcome to SBE - CommitId[0x2d51dbbb] ==--
^Mistep 3.19
2020-03-10 21:02:15,777:op-test.common.OpTestSystem:run_IPLing:ERROR:Detected hostboot got IPMI shutdown request
^MERROR (180.384s)
  runTest (testcases.Console.ControlC) ... ERROR (0.001s)
  runTest (testcases.OpTestPNOR.Skiroot) ... ERROR (0.001s)
  runTest (testcases.DeviceTreeValidation.DeviceTreeValidationSkiroot) ... ERROR (0.001s)
  runTest (testcases.gcov.Skiroot) ... ERROR (0.001s)
  runTest (testcases.DPO.DPOSkiroot) ... ERROR (0.001s)
  runTest (testcases.PetitbootMMU.PetitbootMMU) ... ERROR (0.001s)

======================================================================
ERROR [180.384s]: runTest (testcases.Console.ControlZ)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/hostboot-jenkins.swg-devops/jenkins-slave/workspace/Hostboot/OpenPower/HW/p9-test-param/op-test/testcases/Console.py", line 192, in runTest
    self.cv_SYSTEM.goto_state(OpSystemState.PETITBOOT_SHELL)
  File "/tmp/hostboot-jenkins.swg-devops/jenkins-slave/workspace/Hostboot/OpenPower/HW/p9-test-param/op-test/common/OpTestSystem.py", line 389, in goto_state
    self.state = self.stateHandlers[self.state](state)
  File "/tmp/hostboot-jenkins.swg-devops/jenkins-slave/workspace/Hostboot/OpenPower/HW/p9-test-param/op-test/common/OpTestSystem.py", line 725, in run_IPLing
    raise e
  File "/tmp/hostboot-jenkins.swg-devops/jenkins-slave/workspace/Hostboot/OpenPower/HW/p9-test-param/op-test/common/OpTestSystem.py", line 721, in run_IPLing
    loop_max=self.ipl_watermark, timeout=self.ipl_timeout)
  File "/tmp/hostboot-jenkins.swg-devops/jenkins-slave/workspace/Hostboot/OpenPower/HW/p9-test-param/op-test/common/OpTestSystem.py", line 1533, in wait_for_it
    return super(OpTestOpenBMCSystem, self).wait_for_it(**kwargs)
  File "/tmp/hostboot-jenkins.swg-devops/jenkins-slave/workspace/Hostboot/OpenPower/HW/p9-test-param/op-test/common/OpTestSystem.py", line 582, in wait_for_it
    check_expect_seq=expect_seq, check_expect_dict=kwargs['expect_dict'])
  File "/tmp/hostboot-jenkins.swg-devops/jenkins-slave/workspace/Hostboot/OpenPower/HW/p9-test-param/op-test/common/OpTestSystem.py", line 642, in check_it
    raise e
  File "/tmp/hostboot-jenkins.swg-devops/jenkins-slave/workspace/Hostboot/OpenPower/HW/p9-test-param/op-test/common/OpTestSystem.py", line 634, in check_it
    my_r=check_r, value=check_expect_seq[check_r])
  File "/tmp/hostboot-jenkins.swg-devops/jenkins-slave/workspace/Hostboot/OpenPower/HW/p9-test-param/op-test/common/OpTestSystem.py", line 208, in hostboot_callback
    raise HostbootShutdown()
common.Exceptions.HostbootShutdown: Detected hostboot got IPMI shutdown request

Looks like OpExpect is matching on "shutdown requested" which is too broad.

@oohal oohal added the bug label Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant