Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
7ac3f23
Added metadata entry. (#911)
kimeta Jan 6, 2026
a3dcff1
tck-build-logic: migrate CoordinatesAwareTask from Groovy to Java; pr…
vjovanov Dec 11, 2025
0d2a420
tck-build-logic: migrate AllCoordinatesExecTask from Groovy to Java; …
vjovanov Dec 11, 2025
13718e8
tck-build-logic: migrate SingleCoordinateTask from Groovy to Java; pr…
vjovanov Dec 11, 2025
bda44a1
tck-build-logic: migrate AbstractSubprojectTask from Groovy to Java; …
vjovanov Dec 11, 2025
8021704
tck-build-logic: migrate CheckstyleInvocationTask from Groovy to Java…
vjovanov Dec 11, 2025
5eed1c6
tck-build-logic: migrate CleanInvocationTask from Groovy to Java; pre…
vjovanov Dec 11, 2025
ed17147
tck-build-logic: migrate CompileTestJavaInvocationTask from Groovy to…
vjovanov Dec 11, 2025
d0ea5b8
tck-build-logic: migrate JavaTestInvocationTask from Groovy to Java; …
vjovanov Dec 11, 2025
91756ff
tck-build-logic: migrate NativeTestCompileInvocationTask from Groovy …
vjovanov Dec 11, 2025
9dd0c96
tck-build-logic: migrate FetchExistingLibrariesWithNewerVersionsTask …
vjovanov Dec 11, 2025
0ae6330
tck-build-logic: migrate TestInvocationTask from Groovy to Java; pres…
vjovanov Dec 11, 2025
1a54585
tck-build-logic: make test directory resolution robust; fallback to c…
vjovanov Dec 11, 2025
509d02e
Use the same pattern for tested versions
vjovanov Jan 7, 2026
25a7204
Remove secondary fallback, we will add it later
vjovanov Jan 7, 2026
15207ff
Fix fetch existing libraries with newer versions
vjovanov Jan 7, 2026
e533dcc
Add timeouts to test runs in run-consecutive-tests.sh
jormundur00 Jan 8, 2026
b69654f
Fix 'latest' version retrieval
jormundur00 Jan 8, 2026
674400a
Revert "Fix 'latest' version retrieval"
jormundur00 Jan 8, 2026
f30bd55
Add stacktrace printing when timeouts happen
jormundur00 Jan 8, 2026
fded8a3
Fix "latest" version retrieval in verify-new-library-version-compatib…
jormundur00 Jan 8, 2026
bf7c247
Scaffold org.apache.santuario:xmlsec:4.0.1
kimeta Jan 8, 2026
7a011a7
test: add xmlsec tests for RSA signature, excl c14n, and AES-128
kimeta Jan 8, 2026
a28f9f1
test: fix namespace and canonicalization API usage in XmlsecTest
kimeta Jan 8, 2026
49ad915
test: declare xmlns:t and align prefixes to fix xmlsec tests
kimeta Jan 8, 2026
bca932d
test: add HMAC-SHA256 element-by-ID signature tamper detection
kimeta Jan 8, 2026
3c92b15
test: add RSA-OAEP key wrapping test for AES element encryption
kimeta Jan 8, 2026
1005bd1
Add support for org.apache.santuario:xmlsec:4.0.1
kimeta Jan 9, 2026
a1abf50
Add support for org.apache.santuario:xmlsec:4.0.4
kimeta Jan 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/index-file-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run: |
./gradlew generateChangedIndexFileCoordinatesList -PbaseCommit=${{ github.event.pull_request.base.sha }} -PnewCommit=${{ github.event.pull_request.head.sha }}

- name: "Check that the changed index.json files conform to their schemas"
- name: "Validate index file schema and version consistency"
if: steps.filter.outputs.changed == 'true'
run: |
./gradlew validateIndexFiles -Pcoordinates="${{ steps.get-coords.outputs.changed-coordinates }}"
12 changes: 10 additions & 2 deletions .github/workflows/scripts/run-consecutive-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

set -u

TIMEOUT="5m"

if [ $# -ne 2 ]; then
echo "Usage: $0 <test-coordinates> <versions-json-array>"
exit 1
Expand Down Expand Up @@ -41,17 +43,23 @@ run_multiple_attempts() {
echo "Re-running stage '$stage' (attempt $((attempt + 1))/$max_attempts)"
fi

eval "$cmd_str"
timeout --signal=QUIT --kill-after=20s "$TIMEOUT" bash -c "$cmd_str"
result=$?

if [ "$result" -eq 0 ]; then
return 0
fi

if [ "$result" -eq 124 ] || [ "$result" -eq 131 ] || [ "$result" -eq 137 ]; then
echo "⚠️ TIMEOUT: '$stage' for $VERSION took longer than $TIMEOUT (exit code $result)."
else
echo "❌ ERROR: '$stage' for $VERSION failed with exit code $result."
fi

attempt=$((attempt + 1))
done

echo "FAILED [$stage][$VERSION][$cmd_str]"
echo "FAILED[$stage][$VERSION][$gradle_command]"
return $result
}

Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/verify-new-library-version-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,15 +117,7 @@ jobs:
- name: "Extract test path and library version"
if: steps.check_existing_issue.outputs.skip != 'true'
id: extract-params
run: |
LIBRARY_PATH=$(echo "${{ matrix.item.name }}" | sed 's/:/\//g')
LATEST_VERSION=$(find tests/src/$LIBRARY_PATH/* -maxdepth 1 -type d | sort -V | tail -1 | cut -d '/' -f5)
TEST_PATH="$LIBRARY_PATH/$LATEST_VERSION"
TEST_COORDINATES=$(echo "$TEST_PATH" | tr / :)

echo "LATEST_VERSION=$LATEST_VERSION" >> ${GITHUB_ENV}
echo "TEST_PATH=$TEST_PATH" >> ${GITHUB_ENV}
echo "TEST_COORDINATES=$TEST_COORDINATES" >> ${GITHUB_ENV}
run: ./gradlew extractLibraryTestParams -Pcoordinates="${{ matrix.item.name }}"

- name: "Pull allowed docker images"
if: steps.check_existing_issue.outputs.skip != 'true'
Expand Down
2 changes: 2 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
- Write type annotations in all functions and most variables.
- Document code without being too verbose.
- In Java and Groovy, always import classes and use them without qualified names.
- In Java use multi-line strings where possible.
- In Java use the markdown style for comments.

## Testing individual components

Expand Down
2 changes: 1 addition & 1 deletion docs/DEVELOPING.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ For a single coordinate, CI runs three steps in this order:
```console
./gradlew pullAllowedDockerImages -Pcoordinates=org.postgresql:postgresql:42.7.3
```
2. Validate index.json schemas:
2. Validate index.json file integrity and schemas:
```console
./gradlew validateIndexFiles -Pcoordinates=org.postgresql:postgresql:42.7.3
```
Expand Down
18 changes: 9 additions & 9 deletions metadata/ch.qos.logback/logback-classic/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,7 @@
"metadata-version" : "1.4.9",
"test-version": "1.4.1",
"tested-versions" : [
"1.4.9"
]
},
{
"module" : "ch.qos.logback:logback-classic",
"default-for" : "1\\.4\\.[0-8]",
"metadata-version" : "1.4.1",
"tested-versions" : [
"1.4.1",
"1.4.9",
"1.4.10",
"1.4.11",
"1.4.12",
Expand All @@ -28,6 +20,14 @@
"1.5.6"
]
},
{
"module" : "ch.qos.logback:logback-classic",
"default-for" : "1\\.4\\.[0-8]",
"metadata-version" : "1.4.1",
"tested-versions" : [
"1.4.1"
]
},
{
"module" : "ch.qos.logback:logback-classic",
"default-for" : "1\\.[0-3]\\..*",
Expand Down
Loading
Loading