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

Weighed random lb #11

Merged
merged 460 commits into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
460 commits
Select commit Hold shift + click to select a range
d0dbce1
[CMake] Make sure Python is required in PyPI build
amadio Jul 11, 2023
790db26
[Python] Use PEP517 by default when building Python bindings
amadio Jul 11, 2023
b49d439
[CI] Switch Rocky8 RPM builds to Alma8
amadio Jul 11, 2023
1a43b4b
[CI] Add RPM release builds for Alma9
amadio Jul 11, 2023
3115b4a
[CI] Do not skip yum/dnf gpg checks
amadio Jul 11, 2023
8f0a3eb
XRootD 5.6.1
amadio Jul 11, 2023
e254427
Fix logic error in user mapping
bbockelm Jul 25, 2023
3aa7503
Implement Linux epoll maxfd limit
pllopis Jul 24, 2023
01c6f07
[XrdHttp] Add back parsing of Transfer-Encoding header
CohenQU Jul 17, 2023
f5f7839
[Server] Default ffdest as per current pmark specification.
abh3 Aug 8, 2023
a0e9297
Update notes on pmark realignment.
abh3 Aug 8, 2023
478ad4b
[Server] Align code with the actual documentation for auth idspec.
abh3 Aug 17, 2023
409b3cc
[CMake] Always compile XrdOssCsi
amadio Aug 11, 2023
0bd2f2c
Fix typo in README.md
amadio Aug 14, 2023
99f75cc
[CMake] Hide build output for isa-l to not confuse CTest
amadio Aug 18, 2023
d4cecec
[Tests] Let OS cleanup test library
amadio Aug 18, 2023
fd5d2d8
XrdTls: XrdTlsTempCA - CRLs containing critical extensions are insert…
ccaffy Aug 21, 2023
6265402
XrdTls: XrdTlsTempCA - Replaced dup() by XrdSysFD_Dup() in output fil…
ccaffy Aug 22, 2023
af465e2
XrdTls: XrdTlsTempCA - Refactored CASet and CRLSet to open the output…
ccaffy Aug 22, 2023
e53d4c8
[CMake] Update Findlibuuid.cmake to use correct include paths
amadio Aug 23, 2023
2f28fd1
[Python] Allow build customization via environment variable
amadio Aug 21, 2023
d2a5cb5
[Python] Check for Development.Module with CMake 3.18 and above
amadio Jul 11, 2023
8bc70d3
[CMake] Run tests in parallel and fail build when tests fail
amadio Aug 29, 2023
9d348ab
[XrdSecztn] Fix template for default ZTN token location
amadio Sep 1, 2023
75e70d1
[docs] Fix broken link to git's contribution guidelines
amadio Sep 1, 2023
c87bec4
Updating maximum header size and maximum line length for any line in …
biozit Aug 31, 2023
cd3cb05
[Xrd] Add initialiser in one of the XrdScheduler constructors
smithdh Sep 5, 2023
d85709e
[ClHttp] Add pgWrite() support to the http client plugin.
abh3 Sep 7, 2023
e861547
[Server] Export readv comma separated limits via XRD_READV_LIMITS envar.
abh3 Sep 14, 2023
aa80b13
[XrdTls] Change the thread-id returned to openssl 1.0 to improve perf…
smithdh Sep 12, 2023
6e205bc
[XrdHttp] Refactoring of the request statemachine for GET
smithdh Aug 17, 2023
147ceff
[XrdHttp] Refactor read issuing during GET and fix read vector too lo…
smithdh Sep 14, 2023
18d3bd3
[XrdHttp] Correct chunked response for GET with a byte range #2076
smithdh Sep 14, 2023
0ff51f0
The include statement in rst includes the included file verbatim and
ellert Jul 14, 2023
aec4d64
WARNING: The pre-Sphinx 1.0 'intersphinx_mapping' format is deprecated
ellert Jul 14, 2023
f923c07
[XrdSecgsi] Fix crash of xrdgsitest when proxy is not already set
amadio Sep 5, 2023
47d64a7
[XrdCl] Fix promotion of root:// URLs to use TLS encryption
amadio Sep 5, 2023
3aa91c8
[XrdCl] Fix flag check for append in XrdClZipArchive
AngeloGalav Aug 31, 2023
9616080
Merge PreReleaseNotes.txt into ReleaseNotes.txt
amadio Aug 25, 2023
b4fbc21
[CMake] Align XRootDVersion.cmake with genversion.sh
amadio Sep 15, 2023
190b44b
[Tests] Ensure smoke test fails when a command is not found
amadio Sep 15, 2023
5f862a2
[CMake] Use GitHub's syntax to group log lines per stage
amadio Aug 29, 2023
afb8a90
[Tests] Add post-install.sh test script
amadio Aug 29, 2023
0231985
XRootD 5.6.2
amadio Sep 15, 2023
d07e0a2
Fix spelling errors reported by lintian
ellert Sep 16, 2023
d5f6008
[Server] Fix incorrect patch for authfile that made 5.6.2 fail.
abh3 Sep 18, 2023
5fbcf7a
Revert "[Python] Use PEP517 by default when building Python bindings"
amadio Sep 18, 2023
0321bc5
[CI] Fix GitLab release workflow on Alma 9
amadio Sep 18, 2023
59b8b38
[Python] Show install command being run
amadio Sep 18, 2023
8f34394
Revert "The include statement in rst includes the included file verba…
amadio Sep 18, 2023
196ce93
[Python] Convert pyxrootd installation instructions to rst
amadio Sep 18, 2023
fe268eb
[CMake] Move utils/ install commands into its own subdirectory
amadio Sep 19, 2023
3744b4a
[CMake] Move man page install commands into docs/man subdirectory
amadio Sep 19, 2023
2556293
[XrdCeph] Align CMake requirement with main CMakeLists.txt
amadio Sep 19, 2023
941025a
[XrdCms] Try to load blacklist even if some entries are invalid
amadio Sep 25, 2023
f39cf27
Update .mailmap file
amadio Sep 26, 2023
5ffe9a1
[XrdCl] Give error return code if xrdfs rm fails to delete any file. …
smithdh Oct 6, 2023
e02d0ca
[CMake] Export project version in CMake config
amadio Oct 9, 2023
c6e0e59
[CMake] Find only XRootD matching XRootDConfig.cmake installation path
amadio Oct 9, 2023
3b014ff
[CMake] Handle components using more standard method
amadio Oct 9, 2023
e7cf81f
[CMake] Add extra debugging messages in XRootDConfig.cmake
amadio Oct 9, 2023
335a259
[XrdHttp] Fix parsing of chunked PUT lengths
djw8605 Oct 10, 2023
b290f5f
[Server] Correct value for the maximum exp/act combined value.
abh3 Oct 11, 2023
7695353
[XrdHttp] Fix max to min when reading chunk length
djw8605 Oct 11, 2023
854f90b
XrdHttp: Headers provided by the client are now parsed in a case-inse…
ccaffy Oct 10, 2023
ccc8ab7
[Xrd] Create environment file within adminpath
amadio Oct 17, 2023
d0a30cc
[Xrd] Call tzset() early to ensure thread-safety of localtime_r() and…
amadio Oct 19, 2023
f289492
[XrdEc] Wait for pipeline including XrdCl::AppendFile() to finish
amadio Oct 23, 2023
247bdf6
[Server] Export ptr to full TLS context into the Xrd env.
abh3 Oct 3, 2023
da9e9ac
Pass through currently configured CA files to the SciTokens library
bbockelm Oct 1, 2023
22e2a4e
Conditionally compile support for loading CA files.
bbockelm Oct 24, 2023
b14bf14
XrdHttp: Promote SciTag header if packet marking has been configured …
ccaffy Oct 11, 2023
bf979cc
[XrdTpcTPC] Implemented packet marking for HTTP TPC PULL/PUSH single …
ccaffy Oct 9, 2023
062e58f
[XrdTpc] Differentiate error messages for push/pull TPC transfer modes
amadio Oct 6, 2023
8eff8a4
[Tests] Skip xrdfs query checksum tests on unsupported filesystems
amadio Oct 19, 2023
bfb2280
XRootD 5.6.3
amadio Oct 27, 2023
f3b2e86
[XrdNet] Add XrdNetPMark.hh to set of public headers
amadio Oct 27, 2023
39b23f1
Use a monotonically-increasing counter for the link ID
bbockelm Nov 25, 2023
aea36b4
Revert "Use a monotonically-increasing counter for the link ID"
amadio Nov 28, 2023
fe2224d
Reapply "[XrdCl] Make sure error message does not include a null-char…
amadio Nov 30, 2023
8a4e7a3
[Tests] Add converted PollerTest
AngeloGalav Jul 5, 2023
83b7d3d
[Tests] Add converted SocketTest
AngeloGalav Jul 6, 2023
033d731
[Tests] Add converted UtilsTest
AngeloGalav Jul 6, 2023
57d4922
[Tests] Add converted XrdEc test (MicroTest)
AngeloGalav Jul 7, 2023
74ceaea
[Tests] Convert all CPPUnitHelper functions to GTest equivalent
AngeloGalav Jul 20, 2023
cb9a7a9
[Tests] Add converted tests in FileTest
AngeloGalav Jul 20, 2023
d42f582
[Tests] Add converted tests from FileCopyTest
AngeloGalav Jul 20, 2023
f1bcb2f
[Tests] Add converted tests from FileSystemTest
AngeloGalav Jul 20, 2023
a44b1af
[Tests] Add converted tests from LocalFileHandlerTest
AngeloGalav Jul 20, 2023
e7fb17a
[Tests] Add converted tests from OperationWorkflowTest
AngeloGalav Jul 20, 2023
03105e8
[Tests] Add converted tests from PostMasterTest
AngeloGalav Jul 20, 2023
0a25467
[Tests] Add converted tests from ThreadingTest
AngeloGalav Jul 20, 2023
16c0a84
[Tests] Add newly converted tests into the build system
AngeloGalav Jul 20, 2023
e17024f
[Tests] Add tests for XrdZipArchive and XrdZipOperations
AngeloGalav Aug 31, 2023
2fd4e67
[Tests] Refactor XRootD tests to work with a local cluster
AngeloGalav Aug 15, 2023
92c66a8
[Tests] Enable tests to run in parallel
AngeloGalav Aug 28, 2023
f14b653
[Tests] Reduce time to run test suite by reducing wait times
amadio Oct 19, 2023
2db2cd5
[Tests] Use GTest's SetUp() and TearDown() in ZipTest
amadio Oct 19, 2023
70c08a4
[Tests] Fix memory leak in LocalFileHandlerTest
amadio Oct 23, 2023
0295178
The installed cmake files are now generated and contain architecture
ellert Oct 31, 2023
80f4d4c
[DEB] Modernize Debian packaging for XRootD
amadio Aug 28, 2023
4158dd8
[DEB] Move packaging/debian to top directory
amadio Aug 28, 2023
6339dc7
[RPM] Modernize spec for XRootD
amadio Aug 15, 2023
a84c71d
[RPM] Move spec file to top directory
amadio Aug 15, 2023
9ee7d88
[RPM] Update spec file for XRootD 5.6.2 release
amadio Sep 15, 2023
2f3adc2
[RPM] Update spec file for XRootD 5.6.3
amadio Oct 6, 2023
0b270dc
[CI] Simplify GitHub Actions CI workflow using CTest
amadio Aug 16, 2023
4ea1ee0
[CI] Add RPM workflow to GitHub Actions
amadio Aug 15, 2023
fdfbadf
[CI] Add DEB workflow to GitHub Actions
amadio Aug 17, 2023
9a9b1df
[CI] Add Python workflow to GitHub Actions
amadio Aug 22, 2023
8d17671
[Python] Fix content type of README
amadio Oct 31, 2023
2859153
[CI] Adapt macOS workflow for variable Python3 versions
amadio Oct 31, 2023
6d42bf3
Posix open() called with wrong flags in test
ellert Oct 28, 2023
65fda23
PATH_MAX / MAXPATHLEN might be undefined
ellert Oct 28, 2023
b5f5496
Don't try to enable TCP_CORK in GNU/Hurd
ellert Oct 31, 2023
4fb456f
[HTTP] Initialize SecEntity.addrInfo in fresh protocol object; Fixes …
smithdh Nov 2, 2023
55958ab
[Tests] Add script to sanity-check installed headers
amadio Nov 3, 2023
3149472
[CI] Enable header sanity check in GitHub Actions
amadio Nov 3, 2023
4d97006
[Xrd] Include <cstring> for strlen(), not <strings.h>
amadio Nov 2, 2023
00407bc
[Xrd] Add XrdNetAddrInfo forward declaration in XrdTcpMonPin.hh
amadio Nov 2, 2023
74cc358
[XrdCl] Add missing includes <future> and <stdexcept>
amadio Nov 2, 2023
d2a8ffc
[XrdCl] Add XRootDStatus forward declaration
amadio Nov 2, 2023
52611c7
[XrdCl] Install missing private header dependencies
amadio Nov 2, 2023
6ed73d4
[XrdCl] Make XrdClPlugInManager.hh header private
amadio Nov 6, 2023
2a6279e
[XrdOuc] Include <cstring> for strlen()/strncmp()
amadio Nov 2, 2023
3930a71
[XrdOuc] Fix forward declaration of XrdSysLogger
amadio Nov 2, 2023
d414b29
[XrdZip] Include <cstdint> for standard int types
amadio Nov 2, 2023
b76fdb2
[XrdSfs] Include <cstdint> for standard int types
amadio Nov 2, 2023
42993eb
[XrdSec] Add XrdOucErrInfo and XrdSecEntity forward declarations
amadio Nov 2, 2023
4c3e424
[XrdPosix] Include <cstring> for strlen()
amadio Nov 2, 2023
648ca15
[XrdHeaders] Install missing header dependencies
amadio Nov 2, 2023
097539b
[XrdHeaders] Conditionally install XrdVoms.hh
amadio Nov 3, 2023
162f9c2
[XrdCks] Include <time.h> for time_t
amadio Nov 3, 2023
07a76d4
[XrdZip] Include <sys/types.h> for dev_t/mode_t with MUSL
amadio Nov 3, 2023
886eaf3
[XrdPosix] Include sys/types.h for dev_t/mode_t with MUSL
amadio Nov 3, 2023
aedcbb7
[XrdEc] Do not install headers when using bundled isa-l
amadio Nov 3, 2023
9566f43
[CI] Install only missing dependencies with brew
amadio Nov 3, 2023
9a77983
[CI] Allow a few retries of failed tests on macOS
amadio Nov 10, 2023
89fb45b
[CMake] Do not run tests if build fails in test.cmake
amadio Nov 13, 2023
06470b0
[Xrd] Initialize pidFN to pidpath base directory if an error occurs
amadio Nov 16, 2023
548ea40
Fix maybe-uninitialized warning
ellert Nov 19, 2023
fdac0a7
Avoid /tmp when running some tests
ellert Nov 22, 2023
61f280c
[SciTokens] Initialize SecEntity.addrInfo to avoid SEGV
smithdh Nov 20, 2023
fde7669
If extended attributes are not supported xattr->Get() returns
ellert Nov 22, 2023
b021f3c
[XrdSecgsi] Fix crashes of xrdgsitest when CA is not properly setup
amadio Nov 22, 2023
d9ef244
Switch from using a cert file to a cert chain file
bbockelm Nov 20, 2023
6ac1e7c
Reapply the fix to tests/XrdClTests/LocalFileHandlerTest.cc also to
ellert Nov 27, 2023
6cf0871
PATH_MAX / MAXPATHLEN might be undefined
ellert Nov 27, 2023
2799092
Get more useful diagnostics in case of test failures
ellert Nov 28, 2023
33031b5
[XrdSsi] Remove declarations of crc32 and adler32
amadio May 18, 2018
d2abe4e
[CI] Remove old docker-based jobs from GitLab CI
amadio Nov 3, 2023
896f95c
[CMake] Trace actual variables
hahnjo Dec 4, 2023
ccedaab
[CMake] Fix include path in XRootDConfig.cmake
hahnjo Dec 4, 2023
760c8b5
[XrdHttp] Modified SciTags min and max value according to the specifi…
ccaffy Nov 30, 2023
f4851db
[XrdNet] PMarks - Modified the configuration to check for min values …
ccaffy Dec 1, 2023
b80015e
Redo accidentally reverted change
ellert Dec 3, 2023
9ae7ef1
[Tests] Move cluster test configuration one level up
amadio Dec 1, 2023
17fdaff
[Tests] Use XRootD namespacing to simplify paths in cluster setup
amadio Dec 1, 2023
351a252
[Tests] Use XRootD namespacing and set pidpath in smoke test
amadio Dec 5, 2023
bd1e9d7
[Tests] Remove last uses of /tmp from tests
amadio Dec 5, 2023
a310a92
[Tests] Check errno when something fails in CreateTestFileFunc
amadio Dec 5, 2023
ddf1c4d
Avoid bus errors
ellert Dec 4, 2023
4e00965
[XrdPss] Avoid null pointer dereference in XrdPssConfig
amadio Dec 5, 2023
a93ccf4
[XrdPss] Use default port for pss.origin when not specified
amadio Dec 5, 2023
00e8da5
[XrdPosix] Keep large file offset definitions on MUSL
amadio Dec 8, 2023
85d4310
[DEB] Add uuid-runtime build dependency
amadio Dec 10, 2023
e6c3b16
[XrdZip] Support Big Endian
ellert Dec 4, 2023
6b14775
Avoid duplicate definitions
ellert Dec 10, 2023
34f5584
Cleanup gitignore
amadio Dec 8, 2023
7547a92
[CI] Rewrite GitLab CI starting over from a copy of GitHub Actions bu…
amadio Nov 3, 2023
932b1d2
[RPM] Update spec file for XRootD 5.6.4
amadio Dec 8, 2023
c968ddd
[DEB] Add attr build dependency (for setfattr command)
amadio Dec 10, 2023
f6ac31a
[docker] Update xrd-docker and Dockerfiles for new packaging
amadio Nov 16, 2023
c1285e5
[docs] Update documentation on how to run the tests
amadio Dec 8, 2023
ab43357
[CI] Add workflow for builds on alternative architectures
amadio Dec 10, 2023
730df73
XRootD 5.6.4
amadio Dec 8, 2023
333a5dd
Add #include <byteswap.h> for BSD and GNU/Hurd
ellert Dec 12, 2023
cdf2bc1
[HttpTpc] Align code and files with established naming conventions.
Dec 14, 2023
e19df1a
[Server] Align monitoring ID with http - replaces PR #2134
abh3 Dec 16, 2023
4a98f48
[Server] Correct snprintf() that gcc never complained aout.
abh3 Dec 17, 2023
d416b2a
Send User-Agent as the monitor info
bbockelm Dec 16, 2023
cf8466b
[XrdTpcTPC] PMarkManager - corrected a segfault that may happen in th…
ccaffy Jan 11, 2024
f6ef82f
Fix compilation error reported with gcc 14
ellert Jan 17, 2024
0c043c1
[GSI] Skip check of our standard DH parameters
smithdh Jan 17, 2024
484f59f
[RPM] Update spec file for XRootD 5.6.5
amadio Jan 22, 2024
8f8498d
XRootD 5.6.5
amadio Jan 22, 2024
3c02a5f
[XrdHttp] The PostProcessHttpReq callback now takes into account the …
ccaffy Jan 24, 2024
2fa810c
[Xrd] Set TZ environment variable to avoid race conditions
amadio Jan 23, 2024
e15bf1c
[XrdCl] Treat errOperationInterrupted as a recoverable error
amadio Jan 24, 2024
930819a
[RPM] Update spec file for XRootD 5.6.6
amadio Jan 25, 2024
60c9cc4
[Misc] Fix typos (teh -> the)
amadio Jan 25, 2024
de37caa
XRootD 5.6.6
amadio Jan 25, 2024
6e38f10
Fix ordering of the debug levels
bbockelm Feb 3, 2024
42c4035
[XrdCl] Fix typo in error message
amadio Jan 31, 2024
5c6d959
[XrdTpcTPC] PMark - handle the cases where the PMark handle cannot be…
ccaffy Jan 29, 2024
1030a0a
[XrdSecsss] Fix possible buffer overrun when serialising creds. Close…
smithdh Jan 31, 2024
3a0e2ac
[XrdCl] Account for control stream when configuring TPC jobs
amadio Feb 5, 2024
c7d014c
[XrdHeaders] Install XrdSfsFAttr.hh as private header
amadio Feb 5, 2024
0feedae
[XrdCl] Ensure proper shutdown by waiting for other threads to stop
amadio Feb 5, 2024
0364b28
[XrdCl] Do nothing on PostMaster::Stop() if it is already stopped
amadio Feb 6, 2024
ada3120
[RPM] Update spec file for XRootD 5.6.7
amadio Feb 6, 2024
5b5a1f6
XRootD 5.6.7
amadio Feb 5, 2024
9cec6f0
Update .mailmap file
amadio Feb 20, 2024
971ffc5
[CI] Ignore changes to the git mailmap file
amadio Feb 20, 2024
fdeab66
[CMake] Put OS on build name, not site name in test.cmake
amadio Feb 12, 2024
12d8bee
[CMake] Use CTest module and optionally submit to CDash
amadio Feb 9, 2024
9608e0d
[CMake] Use GitHub Actions environment variables in CDash
amadio Feb 12, 2024
ada1e19
[CMake] Adapt test.cmake to work with old git and tarballs
amadio Feb 18, 2024
5fea034
[CI] Run only on latest macOS
amadio Feb 16, 2024
13c7557
[CI] Run DEB/RPM workflows only on master branch and on demand
amadio Feb 16, 2024
bba21a7
[CI] Add CentOS 7, Alma 8, and Alma 9 builds to main CI workflow
amadio Feb 16, 2024
b5e2215
[XrdCl] Remove duplicates from URL list to avoid undefined behavior
amadio Feb 15, 2024
7c7a0e0
[XrdPosix] Fix build on FreeBSD
amadio Feb 18, 2024
81c3ef3
[XrdSecztn] Fix build on FreeBSD
amadio Feb 18, 2024
b95ce5f
[Tests] Include <netinet/in.h> for IPv6
amadio Feb 18, 2024
1c600c4
[Server] Add warning when monitor ID is truncated
amadio Feb 5, 2024
84980b5
[XrdTls] Removed openssl code to replace the server certificate
ccaffy Feb 20, 2024
a443951
[XrdTpcTPC] Packet marking - avoid infinite loop in the case the firs…
ccaffy Feb 14, 2024
2553212
[XrdClTls] Split TLS context and TLS socket initializations
amadio Feb 21, 2024
be89ee0
[XrdCl] Only claim to be TLS capable if TLS initialization succeeds
amadio Feb 21, 2024
f2844fc
[XrdCl] Only consider an endpoint TLS-enabled if the connection is en…
amadio Feb 22, 2024
a4c2129
[CI] Run containerized builds as non-root user
amadio Feb 22, 2024
cf605fe
[CI] Do not run CI jobs when pushing tags
amadio Feb 22, 2024
e08fef0
[RPM] Install the client as dependency of main RPM
amadio Feb 23, 2024
0199839
[RPM] Create systemd tmpfiles at post-install step
amadio Feb 23, 2024
16509a1
[RPM] Remove hard-coded /usr/sbin from commands
amadio Feb 23, 2024
c1e671e
Update README.md
amadio Feb 23, 2024
72ed79c
[RPM] Update spec file for XRootD 5.6.8
amadio Feb 23, 2024
d39a456
XRootD 5.6.8
amadio Feb 23, 2024
609f065
[XrdCl] Fix logic error when upgrading connections to TLS
amadio Feb 24, 2024
fd0f772
Attempt to use restricted paths even when scope is more generic
bbockelm Dec 15, 2023
aa87750
Only match ACLs on a full path match.
bbockelm Jan 23, 2024
50c540a
If the token path is `/`, then use the restricted path.
bbockelm Feb 13, 2024
81ba2df
add stat permissions to create, modify and write
Jo-stfc Feb 8, 2024
df81843
allow creation of superfolders for the given filescope as required by…
Feb 9, 2024
e47303c
[XrdTpcTPC] Send a 400 - invalid request - response when a user reque…
ccaffy Feb 8, 2024
cca20ae
[XrdScitokens] Allow creation of superfolders for requested filescope
Jo-stfc Feb 9, 2024
3a2fd53
[XrdCl] Stop Poller before TaskManager
amadio Feb 26, 2024
2fe6b86
[CMake] Set coverage flags also for C language
amadio Feb 28, 2024
0ecf63e
[CMake] Set --gcov-executable to ${CTEST_COVERAGE_COMMAND} when calli…
amadio Mar 1, 2024
448b85a
[Tests] Cleanup left over server directories after running tests
amadio Feb 28, 2024
cf30467
[Python] Check list of files in prepare to ensure they are strings
amadio Mar 6, 2024
0e69442
[Python] Use int for 'force' in File::Stat
amadio Mar 6, 2024
9a5c3c8
[Python] Fix iteration over a file with Python3
amadio Mar 6, 2024
f63602f
[Tests] Optimize cluster configuration to speedup tests
amadio Mar 6, 2024
32a9338
[Utils] Correct comparison that wrongly missed reaping certain direc…
abh3 Mar 8, 2024
57ea2a4
[RPM] Update spec file for XRootD 5.6.9
amadio Mar 8, 2024
fcc2e24
Simplify script to generate release tarballs
amadio Feb 22, 2024
619e93f
XRootD 5.6.9
amadio Mar 8, 2024
03840a8
[XrdCms] add a tunable weighed random load balancing algorithm for Se…
Jo-stfc Apr 10, 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
  •  
  •  
  •  
