sgx-lkl: [Tests] LKL bug in do_task_dead() during shutdown

This test fails a lot: containers-cc-(nonrelease)-(run-hw)-(8-ethreads)

[   SGX-LKL  ] SGX-LKL (OE) 0.2.0-dev (8e0c294) LKL 5.3.0 [NON-RELEASE build (-O3)] [HARDWARE DEBUG]
[   SGX-LKL  ] nproc=4 ETHREADS=4 CMDLINE="mem=32M"
[   SGX-LKL  ] HW TLS support: conf->fsgsbase=1
[   SGX-LKL  ] Registering disk 0 (path='/disk_0.img', mnt='/', [RW    ])
[   SGX-LKL  ] Registering disk 1 (path='/disk_1.img', mnt='/data', [RW    ])
[   SGX-LKL  ] get_signed_libsgxlkl_path... result=/opt/sgx-lkl-nonrelease/bin/../lib/libsgxlkl.so.signed
[   SGX-LKL  ] oe_create_enclave... result=0 (OE_OK)
[   SGX-LKL  ] sgxlkl_enclave_init(ethread_id=0)
[[  SGX-LKL ]] wg0 has public key OcW5UP1vapBV7VKDA4lqmrL/35GdgOYTgYVUgry5Rkw=
[[  SGX-LKL ]] FAIL: Kernel panic! Aborting...
[   SGX-LKL  ] init (0: 19 exit=0) [   SGX-LKL  ] FAIL: sgxlkl_ethread_init() failed (ethread_id=0 result=19 (OE_ENCLAVE_ABORTING))
make: *** [run-hw] Error 1
Failure : 'Kernel panic' observed in 'report/containers-cc-(nonrelease)-(run-hw)-(8-ethreads).stdout.txt' or 'report/containers-cc-(nonrelease)-(run-hw)-(8-ethreads).stderr.txt'

Log file: Standard_Console_Output (6).log

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 22 (20 by maintainers)

Most upvoted comments

@wintersteiger that doesn’t describe my situation, but its good to know. I checked to make sure I had no stray processes running.

@SeanTAllen Please don’t look at this test at the moment, it needs a bit of dev docs to run this locally.