Open hukoyu opened 4 years ago
If this is not a supported scenario we can disable this test with ETHREADS=1 in nightly pipeline
Java hello-world test is failing in sgx-lkl (nightly) pipeline with ETHREADS=1 https://dev.azure.com/sgx-lkl/sgx-lkl/_build/results?buildId=1888&view=results
Here is the full log: Standard_Console_Output - java-helloworld-1thread.log
[[ SGX-LKL ]] init_enclave_clock(): Setting enclave realtime clock [[ SGX-LKL ]] wg0 has public key oJVhDt4cmSDLidIzdvXL1sxHSE8KsygiRx5/w6XOo04= [ 0.103207] virtio_blk virtio1: [vda] 819200 512-byte logical blocks (419 MB/400 MiB) [[ SGX-LKL ]] lkl_mount_disk(): lkl_mount_disk(dev="/dev/vda", mnt="/mnt/vda", ro=0) [ 0.104389] EXT4-fs (vda): mounted filesystem without journal. Opts: [[ SGX-LKL ]] lkl_mount_disks(): Set working directory: / OpenJDK 64-Bit Server VM warning: Can't detect primordial thread stack location - find_vma failed Hello SGX world from Java! [ SGX-LKL ] Dumping thread stack traces from enclave (and aborting)... Makefile:25: recipe for target 'run-hw' failed [[ SGX-LKL ]] sgxlkl_debug_dump_stack_traces(): Dumping all stack traces from threads... make: *** [run-hw] Terminated [[ SGX-LKL ]] ============================================================= [[ SGX-LKL ]] Stack traces for all lthreads: [[ SGX-LKL ]] ------------------------------------------------------------- [[ SGX-LKL ]] 1: tid=1 (7fe000b09160) [sgx-lkl-init] (READY) make run-hw: TIMED OUT after 300 secs Test run completed with EXIT CODE 124 [[ SGX-LKL ]] #0: 7fe0005b4d98 in __do_futex_sleep(...) [[ SGX-LKL ]] #1: 7fe0005b4e28 in futex_wait(...) [[ SGX-LKL ]] #2: 7fe0005b4fa8 in enclave_futex_timedwait(...) [[ SGX-LKL ]] #3: 7fe0005b4ff2 in enclave_futex_wait(...) [[ SGX-LKL ]] #4: 7fe0005d67f4 in sem_down(...) [[ SGX-LKL ]] #5: 7fe00008a8f3 in __switch_to(...) [[ SGX-LKL ]] #6: 7fe000414b5d in __schedule(...) [[ SGX-LKL ]] #7: 7fe000414d82 in schedule(...) [[ SGX-LKL ]] #8: 7fe0000d62d1 in futex_wait_queue_me(...) [[ SGX-LKL ]] #9: 7fe0000d7c79 in futex_wait(...) [[ SGX-LKL ]] #10: 7fe0000d8feb in do_futex(...) [[ SGX-LKL ]] #11: 7fe0000d97b5 in sys_futex(...) [[ SGX-LKL ]] #12: 7fe00008b6cf in lkl_syscall(...) [[ SGX-LKL ]] #13: 7fe00059749b in __filter_syscall4(...) [[ SGX-LKL ]] #14: 7fe0005975a5 in __timedwait_cp(...) [[ SGX-LKL ]] #15: 7fe00059aca0 in __pthread_timedjoin_np(...) [[ SGX-LKL ]] #16: 7fe00059ad59 in __pthread_join(...) [[ SGX-LKL ]] #17: 7fe03dcd6eee in <unknown>(...) [[ SGX-LKL ]] ------------------------------------------------------------- [[ SGX-LKL ]] 2: tid=2 (7fe000b09330) [vio-0] (SLEEPING) [[ SGX-LKL ]] #0: 7fe0005bfd5b in lthread_yield_and_sleep(...) [[ SGX-LKL ]] #1: 7fe0005ae4f4 in vio_wait_for_host_event(...) [[ SGX-LKL ]] #2: 7fe0005ae6c4 in vio_enclave_process_host_event(...) [[ SGX-LKL ]] #3: 7fe0005bebbe in _exec(...) [[ SGX-LKL ]] ------------------------------------------------------------- [[ SGX-LKL ]] 3: tid=3 (7fe000b094e0) [vio-1] (SLEEPING) [[ SGX-LKL ]] #0: 7fe0005bfd5b in lthread_yield_and_sleep(...) [[ SGX-LKL ]] #1: 7fe0005ae4f4 in vio_wait_for_host_event(...) [[ SGX-LKL ]] #2: 7fe0005ae6c4 in vio_enclave_process_host_event(...) [[ SGX-LKL ]] #3: 7fe0005bebbe in _exec(...) [[ SGX-LKL ]] ------------------------------------------------------------- [[ SGX-LKL ]] 4: tid=4 (7fe000b09690) [vio-2] (SLEEPING)
should create a p2 when this is disabled to reenable
If this is not a supported scenario we can disable this test with ETHREADS=1 in nightly pipeline
Java hello-world test is failing in sgx-lkl (nightly) pipeline with ETHREADS=1 https://dev.azure.com/sgx-lkl/sgx-lkl/_build/results?buildId=1888&view=results
Here is the full log: Standard_Console_Output - java-helloworld-1thread.log