Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to recent upstream master #1

Merged
merged 276 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
276 commits
Select commit Hold shift + click to select a range
912b908
[Server] Check kXR_seqio to an opt-in strategy.
abh3 Mar 14, 2024
b440a9e
Add monitoring packet for IO, based on the throttle plugin
bbockelm Mar 1, 2024
a78586f
[Server] Implement the kXR_seqio open option for sequential I/O.
abh3 Mar 16, 2024
432cc12
[Server] Harden kXR_seqio implementation.
abh3 Mar 16, 2024
eded1bb
Fixes for 64 bit time_t on 32 bit systems
ellert Mar 16, 2024
5ca5911
[XrdOss] Fix check for option noDread in XrdOssDir::Readdir()
cal-jlab Mar 19, 2024
75d1af2
[XrdOss] Do not set S_IFBLK in XrdOssSys::Stat()
cal-jlab Mar 19, 2024
77a335d
[XrdTpc] Force HTTP 1.1 for TPC otherwise transfers fail
esindril Mar 19, 2024
5fda7a9
[Ouc] Extend XrdOucGatherConf to do more boiler plate work and be ext…
abh3 Mar 20, 2024
0eb71c4
sc] Make XrdOucGatherConf.hh a public header.
abh3 Mar 20, 2024
881ae0b
[Ouc] Proide method to get the last line from XrdOucGatherConf.
abh3 Mar 20, 2024
b5d52aa
[Posix] Correct xml cache summary report. Fixes #2219
abh3 Mar 20, 2024
ddff174
[CMake] Check result of configuration step and stop if it fails
amadio Mar 17, 2024
aed4d7f
[CI] Use mk-build-deps to install dependencies on Ubuntu
amadio Mar 17, 2024
387f9b9
[CMake] Add space after pull request user info in CDash build name
amadio Mar 19, 2024
0cfa408
[XrdClTls] Prevent concurrent calls to InitTLS()
amadio Mar 20, 2024
5794cbc
[XrdCeph] Fix clang warning about unused expression result
amadio Mar 20, 2024
9096834
[CI] Move GitHub Actions builds to actions/checkout@v4
amadio Feb 5, 2024
bb45575
Explicitly control the authorization strategy for tokens
bbockelm Nov 11, 2023
659a8f2
[CMake] Move baseline required C++ standard to C++17
amadio Mar 22, 2024
6102ea8
[Tests] Update header check to use C++17 standard
amadio Mar 25, 2024
c95e804
[XrdEc] Replace std::result_of with std::invoke_result
amadio Mar 22, 2024
ed7ed26
[CI] Move GitHub Actions to actions/upload-artifact@v4
amadio Feb 5, 2024
548fdc2
[XrdSciTokens] Fix application of access rules when base path is '/'
amadio Mar 28, 2024
bae878f
Minor test fixes
ellert Mar 25, 2024
15ae0dc
[XrdSciTokens] Implement ability to have token groups as a separate c…
s-thiele Jan 22, 2024
42c2606
[XrdSciTokens] Update README.md about newly introduced groups_claim
s-thiele Jan 25, 2024
a153f8d
[XrdSciTokens] Use a copy of config in GenerateAcls instead of locking
s-thiele Mar 11, 2024
027a51e
[XrdSciTokens] Fix indentation of local variables in try block
amadio Apr 3, 2024
9a2e8b9
[XrdSciTokens] Simplify handling of groups claim
amadio Apr 2, 2024
b877013
[XrdSciTokens] Warn if something goes wrong when parsing token groups
amadio Apr 3, 2024
4a7cb0f
[CMake] Conditionally append private include directory
amadio Mar 27, 2024
aab1824
[XrdCl] Simplify implementation of FileStateHandler::IsRecoverable
amadio Apr 9, 2024
36e5e9f
[XrdCl] Add errInternal to list of recoverable errors
amadio Apr 9, 2024
6861a86
[XrdMacaroons] Support negative directives in macaroons.trace option
amadio Apr 10, 2024
bb2503c
[XrdSecgsi] Fail CA check when prococol.gsi -ca:verify is set
amadio Apr 10, 2024
937ec8d
[Docs] Add XRootD icon and logos to use with doxygen
amadio Apr 11, 2024
b7a1597
[Docs] Update doxygen configuration
amadio Apr 11, 2024
bfd663d
[XrdVoms] Fix doxygen warning about non-existent file
amadio Apr 11, 2024
a4349c1
[XrdApps] Fix doxygen warning in XrdClRecordPlugin/README.md
amadio Apr 11, 2024
e247e7e
[XrdMacaroons] Fix doxygen warning (mismatch in prototype)
amadio Apr 11, 2024
a311495
[XrdCl] Use long for dirOffset in IndexRemote
amadio Apr 11, 2024
13b5143
[Tests] Fix XAttrTest for when the response vector is empty
amadio Apr 16, 2024
d6401db
[XrdApps] Fix null pointer dereference when response handler is nullptr
amadio Apr 16, 2024
1d06f02
[XrdCl] Fix null pointer dereference when response handler is nullptr
amadio Apr 16, 2024
509c4b0
[XrdHttp] Reset HTTP request scitag during reset
ccaffy Apr 22, 2024
90e2cba
[XrdCrypto] Avoid some repeated calls of EVP_PKEY_check
smithdh Apr 22, 2024
433cc85
[XrdHttp] External handlers can be loaded without TLS
ccaffy Apr 29, 2024
25ef24c
[XrdHttp] Changed the configuration parameter for non-tls exthandler
ccaffy Apr 30, 2024
d401dc1
[XrdSys] Fix warning about unused parameter
amadio Apr 25, 2024
afd7b7b
[CI]: Run on macOS 13 while until reverse lookup is fixed on 14
amadio May 3, 2024
5221447
[XrdTpcTPC] PMark - Connect curl socket at socket creation
ccaffy Feb 16, 2024
fa118b7
[XrdHttp] Improved first-line and header parsing
ccaffy May 2, 2024
d09136e
[XrdHttp] Add new option to allow for tpc unrestricted redirection
ccaffy Apr 2, 2024
df7620c
[Server] Avoid leaking oken information when tracing file opens.
abh3 May 14, 2024
1d63ad5
[Server] Add method to get sanitized env/cgi string.
abh3 May 17, 2024
2d37698
[cmsd] Pass sanitized CGI to cmsd server. Requires b849847 fixes #2247
abh3 May 17, 2024
552a684
[HttpTPC] Make sure we sleep the full amount needed. Fixes #2274
abh3 May 21, 2024
f6b361d
[HTTP] Always create directory path when opening dest file for HTTP TPC.
abh3 May 23, 2024
85a37dd
Revert "[XrdHttp] Improved first-line and header parsing"
ccaffy May 21, 2024
3d63b5d
[XrdHttp] Return a 400 bad request if header line is not \r\n terminated
ccaffy May 22, 2024
42181d9
Fix non-monotonic clock in the throttle
bbockelm May 15, 2024
07fc111
Enable throttle manager timing on Mac OS X
bbockelm May 15, 2024
b91c4e4
[XrdTpcTPC] Improved curl error reporting to the client
ccaffy May 6, 2024
1e65a4a
[OSS] Add feature setting for Extended ERror Text is available.
abh3 May 28, 2024
4c184bc
XrdHttp: obfuscate token authz leaking to the logs
ccaffy Jun 6, 2024
1cee046
[Tests] Fix potential null pointer dereferences in tests
amadio Apr 12, 2024
6c084d7
[XrdCl] Fix timeout handling for DeepLocate requests
amadio Apr 12, 2024
e89051a
[XrdHttp/TPC/Macaroons] Client header parsing is now case-insensitive
ccaffy May 17, 2024
d20102a
[XrdTls] Enable SSL_OP_IGNORE_UNEXPECTED_EOF option if available
amadio Jun 18, 2024
14e086c
[utils] Add sample shell script for third-party copy transfers
amadio Sep 28, 2023
b7c566e
[XrdHttp/TPC/Macaroons] Improved the case-insensitive client header p…
ccaffy Jun 19, 2024
ea3a3cb
[DEB] Update Debian/Ubuntu packaging
amadio Jun 27, 2024
6bfa506
[CI] Build only arch-dependent packages on Debian/Ubuntu
amadio Jun 27, 2024
feafa2b
[CI] Add Ubuntu 24.04 to DEB package builds
amadio Jun 27, 2024
5496b6e
[XrdCms] Add new load balancing algorithm with randomized affinity
amadio Jun 21, 2024
75ddfe1
[Tests] Enable new load balancing algorithm for testing
amadio Jun 21, 2024
10a7237
[CI] Install python-setuptools with Homebrew
amadio Apr 29, 2024
90ee3c9
[CI] Add on-demand macOS workflow to GitHub Actions
amadio Nov 9, 2023
38254f3
[XrdHttp] Increase default read timeouts to 1min/5min
amadio Apr 3, 2024
b19d74b
[Server] Fix buffer overrun in XrdXrootdProtocol::do_PgRIO()
amadio Jun 24, 2024
3c21b23
[XrdCl] Ensure proper XrdCl shutdown also in case of errors
amadio Jun 27, 2024
78f424d
Add --sanitize option to genversion.sh
amadio Jun 27, 2024
25f0a4d
[CI] Use genversion.sh --sanitize in CI builds
amadio Jun 27, 2024
8870256
[XrdTpcTPC] Added tpc.header2cgi configuration
ccaffy Jun 17, 2024
1d6cc71
[XrdTpcTPC] Added unit test for HTTP headers translation to opaque infos
ccaffy Jun 28, 2024
1b2caec
[XrdCrypto] Fix buffer overrun in XrdCryptosslCipher::Finalize()
amadio Jun 28, 2024
51efbe6
[RPM] Update spec file for XRootD 5.7.0
amadio Jun 27, 2024
defecac
XRootD 5.7.0
amadio Jun 27, 2024
c2f4f11
[CI] Use cern/cc7-base image for CentOS 7
amadio Jul 2, 2024
7a4fb54
[CI] Adjust CentOS 7 RPM artifact directory
amadio Jul 3, 2024
8dbcf21
[CI] Ajust CentOS 7 RPM artifact directory in GitLab CI as well
amadio Jul 3, 2024
aa0a9a2
[CI] Use CentOS 7 Vault in GitHub Actions
amadio Jul 25, 2024
15424d3
[CI] Force use of node16 with CentOS 7 builds
amadio Jul 25, 2024
fc6c192
[CI] Use CentOS 7 Vault in GitLab CI
amadio Jul 25, 2024
0de36b5
[CI] Add Ubuntu 24.04 build to GitLab CI
amadio Jul 25, 2024
ab5e20e
[CI] Switch Fedora 38 build to Fedora 40 in GitLab CI
amadio Jul 25, 2024
f00139c
Remove code duplication. Determine IOV_MAX in one place.
ellert Jul 19, 2024
2b06dc2
[XrdCl] Fix hidden overloaded virtual compilation error
ellert Jul 4, 2024
4b33d60
[XrdHttp] Apply keepalive when redirecting HTTP clients
jthiltges Jul 3, 2024
0b49e68
[XrdHttp] Save keepalive state before calling reset()
jthiltges Jul 22, 2024
2765beb
[XrdHttp] In ProcessHTTPReq, simplify return value for rtGET case
jthiltges Jul 26, 2024
b2907bd
Do not leak file pointer on open error
bbockelm Jul 30, 2024
a6f6e4e
[POSIX] Rework commit b2907bd "Do not leak file pointer on open error".
abh3 Aug 1, 2024
0f1e13b
[XrdCl] Add "hush" flag to optionally suppress force disconnect error…
abh3 Aug 1, 2024
49ea0e9
[POSIX] Suppress error message when tearing down client connections. …
abh3 Aug 1, 2024
438bafa
[Server] Allow more permission flexibility in adminpath. Fixes #2276
abh3 Aug 1, 2024
7ab6817
[Apps] Allow cconfig to write out combined config file. Fixes #1894
abh3 Aug 2, 2024
9f7fe9d
[Apps] Make sure whole configuration file is written
amadio Aug 2, 2024
9482043
[Apps] Do not set exec bit when creating config file
amadio Aug 2, 2024
1b40511
Rename the GTest helper macros
ellert Aug 1, 2024
0c85bb1
Replace EXPECT_TRUE(expression.IsOK()) with EXPECT_XRDST_OK(expression)
ellert Aug 1, 2024
1cd3f5c
Call sync() to avoid races after file or directory removals
ellert Aug 1, 2024
d646975
Give the servers time to start before running tests
ellert Aug 1, 2024
91a1ff5
Avoid test failures when $RANDOM returns 0
ellert Aug 1, 2024
e6aab10
[Tests] Make cluster tests less verbose
amadio Jul 30, 2024
a4bd89e
[Tests] Add ASSERT_XRDST_OK/NOTOK which use ASSERT_TRUE from GTest
amadio Aug 5, 2024
bea312d
[Tests] Use GTest's SetUp() and TearDown() in PostMasterTest
amadio Oct 26, 2023
c2b8d9e
[XrdApps] Replace pragma once with header guards
amadio Aug 5, 2024
8ae7b96
[XrdTpc] Replace pragma once with header guards
amadio Aug 5, 2024
eab51d6
[CI] Move GitHub Actions RPM workflow to Fedora 40
amadio Aug 6, 2024
defce9e
Conditionally load Davix grid module; verbose logging
wyang007 Aug 17, 2024
fadd9b4
[Secgsi] Fix code to follow documentation. Fixes #1817
abh3 Aug 7, 2024
0b86b73
[Secgsi] Fix typo from previous commit
amadio Aug 7, 2024
ac242df
[XrdNet] Avoid network identity failures. Fixes #1772 #2159
abh3 Aug 7, 2024
5f2f5ae
[XrdNet] Make sure domain value is defined.
abh3 Aug 7, 2024
1e59e5c
[Server] Allow server to assume an arbitrary network identity. Fixes …
abh3 Aug 8, 2024
7814caa
]Utils] Avoid possible undefined behaviour using tolower().
abh3 Aug 8, 2024
fb64f0b
[Utils] Avoid possible undefined behaviour when using tolower().
abh3 Aug 8, 2024
a90b72a
[XrdNet] Make sure to use lower case version of returned host names.
abh3 Aug 8, 2024
ebdf82b
[XrdSys] Dump coverage information on SIGTERM
amadio Aug 8, 2024
3a54788
[CMake] Update test.cmake options for coverage builds
amadio Aug 8, 2024
d095e05
[CI] Add coverage report to GitHub Actions
amadio Feb 9, 2024
8be9f7b
[Seckrb5] Improve error messages and use const where needed. Fixes #1948
abh3 Aug 11, 2024
821edc2
[XrdTls] Match type of sslOpts with SSL_CTX_set_options
amadio Aug 9, 2024
921a65e
SecProtocolgsi: Local copy of url supplied proxy location
smithdh Jul 5, 2024
459967d
TPC: Pass user's cgi (may include local proxy location) when querying…
smithdh Jul 31, 2024
980f4d0
[XrdSut] Fix -Wformat warning in XrdSutFromHex
amadio Aug 9, 2024
44f4cc1
[Tests] Add -Wextra to check-headers.sh script
amadio Aug 16, 2024
7c51f3a
[CMake] Update CMake minimum requirement and supported versions
amadio Aug 12, 2024
d509b76
[Protocol] Indicate whether or not server has a cache in kXR_Protocol…
abh3 Jul 31, 2024
6843691
[xrootd] Allow kXR_query to return proxy origin value, for proxy serv…
abh3 Jul 31, 2024
425658a
[PSS] Allow for API endpoints for fixed remote origins. Fixes #2068
abh3 Aug 2, 2024
b33c07d
[cmsd] Allow a redirector to be configured read/only. Fixes #1764
abh3 Aug 9, 2024
7678df2
[Protocol] Define readv limits.
abh3 Aug 17, 2024
726392e
[Pss] Export the final origin url for subprocess use.
abh3 Aug 22, 2024
25117b4
[XrdPfc] Make sure direct vread requests conform to protocol limits. …
osschar Aug 22, 2024
0adee34
[XrdCl] Add back XrdClChannel::ForceDisconnect()
amadio Aug 24, 2024
88abae4
[XrdCl] Add back XrdClPostMaster::ForceDisconnect(url)
amadio Aug 24, 2024
161c09a
[docker] Update CentOS 7 Dockerfile to use CentOS 7 Vault
amadio Aug 27, 2024
cd1fa15
[XrdCl] xrdfs: Fix typos in command line help string
amadio Aug 28, 2024
3a2411e
[bindings] Fix some memory leaks in python bindings
smithdh Aug 27, 2024
a259bbf
[XrdCl] Fix too few arguments to formatting function
amadio Aug 29, 2024
cbcb27c
[XrdSecgsi] Fix potential double free in GetSrvCertEnt()
amadio Aug 29, 2024
c809e82
[XrdSecztn] Fix potential use after free
amadio Aug 29, 2024
a1ed250
[XrdHttp] Fix CodeQL warning for overrunning write
amadio Aug 29, 2024
c36a32b
[XrdCrypto] Fix memory leaks in XrdCryptoRSA
amadio Aug 9, 2024
ae594b5
[Server] Fix -Woverflow warning in XrdLink
amadio Aug 9, 2024
4a00394
[XrdSecgsi] Cast pointer to void to fix -Wformat warning in snprintf
amadio Aug 12, 2024
4d11469
[XrdCl, XrdHttp] Obfuscated more token authz in logging
ccaffy Jul 18, 2024
ef78a5e
[XrdOucUtils] Speed-up authz obfuscation
ccaffy Aug 22, 2024
c6abe2a
[XrdClURL] Remove ABI compatibility break caused by auth obfuscation
ccaffy Aug 29, 2024
b9ad21e
[XrdOucUtils] Moved obfuscation function to a private header
ccaffy Aug 29, 2024
4e76711
[XrdOuc] Hide OBFUSCATION_STR, authObfuscationRegexes, and obfuscate(…
amadio Sep 2, 2024
0d9cadb
Fix shellcheck issues in genversion.sh and gen-tarball.sh
amadio Sep 1, 2024
b93e088
Uncomment hardening of systemd units
amadio Jun 15, 2023
38c5bea
Add SECURITY.md setting up security policy for XRootD
amadio Aug 27, 2024
4fb70e3
[DEB] Add davix to build dependencies
amadio Sep 2, 2024
091e572
[RPM] Add coreutils and procps-ng to build dependencies
amadio Sep 3, 2024
d2c3579
[DEB] Add coreutils and procps to build dependencies
amadio Sep 3, 2024
2847a2f
[RPM] Add davix to build dependencies
amadio Sep 3, 2024
9ef0525
[Tests] Add new XRootD client/server test configurations
amadio Aug 30, 2024
63b028a
[CMake] Conditionally enable FUSE and HTTP tests
amadio Sep 3, 2024
41f3afe
[CI] Install procps on Alpine to run tests
amadio Sep 3, 2024
e423541
[CMake] Do not automatically enable FUSE tests
amadio Sep 3, 2024
b57af3b
[Python] Update tests to work with Python3.x
Nov 30, 2023
4998116
[Python] Fix tests to work with latest pytest
amadio Mar 6, 2024
1d1beb8
Add basic clang-tidy configuration file
amadio Oct 13, 2023
bd64e96
[RPM] Update spec file for XRootD 5.7.1
amadio Sep 2, 2024
ae3391f
XRootD 5.7.1
amadio Sep 1, 2024
eb4295e
[Server] Fix for improper error handling for current R5 also fixes #2357
abh3 Oct 16, 2024
08c3420
[CMake] Set CMAKE_INSTALL_RPATH in the cache to allow overrides
amadio Oct 9, 2024
27f69ad
[Server] Correct spelling (permision → permission)
ellert Sep 5, 2024
5b42e86
Protect against array index out of bounds
ellert Sep 7, 2024
3a52c93
Add error string to e2sMap if EBADE is out of range
ellert Sep 10, 2024
f9d5734
Change type in XrdSutCacheArg_t to long long
ellert Sep 9, 2024
31dda59
Avoid test failures when $RANDOM returns a multiple of 1024
ellert Sep 20, 2024
27c2d27
Reproducible doxygen output.
ellert Sep 13, 2024
a251ba6
[CMake] Enable XrdClPipelines unconditionally
amadio Oct 28, 2024
fb574cb
[XrdPosix] Don't try to disable LTO if compiler doesn't support it
amadio Oct 28, 2024
6fb6440
[CMake] Disable warnings with Nvidia's nvc++ compiler
amadio Oct 28, 2024
ef19db1
[Python] Remove --parallel from cmake --build command in setup.py
amadio Oct 28, 2024
b4d02a0
[XrdHttp, XrdPosix, XrdPss] Obfuscated more authz in the logging
ccaffy Oct 10, 2024
07189fc
[XrdHttpTPC] Remove XRD_CHUNK_RESP preprocessing directive
ccaffy Oct 11, 2024
759d637
[XrdHttpTPC] Fail the PULL transfer if remote size cannot be fetched
ccaffy Oct 11, 2024
574e4e5
[Tests] Disable xrd.trace and xrootd.trace by default
amadio Oct 30, 2024
9f18c52
[Tests] Increase default timeouts in client/server tests
amadio Oct 30, 2024
c838699
[XrdCl] Handle kXR_attrCache attribute in protocol response
amadio Nov 1, 2024
70e0fc9
[Python] Use values from the environment for add_job defaults
amadio Nov 1, 2024
f00af29
[XrdCl] Do not issue locate for xrdfs ls command to a data server
amadio Nov 1, 2024
d75c7d5
[cmsd] Change DFS error message to be less confusing; fixes #2345
abh3 Nov 1, 2024
82a3fc0
[XrdHttp] Obfuscated potential token leaking during first line parsing
ccaffy Nov 14, 2024
062dc61
[Tests] Added more HTTP tests for CI
ccaffy Nov 19, 2024
cee703a
Avoid calling 'stat' on HTTP GET (#2300)
bbockelm Nov 14, 2024
0588dca
Reset the state after processing while in redrive
bbockelm Oct 24, 2024
d74b2af
[XrdCl] Downgrade force disconnect error message to debug level
amadio Nov 21, 2024
c413daa
[Pfc] Reduce verbosity of errors originating from remote block reads
osschar Nov 22, 2024
578e079
[Pfc] Add num bytes written to disk and bytes prefetched to the gstre…
osschar Nov 20, 2024
78d1fb7
[Pfc] Stat call: fix behavior and improve performance, part of #2349
osschar Nov 20, 2024
075f17d
[XrdOuc] Migrate obfuscateAuth() away from std::regex
amadio Nov 6, 2024
caf46d2
[Tests] Make test for obfuscateAuth() stricter
amadio Nov 6, 2024
216097d
[pfc-2372-3] Return 1 from Stat when the cache does not have the file…
osschar Nov 22, 2024
50209b3
[Secsss] Fix upcast array used in pointer arithmetics
amadio Nov 25, 2024
a1bcd44
[Server] Fix uncontrolled format string in XrdXrootdTpcMon
amadio Nov 25, 2024
bb6c75b
[XrdCl] Fix wrong type of arguments to formatting function
amadio Nov 25, 2024
8f1b9be
[XrdEc] Fix wrong type of arguments to formatting function
amadio Nov 25, 2024
3e53e89
[XrdClHttp] Fix wrong type of arguments to formatting function
amadio Nov 25, 2024
e0081b7
[XrdCl] Fix typo in arguments to formatting function: s% -> %s
amadio Nov 25, 2024
50aec7f
[XrdEc] Fix comparison of narrow type with wide type in loop condition
amadio Nov 25, 2024
103e70f
[XrdXrootd] Fix pointer to readahead_list in do_ReadNone
amadio Nov 25, 2024
65a6eee
[XrdCl] Add missing argument to logging message
amadio Nov 25, 2024
c3696ef
[XrdXrootd] Fix time-of-check vs time-of-use race condition
amadio Nov 26, 2024
63c4cb3
[XrdHttp] Fix time-of-check vs time-of-use race condition
amadio Nov 26, 2024
31a41eb
[XrdCrypto] Reorder includes and fix stat vs open race condition
amadio Nov 26, 2024
74bb634
[XrdApps] First open then stat file to get consistent information
amadio Nov 26, 2024
02f5083
[XrdOuc] Fix potential null pointer dereference in copyCGI
amadio Nov 26, 2024
c3b458a
[Secsss] Fix mismatched new/free in XrdSecsssID::~XrdSecsssID()
amadio Nov 26, 2024
58bb106
[Secztn] Fix integer overflow check in DecodeUrl()
amadio Nov 26, 2024
9611aa2
[XrdPss] Fix potential null pointer dereference in copyCGI
amadio Nov 26, 2024
3ac3ccc
[XrdXrootd] Remove redundant null pointer check
amadio Nov 26, 2024
cc42289
[XrdNet] Remove redundant null pointer check for ifList
amadio Nov 26, 2024
00b0ba5
[XrdEc] Fix CodeQL warning about overflow before conversion to size_t
amadio Nov 26, 2024
e1349ec
[XrdOss] Fix CodeQL warning about int overflow in multiplication
amadio Nov 26, 2024
7b68df2
[XrdDig] Fix potentially overflowing call to snprintf
amadio Nov 26, 2024
ec9a8ba
[CI] Use node18 in GitHub Actions for CentOS 7
amadio Nov 26, 2024
104c93a
[CI] Do not upload RPM artifacts for CentOS 7
amadio Nov 26, 2024
0faeaa9
[CI] Move to actions/checkout@v4 on Alpine Linux
amadio Nov 26, 2024
b44b827
[CI] Add AlmaLinux 10 beta build to GitHub Actions
amadio Nov 26, 2024
0b35754
[CI] Add AlmaLinux 10 beta RPM build to GitHub Actions
amadio Nov 26, 2024
eb8a2a3
[CI] Add AlmaLinux 10 beta build to GitLab CI
amadio Nov 26, 2024
1b787db
[CI] Replace Fedora 39 with Fedora 41 in GitLab CI
amadio Nov 26, 2024
58fb995
[CI] Move to Fedora 41 in RPM build on GitHub Actions
amadio Nov 26, 2024
2d9b214
[CI] Use actions/checkout@v1 on CentOS 7 build
amadio Nov 26, 2024
5310587
[CI] Add fetch-depth checkout option for Alpine Linux
amadio Nov 26, 2024
9f74352
Revert "[Secsss] Fix upcast array used in pointer arithmetics"
amadio Nov 29, 2024
d5dcde1
[RPM] Update spec file for XRootD 5.7.2
amadio Nov 27, 2024
8a4ca75
XRootD 5.7.2
amadio Nov 27, 2024
2c269c6
[Seckrb5] Avoid null pointer dereference (#2385)
smithdh Dec 11, 2024
aef92e0
[Tests] Use existing ENABLE_SERVER_TESTS option in tests/XrdCl
amadio Dec 5, 2024
c9aaf67
[Tests] Fix check for running process to prevent setup failures
amadio Nov 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .ci/config.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
set(FORCE_ENABLED 0 CACHE BOOL "")
set(ENABLE_ASAN 0 CACHE BOOL "")
set(ENABLE_TSAN 0 CACHE BOOL "")
set(ENABLE_CEPH 1 CACHE BOOL "")
set(ENABLE_FUSE 1 CACHE BOOL "")
set(ENABLE_HTTP 1 CACHE BOOL "")
set(ENABLE_KRB5 1 CACHE BOOL "")
Expand Down
12 changes: 12 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#
# For a list of checks, run clang-tidy -checks=* --list-checks
# or see https://clang.llvm.org/extra/clang-tidy/checks/list.html
#
---
Checks: '-*,clang-analyzer-core.*'
WarningsAsErrors: ''
HeaderFilterRegex: ''
FormatStyle: none
CheckOptions:
modernize-use-nullptr.NullMacros: 'NULL'
...
114 changes: 69 additions & 45 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ jobs:
apk add \
bash \
cmake \
cppunit-dev \
ceph-dev \
curl-dev \
fuse-dev \
Expand All @@ -60,6 +59,7 @@ jobs:
make \
openssl \
openssl-dev \
procps \
py3-pip \
py3-setuptools \
py3-wheel \
Expand All @@ -72,7 +72,7 @@ jobs:
zlib-dev

- name: Clone repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -96,16 +96,31 @@ jobs:
container: centos:7

env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node18
CMAKE_ARGS: "-DCMAKE_INSTALL_PREFIX=/usr;-DCMAKE_INSTALL_RPATH='$ORIGIN/../$LIB'"

steps:
- name: Use CentOS 7 Vault Repository URLs
run: |
sed -i -e '/mirrorlist/d' \
-e 's/# \?baseurl=/baseurl=/g' \
-e 's/mirror.centos.org/vault.centos.org/g' \
-e 's/$releasever/7.9.2009/g' \
/etc/yum.repos.d/*.repo
yum install -y centos-release-scl epel-release
sed -i -e '/mirrorlist/d' \
-e 's/# \?baseurl=/baseurl=/g' \
-e 's/mirror.centos.org/vault.centos.org/g' \
-e 's/$releasever/7.9.2009/g' \
/etc/yum.repos.d/*.repo

- name: Install dependencies
run: |
yum install -y centos-release-scl epel-release git
yum install -y epel-rpm-macros rpmdevtools sudo yum-utils
yum install -y epel-rpm-macros git rpmdevtools sudo yum-utils

- name: Clone repository
uses: actions/checkout@v3
uses: actions/checkout@v1
with:
fetch-depth: 0

Expand Down Expand Up @@ -135,7 +150,7 @@ jobs:
dnf config-manager --set-enabled powertools

- name: Clone repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -171,7 +186,43 @@ jobs:
dnf config-manager --set-enabled crb

- name: Clone repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup GitHub runner user within container
run: adduser --uid 1001 runner && chown -R runner:runner ${GITHUB_WORKSPACE}

- name: Install XRootD build dependencies
run: dnf builddep -y xrootd.spec

- name: Build and Test with CTest
run: sudo -E -u runner ctest -VV -S test.cmake

- name: Install with CMake
run: cmake --install build

- name: Run post-install tests
run: |
tests/post-install.sh
tests/check-headers.sh

alma10beta:
name: Alma 10 (beta)
runs-on: ubuntu-latest
container: almalinux:10-kitten

env:
CMAKE_ARGS: "-DCMAKE_INSTALL_PREFIX=/usr;-DCMAKE_INSTALL_RPATH='$ORIGIN/../$LIB'"

steps:
- name: Install dependencies
run: |
dnf install -y dnf-plugins-core epel-release git rpmdevtools sudo
dnf config-manager --set-enabled crb

- name: Clone repository
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -206,7 +257,7 @@ jobs:
run: dnf install -y dnf-plugins-core git ninja-build rpmdevtools

- name: Clone repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -241,43 +292,19 @@ jobs:
CMAKE_ARGS: '-DINSTALL_PYTHON_BINDINGS=0;-DUSE_SYSTEM_ISAL=1;-DCMAKE_INSTALL_PREFIX=/usr'

steps:
- name: Install dependencies
- name: Install development tools
run: |
sudo apt update -q
sudo apt install -y \
cmake \
clang \
davix-dev \
g++ \
libcppunit-dev \
libcurl4-openssl-dev \
libfuse-dev \
libgtest-dev \
libisal-dev \
libjson-c-dev \
libkrb5-dev \
libmacaroons-dev \
libreadline-dev \
libscitokens-dev \
libssl-dev \
libsystemd-dev \
libtinyxml-dev \
libxml2-dev \
make \
pkg-config \
python3-dev \
python3-pip \
python3-setuptools \
python3-wheel \
uuid-dev \
voms-dev \
zlib1g-dev
sudo apt update -qq
sudo apt install -y build-essential devscripts equivs git

- name: Clone repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install XRootD build dependencies
run: mk-build-deps --install --remove -s sudo debian/control <<< yes

- name: Build and Test with CTest
run: env CC=${CC} CXX=${CC/g*/g++} ctest -VV -S test.cmake

Expand All @@ -297,7 +324,7 @@ jobs:

macos:
name: macOS
runs-on: macos-latest
runs-on: macos-13

env:
CC: clang
Expand All @@ -310,13 +337,10 @@ jobs:
run: sudo sed -i -e "s/localhost/localhost $(hostname)/g" /etc/hosts

- name: Install dependencies with Homebrew
run: brew install cppunit davix googletest isa-l

- name: Install Python dependencies with pip
run: python3 -m pip install --upgrade pip setuptools wheel
run: brew install davix googletest python-setuptools

- name: Clone repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
58 changes: 58 additions & 0 deletions .github/workflows/COV.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: COV

on:
push:
branches:
- devel
- master
paths-ignore:
- .gitignore
- .gitlab-ci.yml
- .mailmap
- '**.md'
- 'docs/**'
- 'docker/**'
tags:
pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

defaults:
run:
shell: bash

env:
CDASH: ${{ vars.CDASH }}
DEBIAN_FRONTEND: noninteractive

jobs:
coverage:
name: Coverage Report
runs-on: ubuntu-latest

steps:
- name: Install dependencies
run: |
sudo ln -sf /usr/share/zoneinfo/UTC /etc/localtime
sudo apt update -q
sudo apt install -y build-essential devscripts equivs gcovr git

- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install XRootD build dependencies
run: mk-build-deps --install --remove -s sudo debian/control <<< yes

- name: Build and Test with CTest
run: ctest -V --output-on-failure -C Debug -DCOVERAGE=1 -S test.cmake

- if: ${{ vars.CODECOV == 'true' }}
name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
54 changes: 30 additions & 24 deletions .github/workflows/DEB.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
apt install -y build-essential devscripts git

- name: Clone repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -53,9 +53,9 @@ jobs:
- name: Build DEBs
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
VERSION=$(git describe --match 'v*' | sed -e 's/v//; s/-rc/~rc/; s/-g/+git/; s/-/.post/; s/-/./')
VERSION=$(./genversion.sh --sanitize)
dch --create --package xrootd -v ${VERSION} -M 'XRootD automated build.'
debuild --no-tgz-check --no-sign -b
debuild --no-tgz-check --no-sign -- binary-arch

- name: Install DEBs
run: apt install -y ../*.deb
Expand All @@ -66,56 +66,62 @@ jobs:
- name: Move DEBs to Artifact Directory
run: |
source /etc/os-release
mkdir -p DEB/${ID}/${VERSION_CODENAME}
mv ../*.* DEB/${ID}/${VERSION_CODENAME}
mkdir -p debian/${VERSION_CODENAME}
mv ../*.* debian/${VERSION_CODENAME}

- name: Upload Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: DEB
path: DEB
retention-days: 1
name: debian-${{ matrix.version }}
path: debian
retention-days: 14

ubuntu:
name: Ubuntu (22.04)
runs-on: ubuntu-22.04
name: Ubuntu

strategy:
matrix:
version: [ "22.04", "24.04" ]

runs-on: ubuntu-latest
container: ubuntu:${{ matrix.version }}

steps:
- name: Install development tools
run: |
sudo apt update -qq
sudo apt install -y build-essential devscripts equivs git
apt update -qq
apt install -y build-essential devscripts equivs git

- name: Clone repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install XRootD build dependencies
run: mk-build-deps --install --remove -s sudo debian/control <<< yes
run: mk-build-deps --install --remove debian/control <<< yes

- name: Build DEBs
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
VERSION=$(git describe --match 'v*' | sed -e 's/v//; s/-rc/~rc/; s/-g/+git/; s/-/.post/; s/-/./')
VERSION=$(./genversion.sh --sanitize)
dch --create --package xrootd -v ${VERSION} -M 'XRootD automated build.'
debuild --no-tgz-check --no-sign -b
debuild --no-tgz-check --no-sign -- binary-arch

- name: Install DEBs
run: sudo apt install -y ../*.deb
run: apt install -y ../*.deb

- name: Run post-install tests
run: tests/post-install.sh

- name: Move DEBs to Artifact Directory
run: |
source /etc/os-release
mkdir -p DEB/${ID}/${VERSION_CODENAME}
mv ../*.* DEB/${ID}/${VERSION_CODENAME}
mkdir -p ubuntu/${VERSION_CODENAME}
mv ../*.* ubuntu/${VERSION_CODENAME}

- name: Upload Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: DEB
path: DEB
retention-days: 1
name: ubuntu-${{ matrix.version }}
path: ubuntu
retention-days: 14
2 changes: 1 addition & 1 deletion .github/workflows/QEMU.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

steps:
- name: Clone repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
Loading
Loading