Skip to content

Commit a3e80bf

Browse files
authored
Update ubuntu version used in github actions (#624)
* Update ubuntu version used in github actions * Disable KafkaClients tests * Use disable instead of ignore
1 parent 5009f20 commit a3e80bf

File tree

8 files changed

+22
-12
lines changed

8 files changed

+22
-12
lines changed

.github/workflows/check-new-library-versions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
if: github.repository == 'oracle/graalvm-reachability-metadata'
2222
name: "📋 Get list of all supported libraries with newer versions"
2323
permissions: write-all
24-
runs-on: "ubuntu-20.04"
24+
runs-on: "ubuntu-22.04"
2525
timeout-minutes: 5
2626
env:
2727
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -124,7 +124,7 @@ jobs:
124124

125125
process-results:
126126
name: "🧪 Process results"
127-
runs-on: "ubuntu-20.04"
127+
runs-on: "ubuntu-22.04"
128128
if: ${{ always() }}
129129
needs:
130130
- get-all-libraries

.github/workflows/checkstyle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
checkstyle:
1111
if: github.repository == 'oracle/graalvm-reachability-metadata'
1212
name: "📋 Check style according to checkstyle.xml"
13-
runs-on: "ubuntu-20.04"
13+
runs-on: "ubuntu-22.04"
1414
timeout-minutes: 15
1515
steps:
1616
- name: "☁️ Checkout repository"

.github/workflows/create-scheduled-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212
jobs:
1313
get-changed-metadata:
1414
name: "📋 Get a list of changed metadata"
15-
runs-on: "ubuntu-20.04"
15+
runs-on: "ubuntu-22.04"
1616
timeout-minutes: 5
1717
outputs:
1818
matrix: ${{ steps.set-matrix.outputs.matrix }}
@@ -37,7 +37,7 @@ jobs:
3737
needs: get-changed-metadata
3838
if: needs.get-changed-metadata.result == 'success' && needs.get-changed-metadata.outputs.none-found != 'true'
3939
name: "🚀 Create a release"
40-
runs-on: "ubuntu-20.04"
40+
runs-on: "ubuntu-22.04"
4141
env:
4242
GH_TOKEN: ${{ github.token }}
4343
steps:
@@ -76,4 +76,4 @@ jobs:
7676
git push origin ${{ env.CURRENT_RELEASE_TAG }}
7777
- name: "📝 Publish a release"
7878
run: |
79-
gh release create ${{ env.CURRENT_RELEASE_TAG }} build/graalvm-reachability-metadata-*.zip --generate-notes --notes-start-tag ${{ env.PREVIOUS_RELEASE_TAG }}
79+
gh release create ${{ env.CURRENT_RELEASE_TAG }} build/graalvm-reachability-metadata-*.zip --generate-notes --notes-start-tag ${{ env.PREVIOUS_RELEASE_TAG }}

.github/workflows/library-and-framework-list-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
validate-library-and-framework-list-json:
1010
if: github.repository == 'oracle/graalvm-reachability-metadata'
1111
name: "📋 Validate the JSON file"
12-
runs-on: "ubuntu-20.04"
12+
runs-on: "ubuntu-22.04"
1313
timeout-minutes: 5
1414
steps:
1515
- name: "☁️ Checkout repository"

.github/workflows/scan-docker-images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
jobs:
1313
scan-images:
1414
name: "🔎 Scan docker images"
15-
runs-on: "ubuntu-20.04"
15+
runs-on: "ubuntu-22.04"
1616
steps:
1717
- name: "☁️ Checkout repository"
1818
uses: actions/checkout@v4

.github/workflows/test-all-metadata.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
get-all-metadata:
1818
if: github.repository == 'oracle/graalvm-reachability-metadata'
1919
name: "📋 Get list of all supported libraries"
20-
runs-on: "ubuntu-20.04"
20+
runs-on: "ubuntu-22.04"
2121
timeout-minutes: 5
2222
outputs:
2323
matrix: ${{ steps.set-matrix.outputs.matrix }}
@@ -78,7 +78,7 @@ jobs:
7878
7979
all-metadata-passed:
8080
name: "🧪 All metadata tests have passed"
81-
runs-on: "ubuntu-20.04"
81+
runs-on: "ubuntu-22.04"
8282
timeout-minutes: 1
8383
if: ${{ always() }} && github.repository == 'oracle/graalvm-reachability-metadata'
8484
needs: test-all-metadata

.github/workflows/test-changed-metadata.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
get-changed-metadata:
1717
if: github.repository == 'oracle/graalvm-reachability-metadata'
1818
name: "📋 Get a list of all changed libraries"
19-
runs-on: "ubuntu-20.04"
19+
runs-on: "ubuntu-22.04"
2020
timeout-minutes: 5
2121
outputs:
2222
matrix: ${{ steps.set-matrix.outputs.matrix }}
@@ -84,7 +84,7 @@ jobs:
8484
8585
all-metadata-passed:
8686
name: "🧪 All metadata tests have passed"
87-
runs-on: "ubuntu-20.04"
87+
runs-on: "ubuntu-22.04"
8888
timeout-minutes: 1
8989
if: ${{ always() }} && github.repository == 'oracle/graalvm-reachability-metadata'
9090
needs: test-changed-metadata

tests/src/org.apache.kafka/kafka-clients/3.5.1/src/test/java/org_apache_kafka/kafka_clients/KafkaClientsTest.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
import org.junit.jupiter.api.AfterAll;
6060
import org.junit.jupiter.api.BeforeAll;
6161
import org.junit.jupiter.api.Test;
62+
import org.junit.jupiter.api.Disabled;
6263
import org.junit.jupiter.api.TestInstance;
6364
import org.junit.jupiter.params.ParameterizedTest;
6465
import org.junit.jupiter.params.provider.ValueSource;
@@ -112,6 +113,7 @@ void afterAll() {
112113
}
113114
}
114115

