SerCeMan / jnr-fuse

FUSE implementation in Java using Java Native Runtime (JNR)
MIT License
361 stars 87 forks source link

Test failures on AWS Graviton (ARM, aarch64 GNU/Linux) #171

Closed elecnix closed 4 months ago

elecnix commented 1 year ago

These tests failed on m6g.xlarge AWS EC2 instance with Ubuntu 20.04.5 LTS (ami-015de8f0cd23d6c71)

Tried with two JDK:

openjdk version "1.8.0_352" OpenJDK Runtime Environment (build 1.8.0_352-8u352-ga-1~20.04-b08) OpenJDK 64-Bit Server VM (build 25.352-b08, mixed mode)

and

openjdk version "17.0.5" 2022-10-18 OpenJDK Runtime Environment (build 17.0.5+8-Ubuntu-2ubuntu120.04) OpenJDK 64-Bit Server VM (build 17.0.5+8-Ubuntu-2ubuntu120.04, mixed mode, sharing)

Command output:

./gradlew test

> Task :test

ru.serce.jnrfuse.struct.StructSizeTest > testFileStat FAILED
    java.lang.AssertionError at StructSizeTest.java:96
FUSE library version: 2.9.9
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
unique: 2, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0
INIT: 7.34
flags=0x33fffffb
max_readahead=0x00020000
   INIT: 7.19
   flags=0x00000011
   max_readahead=0x00020000
   max_write=0x00020000
   max_background=0
   congestion_threshold=0
   unique: 2, success, outsize: 40
unique: 4, opcode: LOOKUP (1), nodeid: 1, insize: 46, pid: 25767
LOOKUP /hello
getattr /hello
   NODEID: 2
   unique: 4, success, outsize: 144

ru.serce.jnrfuse.struct.HelloFuseTest > testReadHello FAILED
    java.lang.AssertionError at HelloFuseTest.java:24
FUSE library version: 2.9.9
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
unique: 2, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0
INIT: 7.34
flags=0x33fffffb
max_readahead=0x00020000
   INIT: 7.19
   flags=0x00000011
   max_readahead=0x00020000
   max_write=0x00020000
   max_background=0
   congestion_threshold=0
   unique: 2, success, outsize: 40
unique: 4, opcode: LOOKUP (1), nodeid: 1, insize: 46, pid: 25767
LOOKUP /file1
getattr /file1
   unique: 4, error: -2 (No such file or directory), outsize: 16
unique: 6, opcode: LOOKUP (1), nodeid: 1, insize: 46, pid: 25767
LOOKUP /file1
getattr /file1
   unique: 6, error: -2 (No such file or directory), outsize: 16
unique: 8, opcode: CREATE (35), nodeid: 1, insize: 62, pid: 25767
create flags: 0x200c2 /file1 0100664 umask=0002
   create[0] flags: 0x200c2 /file1
getattr /file1
   NODEID: 2
DELETE: 2
   unique: 8, error: -5 (Input/output error), outsize: 16

ru.serce.jnrfuse.struct.MemoryFsTest > testReadWrite FAILED
    java.io.IOException at MemoryFsTest.java:28

12 tests completed, 3 failed