17 changes: 17 additions & 0 deletions .ci/config.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
set(FORCE_ENABLED 0 CACHE BOOL "")
set(ENABLE_ASAN 0 CACHE BOOL "")
set(ENABLE_TSAN 0 CACHE BOOL "")
set(ENABLE_FUSE 1 CACHE BOOL "")
set(ENABLE_HTTP 1 CACHE BOOL "")
set(ENABLE_KRB5 1 CACHE BOOL "")
set(ENABLE_MACAROONS 1 CACHE BOOL "")
set(ENABLE_PYTHON 1 CACHE BOOL "")
set(ENABLE_READLINE 1 CACHE BOOL "")
set(ENABLE_SCITOKENS 1 CACHE BOOL "")
set(ENABLE_TESTS 1 CACHE BOOL "")
set(ENABLE_VOMS 1 CACHE BOOL "")
set(ENABLE_XRDCL 1 CACHE BOOL "")
set(ENABLE_XRDCLHTTP 1 CACHE BOOL "")
set(ENABLE_XRDEC 1 CACHE BOOL "")
set(XRDCL_LIB_ONLY 0 CACHE BOOL "")
set(XRDCL_ONLY 0 CACHE BOOL "")
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION_INFO export-subst
VERSION export-subst
333 changes: 333 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,333 @@
name: CI

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

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