116+
@Disabled("Causes transitive failures on other pull requests")
115117
@Test
116118
void testProduceAndConsume() throws Exception {
117119
Properties properties = new Properties();
@@ -157,6 +159,7 @@ void testProduceAndConsume() throws Exception {
157159
.containsExactly("message0", "message1");
158160
}
159161

162+
@Disabled("Causes transitive failures on other pull requests")
160163
@ParameterizedTest
161164
@ValueSource(classes = {
162165
BooleanSerializer.class,
@@ -181,6 +184,7 @@ void testSerializers(Class valueSerializer) {
181184
}
182185
}
183186

187+
@Disabled("Causes transitive failures on other pull requests")
184188
@ParameterizedTest
185189
@ValueSource(classes = {
186190
BooleanDeserializer.class,
@@ -205,6 +209,7 @@ void testDeserializers(Class valueDeserializer) {
205209
}
206210
}
207211

212+
@Disabled("Causes transitive failures on other pull requests")
208213
@ParameterizedTest
209214
@ValueSource(classes = {
210215
Serdes.BooleanSerde.class,
@@ -230,6 +235,7 @@ void testListSerializers(Class serdeInnerClass) {
230235
}
231236
}
232237

238+
@Disabled("Causes transitive failures on other pull requests")
233239
@Test
234240
void testListDeserializers() {
235241
Map<String, Object> consumerProperties = new HashMap<>();
@@ -243,6 +249,7 @@ void testListDeserializers() {
243249
}
244250
}
245251

252+
@Disabled("Causes transitive failures on other pull requests")
246253
@Test
247254
void testRoundRobinPartitioner() {
248255
Map<String, Object> producerProperties = new HashMap<>();
@@ -255,6 +262,7 @@ void testRoundRobinPartitioner() {
255262
}
256263
}
257264

265+
@Disabled("Causes transitive failures on other pull requests")
258266
@ParameterizedTest
259267
@ValueSource(classes = {
260268
RangeAssignor.class,
@@ -272,6 +280,7 @@ void testPartitionAssignmentStrategy(Class assignor) {
272280
}
273281
}
274282

283+
@Disabled("Causes transitive failures on other pull requests")
275284
@Test
276285
void testSaslPlain() {
277286
Map<String, Object> consumerProperties = new HashMap<>();
@@ -286,6 +295,7 @@ void testSaslPlain() {
286295
}
287296
}
288297

298+
@Disabled("Causes transitive failures on other pull requests")
289299
@Test
290300
void testSaslScramSHA512() {
291301
Map<String, Object> consumerProperties = new HashMap<>();

0 commit comments

Comments
 (0)