-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
24 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -167,11 +167,6 @@ jobs: | |
# Increased the page-file size due to memory-consumption of native-image command | ||
# For details see https://github.com/actions/virtual-environments/issues/785 | ||
uses: al-cheb/[email protected] | ||
# We do this so we can get better analytics for the downloaded version of the build images | ||
- name: Update Docker Client User Agent | ||
shell: bash | ||
run: | | ||
cat <<< $(jq '.HttpHeaders += {"User-Agent": "Quarkus-CI-Docker-Client"}' ~/.docker/config.json) > ~/.docker/config.json | ||
- name: Build with Maven | ||
run: | | ||
mvn -V -B -s .github/mvn-settings.xml clean verify -DexcludeTags="product,codequarkus" -Dquarkus.native.native-image-xmx=6g | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,11 +27,6 @@ | |
* @author Michal Karm Babacek <[email protected]> | ||
*/ | ||
public enum WhitelistLogLines { | ||
COMMON(new Pattern[] { | ||
// Randomly fails when vertx-cache temporary directory exists. Related to https://github.com/quarkusio/quarkus/issues/7678 | ||
// And https://github.com/quarkusio/quarkus/pull/15541/files#diff-a38e0d86cf6a637c19b6e0a0e23959f644886bdcc0f0e5615ce7cfa0e6bc9909R244 | ||
Pattern.compile(".*Unable to make the Vert.x cache directory.*"), | ||
}), | ||
JAX_RS_MINIMAL(new Pattern[]{ | ||
// Some artifacts names... | ||
Pattern.compile(".*maven-error-diagnostics.*"), | ||
|
@@ -83,25 +78,20 @@ public enum WhitelistLogLines { | |
// Result of DevServices support https://github.com/quarkusio/quarkus/pull/14960 | ||
Pattern.compile(".*Unable to determine a database type for default datasource.*"), | ||
}), | ||
WINDOWS_COMMON(new Pattern[] { | ||
// When running on Windows, some warning SLF4J traces are randomly printed | ||
Pattern.compile(".*SLF4J: .*") | ||
}), | ||
// Quarkus is not being gratefully shutdown in Windows when running in Dev mode. | ||
// Reported by https://github.com/quarkusio/quarkus/issues/14647. | ||
WINDOWS_DEV_MODE_ERRORS(new Pattern[]{ | ||
Pattern.compile(".*Re-run Maven using the -X switch to enable full debug logging.*"), | ||
Pattern.compile(".*For more information about the errors and possible solutions, please read the following articles.*"), | ||
Pattern.compile(".*Failed to run: Dev mode process did not complete successfully.*"), | ||
Pattern.compile(".*http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException.*"), | ||
Pattern.compile(".*To see the full stack trace of the errors, re-run Maven with the -e switch.*"), | ||
Pattern.compile("\\[ERROR\\] *"), | ||
}), | ||
WINDOWS_NATIVE(new Pattern[]{ | ||
Pattern.compile(".*Uber JAR strategy is used for native image source JAR generation on Windows.*"), | ||
Pattern.compile(".*Duplicate entry about.html entry.*"), | ||
Pattern.compile(".*Dependencies with duplicate files detected.*"), | ||
Pattern.compile(".*objcopy executable not found in PATH. Debug symbols will not be separated from executable.*"), | ||
Pattern.compile(".*That will result in a larger native image with debug symbols embedded in it.*"), | ||
}); | ||
|
||
// Randomly fails when vertx-cache temporary directory exists. Related to https://github.com/quarkusio/quarkus/issues/7678 | ||
// And https://github.com/quarkusio/quarkus/pull/15541/files#diff-a38e0d86cf6a637c19b6e0a0e23959f644886bdcc0f0e5615ce7cfa0e6bc9909R244 | ||
private static final Pattern COMMON_ERROR_VERTX_CACHE_DIRECTORY = Pattern.compile(".*Unable to make the Vert.x cache directory.*"); | ||
|
||
public final Pattern[] errs; | ||
|
||
|
@@ -113,9 +103,22 @@ public final Pattern[] platformErrs() { | |
switch (OS.current()) { | ||
case MAC: | ||
return new Pattern[] { | ||
COMMON_ERROR_VERTX_CACHE_DIRECTORY, | ||
Pattern.compile(".*objcopy executable not found in PATH. Debug symbols will not be separated from executable.*"), | ||
Pattern.compile(".*That will result in a larger native image with debug symbols embedded in it.*"), | ||
}; | ||
case WINDOWS: | ||
return new Pattern[] { | ||
COMMON_ERROR_VERTX_CACHE_DIRECTORY, | ||
Pattern.compile(".*Uber JAR strategy is used for native image source JAR generation on Windows.*"), | ||
Pattern.compile(".*objcopy executable not found in PATH. Debug symbols will not be separated from executable.*"), | ||
Pattern.compile(".*That will result in a larger native image with debug symbols embedded in it.*"), | ||
}; | ||
case LINUX: | ||
return new Pattern[] { | ||
COMMON_ERROR_VERTX_CACHE_DIRECTORY, | ||
}; | ||
|
||
} | ||
return new Pattern[] {}; | ||
} | ||
|