[Test] java thread & read tests are failing with ETHREADS=1 in sgx-lkl nightly build
hukoyu opened this issue · 3 comments
hukoyu commented
IF this test is not supported with ETHERADS=1 we can disable this test in pipeline for ETHREADS=1
java thread test is failing with ETHREADS=1 in sgx-lkl nightly build
https://dev.azure.com/sgx-lkl/sgx-lkl/_build/results?buildId=1888&view=results
Here is the full log:
Standard_Console_Output - java-thread-1thread.log
0.010031] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes, linear)
[ 0.010031] NET: Registered protocol family 1
[ 0.010621] virtio-mmio: Registering device virtio-mmio.0 at 0x1000000-0x10000ff, IRQ 1.
[ 0.010621] workingset: timestamp_bits=62 max_order=14 bucket_order=0
[ 0.012387] NET: Registered protocol family 38
[ 0.012387] io scheduler mq-deadline registered
[ 0.012387] io scheduler kyber registered
[ 0.106162] software IO TLB: mapped [mem 0x7f80bd84d000-0x7f80c184d000] (64MB)
[ 0.110047] loop: module loaded
[ 0.110047] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[ 0.110601] wireguard: WireGuard 0.0.20191219 loaded. See www.wireguard.com for information.
[ 0.110601] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[ 0.111155] NET: Registered protocol family 10
[ 0.111155] Segment Routing with IPv6
[ 0.111155] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 0.112264] This architecture does not have kernel memory protection.
[ 0.112264] Run /init as init process
[ 0.112818] random: crng init done
[[ SGX-LKL ]] wg0 has public key FBNEPU+us8Rux00CzUy+kCJHJ5QmR5hSxmafS5KkYiQ=
[ 0.114480] virtio_blk virtio1: [vda] 819200 512-byte logical blocks (419 MB/400 MiB)
[ 0.115588] EXT4-fs (vda): mounted filesystem without journal. Opts:
OpenJDK 64-Bit Server VM warning: Can't detect primordial thread stack location - find_vma failed
Counter is 0 before calling threads.
Each thread will increment counter by 1.
Creating and running 10 threads.
Starting thread Thread-1
Starting thread Thread-2
Starting thread Thread-3
Starting thread Thread-4
Starting thread Thread-5
Starting thread Thread-6
Starting thread Thread-7
Starting thread Thread-8
Starting thread Thread-9
Starting thread Thread-10
Thread Thread-10 is completed successfully
Thread Thread-1 is completed successfully
Thread Thread-9 is completed successfully
Thread Thread-2 is completed successfully
Thread Thread-8 is completed successfully
Thread Thread-3 is completed successfully
Thread Thread-7 is completed successfully
Thread Thread-4 is completed successfully
Thread Thread-6 is completed successfully
Thread Thread-5 is completed successfully
Counter is 10 after all 10 threads completed
Makefile:24: recipe for target 'run-hw' failed
make: *** [run-hw] Terminated
make run-hw: TIMED OUT after 300 secs
Test run completed with EXIT CODE 124
hukoyu commented
java-read test is also failing
This is the full log file:
Standard_Console_Output - java-read-1thread.log
[ 0.000000] lkl: time and timers initialized (irq2)
[ 0.000588] printk: console [hvc0] enabled
[ 0.000588] pid_max: default: 4096 minimum: 301
[ 0.000588] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.000588] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.002328] devtmpfs: initialized
[ 0.006394] random: get_random_bytes called from 0x00007f00005790cd with crng_init=0
[ 0.006394] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.006394] futex hash table entries: 16 (order: -4, 384 bytes, linear)
[ 0.006987] xor: automatically using best checksumming function 8regs
[ 0.006987] NET: Registered protocol family 16
[ 0.009297] clocksource: Switched to clocksource lkl
[ 0.009886] NET: Registered protocol family 2
[ 0.009886] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.009886] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.009886] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.009886] TCP: Hash tables configured (established 512 bind 512)
[ 0.010475] UDP hash table entries: 128 (order: 0, 4096 bytes, linear)
[ 0.010475] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes, linear)
[ 0.010475] NET: Registered protocol family 1
[ 0.010475] virtio-mmio: Registering device virtio-mmio.0 at 0x1000000-0x10000ff, IRQ 1.
[ 0.010475] workingset: timestamp_bits=62 max_order=14 bucket_order=0
[ 0.012231] NET: Registered protocol family 38
[ 0.012231] io scheduler mq-deadline registered
[ 0.012231] io scheduler kyber registered
[ 0.102277] software IO TLB: mapped [mem 0x7f135d4dc000-0x7f13614dc000] (64MB)
[ 0.106380] loop: module loaded
[ 0.106380] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[ 0.106971] wireguard: WireGuard 0.0.20191219 loaded. See www.wireguard.com for information.
[ 0.106971] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[ 0.107561] NET: Registered protocol family 10
[ 0.107561] Segment Routing with IPv6
[ 0.107561] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 0.108150] This architecture does not have kernel memory protection.
[ 0.108150] Run /init as init process
[ 0.109299] random: crng init done
[[ SGX-LKL ]] wg0 has public key /9f1fDsHq3qkGqvQZvB97zkMv3A+b6IK+/5rHPYcz20=
[ 0.110449] virtio_blk virtio1: [vda] 819200 512-byte logical blocks (419 MB/400 MiB)
[ 0.112187] EXT4-fs (vda): mounted filesystem without journal. Opts:
OpenJDK 64-Bit Server VM warning: Can't detect primordial thread stack location - find_vma failed
Hello SGX world from MainApp Java!
Trying to read file /app/input.txt
Content of the file:
This is the first line of the file
This is the second line of the file
Makefile:26: recipe for target 'run-hw' failed
make: *** [run-hw] Terminated
make run-hw: TIMED OUT after 300 secs
Test run completed with EXIT CODE 124
paulcallen commented
when disabled this should create a P2 to reenable