Skip to content

Commit

Permalink
HDDS-11909. Intermittent timeout building Hadoop in s3a test (#7559)
Browse files Browse the repository at this point in the history
  • Loading branch information
adoroszlai authored Dec 12, 2024
1 parent eea5600 commit 6b9cbe0
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ env:
FAIL_FAST: ${{ github.event_name == 'pull_request' }}
# Minimum required Java version for running Ozone is defined in pom.xml (javac.version).
TEST_JAVA_VERSION: 21 # JDK version used by CI build and tests; should match the JDK version in apache/ozone-runner image
MAVEN_ARGS: --batch-mode --settings ${{ github.workspace }}/dev-support/ci/maven-settings.xml --show-version
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
HADOOP_IMAGE: ghcr.io/apache/hadoop
OZONE_IMAGE: ghcr.io/apache/ozone
Expand Down
35 changes: 35 additions & 0 deletions dev-support/ci/maven-settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0http://maven.apache.org/xsd/settings-1.0.0.xsd">
<mirrors>
<mirror>
<id>block-snapshots1</id>
<mirrorOf>apache.snapshots</mirrorOf>
<name>Block access to Apache Snapshots</name>
<url>https://repository.apache.org/snapshots</url>
<blocked>true</blocked>
</mirror>
<mirror>
<id>block-snapshots2</id>
<mirrorOf>apache.snapshots.https</mirrorOf>
<name>Block access to Apache Snapshots</name>
<url>https://repository.apache.org/content/repositories/snapshots</url>
<blocked>true</blocked>
</mirror>
</mirrors>
</settings>
2 changes: 1 addition & 1 deletion hadoop-ozone/dist/src/main/compose/common/s3a-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ EOF
# - ITestS3AContractDistCp: HDDS-10616
# - ITestS3AContractMkdirWithCreatePerf: HDDS-11662
# - ITestS3AContractRename: HDDS-10665
mvn -B -V --fail-never --no-transfer-progress \
mvn ${MAVEN_ARGS:-} --fail-never \
-Dtest='ITestS3AContract*, ITestS3ACommitterMRJob, !ITestS3AContractBulkDelete, !ITestS3AContractCreate#testOverwrite*EmptyDirectory[*], !ITestS3AContractDistCp, !ITestS3AContractMkdirWithCreatePerf, !ITestS3AContractRename' \
clean test

Expand Down

0 comments on commit 6b9cbe0

Please sign in to comment.