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

Failing Commit after the passing one #248

Open
Shilpa-Rani opened this issue Dec 4, 2020 · 0 comments
Open

Failing Commit after the passing one #248

Shilpa-Rani opened this issue Dec 4, 2020 · 0 comments

Comments

@Shilpa-Rani
Copy link

Shilpa-Rani commented Dec 4, 2020

The commit 8f2981b successfully builds the project.
Author: templatevk [email protected] Date: Fri Jun 12 12:19:32 2020 +0300

_Introduced GeoIpConfiguration configuration_

Whereas the previous commit 871b4ce leads to a build failure.
Author: templatevk [email protected] Date: Fri Jun 12 12:14:05 2020 +0300

Added processor factory configuration to inject processor creation stage dependencies

Changes in the failing commit: it compiles the code but the test fails.
$ git show 871b4ce

Link for the changes in the failing commit.
The build has failed too.

.....
Show Error- All saw-mill core files have changed and the below sawmill-core shows failure
...
[WARNING] The project io.logz.sawmill:sawmill-benchmark:jar:0-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html ... [INFO] Reactor Summary for Sawmill 0-SNAPSHOT: [INFO] [INFO] Sawmill ............................................ SUCCESS [ 0.109 s] [INFO] sawmill-core ....................................... FAILURE [ 4.377 s] [INFO] sawmill-benchmark .................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.200 s [INFO] Finished at: 2020-09-11T21:21:47-05:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run (download-files) on project sawmill-core: An Ant BuildException has occured: java.net.UnknownHostException: geolite.maxmind.com: Unknown host geolite.maxmind.com -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :sawmill-core

Maven Version-

[shilpar2@fa20-cs527-037 sawmill]$ mvn --version Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /usr/local/src/apache-maven Java version: 1.8.0_262, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.262.b10-0.el7_8.x86_64/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.10.0-1127.18.2.el7.x86_64", arch: "amd64", family: "unix"

Java Version-

[shilpar2@fa20-cs527-037 sawmill]$ mvn --version Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /usr/local/src/apache-maven Java version: 1.8.0_262, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.262.b10-0.el7_8.x86_64/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.10.0-1127.18.2.el7.x86_64", arch: "amd64", family: "unix" [shilpar2@fa20-cs527-037 sawmill]$ java -version openjdk version "1.8.0_262" OpenJDK Runtime Environment (build 1.8.0_262-b10) OpenJDK 64-Bit Server VM (build 25.262-b10, mixed mode)

INFERENCE - in the passing commit after the failing one:

Failing commit -

... 
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run (download-files) on project sawmill-core: An Ant BuildException has occured: java.net.UnknownHostException: geolite.maxmind.com: Unknown host geolite.maxmind.com -> [Help 1] 
...

Passing commit, the following was removed from the POM file: .
.. http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz ... from the build ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant