services/ftp: Integration tests failed with internal error
Xuanwo opened this issue · comments
Xuanwo commented
related test: https://github.com/beyondstorage/go-storage/runs/3935965835
When Read with offset and size
The error should be nil ✘✔
The content should be match ✔✔✔✔
* /home/runner/work/go-storage/go-storage/services/ftp/tests/storage_test.go
Line 14:
Expected: nil
Actual: 'read: Storager ftp {URL: 127.0.0.1:2121, User: admin, WorkDir: /}, [c17c9997-4332-4b75-a4d5-fed48a1da776]: service internal, 426 Data connection error.'
Xuanwo commented
The error happened while read with size and offset
randomly only on mina/ftpserver, other cases are OK.
Xuanwo commented
It looks more like a server-side error, maybe we need to report an error to https://issues.apache.org/jira/projects/FTPSERVER/issues/FTPSERVER-502?filter=allopenissues
Xuanwo commented
Xuanwo commented
Before we find out what happend on mina/ftpserver, I think we can move those tests to vsftpd instead.