defaults:
run:
shell: bash

env:
CDASH: ${{ vars.CDASH }}
CMAKE_VERBOSE_MAKEFILE: true
CTEST_OUTPUT_ON_FAILURE: true

jobs:
alpine:
name: Alpine
runs-on: ubuntu-latest
container: alpine

env:
CMAKE_ARGS: -DCMAKE_INSTALL_PREFIX=/usr

steps:
- name: Install dependencies
shell: sh
run: |
apk add \
bash \
cmake \
cppunit-dev \
ceph-dev \
curl-dev \
fuse-dev \
fuse3-dev \
g++ \
git \
gtest-dev \
isa-l-dev \
json-c-dev \
krb5-dev \
libxml2-dev \
linux-headers \
make \
openssl \
openssl-dev \
py3-pip \
py3-setuptools \
py3-wheel \
python3-dev \
readline-dev \
sudo \
tinyxml-dev \
util-linux-dev \
uuidgen \
zlib-dev

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

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

- 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

centos7:
name: CentOS 7
runs-on: ubuntu-latest
container: centos:7

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

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

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

- name: Setup GitHub runner user within container
run: adduser --uid 1001 runner && chown -R runner:runner .

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

- name: Build and Test with CTest
run: |
source /opt/rh/devtoolset-7/enable
su -p runner -c 'ctest3 -VV -S test.cmake'

