Takeshi Nakatani
956e8c5750
Added new class for curl share handle
...
Added new class for curl share handle.
And, paired the curl handle(S3fsCurl) with the worker thread.
Changed that each thread has its own SSL session cache to prevent data
races.
So OpenSSL suppression for ThreadSanitizer is no longer necessary, so
reverted it.
2024-11-28 03:40:40 +09:00
Andrew Gaul
143284b2f3
Upgrade to S3Proxy 2.4.1 ( #2433 )
...
This transitions to the transient-nio2 storage backend which should
address a race condition with getBlob and be easier to work with in
the future. Release notes:
https://github.com/gaul/s3proxy/releases/tag/s3proxy-2.4.1
https://github.com/gaul/s3proxy/releases/tag/s3proxy-2.4.0
https://github.com/gaul/s3proxy/releases/tag/s3proxy-2.3.0
https://github.com/gaul/s3proxy/releases/tag/s3proxy-2.2.0
https://github.com/gaul/s3proxy/releases/tag/s3proxy-2.1.0
2024-11-24 22:27:24 +09:00
Takeshi Nakatani
17d0970244
Changed the macOS Github Actions runner image to macos-13
...
Changed the macos Github Actions runner image to macos-13, and
avoided extended attribute error when copying with macos-fuse-t.
2024-11-07 16:51:53 +09:00
Takeshi Nakatani
ef6c213471
Bypassed test_extended_attributes test on MacOS
2024-11-03 08:56:48 +09:00
Andrew Gaul
d35b5a8905
Add OpenSSL suppression for ThreadSanitizer ( #2559 )
2024-10-22 19:52:27 +09:00
Andrew Gaul
9c4fcbd050
Use std::max instead of conditional ( #2562 )
...
Found via clang-tidy.
2024-10-22 19:22:39 +09:00
Andrew Gaul
141d74f187
Use auto for iterator variable types ( #2554 )
...
This touches a few other long type names. Applied via clang-tidy
-fix.
2024-10-18 21:57:52 +09:00
brett-rickman
473f9df65a
FreeBSD compilation fixes
...
Closes #2517 .
2024-10-16 13:46:12 -07:00
Andrew Gaul
1d3ab76cc4
Ensure that test checks data length ( #2546 )
...
wc has an optimization that can use metadata when stdin is set to a
file. Also fix up logging.
2024-10-14 18:31:37 +09:00
Andrew Gaul
743c86e506
Fix issues discovered by Coverity ( #2535 )
2024-10-08 08:07:13 +09:00
Takeshi Nakatani
b283ab291a
Modified and bypassed test_multipart_mix on MacOS with nocopyapi
2024-09-29 13:58:46 +09:00
Takeshi Nakatani
c24015ae17
Modified and bypassed some MacOS tests
2024-09-29 09:17:11 +09:00
Takeshi Nakatani
6faaff10ee
Fixed hardlink test for macos
2024-09-27 00:52:07 +09:00
Viktor Szépe
fa807a56fb
Fix typos ( #2473 )
2024-06-23 15:33:46 +09:00
Andrew Gaul
ebae5a302f
Prefer std::string::clear where possible ( #2467 )
...
This is somewhat more clear and is declared noexcept.
2024-06-10 23:36:49 +09:00
Takeshi Nakatani
2c532e8b79
Fixed error reports of failure in cppcheck 2.14.0
2024-05-28 07:29:03 +09:00
Takeshi Nakatani
517574c40c
Fixed a bug in fdatasync(fsync)
2024-02-06 14:11:37 +09:00
Andrew Gaul
68bbfee8ea
Address clang-tidy modernize-deprecated-headers ( #2370 )
2023-11-19 10:00:16 +09:00
Takeshi Nakatani
ec8caf64b8
Reverted the macos CI process(using macos-fuse-t)
2023-11-17 21:08:34 +09:00
Takeshi Nakatani
3f6e8a8707
Fixed indent in integration-test-main.sh
2023-11-15 23:15:40 +09:00
Andrew Gaul
4845831f93
Convert some const to constexpr ( #2342 )
...
This guarantees that the function or value will resolve at compile-time.
2023-11-14 22:15:17 +09:00
Takeshi Nakatani
b15ed13807
Force disk free space recovery in test(for only macos)
2023-11-10 15:51:22 +09:00
Andrew Gaul
d5dd17644d
Add a helper script to compile all targets ( #2337 )
...
This is useful to compile different SSL libraries and 32-bit targets.
2023-10-15 11:54:52 +09:00
Andrew Gaul
95cfbe30ed
Add error checking to test_concurrent_writes ( #2299 )
...
This reveals a situation where s3fs triggers an unexpected
EntityTooSmall error.
2023-09-26 07:32:02 +09:00
Andrew Gaul
ffff26e165
Add stat helper for user and group ( #2320 )
2023-09-26 00:04:24 +09:00
Takeshi Nakatani
cbc33cd7ae
Fixed a bug upload boundary calculation in StreamUpload
2023-09-25 09:28:37 +09:00
Takeshi Nakatani
645c10a3c3
Fixed test_not_existed_dir_obj test condition
2023-09-25 08:16:32 +09:00
Takeshi Nakatani
54293a66b3
Simplify the determination of the --cached option of the stat
2023-09-25 08:08:58 +09:00
Andrew Gaul
64642e1d1b
Do not cache stat attributes ( #2319 )
...
This is a workaround for CI failures.
2023-09-24 18:32:07 +09:00
Andrew Gaul
a83f4a48d0
Add extra logging to debug test ( #2316 )
2023-09-15 21:50:01 +09:00
Andrew Gaul
99d3e68d59
Revert ls change ( #2315 )
...
echo does not split the words on newlines.
2023-09-15 21:48:04 +09:00
Andrew Gaul
f493cb5846
Remove unnecessary uses of ls ( #2311 )
...
Other call sites need the call to readdir/getdents64.
2023-09-13 22:27:12 +09:00
Andrew Gaul
3b12aaf2ab
Do not escape percent ( #2310 )
...
This addresses warnings of the form:
grep: warning: stray \ before %
2023-09-10 12:51:36 +09:00
Andrew Gaul
7e20278489
Address some Shellcheck SC2012 warnings ( #2306 )
2023-09-10 12:50:18 +09:00
Andrew Gaul
fa3a472c6b
Remove several calls to free ( #2308 )
2023-09-06 23:50:33 +09:00
Andrew Gaul
5f38301861
Emit unexpected file names in failed test_list ( #2307 )
2023-09-06 23:47:12 +09:00
Takeshi Nakatani
a74034a012
Fixed a bug with setting the statvfs value
2023-09-05 09:03:11 -07:00
Andrew Gaul
3f64c72c24
Explicitly grep for ps args ( #2301 )
2023-09-03 22:03:45 +09:00
Andrew Gaul
a2f2f72aaf
Enable Valgrind in CI ( #2297 )
...
Using HTTP instead of HTTPS and
82107f4b6c
improve test run-time so that
this is now feasible.
2023-08-29 23:11:26 +09:00
Takeshi Nakatani
6781ef5bd1
Reverted to direct array access instead of std::map emplace
2023-08-20 09:44:38 +09:00
Andrew Gaul
9fb4c32c6a
Test filenames longer than POSIX maximum ( #2277 )
2023-08-18 08:58:44 +09:00
Andrew Gaul
e5986d0034
Run all tests with sanitizers ( #2275 )
2023-08-17 22:27:06 +09:00
Andrew Gaul
ea42911530
Build s3fs in parallel like in CI ( #2267 )
2023-08-15 22:37:39 +09:00
Andrew Gaul
6823c5a7ec
Enable clang-tidy cppcoreguidelines ( #2269 )
2023-08-15 22:12:33 +09:00
Andrew Gaul
d2a571a868
Set exit code for Valgrind ( #2265 )
...
Otherwise errors can be ignored for successful tests with memory
errors.
2023-08-15 21:33:34 +09:00
Andrew Gaul
3a6af38582
Tighten up Content-Type checking ( #2258 )
2023-08-15 21:23:59 +09:00
Andrew Gaul
e157d811cb
Use std::string::compare and operator== where possible ( #2256 )
2023-08-15 21:22:36 +09:00
Takeshi Nakatani
5b93765802
Fixed a warning for compiling C/C++ codes
2023-08-13 20:49:39 +09:00
Andrew Gaul
13ad53eef7
Convert most std::list to std::vector ( #2247 )
...
This tends to be more efficient due to fewer allocations. Also fix std::sort
comparator which should be strictly less than.
2023-08-05 10:05:32 +09:00
Andrew Gaul
b14758baff
Fix junk_data for 32-bit platforms ( #2245 )
...
Previously this had a mismatch between size_t and unsigned long long.
2023-08-05 09:37:18 +09:00