alma8:
name: Alma 8
runs-on: ubuntu-latest
container: almalinux:8

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 powertools

- name: Clone repository
uses: actions/checkout@v3
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

alma9:
name: Alma 9
runs-on: ubuntu-latest
container: almalinux:9

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@v3
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

fedora:
name: Fedora
runs-on: ubuntu-latest
container: fedora

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

steps:
- name: Install dependencies
run: dnf install -y dnf-plugins-core git ninja-build rpmdevtools

- name: Clone repository
uses: actions/checkout@v3
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 --define 'with_ceph 1' 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

ubuntu:
name: Ubuntu
runs-on: ubuntu-latest

strategy:
matrix:
compiler: [ gcc, clang ]

env:
CC: ${{ matrix.compiler }}
DEBIAN_FRONTEND: noninteractive
CMAKE_ARGS: '-DINSTALL_PYTHON_BINDINGS=0;-DUSE_SYSTEM_ISAL=1;-DCMAKE_INSTALL_PREFIX=/usr'

steps:
- name: Install dependencies
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

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

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

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

- name: Install Python bindings
run: |
sudo python3 -m pip install \
--target /usr/lib/python3/dist-packages \
--use-pep517 --verbose build/bindings/python

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

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

env:
CC: clang
CXX: clang++
CMAKE_ARGS: "-DPython_FIND_UNVERSIONED_NAMES=FIRST"
CMAKE_PREFIX_PATH: /usr/local/opt/openssl@3

steps:
- name: Workaround for issue 1772
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

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

- name: Build and Test with CTest
run: ctest -VV --repeat until-pass:3 -S test.cmake

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

- name: Run post-install tests
run: |
export PYVERSION=$(python3 --version | grep -o 3...)
export PYTHONPATH=/usr/local/lib/python${PYVERSION}/site-packages
tests/post-install.sh
Loading
Loading